Re: Crash on reducing the kernel mem.

From: Prabhu Chawandi
Date: Mon Sep 06 2010 - 06:47:24 EST


Hi Greg,

I am specifying the memory as part of command line parameter "mem=".
I know only that what ever amount specify against "mem=" will be a
kernel memory and rest is used for the drivers.

If I have not answered you correctly, please give me a chance to understand...

thanks,
Prabhu

On Fri, Sep 3, 2010 at 7:30 PM, Greg KH <greg@xxxxxxxxx> wrote:
> On Fri, Sep 03, 2010 at 12:04:09PM +0530, Prabhu Chawandi wrote:
>> Hi all,
>>
>>  I am using MIPS processor, with 256 MB RAM. currently I am using 128
>> M for drivers and 128 M for Kernel. I tried to allocate more memory
>> for Drivers,
>> surprisingly I got crash when I reduced kernel memory to 110 M. My
>> debugging took me to USB controller, which was not reset in
>> bootloader.
>>
>> I am not having any clue, why it didnt crash with 128 M ? How reducing
>> memory  for kernel bringing it up ?
>
> Perhaps your drivers really needed that much memory.  How are you
> "splitting" memory up between drivers and the kernel when the drivers
> and kernel all share the same memory areas?
>
> good luck,
>
> greg k-h
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/