From: Jeff Dike <jdike@ka...> - 2000-11-02 20:50:28
> Warning: unable to open an initial console.
This is from the kernel not being able to open /dev/console in the filesystem
you gave it.
> process 1 (sh) segfaulted at address 0x0, ip = 0x8066f5c
Why is process 1 a shell? It should be init. Looking at init/main.c show
It looks like it fell through the various places it could find init, and fell
back on the shell.
So, have a good look at that filesystem and figure out why there's no console
or init. BTW, mkrootfs assumes devfs, so it doesn't create any device files,
which might explain the console. The missing init is tougher to explain.
And maybe the kernel is being too eager to panic here. It probably shouldn't
panic on repeated process segfaults. The segfault should have been delivered
and it should have killed the shell (and why it's segfaulting is another issue
:-), which would kill the kernel in this case anyway.
From: Jeff Dike <jdike@ka...> - 2000-11-03 08:17:05
> Jeff; any requests for improvement? Could these get out to the web
> site or cvs at some point?
I haven't gone through it in any detail yet.
I'll put it out there someplace. I haven't decided where yet.
Get latest updates about Open Source Projects, Conferences and News.