linux4wilc / driver

DEPRECATED: Updated Linux drivers for the ATWILC1000/ATWILC3000 products are located at https://github.com/linux4microchip/linux/tree/master/drivers/net/wireless/microchip/wilc1000. To simplify development, the legacy Linux4WILC was merged into the Linux4Microchip repo where driver development continues (Please refer latest ATWILC1000/ATWILC 3000 Wi-Fi Link Controller Linux User Guide) Driver code for Microchip ATWILC Wireless Devices (ATWILC1000 & ATWILC3000)
https://www.microchip.com/wwwproducts/en/ATWILC1000
32 stars 19 forks source link

Unable to handle kernel NULL pointer dereference at virtual address 00000000 #109

Open der-ule opened 3 years ago

der-ule commented 3 years ago

Hi,

I am having sporadic error on boot up as described in the title. Is this a known issue ? Is there something I can do to avoid it ?

Best regards

pi@clog:~ $ modinfo wilc-sdio 
filename:       /lib/modules/5.4.70-v7+/kernel/drivers/staging/wilc1000/wilc-sdio.ko
license:        GPL
version:        15.3
license:        GPL
srcversion:     9DF44E9A411AC30A42FAC3D
alias:          of:N*T*Cmicrochip,wilc3000C*
alias:          of:N*T*Cmicrochip,wilc3000
alias:          of:N*T*Cmicrochip,wilc1000C*
alias:          of:N*T*Cmicrochip,wilc1000
depends:        cfg80211
staging:        Y
intree:         Y
name:           wilc_sdio
vermagic:       5.4.70-v7+ SMP mod_unload modversions ARMv7 p2v8 
[   42.184081] Checking WLAN hardware ...
[   42.216492] 0:  exits with code 1
[   43.082255] mmc1: new high speed SDIO card at address 0001
[   43.082849] Registering wifi device
[   43.082865] Max scan ids= 10,Max scan IE len= 1000,Signal Type= 1,Interface Modes= 844
[   43.083263] Initializing Locks ...
[   43.097961] wilc_sdio mmc1:0001:1: Driver Initializing success
[   43.265659] 1: 0x00000001 exits with code 0
[   43.292869] WLAN card ON, exit after 3s
[   43.319313] hw_test.sh exit with code 0
[   43.345092] Check the WPA connection
[   43.377389] --wpa_test.sh
[   43.385594] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.385655] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.385716] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.385767] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.385813] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.385868] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.385914] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.385967] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.386015] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.386063] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.386109] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.386157] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.386201] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.386246] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.386290] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.386338] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.386401] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.386463] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.386532] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.386589] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.386644] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.386691] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mgmt_frame_register]Return since mac is closed
[   43.388171] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mac_open]MAC OPEN[c09dbf65] wlan0
[   43.388182] WILC POWER UP
[   43.388191] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_init_host_int]Host[c09dbf65][1cfc1b47]
[   43.388204] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mac_open]*** re-init ***
[   43.388212] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_wlan_init]Initializing WILC_Wlan
[   43.388221] wilc_sdio mmc1:0001:1: SDIO speed: 50000000
[   43.388870] wilc_sdio mmc1:0001:1: chipid 001003a0
[   43.389778] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_wlan_initialize]WILC Initialization done
[   43.389786] wilc_sdio mmc1:0001:1 wlan0: INFO [wlan_initialize_threads]Initializing Threads ...
[   43.389793] wilc_sdio mmc1:0001:1 wlan0: INFO [wlan_initialize_threads]Creating kthread for transmission
[   43.389950] wilc_sdio mmc1:0001:1 wlan0: INFO [wlan_initialize_threads]Creating kthread for Debugging
[   43.390105] wilc_sdio mmc1:0001:1: got gpio_irq successfully
[   43.390251] wilc_sdio mmc1:0001:1 wlan0: INFO [init_irq]IRQ request succeeded IRQ-NUM= 166
[   43.390328] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_wlan_get_firmware]Detect chip WILC1000
[   43.390336] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_wlan_get_firmware]loading firmware mchp/wilc1000_wifi_firmware.bin
[   43.390344] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_wlan_get_firmware]WLAN firmware: mchp/wilc1000_wifi_firmware.bin
[   43.390533] wilc_handle_isr,>> UNKNOWN_INTERRUPT - 0x00000000
[   43.397942] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_firmware_download]Downloading Firmware ...
[   43.397965] wilc_wlan_firmware_downloadDownloading firmware size = 135848
[   43.410769] wilc_wlan_firmware_download Offset = 120388
[   43.412552] wilc_wlan_firmware_download Offset = 135848
[   43.412566] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_firmware_download]Download Succeeded
[   43.412626] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_start_firmware]Starting Firmware ...
[   43.413524] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_start_firmware]Waiting for FW to get ready ...
[   43.525010] cfg_indicate_rx: Info message received
[   43.525046] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_start_firmware]Firmware successfully started
[   43.533357] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_wlan_initialize]WILC Firmware Ver = WILC_WIFI_FW_REL_15_4_1_RC1 Build: 12054
[   43.533367] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_init_fw_config]Start configuring Firmware
[   43.650657] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mac_open]Mac address: f8:f0:05:74:1b:fc
[   43.663325] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Setting mcast List with count = 1.
[   43.663338] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Entry[0]: 33:33:00:00:00:01
[   43.663469] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Setting mcast List with count = 2.
[   43.663477] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Entry[0]: 33:33:00:00:00:01
[   43.663485] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Entry[1]: 01:00:5e:00:00:01
[   43.663593] wilc_sdio mmc1:0001:1 wlan0: INFO [set_power_mgmt]dev [wlan0]
[   43.663602] wilc_sdio mmc1:0001:1 wlan0: INFO [set_power_mgmt] Power save Enabled= 1 , TimeOut = -1
[   43.715753]  exits with code 1
[   43.741411] wlan0 interface disable, enabling ...
[   43.772740] --hw_test.sh
[   43.777597] wilc_sdio mmc1:0001:1 wlan0: INFO [flush_pmksa]Flushing  PMKID key values
[   43.803216] cat output: 0x00000001 with code 0
[   43.829199] Turning WLAN card off ...
[   43.858430] Checking WLAN hardware ...
[   43.878365] wilc_sdio mmc1:0001:1 wlan0: INFO [scan]Requested num of channel 13
[   43.878390] wilc_sdio mmc1:0001:1 wlan0: INFO [scan]Scan Request IE len =  126
[   43.878402] wilc_sdio mmc1:0001:1 wlan0: INFO [scan]Number of SSIDs 1
[   43.878412] wilc_sdio mmc1:0001:1 wlan0: INFO [scan]Trigger Scan Request
[   43.878567] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-110)
[   43.878580] wilc_sdio mmc1:0001:1: Failed cmd 52, write reg 000000fa ...
[   43.878652] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-110)
[   43.878666] wilc_sdio mmc1:0001:1: Failed cmd52, set 0x10c data...
[   43.878681] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_wlan_handle_txq:1044] fail read reg vmm_tbl_entry..
[   43.878747] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-110)
[   43.878758] wilc_sdio mmc1:0001:1: Failed cmd 52, read reg (000000fc) ...
[   46.956792] cfg_set Timed Out
[   46.956817] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_send_config_pkt:1806] Set Timed out
[   46.956827] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_scan:440] Failed to send scan parameters
[   46.956838] wilc_sdio mmc1:0001:1 wlan0: WRN [scan: 341]Device is busy: Error(-110)
[   46.956876] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   46.956885] wilc_sdio mmc1:0001:1: Failed cmd 52, write reg 000000fa ...
[   46.956901] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   46.956909] wilc_sdio mmc1:0001:1: Failed cmd52, set 0x10c data...
[   46.956918] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_wlan_handle_txq:1044] fail read reg vmm_tbl_entry..
[   46.956935] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   46.956942] wilc_sdio mmc1:0001:1: Failed cmd 52, read reg (000000fc) ...
[   46.962883] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Setting mcast List with count = 2.
[   46.962899] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Entry[0]: 33:33:00:00:00:01
[   46.962907] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Entry[1]: 01:00:5e:00:00:01
[   46.975481] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Setting mcast List with count = 3.
[   46.975498] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Entry[0]: 33:33:00:00:00:01
[   46.975506] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Entry[1]: 01:00:5e:00:00:01
[   46.975514] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Entry[2]: 33:33:ff:47:5b:da
[   46.976097] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Setting mcast List with count = 4.
[   46.976119] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Entry[0]: 33:33:00:00:00:01
[   46.976129] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Entry[1]: 01:00:5e:00:00:01
[   46.976137] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Entry[2]: 33:33:ff:47:5b:da
[   46.976145] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Entry[3]: 33:33:00:00:00:fb
[   46.978225] 0: 0x00000001 exits with code 0
[   46.996962] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   46.996977] wilc_sdio mmc1:0001:1: Failed cmd 52, write reg 000000fa ...
[   46.996993] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   46.997000] wilc_sdio mmc1:0001:1: Failed cmd52, set 0x10c data...
[   46.997012] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_wlan_handle_txq:1044] fail read reg vmm_tbl_entry..
[   46.997029] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   46.997036] wilc_sdio mmc1:0001:1: Failed cmd 52, read reg (000000fc) ...
[   47.013386] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Setting mcast List with count = 3.
[   47.013402] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Entry[0]: 33:33:00:00:00:01
[   47.013422] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Entry[1]: 01:00:5e:00:00:01
[   47.013430] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Entry[2]: 33:33:00:00:00:fb
[   47.013653] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Setting mcast List with count = 2.
[   47.013665] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Entry[0]: 33:33:00:00:00:01
[   47.013673] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_set_multicast_list]Entry[1]: 01:00:5e:00:00:01
[   47.046883] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   47.046893] wilc_sdio mmc1:0001:1: Failed cmd 52, write reg 000000fa ...
[   47.046910] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   47.046917] wilc_sdio mmc1:0001:1: Failed cmd52, set 0x10c data...
[   47.046928] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_wlan_handle_txq:1044] fail read reg vmm_tbl_entry..
[   47.046944] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   47.046951] wilc_sdio mmc1:0001:1: Failed cmd 52, read reg (000000fc) ...
[   47.166886] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   47.166899] wilc_sdio mmc1:0001:1: Failed cmd 52, write reg 000000fa ...
[   47.166915] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   47.166922] wilc_sdio mmc1:0001:1: Failed cmd52, set 0x10c data...
[   47.166933] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_wlan_handle_txq:1044] fail read reg vmm_tbl_entry..
[   47.166949] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   47.166956] wilc_sdio mmc1:0001:1: Failed cmd 52, read reg (000000fc) ...
[   47.958523] wilc_sdio mmc1:0001:1 wlan0: INFO [scan]Requested num of channel 13
[   47.958533] wilc_sdio mmc1:0001:1 wlan0: INFO [scan]Scan Request IE len =  126
[   47.958541] wilc_sdio mmc1:0001:1 wlan0: INFO [scan]Number of SSIDs 1
[   47.958548] wilc_sdio mmc1:0001:1 wlan0: INFO [scan]Trigger Scan Request
[   49.996810] cfg_set Timed Out
[   49.996848] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_send_config_pkt:1806] Set Timed out
[   49.996866] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_set_operation_mode:1858] Failed to set driver handler
[   49.996896] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_netdev_cleanup]Unregistering netdev c09dbf65
[   49.996976] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   49.996991] wilc_sdio mmc1:0001:1: Failed cmd 52, write reg 000000fa ...
[   49.997022] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   49.997037] wilc_sdio mmc1:0001:1: Failed cmd52, set 0x10c data...
[   49.997054] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_wlan_handle_txq:1044] fail read reg vmm_tbl_entry..
[   49.997085] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   49.997099] wilc_sdio mmc1:0001:1: Failed cmd 52, read reg (000000fc) ...
[   53.036817] cfg_set Timed Out
[   53.036854] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_send_config_pkt:1806] Set Timed out
[   53.036873] wilc_sdio mmc1:0001:1 wlan0: ERR [handle_set_mcast_filter:1362] Failed to send setup multicast
[   53.036969] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   53.036985] wilc_sdio mmc1:0001:1: Failed cmd 52, write reg 000000fa ...
[   53.037017] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   53.037031] wilc_sdio mmc1:0001:1: Failed cmd52, set 0x10c data...
[   53.037048] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_wlan_handle_txq:1044] fail read reg vmm_tbl_entry..
[   53.037079] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   53.037093] wilc_sdio mmc1:0001:1: Failed cmd 52, read reg (000000fc) ...
[   56.076824] cfg_set Timed Out
[   56.076855] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_send_config_pkt:1806] Set Timed out
[   56.076884] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_scan:440] Failed to send scan parameters
[   56.076904] wilc_sdio mmc1:0001:1 wlan0: WRN [scan: 341]Device is busy: Error(-110)
[   56.076961] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   56.076987] wilc_sdio mmc1:0001:1: Failed cmd 52, write reg 000000fa ...
[   56.077020] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   56.077033] wilc_sdio mmc1:0001:1: Failed cmd52, set 0x10c data...
[   56.077050] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_wlan_handle_txq:1044] fail read reg vmm_tbl_entry..
[   56.077082] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   56.077096] wilc_sdio mmc1:0001:1: Failed cmd 52, read reg (000000fc) ...
[   56.077309] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mac_close]Mac close
[   59.116807] cfg_set Timed Out
[   59.116834] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_send_config_pkt:1806] Set Timed out
[   59.116851] wilc_sdio mmc1:0001:1 wlan0: ERR [handle_set_mcast_filter:1362] Failed to send setup multicast
[   59.116983] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   59.116999] wilc_sdio mmc1:0001:1: Failed cmd 52, write reg 000000fa ...
[   59.117030] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   59.117044] wilc_sdio mmc1:0001:1: Failed cmd52, set 0x10c data...
[   59.117061] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_wlan_handle_txq:1044] fail read reg vmm_tbl_entry..
[   59.117092] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   59.117106] wilc_sdio mmc1:0001:1: Failed cmd 52, read reg (000000fc) ...
[   62.156814] cfg_set Timed Out
[   62.156841] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_send_config_pkt:1806] Set Timed out
[   62.156859] wilc_sdio mmc1:0001:1 wlan0: ERR [handle_set_mcast_filter:1362] Failed to send setup multicast
[   62.156985] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   62.157002] wilc_sdio mmc1:0001:1: Failed cmd 52, write reg 000000fa ...
[   62.157034] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   62.157047] wilc_sdio mmc1:0001:1: Failed cmd52, set 0x10c data...
[   62.157065] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_wlan_handle_txq:1044] fail read reg vmm_tbl_entry..
[   62.157097] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   62.157111] wilc_sdio mmc1:0001:1: Failed cmd 52, read reg (000000fc) ...
[   63.836812] debug_thread <Recover>
[   63.836836] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mac_close]Mac close
[   63.836854] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_mac_close:1235] MAC close called with no opened interfaces
[   63.836877] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mac_open]MAC OPEN[c09dbf65] wlan0
[   63.836889] power up request for already powered up source Wifi
[   63.836898] Device already up. request source is Wifi
[   63.836913] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mac_open]*** re-init ***
[   63.836929] wilc_sdio mmc1:0001:1 wlan0: WRN [wilc_wlan_initialize: 987]wilc already initialized
[   65.196820] cfg_set Timed Out
[   65.196859] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_send_config_pkt:1806] Set Timed out
[   65.196878] wilc_sdio mmc1:0001:1 wlan0: ERR [handle_set_mcast_filter:1362] Failed to send setup multicast
[   65.197005] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   65.197021] wilc_sdio mmc1:0001:1: Failed cmd 52, write reg 000000fa ...
[   65.197053] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   65.197066] wilc_sdio mmc1:0001:1: Failed cmd52, set 0x10c data...
[   65.197083] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_wlan_handle_txq:1044] fail read reg vmm_tbl_entry..
[   65.197115] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   65.197128] wilc_sdio mmc1:0001:1: Failed cmd 52, read reg (000000fc) ...
[   68.236800] cfg_set Timed Out
[   68.236837] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_send_config_pkt:1806] Set Timed out
[   68.236855] wilc_sdio mmc1:0001:1 wlan0: ERR [handle_set_mcast_filter:1362] Failed to send setup multicast
[   68.236929] cfg_scan_result is NULL
[   68.236952] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_mac_close]Deinitializing wilc
[   68.236967] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_wlan_deinitialize]Deinitializing wilc  ...
[   68.236982] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_wlan_deinitialize]Disabling IRQ
[   68.236997] wilc_sdio mmc1:0001:1: wilc_sdio_disable_interrupt
[   68.237034] wilc_sdio mmc1:0001:1: can't release sdio_irq, err(-123)
[   68.237056] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_wlan_deinitialize]Deinitializing Threads
[   68.237071] wilc_sdio mmc1:0001:1 wlan0: INFO [wlan_deinitialize_threads]Deinitializing Threads
[   68.237085] wilc_sdio mmc1:0001:1 wlan0: INFO [wlan_deinitialize_threads]Deinitializing Threads
[   68.237240] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_wlan_deinitialize]Deinitializing IRQ
[   68.237321] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   68.237336] wilc_sdio mmc1:0001:1: Failed cmd 52, write reg 000000fa ...
[   68.237368] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   68.237381] wilc_sdio mmc1:0001:1: Failed cmd52, set 0x10c data...
[   68.237397] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_wlan_stop:1561] Error while reading reg
[   68.237429] wilc_sdio mmc1:0001:1: wilc_sdio_cmd52..failed, err(-123)
[   68.237443] wilc_sdio mmc1:0001:1: Failed cmd 52, read reg (000000fc) ...
[   68.237458] wilc_sdio mmc1:0001:1 wlan0: ERR [wilc_wlan_deinitialize:846] failed in wlan_stop
[   68.237473] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_wlan_deinitialize]Deinitializing WILC Wlan
[   68.237585] wilc_sdio mmc1:0001:1 wlan0: INFO [wilc_wlan_deinitialize]wilc deinitialization Done
[   68.239469] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239494] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239514] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239533] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239552] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239571] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239590] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239609] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239627] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239646] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239665] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239683] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239702] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239720] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239739] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239758] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239776] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239795] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239814] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239833] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239851] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.239870] wilc_sdio mmc1:0001:1 wlan0 (unregistering): INFO [wilc_mgmt_frame_register]Return since mac is closed
[   68.317395] 1: 0x00000011 exits with code 0
[   69.358982] 2: 0x00000011 exits with code 0
[   70.395451] 3: 0x00000011 exits with code 0
[   71.276777] cfg_set Timed Out
[   71.276796] wilc_sdio mmc1:0001:1 (unnamed net_device) (released): ERR [wilc_send_config_pkt:1806] Set Timed out
[   71.276805] wilc_sdio mmc1:0001:1 (unnamed net_device) (released): ERR [wilc_set_operation_mode:1858] Failed to set driver handler
[   71.276818] wilc_sdio mmc1:0001:1 (unnamed net_device) (released): ERR [wilc_send_config_pkt:1789] Get Timed out
[   71.276826] wilc_sdio mmc1:0001:1 (unnamed net_device) (released): Failed to get mac address
[   71.276835] wilc_sdio mmc1:0001:1 (unnamed net_device) (released): INFO [wilc_mac_open]Mac address: f8:f0:05:74:1b:fc
[   71.276847] 8<--- cut here ---
[   71.280864] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[   71.290918] pgd = dc17cbe9
[   71.294556] [00000000] *pgd=00000000
[   71.299057] Internal error: Oops: 805 [#1] SMP ARM
[   71.304782] Modules linked in: 8021q garp stp llc sg uas raspberrypi_hwmon i2c_bcm2835 bcm2835_codec(C) bcm2835_isp(C) bcm2835_v4l2(C) v4l2_mem2mem snd_bcm2835(C) bcm2835_mmal_vchiq(C) videobuf2_dma_contig videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common snd_pcm snd_timer videodev snd mc vc_sm_cma(C) uio_pdrv_genirq uio fixed wilc_sdio(C) sha256_generic libsha256 cfg80211 rfkill i2c_dev ip_tables x_tables ipv6
[   71.304846] CPU: 1 PID: 491 Comm: WILC_DEBUG Tainted: G         C        5.4.70-v7+ #3
[   71.304849] Hardware name: BCM2835
[   71.304901] PC is at wilc_mac_open+0x164/0x12d4 [wilc_sdio]
[   71.304911] LR is at irq_work_queue+0x14/0x2c
[   71.304915] pc : [<7f18b284>]    lr : [<80239ab4>]    psr: 20000013
[   71.304917] sp : ae729e88  ip : 00000000  fp : ae729f14
[   71.304920] r10: 00000000  r9 : b2aa4540  r8 : 80e04f88
[   71.304923] r7 : 7f1a2540  r6 : b2aa24c0  r5 : 7f1a2108  r4 : b2aa4000
[   71.304927] r3 : 7405f0f8  r2 : 00000000  r1 : 00000007  r0 : 00000069
[   71.304931] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   71.304935] Control: 10c5383d  Table: 30da006a  DAC: 00000055
[   71.304940] Process WILC_DEBUG (pid: 491, stack limit = 0xe40f4724)
[   71.304943] Stack: (0xae729e88 to 0xae72a000)
[   71.304949] 9e80:                   b2aa4000 b2aa4000 80baf5b4 ae729ecc 80180c7c 80e04f88
[   71.304955] 9ea0: 7f1a2108 b2aa24c0 b2aa4540 7405f0f8 7f19fc1b 7f1a2108 ae729ee8 ae729ec8
[   71.304961] 9ec0: 807ce2d8 807cdf9c ae729ef0 7f19d6b0 ae729ec8 27c78b82 b2aa4000 ae729f14
[   71.304968] 9ee0: ae729ef8 27c78b82 807ce290 b2aa4540 0000000a 7f1a2948 b0f36400 b2aa5540
[   71.304974] 9f00: 7f19a99c 7f1a2108 ae729f74 ae729f18 7f18c618 7f18b12c 60000013 0000055c
[   71.304980] 9f20: 7f1a2540 b2aa24c0 b2aa2660 7f19de58 7f19de8c 7f19deb4 00000001 b2aa24f0
[   71.304987] 9f40: b2aa24e8 00000001 ae729f74 b210df80 afaa4740 00000000 ae728000 b2aa24c0
[   71.304993] 9f60: 7f18c3f4 ae73dbec ae729fac ae729f78 80143f90 7f18c400 b210df9c b210df9c
[   71.304999] 9f80: ffffe000 afaa4740 80143e20 00000000 00000000 00000000 00000000 00000000
[   71.305005] 9fa0: 00000000 ae729fb0 801010ac 80143e2c 00000000 00000000 00000000 00000000
[   71.305010] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   71.305016] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[   71.305017] Backtrace:
[   71.305093] [<7f18b120>] (wilc_mac_open [wilc_sdio]) from [<7f18c618>] (debug_thread+0x224/0x350 [wilc_sdio])
[   71.305100]  r10:7f1a2108 r9:7f19a99c r8:b2aa5540 r7:b0f36400 r6:7f1a2948 r5:0000000a
[   71.305103]  r4:b2aa4540
[   71.305145] [<7f18c3f4>] (debug_thread [wilc_sdio]) from [<80143f90>] (kthread+0x170/0x174)
[   71.305152]  r10:ae73dbec r9:7f18c3f4 r8:b2aa24c0 r7:ae728000 r6:00000000 r5:afaa4740
[   71.305154]  r4:b210df80
[   71.305162] [<80143e20>] (kthread) from [<801010ac>] (ret_from_fork+0x14/0x28)
[   71.305165] Exception stack(0xae729fb0 to 0xae729ff8)
[   71.305169] 9fa0:                                     00000000 00000000 00000000 00000000
[   71.305174] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   71.305180] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   71.305186]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:80143e20
[   71.305188]  r4:afaa4740
[   71.305194] Code: e15b26b4 e1922003 0a00016f e59421e0 (e5823000)
[   71.305199] ---[ end trace a4a0cf8e6b1fa6e7 ]---