On Thursday 16 February 2006 00:29, John Dykstra wrote:
> > > and extracted the
> > > initrd image from /boot (see below).
> >
> > In short - this is your error. a) it's not needed, b) it
> > couldn't work, c) it
> > should fail more gracefully but it hangs.
>
> When I boot without the initrd, it hangs after "unable to open an
> initial console". 

Ignore that message, I've never cared to it in my life. The problem is the 
hang, but indeed it's not hanging (likely) but it's just trying and failing 
to open a xterm.

Instead, make sure that before building you did "make defconfig ARCH=um". If 
not, it doesn't start from the defconfig but instead from the host config (if 
the versions match) and you get a wrong config.

In particular, I expect
CONFIG_XTERM_CHAN to be disabled, verify with:

vmlinux --showconfig|grep CONFIG_XTERM_CHAN

> I figured that, at this point in boot, it hasn't 
> mounted my root, it doesn't have devfs, so it needs a /dev in a initrd.
> At least this way I got further in the boot.

Wrong solution.

> Per above, I was just trying to get init/main.c a /dev that it could use
> to open the console.  I was going to fix the modules once I got that
> far.

It's not the kernel which spits that message, it's glibc.

About debugging - don't bother with debug for this problem, it's not needed.

> Program received signal SIGUSR1, User defined signal 1.
> 0xa02aa311 in kill () at
> /home/jwd/kernels/linux-2.6.15.1/net/sctp/protocol.c:809
> 809     }
You'd continue with "handle SIGUSR1 noprint" and "handle SIGSEGV noprint" and 
"cont", like normally done when debugging UML (it's explained at the main 
website - http://user-mode-linux.sourceforge.net/ ).

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

                
___________________________________ 
Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive 
http://it.messenger.yahoo.com



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to