|
Hi all, A while back there was a discussion on the list about this
same problem is slab.c, but there was no solution posted. This is what I get: Linux version
2.4.29-uc1 (errol@server.errolhome.com) (gcc version 2.95.3-4 Xilinx EDK 6.3
Build EDK_Gmm.12.2) #4 Thu Jun 2 20:03:08 SAST
2005
On node 0 totalpages:
8192
zone(0): 8192
pages.
zone(1): 0
pages.
zone(2): 0
pages.
CPU:
MICROBLAZE
Kernel command
line:
Console: xmbserial on
UARTLite
Calibrating delay
loop... 1.50
BogoMIPS
Memory: 32MB =
32MB
Memory: 31596KB
available (615K code, 194K data, 36K
init)
kernel BUG at
slab.c:682!
Then I added some debug code and got: Linux version 2.4.29-uc1 (errol@server.errolhome.com) (gcc
version 2.95.3-4 Xilinx EDK 6.3 Build EDK_Gmm.12.2) #8 Sun Jun 5 20:30:47 SAST
2005 On node 0 totalpages: 8192 zone(0): 8192 pages. zone(1): 0 pages. zone(2): 0 pages. CPU: MICROBLAZE Kernel command line: Console: xmbserial on UARTLite Calibrating delay loop... 1.52 BogoMIPS Memory: 32MB = 32MB total Memory: 30324KB available (1121K code, 959K data, 44K init) Setting up cache size-32 Setting up cache size-32(DMA) Setting up cache size-64 Setting up cache size-64(DMA) Setting up cache size-128 Setting up cache size-128(DMA) Setting up cache size-256 Setting up cache size-256(DMA) Setting up cache size-512 Setting up cache size-512(DMA) Setting up cache size-1024 Setting up cache size-1024(DMA) Setting up cache size-2048 Setting up cache size-2048(DMA) Setting up cache size-4096 Setting up cache size-4096(DMA) Setting up cache size-8192 Setting up cache size-8192(DMA) Setting up cache size-16384 Setting up cache size-16384(DMA) Setting up cache size-4294934528 kernel BUG at slab.c:687! With a trace of: #0 0x3000c700 in
machine_halt () at machine.c:237 #1 0x300062ec in
__bug (file=0x1d "\b¼ ", line=1, data="0x2b3)" at bug.c:30 #2 0x300224f4 in
kmem_cache_create (name=0x30125fa0 "size-4294934528", size=4294934528,
offset=0, flags=8192, ctor=0, dtor=0) at slab.c:687 #3 0x3012bb20 in
kmem_cache_sizes_init () at slab.c:495 #4 0x301275a0 in
start_kernel () at init/main.c:453 #5 0x301275a0 in
start_kernel () at init/main.c:453 #6 0x301275a0 in
start_kernel () at init/main.c:453 #7 0x301275a0 in
start_kernel () at init/main.c:453 The line number of the bug moved a bit because of my
debug code… For some reason it is trying to create a 4GB cache,
and I can’t figure out why… My source tree is two or three weeks old, so I don’t
think it can be that. Any help would be appreciated… Thank you, Errol |