Hi
I am new to uml. At this time, I even can't use the kernel binary and image
to start uml.
I am using debian sid, the uml version is 2.6.18-1um-2: i386. My host kernel
is customized by myself, which is 2.6.19.2
And when I using binary kernel in
http://uml.nagafix.co.uk/kernels/kernel32-2.6.20.3 and busybox , I encounter
this:
VFS: Mounted root (ext3 filesystem) readonly.
: applet not found
[42949376.460000] Kernel panic - not syncing: Attempted to kill init!
[42949376.460000]
[42949376.460000] EIP: 0073:[<080efbbf>] CPU: 0 Not tainted ESP:
007b:7fd87a30 EFLAGS: 00200246
[42949376.460000] Not tainted
[42949376.460000] EAX: ffffffda EBX: 00000001 ECX: 00000000 EDX: 00000000
[42949376.460000] ESI: 00000001 EDI: 00000001 EBP: 7fd87a4c DS: 007b ES:
007b
[42949376.460000] 08c9fe5c: [<08070230>] show_regs+0xb4/0xb9
[42949376.460000] 08c9fe88: [<0805e687>] panic_exit+0x25/0x3f
[42949376.460000] 08c9fe9c: [<08080c18>] notifier_call_chain+0x1d/0x3c
[42949376.460000] 08c9febc: [<08080ca7>]
atomic_notifier_call_chain+0x11/0x13
[42949376.460000] 08c9fed0: [<080755f6>] panic+0x52/0xdd
[42949376.460000] 08c9fef0: [<080777e0>] do_exit+0x6a/0x330
[42949376.460000] 08c9ff10: [<08077b49>] sys_exit_group+0x0/0x13
[42949376.460000] 08c9ff28: [<08077b59>] sys_exit_group+0x10/0x13
[42949376.460000] 08c9ff34: [<0805eeba>] handle_syscall+0x86/0xa0
[42949376.460000] 08c9ff80: [<0806d2e1>] handle_trap+0xbe/0xc7
[42949376.460000] 08c9ff9c: [<0806d6cf>] userspace+0x123/0x166
[42949376.460000] 08c9ffe8: [<0805eb74>] new_thread_handler+0x72/0x7e
[42949376.460000] 08c9fffc: [<00000000>] _sinittext+0xf7fb7f0c/0x18
and when I change image to
http://uml.nagafix.co.uk/FedoraCore5/FedoraCore5-x86-root_fs.bz2, I get:
INIT: version 2.86 booting
[42949376.400000] Kernel panic - not syncing: Kernel mode signal 4
[42949376.400000]
[42949376.400000] EIP: 0073:[<40000822>] CPU: 0 Not tainted ESP:
007b:7fee70c8 EFLAGS: 00200202
[42949376.400000] Not tainted
[42949376.400000] EAX: ffffffda EBX: 7fee7310 ECX: 7fee72cc EDX: 080516a8
[42949376.400000] ESI: 7fee7140 EDI: 401aaff4 EBP: 7fee73a8 DS: 007b ES:
007b
[42949376.400000] 08827908: [<08070230>] show_regs+0xb4/0xb9
[42949376.400000] 08827934: [<0805e687>] panic_exit+0x25/0x3f
[42949376.400000] 08827948: [<08080c18>] notifier_call_chain+0x1d/0x3c
[42949376.400000] 08827968: [<08080ca7>]
atomic_notifier_call_chain+0x11/0x13
[42949376.400000] 0882797c: [<080755f6>] panic+0x52/0xdd
[42949376.400000] 0882799c: [<0805e07e>] relay_signal+0x40/0x79
[42949376.400000] 088279bc: [<0806dc6a>] sig_handler_common_skas+0xc6/0xe1
[42949376.400000] 088279e4: [<0806acf0>] sig_handler+0x34/0x44
[42949376.400000] 088279fc: [<0806caf2>] hard_handler+0x12/0x18
[42949376.400000] 08827a0c: [<b7fcc420>] 0xb7fcc420
[42949376.400000] 08827d00: [<08073846>] mmput+0x1e/0x64
[42949376.400000] 08827d10: [<080b19f3>] exec_mmap+0xb8/0xdc
[42949376.400000] 08827d2c: [<080b1dab>] flush_old_exec+0x51/0x216
[42949376.400000] 08827d5c: [<080d3b05>] load_elf_binary+0x409/0xafb
[42949376.400000] 08827dd8: [<080b21ee>] search_binary_handler+0x6b/0x112
[42949376.400000] 08827dfc: [<080d2cb5>] load_script+0x191/0x1a4
[42949376.400000] 08827ea4: [<080b21ee>] search_binary_handler+0x6b/0x112
[42949376.400000] 08827ec8: [<080b23f0>] do_execve+0x15b/0x1f4
[42949376.400000] 08827ee8: [<0805a7a1>] execve1+0x2a/0x54
[42949376.400000] 08827f0c: [<0805a832>] sys_execve+0x26/0x3c
[42949376.400000] 08827f28: [<0805eeba>] handle_syscall+0x86/0xa0
[42949376.400000] 08827f74: [<0806d2e1>] handle_trap+0xbe/0xc7
[42949376.400000] 08827f90: [<0806d6cf>] userspace+0x123/0x166
[42949376.400000] 08827fdc: [<0805ebf9>] fork_handler+0x74/0x7c
[42949376.400000] 08827ffc: [<00000000>] _sinittext+0xf7fb7f0c/0x18
I also tried compile by myself. But no advance.
Please help!
BTW: I spent hours to find a relative-stable kernel with UML to compile, but
found a lot of then can't be compiled because of a PAGE_SHIFT error and
syscall0 error. After fix these, I still can't run it up. So I change to
binary kernel, but failed again.
Thanks.
--
regards,
Yang Sheng
-------------------------------------------------------------------------
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