Hi, I tried to compile a uml guest kernel on an AMD64 host. The compile itself was without errors, but a simple startup seems to be impossible.
After invoking uml with a ubuntu server 64 image with ./linux ubd0=userv64_fs the boot process commences from Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...missing 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...found - PTRACE_FAULTINFO...not found - PTRACE_LDT...found UML running in SKAS0 mode ... which is kind of strange because of the ptrace/skas0 thing - the host kernel is patched with a skas-2.6.17-rc5-v9-pre9.patch.bz2 on a vanilla 2.6.17.8 kernel - it should run in skas3 mode, shouldn't it? The whole thing ends with: EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Kernel panic - not syncing: map_stub_pages : /proc/mm map for code failed, err = 22 I read something about a /proc/mm problem, but I somehow didn't get it... My questions are: - am I doing something wrong (as usual...) or - is there a problem with amd64 guests using skas3 on a amd64 host? As usual many thanks in advance, Karl Pid: 1, comm: swapper Not tainted 2.6.16.27-bs2 RIP: 0033:[<000000006016cc39>] RSP: 00002b0d3a3e5fc0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000aa2 RCX: ffffffffffffffff RDX: 0000000000000000 RSI: 0000000000000013 RDI: 0000000000000aa2 RBP: 00002b0d3a3e5fc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000a9f R13: 00002b0d3a3e5000 R14: 00007fff706c2d38 R15: 00007fff706c30b8 Call Trace: 60337938: [<600137d7>] panic_exit+0x2d/0x47 60337958: [<60033270>] notifier_call_chain+0x22/0x38 60337988: [<60026534>] panic+0xe4/0x16e 603379c8: [<6017d312>] __write_nocancel+0x9/0x77 603379d0: [<600107cd>] copy_to_user_proc+0x0/0xb 603379e8: [<6001f48d>] set_signals+0x19/0x2b 603379f8: [<6001d883>] file_io+0x37/0xc0 60337a08: [<600437b1>] buffered_rmqueue+0x1a2/0x1e5 60337a10: [<600107cd>] copy_to_user_proc+0x0/0xb 60337a18: [<6017d300>] __libc_write+0x0/0x9 60337a78: [<6002251c>] map_stub_pages+0xb8/0x148 60337af8: [<60043fd7>] mod_page_state_offset+0x2e/0x36 60337b28: [<60049cb1>] __pte_alloc+0x50/0x83 60337b78: [<60013f2d>] new_mm+0x48/0x4f 60337b98: [<60013b4c>] init_new_context_skas+0xfb/0x16b 60337bd8: [<60065fd6>] do_execve+0xbd/0x21f 60337c08: [<6000e16d>] init+0x0/0x133 60337c28: [<6000e85b>] execve1+0x29/0x57 60337c58: [<6000e897>] um_execve+0xe/0x42 60337c68: [<6006be59>] dupfd+0x73/0x8a 60337c88: [<6000e150>] run_init_process+0x3b/0x58 60337cb8: [<6000e273>] init+0x106/0x133 60337ce8: [<6001f042>] run_kernel_thread+0x59/0x65 60337d00: [<6000e16d>] init+0x0/0x133 60337d28: [<6000e16d>] init+0x0/0x133 60337d48: [<6001f020>] run_kernel_thread+0x37/0x65 60337da0: [<60021e76>] thread_wait+0x30/0x5a 60337db8: [<60022def>] schedule_tail+0x2b/0xe5 60337df8: [<60013d42>] new_thread_handler+0x9c/0xca 60337e38: [<6016c6c0>] __restore_rt+0x0/0x10 60337ec8: [<6016cb53>] sigprocmask+0x33/0x110 60337ee8: [<6016cc39>] kill+0x9/0x20 -- "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user