Forum Discussion
Altera_Forum
Honored Contributor
19 years agoHi!
I've found the same problem! The difference is that I have 2 Mb of RAM, and there's free space, as it shows the init of linux:Memory available: 292k/2048k RAM, 0k/0k ROM (1404k kernel code, 292k data) Mi complete init is: Linux version 2.6.11-uc0 (abg@INDES_ABG) (gcc version 3.4.1 (Altera Nios II 5.0 b73))# 16 Fri Jul 7 11:51:48 2006
uClinux/Nios II
Altera Nios II support (C) 2004 Microtronix Datacom Ltd.
BUG: wrong zone alignment, it will crash
Built 1 zonelists
Kernel command line: root=/dev/mtdblock0 ro
PID hash table entries: 16 (order: 4, 256 bytes)
Dentry cache hash table entries: 512 (order: -1, 2048 bytes)
Inode-cache hash table entries: 256 (order: -2, 1024 bytes)
Memory available: 292k/2048k RAM, 0k/0k ROM (1404k kernel code, 292k data)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
NET: Registered protocol family 16
oom-killer: gfp_mask=0xd0
DMA per-cpu:
cpu 0 hot: low 2, high 6, batch 1
cpu 0 cold: low 0, high 2, batch 1
Normal per-cpu: empty
HighMem per-cpu: empty After that, it repeats enledssly the section: Free pages: 24kB (0kB HighMem)
Active:0 inactive:0 dirty:0 writeback:0 unstable:0 free:6 slab:57 mapped:0 pagetables:0
DMA free:24kB min:180kB low:224kB high:268kB active:0kB inactive:0kB present:2048kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve: 0 0 0
Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve: 0 0 0
HighMem free:0kB min:128kB low:160kB high:192kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve: 0 0 0
DMA: 0*4kB 1*8kB 1*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 24kB
Normal: empty
HighMem: empty
oom-killer: gfp_mask=0xd0
DMA per-cpu:
cpu 0 hot: low 2, high 6, batch 1
cpu 0 cold: low 0, high 2, batch 1
Normal per-cpu: empty
HighMem per-cpu: empty I thought that 2 MB was enough, so I don't think the RAM size is the problem... any idea? Alex