Re: settrans: (os/kern) invalid right

2021-05-08 Thread Samuel Thibault
Sergey Bugaev, le sam. 08 mai 2021 14:51:22 +0300, a ecrit: > if we failed to set the translator (either > because of this issue, or for any other reason), let's shut the > translator back down instead of leaving it in limbo. We'd rather do that indeed, thanks! Samuel

Re: settrans: (os/kern) invalid right

2021-05-08 Thread Samuel Thibault
Sergey Bugaev, le sam. 08 mai 2021 14:51:22 +0300, a ecrit: > P.S. There must be something wrong with your mailserver. I only > received a bunch of replies form you just a few minutes ago, and > seemingly so did the archive [0], but your citation indicates that you > have sent the reply promptly af

Re: settrans: (os/kern) invalid right

2021-05-08 Thread Sergey Bugaev
On Sat, May 8, 2021 at 2:39 PM Samuel Thibault wrote: > I pushed the revert, thanks! Thank you! I'm attaching another patch that tries to make settrans handle this case a tiny bit better: if we failed to set the translator (either because of this issue, or for any other reason), let&#x

Re: settrans: (os/kern) invalid right

2021-05-08 Thread Samuel Thibault
Hello, Sergey Bugaev, le ven. 07 mai 2021 15:41:17 +0300, a ecrit: > I don't think I understand the reasoning behind [1]. Perhaps I'm > missing something? I don't see either why not deallocating it. Event if it's a dead name, we want to deallocate it, so as to free the port name. Samuel

Re: settrans: (os/kern) invalid right

2021-05-08 Thread Samuel Thibault
Samuel Thibault, le ven. 07 mai 2021 15:29:49 +0200, a ecrit: > Sergey Bugaev, le ven. 07 mai 2021 15:41:17 +0300, a ecrit: > > I don't think I understand the reasoning behind [1]. Perhaps I'm > > missing something? > > I don't see either why not deallocating it. Event if it's a dead name, > we wa

settrans: (os/kern) invalid right

2021-05-07 Thread Sergey Bugaev
Hello yet again, I'm hitting the following issue when trying to re-set a translator on a node whose translator has previously died: $ settrans -acP /tmp/yes ~/dev-yes/hurd/yes Translator pid: 1039 Pausing... $ kill 1039 $ settrans -ag /tmp/yes ~/dev-yes/hurd/yes settrans: /tmp/yes: (os

Re: [PATCH 4/4] utils/settrans: implement settrans --start

2014-06-14 Thread Samuel Thibault
d > > > and set it as NODE's active translator. This is the equivalent of > > > doing: > > > > > > % settrans --active /node $(showtrans /node) > > > > A way to do it would be to just stat the node, but that may have other > > consequenc

Re: [PATCH 4/4] utils/settrans: implement settrans --start

2014-06-14 Thread Justus Winter
Quoting Samuel Thibault (2014-06-14 21:48:09) > Hello, > > Justus Winter, le Wed 11 Jun 2014 13:41:10 +0200, a écrit : > > Start the translator specified by the NODE's passive translator record > > and set it as NODE's active translator. This is the equivalent of

Re: [PATCH 4/4] utils/settrans: implement settrans --start

2014-06-14 Thread Samuel Thibault
Hello, Justus Winter, le Wed 11 Jun 2014 13:41:10 +0200, a écrit : > Start the translator specified by the NODE's passive translator record > and set it as NODE's active translator. This is the equivalent of > doing: > > % settrans --active /node $(showtrans /node) A

[PATCH 4/4] utils/settrans: implement settrans --start

2014-06-11 Thread Justus Winter
Start the translator specified by the NODE's passive translator record and set it as NODE's active translator. This is the equivalent of doing: % settrans --active /node $(showtrans /node) * utils/settrans.c (argp_option): Add --start. (parse_opt): Handle --start. (main): Retrieve t

Re: [PATCH] utils/settrans: fix the teardown of chrooted environments

2013-12-10 Thread Samuel Thibault
Justus Winter, le Tue 10 Dec 2013 18:08:13 +0100, a écrit : > Previously, settrans --chroot would just exec the target. Create a > new process for that purpose. Wait for its completion, then ask the > translator (nicely by default) to go away. If it refuses with EBUSY, > it migh

Re: [PATCH 1/5] utils/settrans: fix the teardown of chrooted environments

2013-12-10 Thread Samuel Thibault
Justus Winter, le Tue 10 Dec 2013 17:50:26 +0100, a écrit : > Previously, settrans --chroot would just exec the target. Create a > new process for that purpose. Wait for its completion, then ask the > translator (nicely by default) to go away. If it refuses with EBUSY, > it migh

[PATCH] utils/settrans: fix the teardown of chrooted environments

2013-12-10 Thread Justus Winter
Previously, settrans --chroot would just exec the target. Create a new process for that purpose. Wait for its completion, then ask the translator (nicely by default) to go away. If it refuses with EBUSY, it might be because some process has daemonized inside the chrooted environment. This

[PATCH 1/5] utils/settrans: fix the teardown of chrooted environments

2013-12-10 Thread Justus Winter
Previously, settrans --chroot would just exec the target. Create a new process for that purpose. Wait for its completion, then ask the translator (nicely by default) to go away. If it refuses with EBUSY, it might be because some process has daemonized inside the chrooted environment. This

Re: [PATCH 3/3] utils: implement settrans --pid-file

2013-11-09 Thread Samuel Thibault
Justus Winter, le Thu 07 Nov 2013 19:12:30 +0100, a écrit : > This switch makes settrans write the pid file of the active translator > it starts to a file. This makes the pid easily retrievable for test > suites. Ack. > * utils/settrans.c (options): Add --pid-file. > (main

[PATCH 3/3] utils: implement settrans --pid-file

2013-11-07 Thread Justus Winter
This switch makes settrans write the pid file of the active translator it starts to a file. This makes the pid easily retrievable for test suites. * utils/settrans.c (options): Add --pid-file. (main): Add variable pid_file. (parse_opt): Handle --pid-file switch. (open_node): Write pid file

Re: [PATCH 2/2] console-run: Create and settrans /dev/console when not already done.

2012-04-07 Thread Samuel Thibault
Ludovic Courtès, le Mon 05 Mar 2012 23:36:53 +0100, a écrit : > This patch makes sure /libexec/console-run creates and installs > /dev/console on the first run without considering it a failure if it > didn't exist already. Applied with comment fix, thanks. Samuel

[PATCH 2/2] console-run: Create and settrans /dev/console when not already done.

2012-03-05 Thread Ludovic Courtès
This patch makes sure /libexec/console-run creates and installs /dev/console on the first run without considering it a failure if it didn't exist already. * daemons/console-run.c (TERMINAL_FIRST_TRY): Change node to `/dev/console'. (TERMINAL_SECOND_TRY): Change node to `/tmp/console'. (open_

Re: Patch for settrans --help

2011-02-17 Thread olafBuddenhagen
Hi, On Mon, Feb 14, 2011 at 06:00:10PM -0800, Roland McGrath wrote: > Perhaps what would both be appropriate for --help and satisfy the > apparent intent behind your changes, is to add a short paragraph about > what active and passive translators are to the "doc" text after the > \v, so it appear

Re: Patch for settrans --help

2011-02-17 Thread olafBuddenhagen
Hi, On Tue, Feb 15, 2011 at 07:02:46PM +0200, Ognyan Kulev wrote: > Some days ago "(default)" was added for "-p". I think it'd be good if > clarification is added that -a and -p are not mutually exclusive. > Something like ""Set NODE's active translator. Can be combined with > --passive." Indeed

Re: Patch for settrans --help

2011-02-17 Thread olafBuddenhagen
Hi, On Thu, Feb 17, 2011 at 01:50:36AM +0100, Samuel Thibault wrote: > Roland McGrath, le Tue 15 Feb 2011 19:10:34 -0800, a écrit : > > "Start TRANSLATOR and set it as NODE's active translator" might be > > more clear, though perhaps too long. > Maybe simply > > "Start and set NODE's active tra

Re: Patch for settrans --help

2011-02-17 Thread Samuel Thibault
olafbuddenha...@gmx.net, le Mon 14 Feb 2011 08:45:42 +0100, a écrit : > On Sat, Feb 12, 2011 at 11:01:04AM -0800, Roland McGrath wrote: > > > --help is not the place to describe everything about the system. > > Sure, but being *somewhat* more verbose certainly can't hurt... > > Either way, I ass

Re: Patch for settrans --help

2011-02-17 Thread olafBuddenhagen
Hi, On Sat, Feb 12, 2011 at 11:01:04AM -0800, Roland McGrath wrote: > --help is not the place to describe everything about the system. Sure, but being *somewhat* more verbose certainly can't hurt... Either way, I assume a patch that adds *only* the "(default)" bit would be uncontroversial? -an

Re: Patch for settrans --help

2011-02-16 Thread Samuel Thibault
Roland McGrath, le Wed 16 Feb 2011 16:54:48 -0800, a écrit : > > "Start and set NODE's active translator" > > That looks good. > > Perhaps "Change NODE's passive translator record" if you > really want something different. Ok, I've commited these. Samuel

Re: Patch for settrans --help

2011-02-16 Thread Roland McGrath
> "Start and set NODE's active translator" That looks good. > ? Also, for -p we might use > > "Record NODE's passive translator" > > to remind that it's merely recorded in the FS? I again think that is more confusing rather than less. Perhaps "Change NODE's passive translator record" if you r

Re: Patch for settrans --help

2011-02-16 Thread Samuel Thibault
and not writing down something in the FS. > > That seems reasonable. Setting an active translator does not necessarily > entail starting it, but unless there is a mode of using settrans I've > forgotten, settrans -a does always start an active translator. > "Start NODE&

Re: Patch for settrans --help

2011-02-15 Thread Roland McGrath
an active translator does not necessarily entail starting it, but unless there is a mode of using settrans I've forgotten, settrans -a does always start an active translator. "Start NODE's active translator" might seem to imply that it just activates (i.e. starts) the translator

Re: Patch for settrans --help

2011-02-15 Thread Samuel Thibault
Etenil, le Tue 15 Feb 2011 17:16:36 +, a écrit : > On 15/02/11 17:01, Roland McGrath wrote: > >It is self-explanatory. > >What it doesn't explain is the entire structure of the system. I'd still be in favor or replacing "Set NODE's active translator" with "Start NODE's active translator", to r

Re: Patch for settrans --help

2011-02-15 Thread Etenil
I'd like to point out that the usage of settrans is introduced very early in the install process of Hurd (especially to get the network up), and this is only given as a recipe (on the wiki for instance) without explanation of what it actually does. In this situation, a new user's fi

Re: Patch for settrans --help

2011-02-15 Thread Ognyan Kulev
На 15.2.2011 г. 18:31 ч., Arne Babenhauserheide написа: I disagree. settrans is the basic building block of almost everything a user does in the Hurd (except subhurds), so it should be selfexplanatory where possible and where it is not, --help should suffice. Some days ago "(default)

Re: Patch for settrans --help

2011-02-15 Thread Roland McGrath
It is self-explanatory. What it doesn't explain is the entire structure of the system.

Re: Patch for settrans --help

2011-02-15 Thread Arne Babenhauserheide
Hi Roland, On Monday 14 February 2011 18:00:10 Roland McGrath wrote: > if you don't know the basics of Hurd > design like the definitions of active and passive translator, then > you really don't want to be using settrans in the first place. I disagree. settrans is the basi

Re: Patch for settrans --help

2011-02-14 Thread Roland McGrath
appears at the bottom of the --help output. This is still a bit pointless IMHO, since if you don't know the basics of Hurd design like the definitions of active and passive translator, then you really don't want to be using settrans in the first place. Thanks, Roland

Re: Patch for settrans --help

2011-02-14 Thread Etenil
Sorry for the double post, the attachment didn't get through the first time. I have modified my patch following rejection. It is, I hope, less detailed while making settrans --help less ambiguous. Best regards, Guillaume Pasquet Roland McGrath wrote: --help is not the place to des

Re: Patch for settrans --help

2011-02-14 Thread Etenil
I have modified my patch following rejection. It is, I hope, less detailed while making settrans --help less ambiguous. Best regards, Guillaume Pasquet Roland McGrath wrote: --help is not the place to describe everything about the system.

Re: Patch for settrans --help

2011-02-12 Thread Roland McGrath
--help is not the place to describe everything about the system.

Patch for settrans --help

2011-02-12 Thread Etenil
Hi there, I've written a trivial patch that clarifies the --help message of settrans. The problem is that settrans can be used as: settrans -fgap ... Thus using both the "active" and "passive" option at the same time. This appeared illogical. Hope i

[PATCH 2/2] Implement settrans --interactive

2010-04-09 Thread Carl Fredrik Hammar
Hello, this patch adds a new option to settrans: --interactive. The main use case is to be able to start a translator under gdb like so: settrans -i /tmp/foo gdb /hurd/hello This is extremely useful if the translator crashes before the startup handshake, but also just plain more convenient

[PATCH 0/2] Implement settrans --interactive patch series

2010-04-09 Thread Carl Fredrik Hammar
Hello, I'm going to post 2 patches that implements a new useful feature to settrans. The first one exposes needed functionallity in libfshelp and the second one implements the feature. More info in the patch mails themselves. (This is the first time I'm trying `tg mail' so plea

[bug #29463] Translators output garbage when started with settrans -P and stopped by gdb

2010-04-07 Thread Carl Fredrik Hammar
URL: <http://savannah.gnu.org/bugs/?29463> Summary: Translators output garbage when started with settrans -P and stopped by gdb Project: The GNU Hurd Submitted by: hammy Submitted on: Wed 07 Apr 2010 08:54:08 P

Re: Possible bug in name of command 'settrans'

2008-08-19 Thread Thomas Bushnell BSG
On Tue, 2008-06-10 at 12:59 +0400, A.Salatov wrote: > No, you correct me if I'm wrong, but when I think about 'settrans' my > mind always going to compare it to 'umount' and I started to think about > a reasons why 'umount' is 'umount' and not

Re: Possible bug in name of command 'settrans'

2008-06-10 Thread massimo s.
A.Salatov ha scritto: No, you correct me if I'm wrong, but when I think about 'settrans' my mind always going to compare it to 'umount' and I started to think about a reasons why 'umount' is 'umount' and not 'unmount'. I've al

Re: Possible bug in name of command 'settrans'

2008-06-09 Thread A.Salatov
Thomas Thurman wrote: 2008/6/9 A.Salatov <[EMAIL PROTECTED]>: Hi, In name of command 'settrans' is too many times used 't'. Actualy it is used in it's name, twice. But normaly name of this command must unclude 't' only once. So in normal form, name of

Re: Possible bug in name of command 'settrans'

2008-06-09 Thread Thomas Thurman
2008/6/9 A.Salatov <[EMAIL PROTECTED]>: > Hi, > In name of command 'settrans' is too many times used 't'. Actualy it is > used in it's name, twice. But normaly name of this command must unclude 't' > only once. So in normal form, name of this c

Possible bug in name of command 'settrans'

2008-06-09 Thread A.Salatov
Hi, In name of command 'settrans' is too many times used 't'. Actualy it is used in it's name, twice. But normaly name of this command must unclude 't' only once. So in normal form, name of this command, must be such: 'setrans'. In general it is a minor bug, but it is bug. ;-)

[bugs #9963] gdb attach to settrans -aP ext2fs triggers assertion

2004-08-10 Thread Ognyan Kulev
mary: gdb attach to settrans -aP ext2fs triggers assertion Original Submission: Summarised: [vt1] $ settrans /mnt /hurd/ext2fs /dev/hd0s3 ...pid 100 Pause... [vt2] $ gdb /hurd/ext2fs 100 (gdb) break read_node (gdb) continue [vt1] (press Enter) libdiskfs/init-sta

Re: settrans --chroot

2002-05-27 Thread Roland McGrath
> On Sat, May 04, 2002 at 06:58:59PM -0400, Roland McGrath wrote: > > I suspect that presently if you use this (assuming settrans works right), > > that the filesystem process will stick around after the command finishes > > and you might have to kill it. > > I

Re: settrans --chroot

2002-05-26 Thread Marcus Brinkmann
On Sat, May 04, 2002 at 06:58:59PM -0400, Roland McGrath wrote: > I suspect that presently if you use this (assuming settrans works right), > that the filesystem process will stick around after the command finishes > and you might have to kill it. Indeed, this is what happens. > If

Patch for settrans documentation

2002-05-06 Thread Wolfgang Jährling
Hi! The below patch adds the new --chroot option to the documentation of settrans. (The wording is mostly taken from Roland's original mail.) Cheers, GNU/Wolfgang 2002-05-07 Wolfgang Jährling <[EMAIL PROTECTED]> * hurd.texi (Invoking settrans): Document new --ch

settrans --chroot

2002-05-04 Thread Roland McGrath
I've added a new mode of operation to the settrans command, in the form of the new option --chroot. I have not tested this code, so please try it out for me. settrans --chroot is a way to start a filesystem translator that need not be attached to any parent filesystem node as an a

Re: A bad loop in settrans

2001-06-29 Thread Maurizio Boriani
On Fri, Jun 29, 2001 at 01:31:41PM +0200, Marcus Brinkmann wrote: > Funny, isn't it ;) Yes it is! :) > Yes, but maybe a different one than you think. What about the following: > > $ dd if=/dev/zero of=/image bs=1024k count=10 > $ mke2fs /image > $ settrans -a /h

Re: A bad loop in settrans

2001-06-29 Thread Marcus Brinkmann
On Fri, Jun 29, 2001 at 09:31:08PM +0200, Maurizio Boriani wrote: > Hi all, > for a mistake I launched this on command line: > elisia# settrans -a /home /hurd/ext2fs /home > > and then try to enter in /home using cd. I looped out. Funny, isn't it ;) > I think th

A bad loop in settrans

2001-06-29 Thread Maurizio Boriani
Hi all, for a mistake I launched this on command line: elisia# settrans -a /home /hurd/ext2fs /home and then try to enter in /home using cd. I looped out. Unfortunly I was not using screen and I must reboot my laptop. I think this could be a bug, a check on source device and mounting

Re: [PATCH] settrans -gl only kills the active translator

2001-06-15 Thread Neal H Walfield
> libnetfs needs the change too. Opps. libnetfs/ChangeLog: 2001-06-15 Neal H Walfield <[EMAIL PROTECTED]> * file-set-translator.c (netfs_S_file_set_translator): If FS_TRANS_ORPHAN is set, do not ask the active translator to go away, just disconnect it. Ind

Re: [PATCH] settrans -gl only kills the active translator

2001-06-15 Thread Roland McGrath
libnetfs needs the change too. ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd

Re: [PATCH] settrans -gl only kills the active translator

2001-06-15 Thread Roland McGrath
Great! I've checked in your changes. ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd

Re: [PATCH] settrans -gl only kills the active translator

2001-06-15 Thread Neal H Walfield
new flag > FS_TRANS_ORPHAN, and the settrans option --orphan (perhaps > --detach-old-translator as an alias). I think the "orphaned child > filesystem" metaphor stands up, as I imagine that children become orphans > unceremoniously by finding themselves suddenly unable to find

Re: [PATCH] settrans -gl only kills the active translator

2001-05-15 Thread Thomas Bushnell, BSG
Roland McGrath <[EMAIL PROTECTED]> writes: > I agree with Neal that a FS_TRANS_* flag is more appropriate--that leaves > goaway_flags as purely flags passed on to the fsys_goaway RPC, which is a > clear and easy thing to understand. Yes, agreed, this is better than as a goaway flag. It should

Re: [PATCH] settrans -gl only kills the active translator

2001-05-15 Thread Thomas Bushnell, BSG
Neal H Walfield <[EMAIL PROTECTED]> writes: > > I have no objection to adding a flag for file_set_translator to avoid > > sending the goaway. But calling the flag "disconnect" is wrong: a > > disconnect happens whether you set that flag or not. > > I fail to see how this is true: if the transla

Re: [PATCH] settrans -gl only kills the active translator

2001-05-15 Thread Neal H Walfield
new flag > FS_TRANS_ORPHAN, and the settrans option --orphan (perhaps > --detach-old-translator as an alias). I think the "orphaned child > filesystem" metaphor stands up, as I imagine that children become orphans > unceremoniously by finding themselves suddenly unable to find

Re: [PATCH] settrans -gl only kills the active translator

2001-05-14 Thread Roland McGrath
I agree with Neal that a FS_TRANS_* flag is more appropriate--that leaves goaway_flags as purely flags passed on to the fsys_goaway RPC, which is a clear and easy thing to understand. I think we should call the new flag FS_TRANS_ORPHAN, and the settrans option --orphan (perhaps --detach-old

Re: [PATCH] settrans -gl only kills the active translator

2001-05-14 Thread Niels Möller
Neal H Walfield <[EMAIL PROTECTED]> writes: > > As for the shell command settrans, I think that -f should timeout, and > > if nothing happens then repeat the call with the new flag attached. > > Perhaps there should be a new flag with the current meaning of -f > &g

Re: [PATCH] settrans -gl only kills the active translator

2001-05-14 Thread Neal H Walfield
S_DISCONNECT and be or'ed into the active flags rather than the goaway flags. > As for the shell command settrans, I think that -f should timeout, and > if nothing happens then repeat the call with the new flag attached. > Perhaps there should be a new flag with the current meaning o

Re: [PATCH] settrans -gl only kills the active translator

2001-05-13 Thread Thomas Bushnell, BSG
ribes what the option requests. As for the shell command settrans, I think that -f should timeout, and if nothing happens then repeat the call with the new flag attached. Perhaps there should be a new flag with the current meaning of -f (that is, set the FORCE bit, but don't bypass the

Re: [PATCH] settrans -gl only kills the active translator

2001-05-11 Thread Gordon Matzigkeit
ke `--detach' a little better, because it carries the implication that the filesystem server is left intact, but is dropped from the node. Would it help make things clearer to think about what the semantics of `settrans -fg --detach' are? [As an aside, thanks for doing this, Neal. It'll

Re: [PATCH] settrans -gl only kills the active translator

2001-05-11 Thread Niels Möller
t; go away nicely, and if that fails, disconnect it anyway. > > Using a regular goaway (i.e. `settrans -g node') asks the filesystem to > send an fsys_goaway to the child. Appling the force options adds > FSYS_GOAWAY_FORCE to the flags passed to the child. Normally, this > option

Re: [PATCH] settrans -gl only kills the active translator

2001-05-11 Thread Neal H Walfield
get the translator > disappear. In this case, it should probably try to make the translator > go away nicely, and if that fails, disconnect it anyway. Using a regular goaway (i.e. `settrans -g node') asks the filesystem to send an fsys_goaway to the child. Appling the force options adds F

Re: [PATCH] settrans -gl only kills the active translator

2001-05-11 Thread Niels Möller
Neal H Walfield <[EMAIL PROTECTED]> writes: >{"recursive", 'R', 0, 0, "Shutdown its children too"}, >{"force", 'f', 0, 0, "If it doesn't want to die, force it"}, >{"nosync", 'S', 0, 0, "Don't sync it before killing it"}, > + {"disconnect", 'd', 0, 0, "Disconnect the tra

Re: [PATCH] settrans -gl only kills the active translator

2001-05-11 Thread Neal H Walfield
> Your code does nothing to either translator setting, but just sends an > fsys_goaway to the active translator. This leaves it up to the translator > to die or not as it chooses. The file_set_translator RPC that will be made > by "settrans -a FILE" to the parent files

Re: [PATCH] settrans -gl only kills the active translator

2001-04-01 Thread Neal H Walfield
On Sat, Mar 31, 2001 at 11:46:45PM -0500, Roland McGrath wrote: > I don't understand what your option is supposed to do. After looking at the code some more, my code adds nothing. PGP signature

Re: [PATCH] settrans -gl only kills the active translator

2001-03-31 Thread Roland McGrath
I don't understand what your option is supposed to do. With -a and but no -p, regardless of the other options, settrans will not affect the passive translator. The file_set_translator RPC affects either passive or active or both, according to the flags arguments. Your code does nothi

[PATCH] settrans -gl only kills the active translator

2001-03-31 Thread Neal H Walfield
This patch was inspired by the TODO item: ** settrans: *** needs an option to make the active go away without using goaway. ! Note that I choose `-l' (i.e. leave passive translator) for lack of a more fitting letter. 2001-03-29 Neal H Walfield <[EMAIL PROTECTED]> * sett

Re: settrans

2001-01-24 Thread Roland McGrath
> Sorry, I assumed that it was a mistake was in my code; Should I report > it to the gdb people? Well, the "gdb people" for the Hurd is Mark. > Here is what gdb said: > (gdb) p _hurd_init > _hurd_init _hurd_init_dtable _hurd_init_dtablesize See, I told you I got the name wrong.

Re: settrans

2001-01-24 Thread Neal H Walfield
On Wed, Jan 24, 2001 at 02:33:53AM -0500, Roland McGrath wrote: > > > First, please check whether the scenario you are trying does or doesn't > > > exhibit the same bug in a vanilla system without your changes. > > > > The exact same error. > > Well, you certainly could have saved some wild goo

Re: settrans

2001-01-23 Thread Roland McGrath
> > First, please check whether the scenario you are trying does or doesn't > > exhibit the same bug in a vanilla system without your changes. > > The exact same error. Well, you certainly could have saved some wild goose chases by making that clear in the first place. > It is blocked in the c

Re: settrans

2001-01-23 Thread Neal H Walfield
a vanilla system without your changes. The exact same error. > Next, here are some things to try. When you attach gdb, look around at the > state before giving settrans any input. See exactly what is going on in > the filesystem. It ought to be blocked in diskfs_startup_diskfs'

Re: settrans

2001-01-20 Thread Roland McGrath
gdb, look around at the state before giving settrans any input. See exactly what is going on in the filesystem. It ought to be blocked in diskfs_startup_diskfs's call to the fsys_startup RPC. The process state of the filesystem ought to be completely set up at that point (before main was ca

Re: settrans

2001-01-17 Thread Neal H Walfield
g. in gdb or the proc > server? Here is (hopefully) a clearer presentation of the problem. After adding the aforementioned code to a clean tree, translators fail to retreive their port to the proc server if one attaches to the translator with gdb _during_ the pause. Here are the different scen

Re: settrans

2001-01-17 Thread Neal H Walfield
On Wed, Jan 17, 2001 at 06:21:40PM -0500, Roland McGrath wrote: > I don't see anything obviously wrong (other than your spelling of "semantics"). Do you think it might be an error elsewhere, e.g. in gdb or the proc server? PGP signature

Re: settrans

2001-01-17 Thread Roland McGrath
I don't see anything obviously wrong (other than your spelling of "semantics"). ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd

Re: settrans

2001-01-17 Thread Neal H Walfield
mach_msg_type_name_t *underlying_type, +task_t task, void *cookie) { node = file_name_lookup (fs->mntent.mnt_dir, flags | O_NOTRANS, 0666); @@ -331,7 +332,7 @@ /* Now we have a translator com

settrans

2001-01-16 Thread Neal H Walfield
I have modified fshelp_start_translator_long to pass the task port for the translator to the call back function. This works fine if a debugger is no attached to either the translator or the settrans. When I do, the translator gets MACH_PORT_NULL when it does a getport call. Here is some output