crash with "mem=32" (linux 2.3.22)

Manfred Spraul (manfreds@colorfullife.com)
Sat, 16 Oct 1999 19:04:48 +0200


linux 2.3.22 crashes if I start it with "mem=32" on the command line. It
boots perfectly without that (I have 128 mb ram).

Here is a partial oops, if you need more then I can attach a serial
console:

It crashes immediately after
"Freeing unused kernel memory: 76k freed".
EIP: "do_generic_file_read+383"
that should be in the middle of "__find_page_nolock()":

"if(page->inode != inode)"

asm: "cmp %ecx,0x08(%edx)"
"jne <+372>"
"cmp %ebp,0x0c(%edx)"
"jne <+372>"

edx=0xffffffff << "page"
ecx=0xc000f720 << "inode"
ebp=0x00000000 << "offset"

call trace:
"generic_file_read+99",
"file_read_actor+0" (bogus, this is a parameter)
"read_exec+191"
"prepare_binprm+724"
"do_execve"
"sys_execve+75"
"get_option+0" (0xc0106000)
"system_call+52"
...
"init+262"
"kernel_thread+35"

the pid is "1".

I hope that helps,

--
	Manfred

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/