From: zz zz <goo...@ya...> - 2005-08-31 01:15:41
|
I am unable to boot a UML guest kernel. Thanks in advance for any help. Here is what I did. Host kernel patched 2.6.11.10 with skas3-v8.2 Guest kernel make mrproper make xconfig ARCH=um make linux ARCH=um I got the root fs from www.stearns.org/uml-root/root_fs.fc-3-base.pristine.20050605.bz2 and after unziping saved it as root_fs.2005060501 I booted the machine with the host kernel, but when i start the guest with the following cmd line ./vmlinux ubd0=root_fs.2005060501 it kept restarting with the following output: Checking for /proc/mm...not found Checking PROT_EXEC mmap in /tmp...OK tracing thread pid = 4273 Linux version 2.6.11.10-sttcp-UML (ro...@at...) (gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)) #1 Mon Aug 29 19:29:16 MDT 2005 Built 1 zonelists Kernel command line: ubd0=root_fs.2005060501 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: 29320k available Mount-cache hash table entries: 512 (order: 0, 4096 bytes) 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/K1nB8F/mconsole ubd: Synchronous mode VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline 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 NET: Registered protocol family 17 Initialized stdio console driver Console initialized on /dev/tty0 Initializing software serial port version 1 ubda: unknown partition table kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Warning: unable to open an initial console. Restarting system. Any help is greatly appreciated. thanks! -googol ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs |
From: Blaisorblade <bla...@ya...> - 2005-09-01 17:48:17
|
On Wednesday 31 August 2005 03:15, zz zz wrote: > I am unable to boot a UML guest kernel. Thanks in > advance for any help. =46rom the output, probably fix /etc/inittab not to refer to Devfs names. > Here is what I did. > > Host kernel > patched 2.6.11.10 with skas3-v8.2 > > Guest kernel > make mrproper > make xconfig ARCH=3Dum That's wrong. Do instead: rm .config make defconfig ARCH=3Dum (it's needed because otherwise it could use the host config from /boot) make xconfig ARCH=3Dum > make linux ARCH=3Dum > > I got the root fs from > www.stearns.org/uml-root/root_fs.fc-3-base.pristine.20050605.bz2 > and after unziping saved it as root_fs.2005060501 > I booted the machine with the host kernel, but when i > start the guest with the following cmd line > ./vmlinux ubd0=3Droot_fs.2005060501 > > it kept restarting with the following output: > > Checking for /proc/mm...not found > Checking PROT_EXEC mmap in /tmp...OK > tracing thread pid =3D 4273 > Linux version 2.6.11.10-sttcp-UML > (ro...@at...) (gcc > version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)) #1 Mon > Aug 29 19:29:16 MDT 2005 > Built 1 zonelists > Kernel command line: ubd0=3Droot_fs.2005060501 root=3D98: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: 29320k available > Mount-cache hash table entries: 512 (order: 0, 4096 > bytes) > 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/K1nB8F/mconsole > ubd: Synchronous mode > VFS: Disk quotas dquot_6.5.1 > Dquot-cache hash table entries: 1024 (order 0, 4096 > bytes) > io scheduler noop registered > io scheduler anticipatory registered > io scheduler deadline 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 > NET: Registered protocol family 17 > Initialized stdio console driver > Console initialized on /dev/tty0 > Initializing software serial port version 1 > ubda: unknown partition table > kjournald starting. Commit interval 5 seconds > EXT3-fs: mounted filesystem with ordered data mode. > VFS: Mounted root (ext3 filesystem) readonly. > Warning: unable to open an initial console. > Restarting system. > > > > Any help is greatly appreciated. thanks! > > -googol =2D-=20 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 |