On Tuesday 30 August 2005 09:35, Laszlo Ast wrote:
> 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.)
There was a post from one of the LFS authors about the changes to do to fix 
this (it's just changing a couple of options when compiling glibc).

However, since it's using a Gentoo rootfs, either he compiled it himself (and 
in that case disabling "nptl" USE flag is enough) or it was prebuilt for UML 
(and in that case, the author should have done this).
> 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".
Yes, those patches are still "work in progress".
-- 
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! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
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

Reply via email to