Re: crash with "mem=32" (linux 2.3.22)

Tim Walberg (twalberg@terabridge.com)
Mon, 18 Oct 1999 09:20:16 -0500


--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

I tried something like that once... (assuming your "mem=3D32" is literally
what you tried and you didn't miss something in transcribing to mail...)

mem=3D32 literally means 32 **bytes** of memory... Try mem=3D32m - it'll pr=
obably
be more like what you intended...

from /usr/src/linux/arch/i386/kernel/setup.c (starting at line 308 in 2.2.1=
2):
/*
* "mem=3Dnopentium" disables the 4MB page tables.
* "mem=3DXXX[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=3D32" on the command line. =
It
>> boots perfectly without that (I have 128 mb ram).
>>=09
>> Here is a partial oops, if you need more then I can attach a serial
>> console:
>>=09
>> 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()":
>>=09
>> "if(page->inode !=3D inode)"
>> =09
>> asm: "cmp %ecx,0x08(%edx)"
>> "jne <+372>"
>> "cmp %ebp,0x0c(%edx)"
>> "jne <+372>"
>>=09
>> edx=3D0xffffffff << "page"
>> ecx=3D0xc000f720 << "inode"
>> ebp=3D0x00000000 << "offset"
>>=09
>> 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"
>>=09
>> the pid is "1".
>>=09
>> I hope that helps,
>> --
>> Manfred
>>=09
>> -
>> 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

--=20
+------------------------------+--------------------------+
| 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 |
+------------------------------+--------------------------+

--6c2NcOVqGQ03X4Wi
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: 9HDk99jV6E91LX3+HtEiTIpiz4dxeGfl

iQA/AwUBOAssoMPlnI9tqyVmEQJVLwCeP0+cRyxMIItpeBsFLHATz42uvsMAoLmn
Ykyk7rbfKK8Q/VVLBs4hp/JI
=DGnE
-----END PGP SIGNATURE-----

--6c2NcOVqGQ03X4Wi--

-
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/