lkml.org 
[lkml]   [1999]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: crash with "mem=32" (linux 2.3.22)
I tried something like that once... (assuming your "mem=32" is literally
what you tried and you didn't miss something in transcribing to mail...)

mem=32 literally means 32 **bytes** of memory... Try mem=32m - it'll probably
be more like what you intended...

from /usr/src/linux/arch/i386/kernel/setup.c (starting at line 308 in 2.2.12):
/*
* "mem=nopentium" disables the 4MB page tables.
* "mem=XXX[kKmM]" overrides the BIOS-reported
* memory size
*/
....
....
....



On 10/16/1999 19:04 +0200, Manfred Spraul wrote:
>> 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/
End of included message



--
+------------------------------+--------------------------+
| Tim Walberg | Phone: 847-782-2472 |
| TERAbridge Technologies Corp | FAX: 847-623-1717 |
| 1375 Tri-State Parkway | twalberg@terabridge.com |
| Gurnee, IL 60031 | 800-SKY-TEL2 PIN 9353299 |
+------------------------------+--------------------------+
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.062 / U:1.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site