Hi,

everything seems to run fine up to init.  Then, when init tries to run
console-run, the child terminates abnormally ("Killed").  I tried
shared/staticconsole-run, and shd copied to /libexec/console-run, without
any change in the result.

I tried to boot with -df (one of those, I don't remember which, makes sure
init pauses before calling file_exec), and attach gdb to the task, and set
break points.  None of my break points (at entry point, at _start, at
_dl_start etc) is triggered, the crash is, according to gdb, in
__task_terminate, which looks bogus.  The "backtrace" is bogus (I can
repeat a typical gdb session here later).

There doesn't seem to be a fundamental flaw in the system: programs work
in a chroot normally.  I wonder if it is some thing in the way init
runs the tasks in start_child.  Maybe the way the initial ports are set up
for the first non-server tasks that triggers some bug.  However, I am not
sure what can be tried next.  Debugging console-run turns out to be hard.

Thanks,
Marcus
 

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to