Blaisorblade wrote:

> It's a FAQ, your /etc/inittab uses DevFS names, while it should be
> updated to normal ones. I.e. vc/0 or ttys/0 rather than tty0, and so
> on. At least, this is the normal thing.

Does this apply to udev-enabled systems (host and guest), too?

After I've changed my inittab from

        # TERMINALS
        c1:12345:respawn:/sbin/agetty 38400 tty1 linux
        c2:2345:respawn:/sbin/agetty 38400 tty2 linux
        c3:2345:respawn:/sbin/agetty 38400 tty3 linux
        c4:2345:respawn:/sbin/agetty 38400 tty4 linux
        c5:2345:respawn:/sbin/agetty 38400 tty5 linux
        c6:2345:respawn:/sbin/agetty 38400 tty6 linux

to 

        # TERMINALS
        c1:12345:respawn:/sbin/agetty 38400 tty/1 linux
        c2:2345:respawn:/sbin/agetty 38400 tty/2 linux
        c3:2345:respawn:/sbin/agetty 38400 tty/3 linux
        c4:2345:respawn:/sbin/agetty 38400 tty/4 linux
        c5:2345:respawn:/sbin/agetty 38400 tty/5 linux
        c6:2345:respawn:/sbin/agetty 38400 tty/6 linux

or

        # TERMINALS
        c1:12345:respawn:/sbin/agetty 38400 ttys/1 linux
        c2:2345:respawn:/sbin/agetty 38400 ttys/2 linux
        c3:2345:respawn:/sbin/agetty 38400 ttys/3 linux
        c4:2345:respawn:/sbin/agetty 38400 ttys/4 linux
        c5:2345:respawn:/sbin/agetty 38400 ttys/5 linux
        c6:2345:respawn:/sbin/agetty 38400 ttys/6 linux

the result stays the same. All init scripts are executed but I don't get
a login prompt. So here's the complete boot log:

[EMAIL PROTECTED]> linux ubd0=root_fs
Checking for /proc/mm...found
Checking for the skas3 patch in the host...found
Checking PROT_EXEC mmap in /tmp...OK
Linux version 2.6.12-usermode-r2-bs11 ([EMAIL PROTECTED]) (gcc-Version 4.0.2
(Gentoo 4.0.2-r1, HTB-4.0.1-1.00, pie-8.7.8)) #4 Wed Nov 2 20:00:37 CET
2005
Built 1 zonelists
Kernel command line: ubd0=root_fs root=98:0
PID hash table entries: 256 (order: 8, 4096 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 28720k available
Mount-cache hash table entries: 512
Checking for host processor cmov support...Yes
Checking for host processor xmm support...No
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
Checking that host ptys support output SIGIO...Yes
Checking that host ptys support SIGIO on close...No, enabling workaround
Checking for /dev/anon on the host...Not available (open failed with
errno 2)
NET: Registered protocol family 16
mconsole (version 2) initialized on /root/.uml/omwtSk/mconsole
Initializing Cryptographic API
io scheduler noop registered
io scheduler cfq registered
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
NET: Registered protocol family 1
Initialized stdio console driver
Console initialized on /dev/tty0
 ubda: unknown partition table
VFS: Mounted root (ext2 filesystem) readonly.
line_ioctl: tty0: ioctl KDSIGACCEPT called
INIT: version 2.86 booting
line_ioctl: tty0: ioctl TIOCLINUX called

Gentoo Linux; http://www.gentoo.org/
 Copyright 1999-2005 Gentoo Foundation; Distributed under the GPLv2

Press I to enter interactive boot mode

 * Mounting proc at /proc ...                              [ ok ]
 * Mounting sysfs at /sys ...                              [ ok ]
 * Mounting /dev for udev ...                              [ ok ]
 * Configuring system to use udev ...
 *   Setting /sbin/udevsend as hotplug agent ...           [ ok ]
 * Mounting devpts at /dev/pts ...                         [ ok ]
 * Activating (possible) swap ...                          [ ok ]
 * Skipping root filesystem check (fstab's passno == 0) ...[ ok ]
 * Remounting root filesystem read/write ...               [ ok ]
 * Setting hostname to uml ...                             [ ok ]
 * System.map not found - unable to check symbols
 * Checking all filesystems ...                            [ ok ]
 * Mounting local filesystems ...mount: special device /dev/ubd/1 does
not exist
 * Some local filesystem failed to mount                   [ !! ]
 * Activating (possibly) more swap ...                     [ ok ]
 * Setting system clock using the hardware clock [UML] ... [ ok ]
 * Configuring kernel parameters ...                       [ ok ]
 * Updating environment ...                                [ ok ]
 * Cleaning /var/lib/net-scripts/state ...                 [ ok ]
 * Cleaning /var/lock, /var/run ...                        [ ok ]
 * Cleaning /tmp directory ...                             [ ok ]
 * Starting lo
 *   Bringing up lo
 *     127.0.0.1/8                                         [ ok ]
 *   Adding routes
 *     127.0.0.0/8 ...                                     [ ok ]
 * Initializing random number generator ...                [ ok ]
INIT: Entering runlevel: 3
 * Starting local ...                                      [ ok ]
 * umlboot starts network interfaces config ...
 *    Unable to locate /opt/umlboot script !
 * Starting sshd ...

That's it.

Regards,
Tassilo



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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