From: guodonn <gu...@16...> - 2008-08-29 02:14:31
|
Hi All. I am new to UML, i download the linux-2.6.24-rc7.bz2 and FedoraCora5-x86-root_fs.bz2 from http://user-mode-linux.sourceforge.net/ Then i follow the instructions: vang@localhost ~]$ ./UML/linux-2.6.24-rc7 ubda=FedoraCora5-x86-root_fs mem=256M Core dump limits : soft - 0 hard - NONE 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 for tmpfs mount on /dev/shm...OK Checking PROT_EXEC mmap in /dev/shm/...OK Checking for the skas3 patch in the host: - /proc/mm...not found: No such file or directory - PTRACE_FAULTINFO...not found - PTRACE_LDT...not found UML running in SKAS0 mode Adding 32944128 bytes to physical memory to account for exec-shield gap Linux version 2.6.24-rc7-dirty (jd...@tp...) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-27)) #97 Mon Jan 7 11:18:24 EST 2008 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 73005 Kernel command line: ubda=FedoraCora5-x86-root_fs mem=256M root=98:0 PID hash table entries: 2048 (order: 11, 8192 bytes) Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 254908k available Mount-cache hash table entries: 512 Checking for host processor cmov support...Yes Checking for host processor xmm support...No Checking that host ptys support output SIGIO...Yes Checking that host ptys support SIGIO on close...No, enabling workaround net_namespace: 64 bytes Using 2.6 host AIO NET: Registered protocol family 16 NET: Registered protocol family 2 Time: itimer clocksource has been installed. IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 5, 131072 bytes) TCP bind hash table entries: 16384 (order: 4, 65536 bytes) TCP: Hash tables configured (established 16384 bind 16384) TCP reno registered Checking host MADV_REMOVE support...OK mconsole (version 2) initialized on /home/Yang/.uml/bR5R3B/mconsole Host TLS support detected Detected host type: i386 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 (default) io scheduler deadline registered io scheduler cfq registered TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Initialized stdio console driver Console initialized on /dev/tty0 console [tty0] enabled Initializing software serial port version 1 console [mc-1] enabled Couldn't stat "FedoraCora5-x86-root_fs" : err = 2 Failed to initialize ubd device 0 :Couldn't determine size of device's file VFS: Cannot open root device "98:0" or unknown-block(98,0) Please append a correct "root=" boot option; here are the available partitions: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0) EIP: 0073:[<00110416>] CPU: 0 Not tainted ESP: 007b:bff75dc4 EFLAGS: 00200246 Not tainted EAX: 00000000 EBX: 00000f51 ECX: 00000013 EDX: 00000f51 ESI: 00000f4d EDI: 00000003 EBP: bff75ddc DS: 007b ES: 007b 1985ae6c: [<08069f14>] show_regs+0xb4/0xb9 1985ae98: [<08058c6e>] panic_exit+0x25/0x3f 1985aeac: [<080853e4>] notifier_call_chain+0x21/0x46 1985aecc: [<0808547f>] __atomic_notifier_call_chain+0x17/0x19 1985aee8: [<08085496>] atomic_notifier_call_chain+0x15/0x17 1985af04: [<08070772>] panic+0x52/0xdd 1985af24: [<08049a88>] mount_block_root+0xf8/0x10e 1985af78: [<08049aea>] mount_root+0x4c/0x54 1985af9c: [<08049bfe>] prepare_namespace+0x10c/0x133 1985afa4: [<080497b3>] kernel_init+0x79/0x85 1985afb4: [<0806412c>] run_kernel_thread+0x37/0x3f 1985afe0: [<080569cb>] new_thread_handler+0x57/0x7e 1985affc: [<00000000>] _sinittext+0xf7fb7000/0x88 segfaults Is there anything i am missing? please help --- husher |