2009-07-22 08:28:01     smbd: page allocation failure

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

2009-07-22 08:28:01     smbd: page allocation failure

razia razia (INDIA)

Message: 77865   

 

Hi,

 

 

 

I am using Linux version 2.6.28.10-ADI-2009R1 in ADSP-BF527-0.2 EZkit.

 

I have enabled samba file system in the kernel as documented in http://docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:smb&s[]=smbfs.

 

I am able to do file transfers for sizes upto 50 MB.

 

But, When I am trying to do file transfers of size more than 100MB ,I am getting the following console error messages ,

 

/*******************************************************************************************************************************/

 

smbd: page allocation failure. order:10, mode:0x40d0

Hardware Trace:

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

     Source : <0x001af8f6> { ___alloc_pages_internal + 0x1b2 } CALL pcrel

   1 Target : <0x001af8f6> { ___alloc_pages_internal + 0x1b2 }

     Source : <0x0018e746> { _printk + 0x16 } RTS

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

     Source : <0x0018ef5e> { _vprintk + 0x132 } RTS

   3 Target : <0x0018ef52> { _vprintk + 0x126 }

     Source : <0xffa00b8c> { __common_int_entry + 0xcc } RTI

   4 Target : <0xffa00b2a> { __common_int_entry + 0x6a }

     Source : <0xffa00978> { _return_from_int + 0x58 } RTS

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

     Source : <0xffa0094e> { _return_from_int + 0x2e } IF !CC JUMP

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

     Source : <0xffa00b26> { __common_int_entry + 0x66 } CALL pcrel

   7 Target : <0xffa00b24> { __common_int_entry + 0x64 }

     Source : <0xffa002e2> { _asm_do_IRQ + 0x62 } RTS

   8 Target : <0xffa002da> { _asm_do_IRQ + 0x5a }

     Source : <0x00192490> { __local_bh_enable + 0x40 } RTS

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

     Source : <0x00192578> { ___do_softirq + 0x9c } JUMP.L

  10 Target : <0x00192570> { ___do_softirq + 0x94 }

     Source : <0x00192554> { ___do_softirq + 0x78 } IF !CC JUMP

  11 Target : <0x00192536> { ___do_softirq + 0x5a }

     Source : <0x001aa5c8> { _rcu_process_callbacks + 0x30 } RTS

  12 Target : <0x001aa5c4> { _rcu_process_callbacks + 0x2c }

     Source : <0x001aa4fc> { ___rcu_process_callbacks + 0x15c } RTS

  13 Target : <0x001aa4f6> { ___rcu_process_callbacks + 0x156 }

     Source : <0x001aa460> { ___rcu_process_callbacks + 0xc0 } IF !CC JUMP

  14 Target : <0x001aa45a> { ___rcu_process_callbacks + 0xba }

     Source : <0x001aa512> { ___rcu_process_callbacks + 0x172 } IF CC JUMP

  15 Target : <0x001aa50e> { ___rcu_process_callbacks + 0x16e }

     Source : <0x001aa44c> { ___rcu_process_callbacks + 0xac } IF !CC JUMP

Stack info:

SP: [0x05c55ce4] <0x05c55ce4> /* kernel dynamic memory */

FP: (0x05c55d64)

Memory from 0x05c55ce0 to 05c56000

05c55ce0: 00000000 [000003a4]<001af8fa> 07ee1900  000003a4  000040d0  07ee1ae8  0000000a

05c55d00: 000040d0  00000001  00000042  05c54000  05c54000  00000000  000240d0  05c54000

05c55d20: 00000010  00000000  000003a4  00000000  00000000  0745a3c0 <001afa22> 00000000

05c55d40: 002b0000  002b0000  00000004  00000002  00000000  00000007 <001b6f8c> 00000000

05c55d60: 00000004 (00000000)<001b71d8> 00000000  00000000  05c54000  00000002  00000000

05c55d80: 00000000  00000000  00000077  00000000  076c5260  05c6bf00  fffffffe <00253208>

05c55da0: 00000004 <001e1586> ffffffe0  010b9200  001bff03  05c54000  00000000  00029008

05c55dc0: 00093328  0032bfcc  0032b5e4  0032b5e4  00000007  00000002  00000000  0032bfc8

05c55de0: 010b9200  05c54000  000280d2  00000000  0001ff64  00000001  00000006  00000000

05c55e00: 0032bfc8  0001705f  0005c17c  000310c4  05c54000  00000000  000280d2  0005c17c

05c55e20: 002b0000  00000001  00000000  00000010  00000000  0000000b  000080bc  00000000

05c55e40: 00000000  00000000  00000000  00000000  00000000  00000000  00eb1080  00000001

05c55e60: 00c18d64  ffffffc0 <001be2d4> 0031e598  010b9200  0031e1a8  fffffffe  00000000

05c55e80: 0000003f  05c55f24  00c18d70  05c55f24  010b9200  00000000  05c54000  05c54000

05c55ea0: 00c18d70 <001bf568> 010b9200  0000000b  0735b3f8  00000000  05c6a000  00c17798

05c55ec0: 0735b3f8  00000006  00000000  00000000  00000000 <0018054a> 0018051c  05c6a000

05c55ee0: 0735b3f8  00c17798  00000004 <ffa002b4> 0000002f  00000000  05c55f24 <ffa007ec>

05c55f00: 00000000  ffffe000  00000007  0735b44d  00c18f00  fffffff7  0000002f  00000004

05c55f20: 00000007  00c13f06  00008000  00000000  00000000  05c56000  00c13f06  00c13f06

05c55f40:<00c13b74><ffa00e44> 02003004  00c11e5d  00c12801  00c11e5c  00c127fe  00000000

05c55f60: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

05c55f80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

05c55fa0: 00000000  00000000  00000000  00c18f00  00c17624  00c18d64  00c18d70  00c18f00

05c55fc0: 0735b44d  0735b3f8  0735b44d  00c17c40  0000000b  00000400  00c17c40  00000007

05c55fe0: 00000004  0000002f  00c17798  0735b3f8  0735b44d  0735b44d  0000000b  00000006

05c56000: 00000000

Return addresses in stack:

    address : <0x001af8fa> { ___alloc_pages_internal + 0x1b6 }

    address : <0x001afa22> { ___get_free_pages + 0x1e }

    address : <0x001b6f8c> { _do_mmap_pgoff + 0x39c }

   frame  1 : <0x001b71d8> { _do_mmap_pgoff + 0x5e8 }

    address : <0x00253208> { _sys_socketpair + 0x124 }

    address : <0x001e1586> { _load_flat_binary + 0x5f2 }

    address : <0x001be2d4> { _search_binary_handler + 0x8c }

    address : <0x001bf568> { _do_execve + 0x188 }

    address : <0x0018054a> { _sys_execve + 0x2e }

    address : <0xffa002b4> { _asm_do_IRQ + 0x34 }

    address : <0xffa007ec> { _system_call + 0x68 }

    address : <0x00c13b74> [ inetd + 0x3b74 ]

    address : <0xffa00e44> { _evt_system_call + 0x64 }

Mem-Info:

DMA per-cpu:

CPU    0: hi:   42, btch:   7 usd:  35

Active_anon:0 active_file:1671 inactive_anon:0

inactive_file:5716 dirty:6 writeback:2936 unstable:0

free:19889 slab:1652 mapped:0 pagetables:0 bounce:0

DMA free:79556kB min:4096kB low:5120kB high:6144kB active_anon:0kB inactive_anon:0kB active_file:6684kB inactive_file:22864kB present:129028kB pages_scanned:0 all_unreclaimable? no

lowmem_reserve[]: 0 0 0

DMA: 163*4kB 115*8kB 96*16kB 51*32kB 11*64kB 23*128kB 34*256kB 30*512kB 16*1024kB 13*2048kB 1*4096kB 0*8192kB 0*16384kB 0*32768kB = 79556kB

7895 total pagecache pages

32511 pages RAM

1099 pages reserved

3474 pages shared

8408 pages non-shared

Allocation of length 2818048 from process 507 failed

DMA per-cpu:

CPU    0: hi:   42, btch:   7 usd:  35

Active_anon:0 active_file:1671 inactive_anon:0

inactive_file:5716 dirty:6 writeback:2936 unstable:0

free:19889 slab:1652 mapped:0 pagetables:0 bounce:0

DMA free:79556kB min:4096kB low:5120kB high:6144kB active_anon:0kB inactive_anon:0kB active_file:6684kB inactive_file:22864kB present:129028kB pages_scanned:0 all_unreclaimable? no

lowmem_reserve[]: 0 0 0

DMA: 163*4kB 115*8kB 96*16kB 51*32kB 11*64kB 23*128kB 34*256kB 30*512kB 16*1024kB 13*2048kB 1*4096kB 0*8192kB 0*16384kB 0*32768kB = 79556kB

7895 total pagecache pages

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

Jump to NULL address

Deferred Exception context

CURRENT PROCESS:

COMM=inetd PID=260

CPU = 0

TEXT = 0x00c10040-0x00c160a0        DATA = 0x00c160c0-0x00c17584

BSS = 0x00c17584-0x00c17c80  USER-STACK = 0x00c18f9c

 

/*******************************************************************************************************************************/

 

Please help me on solving this problem.

QuoteReplyEditDelete

 

 

2009-07-22 09:54:28     Re: smbd: page allocation failure

Robin Getz (UNITED STATES)

Message: 77871   

 

Rasia:

 

What is your backing file system? If you are using system RAM, and using it all up - there isn't much to do.

 

-Robin

Attachments

    Outcomes