2008-06-11 14:15:58     busybox error

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-06-11 14:15:58     busybox error

Linux Newbie (INDIA)

Message: 57024   

 

Hi,

 

Using telnet, we gave free command to find the available memory. Sometimes it throws following busybox error on executing free command. Can anyone suggest what might went wrong?

 

 

 

busybox: page allocation failure. order:7, mode:0x40d0

Hardware Trace:

0 Target : <0x003035c0> { _dump_stack + 0x0 }

   Source : <0x0032ff6a> { ___alloc_pages + 0x17a }

1 Target : <0x0032ff6a> { ___alloc_pages + 0x17a }

   Source : <0x0030b452> { _printk + 0x16 }

2 Target : <0x0030b44e> { _printk + 0x12 }

   Source : <0x0030b2dc> { _vprintk + 0x1b0 }

3 Target : <0x0030b2d0> { _vprintk + 0x1a4 }

   Source : <0xffa0117a> { __common_int_entry + 0xd8 }

4 Target : <0xffa01118> { __common_int_entry + 0x76 }

   Source : <0xffa00ef0> { _return_from_int + 0x58 }

5 Target : <0xffa00ef0> { _return_from_int + 0x58 }

   Source : <0xffa00ec6> { _return_from_int + 0x2e }

6 Target : <0xffa00e98> { _return_from_int + 0x0 }

   Source : <0xffa01114> { __common_int_entry + 0x72 }

7 Target : <0xffa01112> { __common_int_entry + 0x70 }

   Source : <0xffa0048a> { _asm_do_IRQ + 0x76 }

8 Target : <0xffa00482> { _asm_do_IRQ + 0x6e }

   Source : <0x0030f362> { __local_bh_enable + 0x3e }

9 Target : <0x0030f324> { __local_bh_enable + 0x0 }

   Source : <0x0030f5dc> { ___do_softirq + 0x94 }

10 Target : <0x0030f5d4> { ___do_softirq + 0x8c }

   Source : <0x0030f5b4> { ___do_softirq + 0x6c }

11 Target : <0x0030f5a6> { ___do_softirq + 0x5e }

   Source : <0x0030f6d0> { _tasklet_action + 0x7c }

12 Target : <0x0030f6ca> { _tasklet_action + 0x76 }

   Source : <0x0030f6a6> { _tasklet_action + 0x52 }

13 Target : <0x0030f6a4> { _tasklet_action + 0x50 }

   Source : <0x0031999e> { ___rcu_process_callbacks + 0xb6 }

14 Target : <0x00319998> { ___rcu_process_callbacks + 0xb0 }

   Source : <0x0031992e> { ___rcu_process_callbacks + 0x46 }

15 Target : <0x0031992a> { ___rcu_process_callbacks + 0x42 }

   Source : <0x003199c6> { ___rcu_process_callbacks + 0xde }

Stack from 027abcd8:

        00000001 0032ff6e 00000000 00000001 000040d0 006ecc4c 00000007 000040d0

        00000000 00000080 00000000 000240d0 00000000 027aa000 027aa000 027aa000

        00000010 00000000 005e8cc0 00330f7e 0045add4 00000000 0067e8a0 00000020

        000040d0 00000001 00000010 02e01220 00000000 0001ffef 000040d0 0067e8a0

        0006e423 0033122e 0006d424 02004840 00000077 0000ffff 00000002 00000000

        00000000 02e36380 0032e702 0006d424 0032eafa 00000000 02e36214 ffa01ec0

Call Trace:

[<00336b7c>] _copy_strings+0x130/0x18c

[<00359000>] _load_flat_binary+0x60c/0xd10

[<00336c7e>] _search_binary_handler+0x82/0x220

[<00338062>] _do_execve+0x1b2/0x1f0

[<00325bee>] _handle_simple_irq+0x76/0x78

[<00300a7e>] _sys_execve+0x2e/0x54

[<00300a50>] _sys_execve+0x0/0x54

 

Mem-info:

DMA per-cpu:

CPU    0: Hot: hi:    6, btch:   1 usd:   5   Cold: hi:    2, btch:   1 usd:   1

Active:43 inactive:172 dirty:1 writeback:0 unstable:0 free:950 slab:9144 mapped:0 pagetables:0

DMA free:3800kB min:872kB low:1088kB high:1308kB active:172kB inactive:688kB present:47752kB pages_scanned:0 all_unreclaimable? no

lowmem_reserve[]: 0 0

DMA: 68*4kB 59*8kB 57*16kB 35*32kB 8*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB 0*32768kB = 3800kB

12032 pages of RAM

988 free pages

1642 reserved pages

90 pages shared

0 pages swap cached

Allocation of length 447524 from process 465 failed

DMA per-cpu:

CPU    0: Hot: hi:    6, btch:   1 usd:   5   Cold: hi:    2, btch:   1 usd:   1

Active:43 inactive:172 dirty:1 writeback:0 unstable:0 free:950 slab:9144 mapped:0 pagetables:0

DMA free:3800kB min:872kB low:1088kB high:1308kB active:172kB inactive:688kB present:47752kB pages_scanned:0 all_unreclaimable? no

lowmem_reserve[]: 0 0

DMA: 68*4kB 59*8kB 57*16kB 35*32kB 8*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB 0*32768kB = 3800kB

Unable to allocate RAM for process text/data, errno 12

Instruction fetch misaligned address violation

- Attempted misaligned instruction cache fetch. On a misaligned instruction fetch exception,

the return address provided in RETX is the destination address which is misaligned, rather than the address of the offending instruction.

 

CURRENT PROCESS:

 

COMM=busybox PID=465

TEXT = 0x00000000-0x00000000  DATA = 0x00000000-0x00000000

BSS = 0x00000000-0x00000000   USER-STACK = 0x00000000

 

return address: 0x02d81d58; contents of [PC-16...PC+8]:

00a0 3038 e120 f000 0a07 1c07 e300 0b0c

3210 43b8 63ff 9310 e801 0000 3007 0530 X

0010 0000 0578 e800 0003 3018 42ca 300a

 

RETE:  00000000  RETN: 027ac000  RETX: 02d81d58  RETS: 00000001

IPEND: 0030  SYSCFG: 0036

SEQSTAT: 0000002a    SP: 027abf24

R0: ffffffff    R1: 008007c8    R2: 00800764    R3: 00800764

R4: 00800764    R5: 00000001    R6: 008007b4    R7: 02dc0f48

P0: 0000000b    P1: 008007ba    P2: 02de05d8    P3: 008007c8

P4: 008007c8    P5: 008007c8    FP: 00000000

A0.w: 00000000    A0.x: 00000000    A1.w: 00000000    A1.x: 00000000

LB0: 02d8b233  LT0: 02d8b220  LC0: ffffffff

LB1: 02dbfbad  LT1: 02dbfbac  LC1: 00000000

B0: 00000000  L0: 00000000  M0: 00000000  I0: 0080072c

B1: 00000000  L1: 00000000  M1: 00000000  I1: 00002000

B2: 00000000  L2: 00000000  M2: 00000000  I2: 00000000

B3: 00000000  L3: 00000000  M3: 00000000  I3: 00000000

 

USP: 02dffb78   ASTAT: 02000000

DCPLB_FAULT_ADDR=02dffb74

ICPLB_FAULT_ADDR=02d81d58

 

 

Hardware Trace:

0 Target : <0x0030367c> { _trap_c + 0x0 }

   Source : <0xffa00b78> { _exception_to_level5 + 0xb4 }

1 Target : <0xffa00ac4> { _exception_to_level5 + 0x0 }

   Source : <0xffa00ac2> { _ex_trap_c + 0x5a }

2 Target : <0xffa00bf0> { _trap + 0x0 }

   Source : <0x02d81d56> [ sh + 0x1d56 ]

3 Target : <0x02d81d48> [ sh + 0x1d48 ]

   Source : <0x02d8336c> [ sh + 0x336c ]

4 Target : <0x02d8335c> [ sh + 0x335c ]

   Source : <0x02d81d44> [ sh + 0x1d44 ]

5 Target : <0x02d81d3a> [ sh + 0x1d3a ]

   Source : <0xffa0117a> { __common_int_entry + 0xd8 }

6 Target : <0xffa01118> { __common_int_entry + 0x76 }

   Source : <0xffa013b8> { _evt_system_call + 0x64 }

7 Target : <0xffa013b8> { _evt_system_call + 0x64 }

   Source : <0xffa00dac> { _system_call + 0xb8 }

8 Target : <0xffa00da8> { _system_call + 0xb4 }

   Source : <0xffa00d98> { _system_call + 0xa4 }

9 Target : <0xffa00d92> { _system_call + 0x9e }

   Source : <0xffa00d82> { _system_call + 0x8e }

10 Target : <0xffa00d70> { _system_call + 0x7c }

   Source : <0xffa00d90> { _system_call + 0x9c }

11 Target : <0xffa00d8e> { _system_call + 0x9a }

   Source : <0xffa01946> { _schedule + 0x31e }

12 Target : <0xffa0192e> { _schedule + 0x306 }

   Source : <0xffa01914> { _schedule + 0x2ec }

13 Target : <0xffa018f4> { _schedule + 0x2cc }

   Source : <0xffa00e26> { _new_old_task + 0x6 }

14 Target : <0xffa00e20> { _new_old_task + 0x0 }

   Source : <0xffa00e1e> { _resume + 0x2e }

15 Target : <0xffa00df0> { _resume + 0x0 }

   Source : <0xffa018f0> { _schedule + 0x2c8 }

Stack from 027abf04:

        008007c8 ffa00b7c 00428710 00428710 0042870c 00800764 00800764 00385486

        02d81d58 00000030 0000002a 00000000 027ac000 02d81d58 02d81d58 00000001

        ffffffff 02000000 02dbfbad 02d8b233 02dbfbac 02d8b220 00000000 ffffffff

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        00000000 00000000 00002000 0080072c 02dffb78 00000000 008007c8 008007c8

Call Trace:

 

busybox: page allocation failure. order:7, mode:0x40d0

Hardware Trace:

0 Target : <0x003035c0> { _dump_stack + 0x0 }

   Source : <0x0032ff6a> { ___alloc_pages + 0x17a }

1 Target : <0x0032ff6a> { ___alloc_pages + 0x17a }

   Source : <0x0030b452> { _printk + 0x16 }

2 Target : <0x0030b44e> { _printk + 0x12 }

   Source : <0x0030b2dc> { _vprintk + 0x1b0 }

3 Target : <0x0030b2d0> { _vprintk + 0x1a4 }

   Source : <0xffa0117a> { __common_int_entry + 0xd8 }

4 Target : <0xffa01118> { __common_int_entry + 0x76 }

   Source : <0xffa00ef0> { _return_from_int + 0x58 }

5 Target : <0xffa00ef0> { _return_from_int + 0x58 }

   Source : <0xffa00ec6> { _return_from_int + 0x2e }

6 Target : <0xffa00e98> { _return_from_int + 0x0 }

   Source : <0xffa01114> { __common_int_entry + 0x72 }

7 Target : <0xffa01112> { __common_int_entry + 0x70 }

   Source : <0xffa0048a> { _asm_do_IRQ + 0x76 }

8 Target : <0xffa00482> { _asm_do_IRQ + 0x6e }

   Source : <0x0030f362> { __local_bh_enable + 0x3e }

9 Target : <0x0030f324> { __local_bh_enable + 0x0 }

   Source : <0x0030f5dc> { ___do_softirq + 0x94 }

10 Target : <0x0030f5d4> { ___do_softirq + 0x8c }

   Source : <0x0030f5b4> { ___do_softirq + 0x6c }

11 Target : <0x0030f5a6> { ___do_softirq + 0x5e }

   Source : <0x0030f6d0> { _tasklet_action + 0x7c }

12 Target : <0x0030f6ca> { _tasklet_action + 0x76 }

   Source : <0x0030f6a6> { _tasklet_action + 0x52 }

13 Target : <0x0030f6a4> { _tasklet_action + 0x50 }

   Source : <0x0031999e> { ___rcu_process_callbacks + 0xb6 }

14 Target : <0x00319998> { ___rcu_process_callbacks + 0xb0 }

   Source : <0x0031992e> { ___rcu_process_callbacks + 0x46 }

15 Target : <0x0031992a> { ___rcu_process_callbacks + 0x42 }

   Source : <0x003199c6> { ___rcu_process_callbacks + 0xde }

Stack from 02b5dcd8:

        00000001 0032ff6e 00000000 00000001 000040d0 006fcc4c 00000007 000040d0

        00000000 00000080 00000000 000240d0 00000000 02b5c000 02b5c000 02b5c000

        00000010 00000000 005e8cc0 00330f7e 0045add4 00000000 0067e8a0 00000020

        000040d0 00000001 00000010 00691c80 00000000 0001ffef 000040d0 0067e8a0

        0006e423 0033122e 0006d424 02004840 00000077 0000ffff 00000002 00000000

        00000000 02e36380 0032e702 0006d424 0032eafa 00000000 02e36214 ffa01ec0

Call Trace:

[<00336b7c>] _copy_strings+0x130/0x18c

[<00359000>] _load_flat_binary+0x60c/0xd10

[<00336c7e>] _search_binary_handler+0x82/0x220

[<00338062>] _do_execve+0x1b2/0x1f0

[<00325bee>] _handle_simple_irq+0x76/0x78

[<00300a7e>] _sys_execve+0x2e/0x54

[<00300a50>] _sys_execve+0x0/0x54

 

Mem-info:

DMA per-cpu:

CPU    0: Hot: hi:    6, btch:   1 usd:   5   Cold: hi:    2, btch:   1 usd:   1

Active:18 inactive:77 dirty:1 writeback:0 unstable:0 free:1073 slab:9139 mapped:0 pagetables:0

DMA free:4292kB min:872kB low:1088kB high:1308kB active:72kB inactive:308kB present:47752kB pages_scanned:0 all_unreclaimable? no

lowmem_reserve[]: 0 0

DMA: 95*4kB 59*8kB 57*16kB 33*32kB 11*64kB 2*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB 0*32768kB = 4292kB

12032 pages of RAM

1112 free pages

1642 reserved pages

6 pages shared

0 pages swap cached

Allocation of length 447524 from process 466 failed

DMA per-cpu:

CPU    0: Hot: hi:    6, btch:   1 usd:   5   Cold: hi:    2, btch:   1 usd:   1

Active:18 inactive:77 dirty:1 writeback:0 unstable:0 free:1073 slab:9139 mapped:0 pagetables:0

DMA free:4292kB min:872kB low:1088kB high:1308kB active:72kB inactive:308kB present:47752kB pages_scanned:0 all_unreclaimable? no

lowmem_reserve[]: 0 0

DMA: 95*4kB 59*8kB 57*16kB 33*32kB 11*64kB 2*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB 0*32768kB = 4292kB

Unable to allocate RAM for process text/data, errno 12

Instruction fetch misaligned address violation

- Attempted misaligned instruction cache fetch. On a misaligned instruction fetch exception,

the return address provided in RETX is the destination address which is misaligned, rather than the address of the offending instruction.

 

CURRENT PROCESS:

 

COMM=busybox PID=466

TEXT = 0x00000000-0x00000000  DATA = 0x00000000-0x00000000

BSS = 0x00000000-0x00000000   USER-STACK = 0x00000000

 

return address: 0x02d81d58; contents of [PC-16...PC+8]:

00a0 3038 e120 f000 0a07 1c07 e300 0b0c

3210 43b8 63ff 9310 e801 0000 3007 0530 X

0010 0000 0578 e800 0003 3018 42ca 300a

 

RETE:  00000000  RETN: 02b5e000  RETX: 02d81d58  RETS: 00000001

IPEND: 0030  SYSCFG: 0036

SEQSTAT: 0006002a    SP: 02b5df24

R0: ffffffff    R1: 008002c0    R2: 00800354    R3: 00800354

R4: 00800354    R5: 00000001    R6: 008007f4    R7: 02dc0f48

P0: 0000000b    P1: 008007fa    P2: 02de05d8    P3: 008002c0

P4: 008002c0    P5: 008002c0    FP: 00000000

A0.w: 00000000    A0.x: 00000000    A1.w: 00000000    A1.x: 00000000

LB0: 02d8b233  LT0: 02d8b220  LC0: ffffffff

LB1: 02dbfbad  LT1: 02dbfbac  LC1: 00000000

B0: 00000000  L0: 00000000  M0: 00000000  I0: 0080032c

B1: 00000000  L1: 00000000  M1: 00000000  I1: 00002000

B2: 00000000  L2: 00000000  M2: 00000000  I2: 00000000

B3: 00000000  L3: 00000000  M3: 00000000  I3: 00000000

 

USP: 02dffb78   ASTAT: 02000000

DCPLB_FAULT_ADDR=02dffb74

ICPLB_FAULT_ADDR=02d81d58

 

 

Hardware Trace:

0 Target : <0x0030367c> { _trap_c + 0x0 }

   Source : <0xffa00b78> { _exception_to_level5 + 0xb4 }

1 Target : <0xffa00ac4> { _exception_to_level5 + 0x0 }

   Source : <0xffa00ac2> { _ex_trap_c + 0x5a }

2 Target : <0xffa00bf0> { _trap + 0x0 }

   Source : <0x02d81d56> [ sh + 0x1d56 ]

3 Target : <0x02d81d48> [ sh + 0x1d48 ]

   Source : <0x02d8336c> [ sh + 0x336c ]

4 Target : <0x02d8335c> [ sh + 0x335c ]

   Source : <0x02d81d44> [ sh + 0x1d44 ]

5 Target : <0x02d81d3a> [ sh + 0x1d3a ]

   Source : <0xffa0117a> { __common_int_entry + 0xd8 }

6 Target : <0xffa01118> { __common_int_entry + 0x76 }

   Source : <0xffa013b8> { _evt_system_call + 0x64 }

7 Target : <0xffa013b8> { _evt_system_call + 0x64 }

   Source : <0xffa00dac> { _system_call + 0xb8 }

8 Target : <0xffa00da8> { _system_call + 0xb4 }

   Source : <0xffa00d98> { _system_call + 0xa4 }

9 Target : <0xffa00d92> { _system_call + 0x9e }

   Source : <0xffa00d82> { _system_call + 0x8e }

10 Target : <0xffa00d70> { _system_call + 0x7c }

   Source : <0xffa00d90> { _system_call + 0x9c }

11 Target : <0xffa00d8e> { _system_call + 0x9a }

   Source : <0xffa01946> { _schedule + 0x31e }

12 Target : <0xffa0192e> { _schedule + 0x306 }

   Source : <0xffa01914> { _schedule + 0x2ec }

13 Target : <0xffa018f4> { _schedule + 0x2cc }

   Source : <0xffa00e26> { _new_old_task + 0x6 }

14 Target : <0xffa00e20> { _new_old_task + 0x0 }

   Source : <0xffa00e1e> { _resume + 0x2e }

15 Target : <0xffa00df0> { _resume + 0x0 }

   Source : <0xffa018f0> { _schedule + 0x2c8 }

Stack from 02b5df04:

        008002c0 ffa00b7c 00428714 00428714 0042870c 00800354 00800354 027cd4bc

        02d81d58 00000030 0006002a 00000000 02b5e000 02d81d58 02d81d58 00000001

        ffffffff 02000000 02dbfbad 02d8b233 02dbfbac 02d8b220 00000000 ffffffff

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        00000000 00000000 00002000 0080032c 02dffb78 00000000 008002c0 008002c0

Call Trace:

 

 

QuoteReplyEditDelete

 

 

2008-06-11 14:43:39     Re: busybox error

Mike Frysinger (UNITED STATES)

Message: 57027   

 

it means your memory is heavily fragmented and you're probably running busybox as a FLAT application

Attachments

    Outcomes