2006/10/6, Christopher Marshall <christopherlmarshall@yahoo.com>:
Flavio:

What is your uml command line?

This is my command line:
linux ubd0=rootfs.debian.etch ubd1=swapfs.debian eth0=tuntap,,,192.168.1.101 noprocmm

this is the same command line I use with another working kernel. Above "linux" executable is referred to a 2.6.18 kernel image.
As I saw, 2.6.16.24 kernel image works properly.

It looks like the kernel's command line for invoking init is wrong.

Are you using an initrd file whose linuxrc script explicitly invokes init?  Does the end of your
linuxrc have a pivot_root + chroot sequence in it?

No, I don't use an initrd file

If so, try invoking init like this: /sbin/init -i

The -i argument explicitly informs init that it should behave as if it were part of the boot
process, and not attemtping to contact another init process (which the other options are about).

Chris Marshall

--- Flavio <fbcyborg@gmail.com> wrote:

> Hi all!
>
> I recently upgraded my uml-kernel.
> My system is composed by: kernel 2.6.17-gentoo-r8-skas3-v9-pre9 #8 SMP
> PREEMPT Tue Sep 26 16:16:05 CEST 2006 x86_64 AMD Athlon(tm) 64 Processor
> 3000+ GNU/Linux
> glibc-2.4-r3
>
> Actually I use a well-working uml kernel ( 2.6.16.24).
> I decided to upgrade my guest kernel to 2.6.18. Patches were applied as
> required (uml-2.6.18-bb1.patch.bz2 to guest and
> skas-2.6.17-rc5-v9-pre9.patch.bz2 to host kernel).
>
> My boot problem is the following message:
>
> Checking host MADV_REMOVE support...MADV_REMOVE failed, err = -22
> > Can't release memory to the host - memory hotplug won't be supported
> > mconsole (version 2) initialized on /home/flavio/.uml/Du7VZ4/mconsole
> > Netdevice 0 : TUN/TAP backend - IP = 192.168.1.101
> > VFS: Disk quotas dquot_6.5.1
> > Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
> > io scheduler noop registered
> > io scheduler anticipatory registered (default)
> > io scheduler deadline registered
> > io scheduler cfq registered
> > TCP bic registered
> > NET: Registered protocol family 1
> > NET: Registered protocol family 17
> > Initialized stdio console driver
> > Console initialized on /dev/tty0
> > Initializing software serial port version 1
> >  ubda: unknown partition table
> >  ubdb: unknown partition table
> > kjournald starting.  Commit interval 5 seconds
> > EXT3-fs: mounted filesystem with ordered data mode.
> > VFS: Mounted root (ext3 filesystem) readonly.
> > Usage: init {-e VAR[=VAL] | [-t SECONDS]
> > {0|1|2|3|4|5|6|S|s|Q|q|A|a|B|b|C|c|U|u}}
> > Kernel panic - not syncing: Attempted to kill init!
> >
> > Modules linked in:
> > Pid: 1, comm: init Not tainted 2.6.18-skas3-v9-pre9-fremap
> > RIP: 0033:[<00000000404031ef>]
> >
>
> bye!
>
> Flavio
> > -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >
_______________________________________________
> User-mode-linux-user mailing list
> User-mode-linux-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
>