Regression: __dma_free_remap: trying to free invalid coherent area

Eugene Krasnikov k.eugene.e at gmail.com
Thu May 23 09:00:04 EDT 2013


Pontus?:)

2013/5/23 Kalle Valo <kvalo at qca.qualcomm.com>:
> Hi,
>
> updated to latest master (commit d10481e4f) and now I see this everytime
> when removing wcn36xx.ko:
>
> <6>[   54.962765] wlan0: RX AssocResp from 00:03:7f:40:82:dd (capab=0x401 status=0 aid=1)
> <6>[   54.983030] wlan0: associated
> <6>[   54.985045] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
> <6>[   59.599236] wlan0: deauthenticating from 00:03:7f:40:82:dd by local choice (reason=3)
> <6>[   59.627498] wcn36xx: wcn36xx_config channel switch=1
> <6>[   59.628292] wcn36xx: channel switched to: 1, status: 0
> <6>[   59.628719] cfg80211: Calling CRDA to update world regulatory domain
> <3>[   59.661590] __dma_free_remap: trying to free invalid coherent area: ffde400c
> <4>[   59.661864] [<c00143a0>] (unwind_backtrace+0x0/0x11c) from [<c001767c>] (dma_free_coherent+0x88/0x1a8)
> <4>[   59.662414] [<c001767c>] (dma_free_coherent+0x88/0x1a8) from [<bf133264>] (wcn36xx_dxe_free_mem_pools+0x2c/0x60 [wcn36xx])
> <4>[   59.662871] [<bf133264>] (wcn36xx_dxe_free_mem_pools+0x2c/0x60 [wcn36xx]) from [<bf1324d4>] (wcn36xx_stop+0x54/0x7c [wcn36xx])
> <4>[   59.663787] [<bf1324d4>] (wcn36xx_stop+0x54/0x7c [wcn36xx]) from [<bf0bf544>] (ieee80211_stop_device+0xb4/0x198 [mac80211])
> <4>[   59.664733] [<bf0bf544>] (ieee80211_stop_device+0xb4/0x198 [mac80211]) from [<bf0abe88>] (ieee80211_stop+0x10/0x18 [mac80211])
> <4>[   59.665405] [<bf0abe88>] (ieee80211_stop+0x10/0x18 [mac80211]) from [<c0570300>] (__dev_close_many+0x88/0xb8)
> <4>[   59.665832] [<c0570300>] (__dev_close_many+0x88/0xb8) from [<c05703dc>] (dev_close_many+0x78/0xe0)
> <4>[   59.666229] [<c05703dc>] (dev_close_many+0x78/0xe0) from [<c057052c>] (rollback_registered_many+0xe8/0x2e0)
> <4>[   59.666656] [<c057052c>] (rollback_registered_many+0xe8/0x2e0) from [<c057073c>] (unregister_netdevice_many+0x18/0x60)
> <4>[   59.667297] [<c057073c>] (unregister_netdevice_many+0x18/0x60) from [<bf0ad51c>] (ieee80211_remove_interfaces+0xcc/0x13c [mac80211])
> <4>[   59.668151] [<bf0ad51c>] (ieee80211_remove_interfaces+0xcc/0x13c [mac80211]) from [<bf09a0f4>] (ieee80211_unregister_hw+0x50/0xe4 [mac80211])
> <4>[   59.668792] [<bf09a0f4>] (ieee80211_unregister_hw+0x50/0xe4 [mac80211]) from [<bf1357ac>] (__exit_compat+0x18/0x44 [wcn36xx])
> <4>[   59.673126] [<bf1357ac>] (__exit_compat+0x18/0x44 [wcn36xx]) from [<c00b4d14>] (sys_delete_module+0x20c/0x2d0)
> <4>[   59.673554] [<c00b4d14>] (sys_delete_module+0x20c/0x2d0) from [<c000dec0>] (ret_fast_syscall+0x0/0x30)
> <3>[   59.673798] __dma_free_remap: trying to free invalid coherent area: ffdb800c
> <4>[   59.674042] [<c00143a0>] (unwind_backtrace+0x0/0x11c) from [<c001767c>] (dma_free_coherent+0x88/0x1a8)
> <4>[   59.674500] [<c001767c>] (dma_free_coherent+0x88/0x1a8) from [<bf133284>] (wcn36xx_dxe_free_mem_pools+0x4c/0x60 [wcn36xx])
> <4>[   59.674927] [<bf133284>] (wcn36xx_dxe_free_mem_pools+0x4c/0x60 [wcn36xx]) from [<bf1324d4>] (wcn36xx_stop+0x54/0x7c [wcn36xx])
> <4>[   59.675629] [<bf1324d4>] (wcn36xx_stop+0x54/0x7c [wcn36xx]) from [<bf0bf544>] (ieee80211_stop_device+0xb4/0x198 [mac80211])
> <4>[   59.676575] [<bf0bf544>] (ieee80211_stop_device+0xb4/0x198 [mac80211]) from [<bf0abe88>] (ieee80211_stop+0x10/0x18 [mac80211])
> <4>[   59.677216] [<bf0abe88>] (ieee80211_stop+0x10/0x18 [mac80211]) from [<c0570300>] (__dev_close_many+0x88/0xb8)
> <4>[   59.677643] [<c0570300>] (__dev_close_many+0x88/0xb8) from [<c05703dc>] (dev_close_many+0x78/0xe0)
> <4>[   59.678040] [<c05703dc>] (dev_close_many+0x78/0xe0) from [<c057052c>] (rollback_registered_many+0xe8/0x2e0)
> <4>[   59.678467] [<c057052c>] (rollback_registered_many+0xe8/0x2e0) from [<c057073c>] (unregister_netdevice_many+0x18/0x60)
> <4>[   59.678956] [<c057073c>] (unregister_netdevice_many+0x18/0x60) from [<bf0ad51c>] (ieee80211_remove_interfaces+0xcc/0x13c [mac80211])
> <4>[   59.682282] [<bf0ad51c>] (ieee80211_remove_interfaces+0xcc/0x13c [mac80211]) from [<bf09a0f4>] (ieee80211_unregister_hw+0x50/0xe4 [mac80211])
> <4>[   59.683442] [<bf09a0f4>] (ieee80211_unregister_hw+0x50/0xe4 [mac80211]) from [<bf1357ac>] (__exit_compat+0x18/0x44 [wcn36xx])
> <4>[   59.683869] [<bf1357ac>] (__exit_compat+0x18/0x44 [wcn36xx]) from [<c00b4d14>] (sys_delete_module+0x20c/0x2d0)
> <4>[   59.684297] [<c00b4d14>] (sys_delete_module+0x20c/0x2d0) from [<c000dec0>] (ret_fast_syscall+0x0/0x30)
> <1>[   59.870837] BUG: Bad page state in process insmod  pfn:ae590
> <1>[   59.870959] page:c151d200 count:-1 mapcount:0 mapping:  (null) index:0x0
> <1>[   59.871020] page flags: 0xa0000000()
> <4>[   59.871173] Modules linked in: mac80211(O) cfg80211(O) compat(O) [last unloaded: wcn36xx]
> <4>[   59.871570] [<c00143a0>] (unwind_backtrace+0x0/0x11c) from [<c00ed4f0>] (bad_page+0xe0/0x108)
> <4>[   59.871631] [<c00ed4f0>] (bad_page+0xe0/0x108) from [<c00ed9fc>] (get_page_from_freelist+0x354/0x448)
> <4>[   59.871753] [<c00ed9fc>] (get_page_from_freelist+0x354/0x448) from [<c00ee1d0>] (__alloc_pages_nodemask+0xf0/0x758)
> <4>[   59.871875] [<c00ee1d0>] (__alloc_pages_nodemask+0xf0/0x758) from [<c0112fb0>] (__vmalloc_node_range+0x10c/0x1cc)
> <4>[   59.871997] [<c0112fb0>] (__vmalloc_node_range+0x10c/0x1cc) from [<c00122c0>] (module_alloc+0x30/0x40)
> <4>[   59.872089] [<c00122c0>] (module_alloc+0x30/0x40) from [<c00b4e6c>] (module_alloc_update_bounds+0xc/0x5c)
> <4>[   59.872211] [<c00b4e6c>] (module_alloc_update_bounds+0xc/0x5c) from [<c00b5814>] (sys_init_module+0x948/0x1bf4)
> <4>[   59.872333] [<c00b5814>] (sys_init_module+0x948/0x1bf4) from [<c000dec0>] (ret_fast_syscall+0x0/0x30)
> <4>[   59.872394] Disabling lock debugging due to kernel taint
> <4>[   60.155959] wcn36xx: WARNING Failed to read macaddress file wlan/macaddr0, using a random address instead
> <6>[   60.156447] wcn36xx: mac0: 00:a0:c6:1c:2f:b4
> <6>[   60.170669] wcnss_wlan triggered by userspace
> <6>[   60.264764] wcn36xx: firmware WLAN version 'WCN v2.0 IRIS v2.0 with 48MHz XO' and CRM version 'AAAAAANAAW122023'
>
> --
> Kalle Valo
>
> _______________________________________________
> wcn36xx mailing list
> wcn36xx at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/wcn36xx



-- 
Best regards,
Eugene



More information about the wcn36xx mailing list