Hi All, I am a newbie to UML. Been trying to bring up UML on x86_64bit SuSe10.2 machine. My uml filesystem is in rootfs directory. While running the kernel got a segmentation fault. Here is the output.
Core dump limits : soft - 0 hard - NONE Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...missing Checking for tmpfs mount on /dev/shm...nothing mounted on /dev/shm Checking PROT_EXEC mmap in /tmp/...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 Linux version 2.6.31 (r...@sirisha) (gcc version 4.1.2 20070115 (SUSE Linux)) #1 Thu Apr 22 15:28:55 EDT 2010 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32320 Kernel command line: rw hostdir=cluster_sim_uml eth0=daemon,2:0:0:1:1:2,unix,/tmp/um l-0.ctl con0=fd:0,fd:1 con=pts mem=128M hostname=SC-2 shadowroot=rootfs 4193 root=98:0 PID hash table entries: 512 (order: 9, 4096 bytes) Dentry cache hash table entries: 16384 (order: 5, 131072 bytes) Inode-cache hash table entries: 8192 (order: 4, 65536 bytes) Memory: 124300k available NR_IRQS:15 Calibrating delay loop... 104.65 BogoMIPS (lpj=523264) Mount-cache hash table entries: 256 Checking that host ptys support output SIGIO...Yes Checking that host ptys support SIGIO on close...No, enabling workaround Using 2.6 host AIO NET: Registered protocol family 16 bio: create slab <bio-0> at 0 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 1, 8192 bytes) TCP established hash table entries: 4096 (order: 4, 65536 bytes) TCP bind hash table entries: 4096 (order: 3, 32768 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered NET: Registered protocol family 1 IRQ 9/mconsole: IRQF_DISABLED is not guaranteed on shared IRQs mconsole (version 2) initialized on /root/.uml/SC-2/mconsole Checking host MADV_REMOVE support... MADV_REMOVE failed, err = -38 Can't release memory to the host - memory hotplug won't be supported VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 512 (order 0, 4096 bytes) msgmni has been set to 243 io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered TCP cubic registered NET: Registered protocol family 17 Initialized stdio console driver Console initialized on /dev/tty0 console [tty0] enabled Initializing software serial port version 1 Netdevice 0 (02:00:00:01:01:02) : daemon backend (uml_switch version 3) - unix:/tmp/uml-0.ctl console [mc-1] enabled Couldn't stat "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) Call Trace: 67825d88: [<6002d48b>] panic+0xd3/0x17b 67825da8: [<601200e3>] class_dev_iter_exit+0x9/0xb 67825df8: [<60056701>] __free_pages+0x17/0x20 67825e18: [<6008773c>] sys_mount+0xb6/0xc8 67825e28: [<600213be>] set_signals+0x1c/0x2e 67825e78: [<6000197d>] mount_block_root+0x246/0x264 67825ee8: [<600019eb>] mount_root+0x50/0x54 67825f08: [<60001b18>] prepare_namespace+0x129/0x14e 67825f18: [<60001424>] kernel_init+0xc7/0xd5 67825f48: [<6002045d>] run_kernel_thread+0x41/0x4a 67825f58: [<6000135d>] kernel_init+0x0/0xd5 67825f98: [<60020444>] run_kernel_thread+0x28/0x4a 67825fc8: [<6001255a>] new_thread_handler+0x67/0x91 Modules linked in: Pid: 1, comm: swapper Not tainted 2.6.31 RIP: 0033:[<00002b3fd2e8bea7>] RSP: 00007fffd7e6ba08 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000001075 RCX: ffffffffffffffff RDX: 0000000000000000 RSI: 0000000000000013 RDI: 0000000000001075 RBP: 00007fffd7e6ba30 R08: 0000000000000000 R09: 00007fffd7e6ba30 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000001070 R13: 000000000000000b R14: 00007fffd7e6c31a R15: 00007fffd7e6bd28 Call Trace: 67825d08: [<60014b7d>] panic_exit+0x2f/0x45 67825d28: [<60042431>] notifier_call_chain+0x33/0x5b 67825d30: [<6001255a>] new_thread_handler+0x67/0x91 67825d68: [<60042462>] __atomic_notifier_call_chain+0x9/0xb 67825d78: [<60042473>] atomic_notifier_call_chain+0xf/0x11 67825d88: [<6002d49c>] panic+0xe4/0x17b 67825da8: [<601200e3>] class_dev_iter_exit+0x9/0xb 67825df8: [<60056701>] __free_pages+0x17/0x20 67825e18: [<6008773c>] sys_mount+0xb6/0xc8 67825e28: [<600213be>] set_signals+0x1c/0x2e 67825e78: [<6000197d>] mount_block_root+0x246/0x264 67825ee8: [<600019eb>] mount_root+0x50/0x54 67825f08: [<60001b18>] prepare_namespace+0x129/0x14e 67825f18: [<60001424>] kernel_init+0xc7/0xd5 67825f48: [<6002045d>] run_kernel_thread+0x41/0x4a 67825f58: [<6000135d>] kernel_init+0x0/0xd5 67825f98: [<60020444>] run_kernel_thread+0x28/0x4a 67825fc8: [<6001255a>] new_thread_handler+0x67/0x91 uname -a Linux sirisha 2.6.16.60-0.21-smp #1 SMP Tue May 6 12:41:02 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux Your help is highly appreciated. Regards, Sirisha ------------------------------------------------------------------------------ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user