#12207 NORM 4-softw: mwifiex crash during file transfer

Zarro Boogs per Child bugtracker at laptop.org
Thu Nov 28 23:54:30 EST 2013


#12207: mwifiex crash during file transfer
---------------------------------+------------------------------------------
           Reporter:  pgf        |       Owner:  shep                             
               Type:  defect     |      Status:  closed                           
           Priority:  normal     |   Milestone:  4-software                       
          Component:  wireless   |     Version:  Development build as of this date
         Resolution:  fixed      |    Keywords:                                   
        Next_action:  no action  |    Verified:  0                                
Deployment_affected:             |   Blockedby:                                   
           Blocking:             |  
---------------------------------+------------------------------------------
Changes (by Quozl):

  * status:  new => closed
  * next_action:  reproduce => no action
  * resolution:  => fixed


Old description:

> running 13.1.0 os6, with stock kernel.
> ran a wget from XO-4, and ran a ping of the XO-4 from a different machine
> at the same time.
>
> {{{
> bash-4.2# wget http://build.laptop.org/13.1.0/os6/xo-4/31006o4.zd
> --2012-10-17 15:28:53--
> http://build.laptop.org/13.1.0/os6/xo-4/31006o4.zd
> Resolving build.laptop.org... 18.85.2.147
> Connecting to build.laptop.org|18.85.2.147|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 819477454 (782M) [application/octet-stream]
> Saving to: '31006o4.zd'
>
> 17% [=====>                                 ] 145,828,888 1.31MB/s  eta
> 6m 0s  [75431.297990] dcon_freeze_store: 0
> 94% [===================================>   ] 776,974,440 2.22MB/s  eta
> 22s    [75744.818145] kworker/0:1: page allocation failure: order:0,
> mode:0x120
> [75744.824619] [<c00156e0>] (unwind_backtrace+0x0/0x128) from
> [<c0407794>] (dump_stack+0x20/0x24)
> [75744.824619] [<c0407794>] (dump_stack+0x20/0x24) from [<c009f718>]
> (warn_alloc_failed+0x108/0x128)
> [75744.833173] [<c009f718>] (warn_alloc_failed+0x108/0x128) from
> [<c00a1c08>] (__alloc_pages_nodemask+0x538/0x65c)
> [75744.841983] [<c00a1c08>] (__alloc_pages_nodemask+0x538/0x65c) from
> [<c0321c00>] (netdev_alloc_frag+0x44/0xe8)
> [75744.851999] [<c0321c00>] (netdev_alloc_frag+0x44/0xe8) from
> [<c0323298>] (__netdev_alloc_skb+0x3c/0xd4)
> [75744.861841] [<c0323298>] (__netdev_alloc_skb+0x3c/0xd4) from
> [<bf0a0b3c>] (mwifiex_process_int_status+0x314/0xa14 [mwifiex_sdio])
> [75744.882789] [<bf0a0b3c>] (mwifiex_process_int_status+0x314/0xa14
> [mwifiex_sdio]) from [<bf06c148>] (mwifiex_main_process+0xf4/0x4c8
> [mwifiex])
> [75744.882789] [<bf06c148>] (mwifiex_main_process+0xf4/0x4c8 [mwifiex])
> from [<bf06c544>] (mwifiex_main_work_queue+0x28/0x2c [mwifiex])
> [75744.895489] [<bf06c544>] (mwifiex_main_work_queue+0x28/0x2c [mwifiex])
> from [<c003c474>] (process_one_work+0x260/0x488)
> [75744.907324] [<c003c474>] (process_one_work+0x260/0x488) from
> [<c003c8b8>] (worker_thread+0x1e0/0x32c)
> [75744.918028] [<c003c8b8>] (worker_thread+0x1e0/0x32c) from [<c0042018>]
> (kthread+0x9c/0xac)
> [75744.927179] [<c0042018>] (kthread+0x9c/0xac) from [<c000fd40>]
> (kernel_thread_exit+0x0/0x8)
> [75744.935389] Mem-info:
> [75744.943667] Normal per-cpu:
> [75744.945916] CPU    0: hi:  186, btch:  31 usd: 164
> [75744.948682] HighMem per-cpu:
> [75744.953427] CPU    0: hi:   90, btch:  15 usd:  44
> [75744.961038] active_anon:16635 inactive_anon:235 isolated_anon:0
> [75744.961038]  active_file:24737 inactive_file:197670 isolated_file:0
> [75744.961038]  unevictable:12 dirty:6030 writeback:0 unstable:0
> [75744.961038]  free:7741 slab_reclaimable:5108 slab_unreclaimable:1140
> [75744.961038]  mapped:11643 shmem:363 pagetables:439 bounce:0
> [75744.961038] Normal free:30424kB min:3508kB low:4384kB high:5260kB
> active_anon:20288kB inactive_anon:16kB active_file:56908kB
> inactive_file:618544kB unevictable:32kB isolated(anon):0kB
> isolated(file):0kB present:772160kB mlocked:32kB dirty:24120kB
> writeback:0kB mapped:12kB shmem:16kB slab_reclaimable:20432kB
> slab_unreclaimable:4560kB kernel_stack:920kB pagetables:1756kB
> unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0
> all_unreclaimable? no
> [75744.990622] lowmem_reserve[]: 0 2032 2032
> [75745.029915] HighMem free:540kB min:252kB low:544kB high:840kB
> active_anon:46252kB inactive_anon:924kB active_file:42040kB
> inactive_file:172136kB unevictable:16kB isolated(anon):0kB
> isolated(file):0kB present:260096kB mlocked:16kB dirty:0kB writeback:0kB
> mapped:46560kB shmem:1436kB slab_reclaimable:0kB slab_unreclaimable:0kB
> kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB
> pages_scanned:0 all_unreclaimable? no
> [75745.033910] lowmem_reserve[]: 0 0 0
> [75745.072000] Normal: 7606*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB
> 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB 0*32768kB =
> 30424kB
> [75745.075455] HighMem: 3*4kB 2*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB
> 1*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB 0*32768kB = 540kB
> [75745.101000] 222778 total pagecache pages
> [75745.101000] 0 pages in swap cache
> [75745.104885] Swap cache stats: add 0, delete 0, find 0/0
> [75745.108169] Free swap  = 0kB
> [75745.113345] Total swap = 0kB
> [75745.116197] 260096 pages of RAM
> [75745.157396] 8244 free pages
> [75745.157396] 3973 reserved pages
> [75745.160162] 6248 slab pages
> [75745.163271] 232121 pages shared
> [75745.166037] 0 pages swap cached
> [75745.178865] mwifiex_sdio mmc0:0001:1: mwifiex_process_int_status:
> failed to alloc skb94% [===================================>   ]
> 777,109,104 --.-K/s  eta 68s
> }}}

New description:

 running 13.1.0 os6, with stock kernel.
 ran a wget from XO-4, and ran a ping of the XO-4 from a different machine
 at the same time.

 {{{
 bash-4.2# wget http://build.laptop.org/13.1.0/os6/xo-4/31006o4.zd
 --2012-10-17 15:28:53--
 http://build.laptop.org/13.1.0/os6/xo-4/31006o4.zd
 Resolving build.laptop.org... 18.85.2.147
 Connecting to build.laptop.org|18.85.2.147|:80... connected.
 HTTP request sent, awaiting response... 200 OK
 Length: 819477454 (782M) [application/octet-stream]
 Saving to: '31006o4.zd'

 17% [=====>                                 ] 145,828,888 1.31MB/s  eta 6m
 0s  [75431.297990] dcon_freeze_store: 0
 94% [===================================>   ] 776,974,440 2.22MB/s  eta
 22s    [75744.818145] kworker/0:1: page allocation failure: order:0,
 mode:0x120
 [75744.824619] [<c00156e0>] (unwind_backtrace+0x0/0x128) from [<c0407794>]
 (dump_stack+0x20/0x24)
 [75744.824619] [<c0407794>] (dump_stack+0x20/0x24) from [<c009f718>]
 (warn_alloc_failed+0x108/0x128)
 [75744.833173] [<c009f718>] (warn_alloc_failed+0x108/0x128) from
 [<c00a1c08>] (__alloc_pages_nodemask+0x538/0x65c)
 [75744.841983] [<c00a1c08>] (__alloc_pages_nodemask+0x538/0x65c) from
 [<c0321c00>] (netdev_alloc_frag+0x44/0xe8)
 [75744.851999] [<c0321c00>] (netdev_alloc_frag+0x44/0xe8) from
 [<c0323298>] (__netdev_alloc_skb+0x3c/0xd4)
 [75744.861841] [<c0323298>] (__netdev_alloc_skb+0x3c/0xd4) from
 [<bf0a0b3c>] (mwifiex_process_int_status+0x314/0xa14 [mwifiex_sdio])
 [75744.882789] [<bf0a0b3c>] (mwifiex_process_int_status+0x314/0xa14
 [mwifiex_sdio]) from [<bf06c148>] (mwifiex_main_process+0xf4/0x4c8
 [mwifiex])
 [75744.882789] [<bf06c148>] (mwifiex_main_process+0xf4/0x4c8 [mwifiex])
 from [<bf06c544>] (mwifiex_main_work_queue+0x28/0x2c [mwifiex])
 [75744.895489] [<bf06c544>] (mwifiex_main_work_queue+0x28/0x2c [mwifiex])
 from [<c003c474>] (process_one_work+0x260/0x488)
 [75744.907324] [<c003c474>] (process_one_work+0x260/0x488) from
 [<c003c8b8>] (worker_thread+0x1e0/0x32c)
 [75744.918028] [<c003c8b8>] (worker_thread+0x1e0/0x32c) from [<c0042018>]
 (kthread+0x9c/0xac)
 [75744.927179] [<c0042018>] (kthread+0x9c/0xac) from [<c000fd40>]
 (kernel_thread_exit+0x0/0x8)
 [75744.935389] Mem-info:
 [75744.943667] Normal per-cpu:
 [75744.945916] CPU    0: hi:  186, btch:  31 usd: 164
 [75744.948682] HighMem per-cpu:
 [75744.953427] CPU    0: hi:   90, btch:  15 usd:  44
 [75744.961038] active_anon:16635 inactive_anon:235 isolated_anon:0
 [75744.961038]  active_file:24737 inactive_file:197670 isolated_file:0
 [75744.961038]  unevictable:12 dirty:6030 writeback:0 unstable:0
 [75744.961038]  free:7741 slab_reclaimable:5108 slab_unreclaimable:1140
 [75744.961038]  mapped:11643 shmem:363 pagetables:439 bounce:0
 [75744.961038] Normal free:30424kB min:3508kB low:4384kB high:5260kB
 active_anon:20288kB inactive_anon:16kB active_file:56908kB
 inactive_file:618544kB unevictable:32kB isolated(anon):0kB
 isolated(file):0kB present:772160kB mlocked:32kB dirty:24120kB
 writeback:0kB mapped:12kB shmem:16kB slab_reclaimable:20432kB
 slab_unreclaimable:4560kB kernel_stack:920kB pagetables:1756kB
 unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0
 all_unreclaimable? no
 [75744.990622] lowmem_reserve[]: 0 2032 2032
 [75745.029915] HighMem free:540kB min:252kB low:544kB high:840kB
 active_anon:46252kB inactive_anon:924kB active_file:42040kB
 inactive_file:172136kB unevictable:16kB isolated(anon):0kB
 isolated(file):0kB present:260096kB mlocked:16kB dirty:0kB writeback:0kB
 mapped:46560kB shmem:1436kB slab_reclaimable:0kB slab_unreclaimable:0kB
 kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB
 pages_scanned:0 all_unreclaimable? no
 [75745.033910] lowmem_reserve[]: 0 0 0
 [75745.072000] Normal: 7606*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB
 0*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB 0*32768kB = 30424kB
 [75745.075455] HighMem: 3*4kB 2*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB
 1*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB 0*32768kB = 540kB
 [75745.101000] 222778 total pagecache pages
 [75745.101000] 0 pages in swap cache
 [75745.104885] Swap cache stats: add 0, delete 0, find 0/0
 [75745.108169] Free swap  = 0kB
 [75745.113345] Total swap = 0kB
 [75745.116197] 260096 pages of RAM
 [75745.157396] 8244 free pages
 [75745.157396] 3973 reserved pages
 [75745.160162] 6248 slab pages
 [75745.163271] 232121 pages shared
 [75745.166037] 0 pages swap cached
 [75745.178865] mwifiex_sdio mmc0:0001:1: mwifiex_process_int_status:
 failed to alloc skb94% [===================================>   ]
 777,109,104 --.-K/s  eta 68s
 }}}

--

Comment:

 Duplicate of #12694.  Excellent symptom match against the best reproducer
 there.

-- 
Ticket URL: <http://dev.laptop.org/ticket/12207#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list