Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159614 - sys-kernel/usermode-sources kernel panic on AMD64
Summary: sys-kernel/usermode-sources kernel panic on AMD64
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Daniel Gryniewicz (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-01 04:13 UTC by Max Dilay
Modified: 2007-06-15 20:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Dilay 2007-01-01 04:13:48 UTC
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)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-01 04:17:26 UTC
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.
Comment 2 Max Dilay 2007-01-01 05:16:31 UTC
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 

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-01 06:13:49 UTC
Need to reopen, noone will notice again otherwise...
Comment 4 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-01-02 17:53:26 UTC
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?
Comment 5 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-06-15 20:31:05 UTC
6 months...