[prev in list] [next in list] [prev in thread] [next in thread] 

List:       user-mode-linux-user
Subject:    [uml-user] Re: Kernel panic - not syncing: No init found. Try passing init=
From:       Laszlo Ast <ast () enternet ! hu>
Date:       2005-08-30 7:35:13
Message-ID: 43140C31.1000000 () enternet ! hu
[Download RAW message or body]

Hi,

yesterday I ran into the same problem...

> Warning: unable to open an initial console.
>  
>
This part can be the consequence of not finding init (if I am not 
mistaken), but anyway, you need first a working init.

> Kernel panic - not syncing: No init found.  Try passing init= option to
> kernel.
>
It may come from using an init dynamically linked against an nptl libc - 
at least it was the problem in my case.
The problem is, that nptl is "officially" not supported by uml yet. If 
you also have the old linuxthreads libraries in your system, then 
according to some mails I found on the net you simply have to 
rename/remove the nptl ones in your uml drive to force the binaries to 
use the obsolete ones. (Since I use Linux From Scratch it was not an 
option for me.)

Alternatives could be:
- using a statically bound init (but you will still have problems with 
anything else)
- patching your guest kernel with the nptl patches that can be found in
http://www.user-mode-linux.org/~blaisorblade/patches/devel-guest/uml-2.6.13-rc3-git-bb-20050731-19:08/

Using the latter method I had some success, but the init process is 
somewhat unstable (sometimes I get segmentation faults, sometimes not), 
and even if the system seems to be stable most of the time it seems that 
daemons do not really work. They seem to be started, but do not seem to 
"live".

Best regards,

Laszlo


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic