[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
kmalloc failure
Help!
I am doing a Linux embedded PPC ATM port of 2.2.14.
When I kmalloc(looping of course) under 512K everything
comes up fine(in this case 256 buffers X 1536 bytes(size)).
Anything above 512K fails with a Machine Check
Below part of the output for 512 X 1536 = 786,432
We have 128Meg of memory! The kmalloc return value is good and I have
tried doing the allocations using 2K all the way up to 128K(the max).
The BAT's are configured for BL_256M.
It certainly looks like a kernel memory allocation problem but I have
been unable to pinpoint the source.
Would appreciate any help.
Thanks,
Jerry
*******************************************************************
Bt8230 SAR CONFIGURATION INFORMATION:
Maximun number of Segmentation Buffers to be queued: 256
Number of receive buffers allocated: 512
Buffer address range: High: CC40CDB4 Low: CC410DB4
*******************************************************************
Loop Back OFF
Machine check in kernel mode.
Caused by (from msr): regs c3bbdab0 Machine check signal - probably due
to mm fault
with mmu off
NIP: C001151C XER: 20000000 LR: C0011734 REGS: c3bbdab0 TRAP: 0200
MSR: 00001030 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
Machine check in kernel mode.
Caused by (from msr): regs c3bbd9c0 Machine check signal - probably due
to mm fault
with mmu off
NIP: C0007568 XER: 20000000 LR: C0007554 REGS: c3bbd9c0 TRAP: 0200
MSR: 00001030 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
Machine check in kernel mode.
Caused by (from msr): regs c3bbd8d0 Machine check signal - probably due
to mm fault
with mmu off
-
Linux-mm-www: builders list for the Linux-MM website
Archive: http://humbolt.nl.linux.org/lists/
Web site: http://www.linux.eu.org/Linux-MM/