Altera_Forum
Honored Contributor
20 years agobusybox version 5.1 won't run
I built the busybox in the Nios II Version 5.1 for Windows distribution, as described in the Nios II Linux Reference Guide document. I add it to the filesystem I load into the FLASH as new-busybox, so that I could run it from the command line. When I run it, I get this printout. I have tried configuring the General Configuration - Buffer Allocation policy all three ways, as that looked like the most likely problem I could control. But I get the same messages from the kernel every time.
Any ideas or suggestions? # new-busybox Allocation of length 1250046 from process 34 failed 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 Free pages: 10504kB (0kB HighMem) Active:314 inactive:145 dirty:0 writeback:0 unstable:0 free:2626 slab:584 mappe0 DMA free:10504kB min:512kB low:640kB high:768kB active:1256kB inactive:580kB pro lowmem_reserve[]: 0 0 0 Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pao lowmem_reserve[]: 0 0 0 HighMem free:0kB min:128kB low:160kB high:192kB active:0kB inactive:0kB presento lowmem_reserve[]: 0 0 0 DMA: 0*4kB 1*8kB 0*16kB 0*32kB 2*64kB 1*128kB 0*256kB 0*512kB 0*1024kB 1*2048kBB Normal: empty HighMem: empty Unable to allocate RAM for process text/data, errno 12 new-busybox: memory exhausted#