I have a problem. UML(sys-kernel/usermode-sources) doesn't work and give me kernel panic. My logs is on forums(http://forums.gentoo.org/viewtopic-t-528247.html)
Don't refer to forums.g.o. when reporting bugs; it's just wasting everyone's time. Reopen once you've posted all the relevant info here. Thanks.
Ok. No problem. Here my log: linuxman@dproject /uml/systems/pristine $ /usr/src/linux-2.6.18-usermode/linux ubd0=root_fs ubd1=swap_fs eth0=tuntap,uml0 umid=pristine con=null con0=fd:0,fd:1 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...not found - PTRACE_FAULTINFO...not found - PTRACE_LDT...not found UML running in SKAS0 mode Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...missing Linux version 2.6.18-usermode-skas3-v9-pre9-fremap (root@dproject.org.ua) (gcc version 4.1.1 (Gentoo 4.1.1-r1, pie-8.7.8-cg)) #1 Sat Dec 30 20:33:45 EET 2006 Built 1 zonelists. Total pages: 8192 Kernel command line: ubd0=root_fs ubd1=swap_fs eth0=tuntap,uml0 con=null con0=fd:0,fd:1 root=98:0 PID hash table entries: 256 (order: 8, 2048 bytes) Dentry cache hash table entries: 4096 (order: 3, 32768 bytes) Inode-cache hash table entries: 2048 (order: 2, 16384 bytes) Memory: 28828k available 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 NET: Registered protocol family 2 IP route cache hash table entries: 256 (order: -1, 2048 bytes) TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 512 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 512) TCP reno registered Host TLS support detected Checking host MADV_REMOVE support...MADV_REMOVE failed, err = -22 Can't release memory to the host - memory hotplug won't be supported mconsole (version 2) initialized on /home/linuxman/.uml/pristine/mconsole Netdevice 0 : TUN/TAP backend - VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 512 (order 0, 4096 bytes) io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered TCP bic registered 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 ubdb: unknown partition table kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Usage: init 0123456SsQqAaBbCcUu Kernel panic - not syncing: Attempted to kill init! Modules linked in: Pid: 1, comm: init Not tainted 2.6.18-usermode-skas3-v9-pre9-fremap RIP: 0033:[<00000000401a262a>] RSP: 0000007f7fc57f38 EFLAGS: 00000246 RAX: ffffffffffffffda RBX: 0000000040332008 RCX: ffffffffffffffff RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: 0000000040332008 R08: 000000000000003c R09: 00000000000000e7 R10: 00000000401159a8 R11: 0000000000000246 R12: 0000000000000001 R13: 0000007f7fc582d8 R14: 0000007f7fc59fc7 R15: 0000007f7fc58010 Call Trace: 6096bb88: [<60013cc7>] panic_exit+0x2f/0x49 6096bba8: [<60038a63>] notifier_call_chain+0x29/0x3e 6096bbd8: [<60038b08>] atomic_notifier_call_chain+0x9/0xb 6096bbe8: [<6002b69a>] panic+0xe6/0x178 6096bc58: [<60013451>] segv+0xa7/0x29f 6096bc88: [<60023d22>] wait_stub_done+0x6f/0x124 6096bcd8: [<6002df7d>] do_exit+0x7b/0x3fe 6096bd18: [<6002e3eb>] sys_exit_group+0x0/0x14 6096bd58: [<6002e3fd>] sys_exit_group+0x12/0x14 6096bd68: [<600146ad>] handle_syscall+0x65/0x80 6096bd98: [<60023fc6>] userspace+0x1ef/0x237 6096bdf0: [<6000f1e2>] init+0x0/0x132 6096bdf8: [<600142d5>] new_thread_handler+0xb8/0xca
Need to reopen, noone will notice again otherwise...
init segfaulted. This will cause a panic on any linux system. Can you loop-mount the device and run init? Can you boot it with init=/bin/bash on the command line?
6 months...