pqy 发表于 2016-4-1 22:24:08

激活无线网卡引发内核崩溃

这样的错误信息能看出问题吗?:D
# ifconfig wlan0 up
dhd_open: Enter ee243800
dhd_conf_read_config: dhd_doflow = 1
dhd_conf_read_config: srl = 15
dhd_conf_read_config: lrl = 15
dhd_conf_set_fw_name_by_chip: firmware_path=/system/etc/firmware/fw_bcm4339a0_ag.bin
Final fw_path=/system/etc/firmware/fw_bcm4339a0_ag.bin
Final nv_path=/system/etc/firmware/nvram_AP6335.txt
Final conf_path=/system/etc/firmware/config.txt
NVRAM version: AP6335_NVRAM_V1.7_04102014
dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
bcmsdh_oob_intr_register: Enter
bcmsdh_oob_intr_register: HW_OOB enabled
bcmsdh_oob_intr_register OOB irq=220 flags=4
bcmsdh_oob_intr_register: enable_irq_wake
dhd_conf_set_band: Set band 0
dhd_preinit_ioctls: Set tcpack_sup_mode 0
wifi_platform_get_mac_addr
======== bcm_wlan_get_mac_address ========
: rockchip_wifi_mac_addr: enter.
: falsh wifi_custom_mac_addr=
: This mac address is not valid, ignored...
Firmware up: op_mode=0x0005, MAC=6c:fa:a7:26:1c:82
dhd_conf_set_country: Set country ALL, revision 0
dhd_conf_set_country: country code setting failed -2
Country code: US (US/0)
dhd_conf_set_roam: Set roam_off 1
dhd_conf_set_srl: set srl 15
dhd_conf_set_lrl: set lrl 15
dhd_conf_set_txbf: set txbf 1
Firmware version = wl0: Apr3 2014 12:12:42 version 6.37.32.28.2_ip (r424058)
   Driver: 1.201.59.5 (r506368)
   Firmware: wl0: Apr3 2014 12:12:42 version 6.37.32.28.2_ip (r424058)
dhd_txglom_enable: enable 1
dhd_conf_set_disable_proptx: set disable_proptx 0
dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64
dhd_open: Exit ret=0
# sdioh_remove: Enter
Unable to handle kernel NULL pointer dereference at virtual address 0000023c
pgd = c0004000
*pgd=00000000
Internal error: Oops: 17 [#1] SMP ARM
Modules linked in:
CPU: 0 PID: 34 Comm: kworker/0:1 Not tainted 4.5.0 #10
Hardware name: Rockchip (Device Tree)
Workqueue: events_freezable mmc_rescan
task: ee8d3f00 ti: eea50000 task.ti: eea50000
PC is at _raw_spin_lock_irqsave+0x10/0x4c
LR is at add_wait_queue+0x20/0x48
pc : [<c0631804>]    lr : [<c005b93c>]    psr: a0000093
sp : eea51c10ip : 00000000fp : eea18400
r10: 00000000r9 : 0000023cr8 : 00000002
r7 : 00000000r6 : 0000023cr5 : eea51c24r4 : eea51c30
r3 : 00000000r2 : 0000023cr1 : eea51c24r0 : a0000013
Flags: NzCvIRQs offFIQs onMode SVC_32ISA ARMSegment none
Control: 10c5387dTable: 2dc7806aDAC: 00000051
Process kworker/0:1 (pid: 34, stack limit = 0xeea50218)
Stack: (0xeea51c10 to 0xeea52000)
1c00:                                     00000000 000001ec 000000c9 c0449420
1c20: 00000000 00000000 ee8d3f00 c0047c50 00000000 00000000 ffffdf78 00000000
1c40: c092367c 000000c9 c092367c c08c945c ee242804 0001001f eea18400 c03b17a8
1c60: 00000000 00000000 00000001 00000001 00000000 00000032 0000000f 00000000
1c80: 00000001 c08a8674 c08a4f00 00000000 c49f45c0 00000001 0001001f eea51cf4
1ca0: 00000000 c08c9440 eea18400 c03b1a24 eea51cc7 00000000 00033cf8 c03aff64
1cc0: 003172fe 01000000 c490dc00 c490dc00 eea51cf4 c08c9440 00000001 c03b3a8c
1ce0: eea51cf4 eefa6f00 ee8d3f00 c08abfc0 00000000 00000000 2e702000 c490dc00
1d00: c490dc00 00000000 c08c9440 00000000 00000000 c08c9440 eea18400 c03b49cc
1d20: c062e474 00000000 00000000 eea50000 eea50000 eea51e0c 00000002 00000000
1d40: 00000000 c490dc00 c08c9440 18005000 00000000 c49f45c0 00000000 c08c9440
1d60: eea18400 c03b51b0 00000400 00000013 00000001 00000000 c4929a80 c490dc00
1d80: c08c9440 00000001 c49f4f00 c4a180a4 00000000 c08c9440 eea18400 c03bda04
1da0: ee8d3f00 c0047c50 00000100 2e702000 c4a180a4 c4a18000 c4a18000 c49f4f00
1dc0: c4a180a4 00000000 c08c9440 c0393154 c490dc00 c4a1c000 c4a18000 c039344c
1de0: c494d610 c08b419c eeb11320 c490dc00 c08c9440 00000000 c49f4f00 ee366008
1e00: 00000000 eefa6a80 eea18400 c03b6878 c08c9440 c490dc00 00000000 c494d610
1e20: ee366008 c03b8248 c49f45c0 c49f4500 00000000 c03b0828 ee242800 c49f4f00
1e40: c08c9508 c03b3004 c494d608 c494d600 c08c9508 c0454158 c494d608 c08c9508
1e60: c08d04d0 c030a4f0 c494d63c c494d608 c08d04d0 c030a5a8 eea14f30 c494d608
1e80: c08d04d0 c0309d68 c494d608 c494d608 c091ecf0 c0306f98 c08c28b8 c4a4de80
1ea0: 00000000 00000000 c494d608 000000c1 ee338c00 00000000 00000000 c04545bc
1ec0: 00000001 c04536a8 ee338c00 ffffff92 ee338c00 eefaa200 00000000 c0453754
1ee0: ee338e50 ee338dec ee338c00 c044bd8c ee338e50 eea18400 eefa6a80 eefaa200
1f00: 00000000 c003a998 eefa6a80 00000008 c08a8100 eefa6a80 eea18418 00000008
1f20: c08a8100 eefa6a98 eea50000 eefa6a80 eea18400 c003aca4 00000000 00000000
1f40: 00000000 00000000 eea13f80 eea18400 c003ac6c 00000000 00000000 00000000
1f60: 00000000 c0040198 cefffcff 00000000 00000000 eea18400 00000000 00000000
1f80: eea51f80 eea51f80 00000000 00000000 eea51f90 eea51f90 eea51fac eea13f80
1fa0: c00400bc 00000000 00000000 c000f6f8 00000000 00000000 00000000 00000000
1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 fffffffc fff6ffff
[<c0631804>] (_raw_spin_lock_irqsave) from [<c005b93c>] (add_wait_queue+0x20/0x48)
[<c005b93c>] (add_wait_queue) from [<c0449420>] (__mmc_claim_host+0x58/0x1b0)
[<c0449420>] (__mmc_claim_host) from [<c03b17a8>] (sdioh_request_byte+0x1f4/0x3f8)
[<c03b17a8>] (sdioh_request_byte) from [<c03b1a24>] (sdioh_cfg_write+0x1c/0x24)
[<c03b1a24>] (sdioh_cfg_write) from [<c03aff64>] (bcmsdh_cfg_write+0x84/0xb8)
[<c03aff64>] (bcmsdh_cfg_write) from [<c03b3a8c>] (dhdsdio_clk_kso_enab+0x5c/0x198)
[<c03b3a8c>] (dhdsdio_clk_kso_enab) from [<c03b49cc>] (dhdsdio_clk_devsleep_iovar+0xf4/0x5f0)
[<c03b49cc>] (dhdsdio_clk_devsleep_iovar) from [<c03b51b0>] (dhdsdio_bussleep+0x2e8/0x4ac)
[<c03b51b0>] (dhdsdio_bussleep) from [<c03bda04>] (dhd_bus_stop+0x310/0x3e0)
[<c03bda04>] (dhd_bus_stop) from [<c0393154>] (dhd_bus_detach+0x5c/0x80)
[<c0393154>] (dhd_bus_detach) from [<c039344c>] (dhd_detach+0x2d4/0x424)
[<c039344c>] (dhd_detach) from [<c03b6878>] (dhdsdio_release+0x44/0x19c)
[<c03b6878>] (dhdsdio_release) from [<c03b8248>] (dhdsdio_disconnect+0x34/0x78)
[<c03b8248>] (dhdsdio_disconnect) from [<c03b0828>] (bcmsdh_remove+0x3c/0x60)
[<c03b0828>] (bcmsdh_remove) from [<c03b3004>] (bcmsdh_sdmmc_remove+0x74/0x178)
[<c03b3004>] (bcmsdh_sdmmc_remove) from [<c0454158>] (sdio_bus_remove+0x30/0xf8)
[<c0454158>] (sdio_bus_remove) from [<c030a4f0>] (__device_release_driver+0x88/0x124)
[<c030a4f0>] (__device_release_driver) from [<c030a5a8>] (device_release_driver+0x1c/0x28)
[<c030a5a8>] (device_release_driver) from [<c0309d68>] (bus_remove_device+0xd8/0x104)
[<c0309d68>] (bus_remove_device) from [<c0306f98>] (device_del+0x10c/0x20c)
[<c0306f98>] (device_del) from [<c04545bc>] (sdio_remove_func+0x1c/0x28)
[<c04545bc>] (sdio_remove_func) from [<c04536a8>] (mmc_sdio_remove+0x44/0x7c)
[<c04536a8>] (mmc_sdio_remove) from [<c0453754>] (mmc_sdio_detect+0x74/0x104)
[<c0453754>] (mmc_sdio_detect) from [<c044bd8c>] (mmc_rescan+0x1b0/0x348)
[<c044bd8c>] (mmc_rescan) from [<c003a998>] (process_one_work+0x134/0x408)
[<c003a998>] (process_one_work) from [<c003aca4>] (worker_thread+0x38/0x598)
[<c003aca4>] (worker_thread) from [<c0040198>] (kthread+0xdc/0xf4)
[<c0040198>] (kthread) from [<c000f6f8>] (ret_from_fork+0x14/0x3c)
Code: e1a02000 e10f0000 f10c0080 f592f000 (e1923f9f)
---[ end trace 86f6cd5c2dc7e953 ]---
Unable to handle kernel paging request at virtual address ffffffec
pgd = c0004000
*pgd=2fffd861, *pte=00000000, *ppte=00000000
Internal error: Oops: 37 [#2] SMP ARM
Modules linked in:
CPU: 0 PID: 34 Comm: kworker/0:1 Tainted: G      D         4.5.0 #10
Hardware name: Rockchip (Device Tree)
task: ee8d3f00 ti: eea50000 task.ti: eea50000
PC is at kthread_data+0x4/0xc
LR is at wq_worker_sleeping+0xc/0xdc
pc : [<c00405b8>]    lr : [<c003baa8>]    psr: 20000193
sp : eea519d0ip : ee8d4010fp : eea51a24
r10: c08a8674r9 : 2e702000r8 : ee8d4228
r7 : c08a4f00r6 : c08a4f00r5 : ee8d3f00r4 : 00000000
r3 : 00000000r2 : 00000020r1 : 00000000r0 : ee8d3f00
Flags: nzCvIRQs offFIQs onMode SVC_32ISA ARMSegment none
Control: 10c5387dTable: 2dc7806aDAC: 00000051
Process kworker/0:1 (pid: 34, stack limit = 0xeea50218)
Stack: (0xeea519d0 to 0xeea52000)
19c0:                                     eefa6f00 ee8d3f00 c08a4f00 c062e214
19e0: 00000000 ee8d3f00 00000000 ee8d3f00 ee8e9200 00000000 c062e474 00000000
1a00: ee878000 eea50000 eea5177c ee878000 00000000 eea51a38 ee8d41a0 c0631806
1a20: eea51a34 c062e474 ee8d3f00 eea5177c 00000000 c00277a4 eea51a38 eea51a38
1a40: 00000001 0000000b 00000000 c00132fc eea50218 0000000b 00000004 eea50000
1a60: 00000000 00000008 65000000 32306131 20303030 66303165 30303030 30316620
1a80: 38303063 35662030 30663239 28203030 32393165 66396633 c0002029 eea51abc
1aa0: 00893feb 0000023c eea51bc0 00000017 00000000 0000023c 0000023c 00000000
1ac0: eea18400 c0021c40 00000017 c001d74c 00000404 00000000 00000404 00000400
1ae0: 00000404 00000001 00000000 c08a8100 00000404 00000404 00000404 c08ad974
1b00: 00000017 c001d3d4 0000023c eea51bc0 0000023c 00000000 eea18400 c000929c
1b20: ee849200 00000405 00001000 00000101 00000404 00000404 00000404 00000404
1b40: 00000400 000003f0 00000001 00000000 00000001 00000000 00000000 00000001
1b60: 00000001 00000001 00000000 00000400 00000052 00000000 00000000 00000001
1b80: 00000000 00000000 00000000 c08a1300 2e702000 eefa6f00 ee848900 00000002
1ba0: 00000000 ee849390 c0631804 a0000093 ffffffff eea51bf4 00000002 c0013b20
1bc0: a0000013 eea51c24 0000023c 00000000 eea51c30 eea51c24 0000023c 00000000
1be0: 00000002 0000023c 00000000 eea18400 00000000 eea51c10 c005b93c c0631804
1c00: a0000093 ffffffff 00000051 00000100 00000000 000001ec 000000c9 c0449420
1c20: 00000000 00000000 ee8d3f00 c0047c50 00000000 00000000 ffffdf78 00000000
1c40: c092367c 000000c9 c092367c c08c945c ee242804 0001001f eea18400 c03b17a8
1c60: 00000000 00000000 00000001 00000001 00000000 00000032 0000000f 00000000
1c80: 00000001 c08a8674 c08a4f00 00000000 c49f45c0 00000001 0001001f eea51cf4
1ca0: 00000000 c08c9440 eea18400 c03b1a24 eea51cc7 00000000 00033cf8 c03aff64
1cc0: 003172fe 01000000 c490dc00 c490dc00 eea51cf4 c08c9440 00000001 c03b3a8c
1ce0: eea51cf4 eefa6f00 ee8d3f00 c08abfc0 00000000 00000000 2e702000 c490dc00
1d00: c490dc00 00000000 c08c9440 00000000 00000000 c08c9440 eea18400 c03b49cc
1d20: c062e474 00000000 00000000 eea50000 eea50000 eea51e0c 00000002 00000000
1d40: 00000000 c490dc00 c08c9440 18005000 00000000 c49f45c0 00000000 c08c9440
1d60: eea18400 c03b51b0 00000400 00000013 00000001 00000000 c4929a80 c490dc00
1d80: c08c9440 00000001 c49f4f00 c4a180a4 00000000 c08c9440 eea18400 c03bda04
1da0: ee8d3f00 c0047c50 00000100 2e702000 c4a180a4 c4a18000 c4a18000 c49f4f00
1dc0: c4a180a4 00000000 c08c9440 c0393154 c490dc00 c4a1c000 c4a18000 c039344c
1de0: c494d610 c08b419c eeb11320 c490dc00 c08c9440 00000000 c49f4f00 ee366008
1e00: 00000000 eefa6a80 eea18400 c03b6878 c08c9440 c490dc00 00000000 c494d610
1e20: ee366008 c03b8248 c49f45c0 c49f4500 00000000 c03b0828 ee242800 c49f4f00
1e40: c08c9508 c03b3004 c494d608 c494d600 c08c9508 c0454158 c494d608 c08c9508
1e60: c08d04d0 c030a4f0 c494d63c c494d608 c08d04d0 c030a5a8 eea14f30 c494d608
1e80: c08d04d0 c0309d68 c494d608 c494d608 c091ecf0 c0306f98 c08c28b8 c4a4de80
1ea0: 00000000 00000000 c494d608 000000c1 ee338c00 00000000 00000000 c04545bc
1ec0: 00000001 c04536a8 ee338c00 ffffff92 ee338c00 eefaa200 00000000 c0453754
1ee0: ee338e50 ee338dec ee338c00 c044bd8c ee338e50 eea18400 eefa6a80 eefaa200
1f00: 00000000 c003a998 eefa6a80 00000008 c08a8100 eefa6a80 eea18418 00000008
1f20: c08a8100 eefa6a98 eea50000 eefa6a80 eea18400 c003aca4 00000000 00000000
1f40: 00000000 00000000 eea13f80 eea18400 c003ac6c 00000000 00000000 00000000
1f60: 00000000 c0040198 cefffcff 00000000 00000000 eea18400 00000000 00000000
1f80: eea51f80 eea51f80 00000001 00010001 eea51f90 eea51f90 eea51fac eea13f80
1fa0: c00400bc 00000000 00000000 c000f6f8 00000000 00000000 00000000 00000000
1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 fffffffc fff6ffff
[<c00405b8>] (kthread_data) from [<c003baa8>] (wq_worker_sleeping+0xc/0xdc)
[<c003baa8>] (wq_worker_sleeping) from [<c062e214>] (__schedule+0x36c/0x588)
[<c062e214>] (__schedule) from [<c062e474>] (schedule+0x44/0x9c)
[<c062e474>] (schedule) from [<c00277a4>] (do_exit+0x66c/0xa14)
[<c00277a4>] (do_exit) from [<c00132fc>] (die+0x238/0x43c)
[<c00132fc>] (die) from [<c0021c40>] (__do_kernel_fault.part.0+0x64/0x1e4)
[<c0021c40>] (__do_kernel_fault.part.0) from [<c001d74c>] (do_page_fault+0x378/0x388)
[<c001d74c>] (do_page_fault) from [<c000929c>] (do_DataAbort+0x38/0xb4)
[<c000929c>] (do_DataAbort) from [<c0013b20>] (__dabt_svc+0x40/0x60)
Exception stack(0xeea51bc0 to 0xeea51c08)
1bc0: a0000013 eea51c24 0000023c 00000000 eea51c30 eea51c24 0000023c 00000000
1be0: 00000002 0000023c 00000000 eea18400 00000000 eea51c10 c005b93c c0631804
1c00: a0000093 ffffffff
[<c0013b20>] (__dabt_svc) from [<c0631804>] (_raw_spin_lock_irqsave+0x10/0x4c)
[<c0631804>] (_raw_spin_lock_irqsave) from [<c005b93c>] (add_wait_queue+0x20/0x48)
[<c005b93c>] (add_wait_queue) from [<c0449420>] (__mmc_claim_host+0x58/0x1b0)
[<c0449420>] (__mmc_claim_host) from [<c03b17a8>] (sdioh_request_byte+0x1f4/0x3f8)
[<c03b17a8>] (sdioh_request_byte) from [<c03b1a24>] (sdioh_cfg_write+0x1c/0x24)
[<c03b1a24>] (sdioh_cfg_write) from [<c03aff64>] (bcmsdh_cfg_write+0x84/0xb8)
[<c03aff64>] (bcmsdh_cfg_write) from [<c03b3a8c>] (dhdsdio_clk_kso_enab+0x5c/0x198)
[<c03b3a8c>] (dhdsdio_clk_kso_enab) from [<c03b49cc>] (dhdsdio_clk_devsleep_iovar+0xf4/0x5f0)
[<c03b49cc>] (dhdsdio_clk_devsleep_iovar) from [<c03b51b0>] (dhdsdio_bussleep+0x2e8/0x4ac)
[<c03b51b0>] (dhdsdio_bussleep) from [<c03bda04>] (dhd_bus_stop+0x310/0x3e0)
[<c03bda04>] (dhd_bus_stop) from [<c0393154>] (dhd_bus_detach+0x5c/0x80)
[<c0393154>] (dhd_bus_detach) from [<c039344c>] (dhd_detach+0x2d4/0x424)
[<c039344c>] (dhd_detach) from [<c03b6878>] (dhdsdio_release+0x44/0x19c)
[<c03b6878>] (dhdsdio_release) from [<c03b8248>] (dhdsdio_disconnect+0x34/0x78)
[<c03b8248>] (dhdsdio_disconnect) from [<c03b0828>] (bcmsdh_remove+0x3c/0x60)
[<c03b0828>] (bcmsdh_remove) from [<c03b3004>] (bcmsdh_sdmmc_remove+0x74/0x178)
[<c03b3004>] (bcmsdh_sdmmc_remove) from [<c0454158>] (sdio_bus_remove+0x30/0xf8)
[<c0454158>] (sdio_bus_remove) from [<c030a4f0>] (__device_release_driver+0x88/0x124)
[<c030a4f0>] (__device_release_driver) from [<c030a5a8>] (device_release_driver+0x1c/0x28)
[<c030a5a8>] (device_release_driver) from [<c0309d68>] (bus_remove_device+0xd8/0x104)
[<c0309d68>] (bus_remove_device) from [<c0306f98>] (device_del+0x10c/0x20c)
[<c0306f98>] (device_del) from [<c04545bc>] (sdio_remove_func+0x1c/0x28)
[<c04545bc>] (sdio_remove_func) from [<c04536a8>] (mmc_sdio_remove+0x44/0x7c)
[<c04536a8>] (mmc_sdio_remove) from [<c0453754>] (mmc_sdio_detect+0x74/0x104)
[<c0453754>] (mmc_sdio_detect) from [<c044bd8c>] (mmc_rescan+0x1b0/0x348)
[<c044bd8c>] (mmc_rescan) from [<c003a998>] (process_one_work+0x134/0x408)
[<c003a998>] (process_one_work) from [<c003aca4>] (worker_thread+0x38/0x598)
[<c003aca4>] (worker_thread) from [<c0040198>] (kthread+0xdc/0xf4)
[<c0040198>] (kthread) from [<c000f6f8>] (ret_from_fork+0x14/0x3c)
Code: ebff8c45 e1a00006 e8bd81f0 e59032f8 (e5130014)
---[ end trace 86f6cd5c2dc7e954 ]---
Fixing recursive fault but reboot is needed!

pqy 发表于 2016-4-2 11:58:05

解决啦:victory:
终于在linux4.5上成功把ap6335驱动起来了

obsession2015 发表于 2017-7-26 17:47:49

pqy 发表于 2016-4-2 11:58
解决啦:victory:
终于在linux4.5上成功把ap6335驱动起来了

你是怎么做到的呢

RK666666 发表于 2024-11-8 11:20:29

这个问题是怎么解决的了
页: [1]
查看完整版本: 激活无线网卡引发内核崩溃