[okl4-developer] oklinux - l4 memory fault when linux tries to run /sbin/init
Ionut Cotoi
icotoi at icotoi.ro
Wed Sep 30 02:47:41 EST 2009
Hi,
I'm in the process of porting oklinux to the pb1176 board and I have managed
to get over the majority of bsp init and kernel issues pretty well.
Right now, at the point the kernel tries to run /sbin/init, I get an l4
memory fault.
The console output looks like this (after I enabled debugging in
arch/l4/kernel):
VFS: Mounted root (ext2 filesystem) readonly.
after prepare_namespace
init running /sbin/init
in do_execve before sched_exec
strnlen_user called from: 0015b280, src: 08c4a000, 131072
strnlen_user called from: 0015b280, src: 0026f8f0, 131072
strnlen_user called from: 0015b280, src: 0026f8e8, 131072
strnlen_user called from: 0015b280, src: 08c090e7, 131072
padzero 64c68
__clear_user to 0x64c68 size 398
__clear_in_user_page: addr: 00064c68, len: 00000398
pp: pdir: 08cdf000, address: 64c68, ptep: 00000000
l4 memory fault at 0x64c68 fault 0x204
Kernel panic - not syncing: kernel BUG at
/proj/oklinux_2.6.24.9-vmx/kernel-2.6.24-v2/arch/l4/kernel/sysc!
Rebooting in 1 seconds..Linux exit status: 5
It seems that padzero() is called with an invalid address: 64c68.
This seems to be called from the binfmt_elf reader, that tries to load the
/sbin/init executable into memory.
Does anyone have any ideas why this would happen?
I should mention that before enabling debug, all i got was:
Bad IPC received from 0x80000001.
Regards,
Ionut Cotoi
Senior Software Developer
Tel: 0721262666
http://icotoi.ro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20090929/1a96d081/attachment.htm
More information about the Developer
mailing list