Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for RPI 3B with OpenWRT OS #14

Open
midhunlohi opened this issue Oct 3, 2020 · 0 comments
Open

Support for RPI 3B with OpenWRT OS #14

midhunlohi opened this issue Oct 3, 2020 · 0 comments

Comments

@midhunlohi
Copy link

Hello All,

I am trying to bring up RTL8188FU based WiFi USB Dongle on Raspberry PI 3B. I am using OpenWRT as OS.
I could compile the source code and generate the kernel module successfully.

When I am loading, kernel panic occurs. I am attaching the below logs for your reference. Please help.

logs

root@OpenWrt:/lib/modules/4.14.195# insmod rtl8188fu.ko
[ 345.125986]
[ 345.129396] =======================================================
[ 345.137728] ==== Launching Wi-Fi driver! (Powered by Rockchip) ====
[ 345.145081] =======================================================
[ 345.152394] Realtek 8188FU USB WiFi driver (Powered by Rockchip) init.
[ 345.159939] RTL871X: module init start
[ 345.164649] RTL871X: rtl8188fu v4.3.23.6_20964.20170110
[ 345.170919] usbcore: registered new interface driver rtl8188fu
[ 345.177715] RTL871X: module init ret=0
root@OpenWrt:/lib/modules/4.14.195#
root@OpenWrt:/lib/modules/4.14.195#
root@OpenWrt:/lib/modules/4.14.195# ���긆�[ 352.311072] usb 1-1.4: new high-speed USB device number 5 using dwc_otg
[ 352.441679] usb 1-1.4: New USB device found, idVendor=0bda, idProduct=f179
[ 352.450366] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 352.459476] usb 1-1.4: Product: 802.11n
[ 352.465042] usb 1-1.4: Manufacturer: Realtek
[ 352.471045] usb 1-1.4: SerialNumber: 00E02A2D8C2B

[ 352.478069] RTL871X:
[ 352.478069] usb_endpoint_descriptor(0):
[ 352.486384] RTL871X: bLength=7
[ 352.490258] RTL871X: bDescriptorType=5
[ 352.494842] RTL871X: bEndpointAddress=81
[ 352.499566] RTL871X: wMaxPacketSize=512
[ 352.504194] RTL871X: bInterval=0
[ 352.508174] RTL871X: RT_usb_endpoint_is_bulk_in = 1
[ 352.513829] RTL871X:
[ 352.513829] usb_endpoint_descriptor(1):
[ 352.521343] RTL871X: bLength=7
[ 352.525080] RTL871X: bDescriptorType=5
[ 352.529509] RTL871X: bEndpointAddress=2
[ 352.534020] RTL871X: wMaxPacketSize=512
[ 352.538499] RTL871X: bInterval=0
[ 352.542323] RTL871X: RT_usb_endpoint_is_bulk_out = 2
[ 352.547908] RTL871X:
[ 352.547908] usb_endpoint_descriptor(2):
[ 352.555131] RTL871X: bLength=7
[ 352.558731] RTL871X: bDescriptorType=5
[ 352.563048] RTL871X: bEndpointAddress=3
[ 352.567436] RTL871X: wMaxPacketSize=512
[ 352.571832] RTL871X: bInterval=0
[ 352.575584] RTL871X: RT_usb_endpoint_is_bulk_out = 3
[ 352.581133] RTL871X: nr_endpoint=3, in_num=1, out_num=2
[ 352.581133]
[ 352.588947] RTL871X: USB_SPEED_HIGH
[ 352.593016] RTL871X: CHIP TYPE: RTL8188FU
[ 352.597946] RTL871X: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1
[ 352.605408] RTL871X: Chip Version Info: CHIP_8188F_Normal_Chip_SMIC_B_CUT_1T1R_RomVer(0)
[ 352.614781] RTL871X: _ConfigChipOutEP_8188F OutEpQueueSel(0x05), OutEpNumber(2)
[ 352.622925] RTL871X: EEPROM type is E-FUSE
[ 352.627896] RTL871X: Boot from EFUSE, Autoload OK !
[ 352.633673] RTL871X: hal_EfuseSwitchToBank: Efuse switch bank to 0
[ 352.714217] RTL871X: hal_ReadEFuse_WiFi: data end at address=0x77
[ 352.721928] RTL871X: EEPROM VID = 0x bda
[ 352.727288] RTL871X: EEPROM PID = 0xf179
[ 352.732636] RTL871X: hal_com_config_channel_plan chplan:0x20
[ 352.739105] RTL871X: Hal_EfuseParsePowerSavingMode_8188F...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(1)
[ 352.751492] RTL871X: ### PS params=> power_mgnt(2),usbss_enable(0) ###
[ 352.759719] RTL871X: kfree Pwr Trim flag:1
[ 352.764708] RTL871X: bb_gain:2
[ 352.770490] usb 1-1.4: request firmware rtlwifi/rtl8188fufw.bin
[ 352.777449] usb 1-1.4: request firmware rtlwifi/rtl8188fufw.bin loaded
[ 352.784918] RTL871X: rtl8188f_FirmwareDownload: fw_ver=4 fw_subver=0000 sig=0x88f1, Month=08, Date=22, Hour=17, Minute=36
[ 352.797794] RTL871X: rtl8188f_FirmwareDownload(): Shift for fw header!
[ 352.805336] RTL871X: rtl8188f_FirmwareDownload by IO write!
[ 352.829614] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00050105
[ 352.840665] RTL871X: _8051Reset8188: Finish
[ 352.854119] RTL871X: _FWFreeToGo: Polling FW ready OK! (170, 20ms), REG_MCUFWDL:0x000501c6
[ 352.864258] RTL871X: rtl8188f_FirmwareDownload: DLFW OK !
[ 352.870629] RTL871X: rtl8188f_FirmwareDownload success. write_fw:1, 60ms
[ 352.878402] RTL871X: <=== rtl8188f_FirmwareDownload()
[ 352.885269] RTL871X: CardDisableRTL8188FU
[ 352.892085] RTL871X: hal_read_mac_hidden_rpt OK! (1, 10ms), fwdl:1, id:0x19
[ 352.900077] RTL871X: InitAdapterVariablesByPROM_8188FU(): REPLACEMENT = 0
[ 352.907894] RTL871X: rtw_hal_read_chip_info in 280 ms
[ 352.914043] RTL871X: init_channel_set((null)) ChannelPlan ID:0x20, ch num:13
[ 352.922717] RTL871X: NR_RECVBUFF: 8
[ 352.927158] RTL871X: MAX_RECVBUF_SZ: 32768
[ 352.932208] RTL871X: NR_PREALLOC_RECV_SKB: 8
[ 352.937674] RTL871X: rtw_alloc_macid((null)) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1
[ 352.947165] RTL871X: Init_ODM_ComInfo_8188f(): fab_ver=0 cut_ver=1
[ 352.954367] RTL871X: default power by rate loaded
[ 352.960439] RTL871X: pwrctrlpriv.bSupportRemoteWakeup~~~~~~
[ 352.966995] RTL871X: pwrctrlpriv.bSupportRemoteWakeup~~~[1]~~~
[ 352.973776] RTL871X: can't get autopm:
[ 352.978501] RTL871X: rtw_macaddr_cfg mac addr:00:e0:2a:2d:8c:2b
[ 352.985356] RTL871X: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[ 352.995621] RTL871X: rtw_wiphy_alloc((null))
[ 353.000796] RTL871X: rtw_wdev_alloc(padapter=ffffff800a381000)
[ 353.007573] RTL871X: rtw_wiphy_register((null))

[ 353.013076] ------------[ cut here ]------------
[ 353.018647] WARNING: CPU: 2 PID: 28 at backports-4.19.137-1/net/wireless/core.c:743 wiphy_register+0x244/0x8d8 [cfg80211]
[ 353.031459] Modules linked in: rtl8188fu pppoe ppp_async brcmfmac rtl8187 pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_ss
[ 353.113494] snd soundcore nls_utf8 eeprom_93cx6 vfat fat nls_iso8859_1 nls_cp437
[ 353.123295] CPU: 2 PID: 28 Comm: kworker/2:1 Not tainted 4.14.195 #0
[ 353.130870] Hardware name: Raspberry Pi 3 Model B Rev 1.2 (DT)
[ 353.137914] Workqueue: usb_hub_wq hub_event
[ 353.143261] task: ffffffc038cf3f00 task.stack: ffffff8008850000
[ 353.150423] pc : wiphy_register+0x244/0x8d8 [cfg80211]
[ 353.157157] lr : rtw_wiphy_register+0x34/0x50 [rtl8188fu]
[ 353.163770] sp : ffffff8008853610 pstate : 40400145
[ 353.169835] x29: ffffff8008853610 x28: ffffffc038162d00
[ 353.176313] x27: ffffffc038162da0 x26: ffffffc037dde898
[ 353.182738] x25: ffffff8000a50890 x24: ffffff800a38437f
[ 353.189139] x23: ffffff8000a64840 x22: ffffff800a38436f
[ 353.195494] x21: ffffffc037e55000 x20: ffffffc037e51f00
[ 353.201802] x19: ffffffc037e52300 x18: 0000000000000000
[ 353.208088] x17: ffffff800857e424 x16: ffffff800857e424
[ 353.214343] x15: ffffff800857e424 x14: ffffff800857e424
[ 353.220549] x13: ffffff800857e424 x12: ffffff800857e424
[ 353.226702] x11: ffffffc038fe04c0 x10: 0000000000000001
[ 353.232815] x9 : 0000000000000000 x8 : 0000000000000000
[ 353.238895] x7 : 0000000000000007 x6 : 000000000000014a
[ 353.244931] x5 : 0000000000000000 x4 : 0000000000000000
[ 353.250918] x3 : 0000000000000000 x2 : 0000000000000000
[ 353.256866] x1 : 0000000000000000 x0 : ffffffc037e52300
[ 353.262788] Call trace:
[ 353.265811] wiphy_register+0x244/0x8d8 [cfg80211]
[ 353.271544] rtw_wiphy_register+0x34/0x50 [rtl8188fu]
[ 353.277523] rtw_cfg80211_ndev_res_register+0x18/0x64 [rtl8188fu]
[ 353.284563] rtw_os_ndev_register+0x20/0xbc [rtl8188fu]
[ 353.290720] rtw_os_ndevs_register+0x8c/0x154 [rtl8188fu]
[ 353.297060] rtw_os_ndevs_init+0x24/0x4c [rtl8188fu]
[ 353.302964] rtw_drv_init+0x3e4/0x520 [rtl8188fu]
[ 353.308276] usb_probe_interface+0x1b8/0x268
[ 353.313155] driver_probe_device+0x158/0x2e8
[ 353.318030] __device_attach_driver+0xc0/0xe0
[ 353.323002] bus_for_each_drv+0x4c/0xa0
[ 353.327444] __device_attach+0x88/0x110
[ 353.331893] device_initial_probe+0x10/0x18
[ 353.336722] bus_probe_device+0x2c/0x98
[ 353.341195] device_add+0x3dc/0x620
[ 353.345314] usb_set_configuration+0x8a0/0x970
[ 353.350423] generic_probe+0x4c/0x98
[ 353.354667] usb_probe_device+0x28/0x48
[ 353.359194] driver_probe_device+0x158/0x2e8
[ 353.364172] __device_attach_driver+0xc0/0xe0
[ 353.369231] bus_for_each_drv+0x4c/0xa0
[ 353.373755] __device_attach+0x88/0x110
[ 353.378267] device_initial_probe+0x10/0x18
[ 353.383119] bus_probe_device+0x2c/0x98
[ 353.387607] device_add+0x3dc/0x620
[ 353.391735] usb_new_device+0x2b8/0x438
[ 353.396216] hub_event+0xa88/0xfd8
[ 353.400239] process_one_work+0x1d8/0x308
[ 353.404883] worker_thread+0x248/0x440
[ 353.409271] kthread+0x114/0x128
[ 353.413116] ret_from_fork+0x10/0x1c
[ 353.417304] ---[ end trace c479491f9a82f265 ]---
[ 353.422667] ------------[ cut here ]------------
[ 353.428014] WARNING: CPU: 2 PID: 28 at backports-4.19.137-1/net/wireless/core.c:821 wiphy_register+0x528/0x8d8 [cfg80211]
[ 353.440389] Modules linked in: rtl8188fu pppoe ppp_async brcmfmac rtl8187 pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_ss
[ 353.520967] snd soundcore nls_utf8 eeprom_93cx6 vfat fat nls_iso8859_1 nls_cp437
[ 353.530593] CPU: 2 PID: 28 Comm: kworker/2:1 Tainted: G W 4.14.195 #0
[ 353.540393] Hardware name: Raspberry Pi 3 Model B Rev 1.2 (DT)
[ 353.547428] Workqueue: usb_hub_wq hub_event
[ 353.552785] task: ffffffc038cf3f00 task.stack: ffffff8008850000
[ 353.559975] pc : wiphy_register+0x528/0x8d8 [cfg80211]
[ 353.566682] lr : rtw_wiphy_register+0x34/0x50 [rtl8188fu]
[ 353.573293] sp : ffffff8008853610 pstate : 60400145
[ 353.579346] x29: ffffff8008853610 x28: ffffffc038162d00
[ 353.585801] x27: ffffffc038162da0 x26: ffffffc037dde898
[ 353.592229] x25: ffffff8000a50890 x24: ffffff800a38437f
[ 353.598619] x23: ffffff8000a64840 x22: ffffff800a38436f
[ 353.604962] x21: ffffffc037e55000 x20: ffffffc037e51f00
[ 353.611270] x19: ffffffc037e52300 x18: 0000000000000000
[ 353.617534] x17: ffffff800857e424 x16: ffffff800857e424
[ 353.623779] x15: ffffff800857e424 x14: ffffff800857e424
[ 353.629970] x13: ffffff800857e424 x12: ffffff800857e424
[ 353.636105] x11: 00000000ffffffbd x10: 0000000000000036
[ 353.642218] x9 : ffffff800081a800 x8 : ffffffc037e52c18
[ 353.648304] x7 : 000000007fffffff x6 : 0000000000000003
[ 353.654363] x5 : 0000000000000000 x4 : 0000000000000000
[ 353.660392] x3 : 0000000000000000 x2 : 0000000000000000
[ 353.666375] x1 : 0000000000000000 x0 : ffffffc037e52300
[ 353.672334] Call trace:
[ 353.675399] wiphy_register+0x528/0x8d8 [cfg80211]
[ 353.681163] rtw_wiphy_register+0x34/0x50 [rtl8188fu]
[ 353.687176] rtw_cfg80211_ndev_res_register+0x18/0x64 [rtl8188fu]
[ 353.694259] rtw_os_ndev_register+0x20/0xbc [rtl8188fu]
[ 353.700451] rtw_os_ndevs_register+0x8c/0x154 [rtl8188fu]
[ 353.706833] rtw_os_ndevs_init+0x24/0x4c [rtl8188fu]
[ 353.712777] rtw_drv_init+0x3e4/0x520 [rtl8188fu]
[ 353.718119] usb_probe_interface+0x1b8/0x268
[ 353.723041] driver_probe_device+0x158/0x2e8
[ 353.727958] __device_attach_driver+0xc0/0xe0
[ 353.732966] bus_for_each_drv+0x4c/0xa0
[ 353.737447] __device_attach+0x88/0x110
[ 353.741940] device_initial_probe+0x10/0x18
[ 353.746810] bus_probe_device+0x2c/0x98
[ 353.751314] device_add+0x3dc/0x620
[ 353.755455] usb_set_configuration+0x8a0/0x970
[ 353.760574] generic_probe+0x4c/0x98
[ 353.764810] usb_probe_device+0x28/0x48
[ 353.769338] driver_probe_device+0x158/0x2e8
[ 353.774317] __device_attach_driver+0xc0/0xe0
[ 353.779380] bus_for_each_drv+0x4c/0xa0
[ 353.783896] __device_attach+0x88/0x110
[ 353.788407] device_initial_probe+0x10/0x18
[ 353.793262] bus_probe_device+0x2c/0x98
[ 353.797748] device_add+0x3dc/0x620
[ 353.801877] usb_new_device+0x2b8/0x438
[ 353.806355] hub_event+0xa88/0xfd8
[ 353.810383] process_one_work+0x1d8/0x308
[ 353.815020] worker_thread+0x248/0x440
[ 353.819401] kthread+0x114/0x128
[ 353.823244] ret_from_fork+0x10/0x1c
[ 353.827432] ---[ end trace c479491f9a82f266 ]---
[ 353.832736] RTL871X: rtw_cfg80211_ndev_res_register rtw_wiphy_register fail for if1
[ 353.841835] ------------[ cut here ]------------
[ 353.847545] WARNING: CPU: 2 PID: 28 at /home/midhun/Work/openwrt/package/kernel/rtl8188fu_second/rtl8188fu/os_dep/linux/os_intfs.c:1129 rtw_os_ndev_register+0x28/0xbc [rtl8188fu]
[ 353.865841] Modules linked in: rtl8188fu pppoe ppp_async brcmfmac rtl8187 pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_ss
[ 353.947467] snd soundcore nls_utf8 eeprom_93cx6 vfat fat nls_iso8859_1 nls_cp437
[ 353.957306] CPU: 2 PID: 28 Comm: kworker/2:1 Tainted: G W 4.14.195 #0
[ 353.967313] Hardware name: Raspberry Pi 3 Model B Rev 1.2 (DT)
[ 353.974424] Workqueue: usb_hub_wq hub_event
[ 353.979821] task: ffffffc038cf3f00 task.stack: ffffff8008850000
[ 353.987334] pc : rtw_os_ndev_register+0x28/0xbc [rtl8188fu]
[ 353.994485] lr : rtw_os_ndev_register+0x20/0xbc [rtl8188fu]
[ 354.001233] sp : ffffff80088536d0 pstate : 80400145
[ 354.007265] x29: ffffff80088536d0 x28: ffffffc038162d00
[ 354.013707] x27: ffffffc038162da0 x26: ffffffc037dde898
[ 354.020107] x25: ffffff8000a50890 x24: ffffff800a38437f
[ 354.026474] x23: ffffff8000a64840 x22: ffffff800a38436f
[ 354.032794] x21: ffffffc037e55000 x20: ffffff800a381000
[ 354.039076] x19: 0000000000000000 x18: 0000000000000000
[ 354.045328] x17: ffffff800857e424 x16: ffffff800857e424
[ 354.051547] x15: ffffff800857e424 x14: ffffff800857e424
[ 354.057722] x13: ffffff800857e424 x12: ffffff800857e424
[ 354.063843] x11: ffffffc038fe1d90 x10: 0000000000000001
[ 354.069930] x9 : 0000000000000000 x8 : 0000000000000000
[ 354.075983] x7 : 0000000000000007 x6 : 00000000000001c1
[ 354.081993] x5 : 0000000000000000 x4 : 0000000000000000
[ 354.087963] x3 : 0000000000000000 x2 : ffffffc03a3b3d80
[ 354.093901] x1 : 0000004031cc8000 x0 : 0000000000000000
[ 354.099815] Call trace:
[ 354.103138] rtw_os_ndev_register+0x28/0xbc [rtl8188fu]
[ 354.109296] rtw_os_ndevs_register+0x8c/0x154 [rtl8188fu]
[ 354.115621] rtw_os_ndevs_init+0x24/0x4c [rtl8188fu]
[ 354.121518] rtw_drv_init+0x3e4/0x520 [rtl8188fu]
[ 354.126805] usb_probe_interface+0x1b8/0x268
[ 354.131653] driver_probe_device+0x158/0x2e8
[ 354.136501] __device_attach_driver+0xc0/0xe0
[ 354.141442] bus_for_each_drv+0x4c/0xa0
[ 354.145869] __device_attach+0x88/0x110
[ 354.150297] device_initial_probe+0x10/0x18
[ 354.155083] bus_probe_device+0x2c/0x98
[ 354.159508] device_add+0x3dc/0x620
[ 354.163596] usb_set_configuration+0x8a0/0x970
[ 354.168674] generic_probe+0x4c/0x98
[ 354.172870] usb_probe_device+0x28/0x48
[ 354.177339] driver_probe_device+0x158/0x2e8
[ 354.182260] __device_attach_driver+0xc0/0xe0
[ 354.187291] bus_for_each_drv+0x4c/0xa0
[ 354.191800] __device_attach+0x88/0x110
[ 354.196306] device_initial_probe+0x10/0x18
[ 354.201154] bus_probe_device+0x2c/0x98
[ 354.205641] device_add+0x3dc/0x620
[ 354.209769] usb_new_device+0x2b8/0x438
[ 354.214249] hub_event+0xa88/0xfd8
[ 354.218277] process_one_work+0x1d8/0x308
[ 354.222919] worker_thread+0x248/0x440
[ 354.227302] kthread+0x114/0x128
[ 354.231141] ret_from_fork+0x10/0x1c
[ 354.235331] ---[ end trace c479491f9a82f267 ]---
[ 354.240690] ------------[ cut here ]------------
[ 354.246334] WARNING: CPU: 2 PID: 28 at /home/midhun/Work/openwrt/package/kernel/rtl8188fu_second/rtl8188fu/os_dep/linux/os_intfs.c:2497 rtw_os_ndevs_register+0x98/0x154 [rtl8188fu]
[ 354.264591] Modules linked in: rtl8188fu pppoe ppp_async brcmfmac rtl8187 pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_ss
[ 354.345526] snd soundcore nls_utf8 eeprom_93cx6 vfat fat nls_iso8859_1 nls_cp437
[ 354.355196] CPU: 2 PID: 28 Comm: kworker/2:1 Tainted: G W 4.14.195 #0
[ 354.365067] Hardware name: Raspberry Pi 3 Model B Rev 1.2 (DT)
[ 354.372139] Workqueue: usb_hub_wq hub_event
[ 354.377526] task: ffffffc038cf3f00 task.stack: ffffff8008850000
[ 354.385044] pc : rtw_os_ndevs_register+0x98/0x154 [rtl8188fu]
[ 354.392375] lr : rtw_os_ndevs_register+0x8c/0x154 [rtl8188fu]
[ 354.399314] sp : ffffff8008853700 pstate : 80400145
[ 354.405349] x29: ffffff8008853700 x28: ffffffc038162d00
[ 354.411792] x27: ffffffc038162da0 x26: 0000000000000000
[ 354.418192] x25: ffffff8000a50890 x24: ffffff800a38437f
[ 354.424567] x23: ffffff8000a64840 x22: ffffff800a383f8c
[ 354.430901] x21: 0000000000000001 x20: ffffffc037e53000
[ 354.437198] x19: 0000000000000000 x18: 0000000000000000
[ 354.443460] x17: ffffff800857e424 x16: ffffff800857e424
[ 354.449692] x15: ffffff800857e424 x14: ffffff800857e424
[ 354.455877] x13: ffffff800857e424 x12: ffffff800857e424
[ 354.462011] x11: ffffffc038fe1d90 x10: 0000000000000001
[ 354.468107] x9 : 0000000000000000 x8 : 0000000000000000
[ 354.474171] x7 : 0000000000000007 x6 : 00000000000001c1
[ 354.480191] x5 : 0000000000000000 x4 : 0000000000000000
[ 354.486169] x3 : 0000000000000000 x2 : ffffffc03a3b3d80
[ 354.492124] x1 : 0000004031cc8000 x0 : 0000000000000000
[ 354.498051] Call trace:
[ 354.501384] rtw_os_ndevs_register+0x98/0x154 [rtl8188fu]
[ 354.507735] rtw_os_ndevs_init+0x24/0x4c [rtl8188fu]
[ 354.513624] rtw_drv_init+0x3e4/0x520 [rtl8188fu]
[ 354.518930] usb_probe_interface+0x1b8/0x268
[ 354.523789] driver_probe_device+0x158/0x2e8
[ 354.528643] __device_attach_driver+0xc0/0xe0
[ 354.533582] bus_for_each_drv+0x4c/0xa0
[ 354.537996] __device_attach+0x88/0x110
[ 354.542418] device_initial_probe+0x10/0x18
[ 354.547198] bus_probe_device+0x2c/0x98
[ 354.551622] device_add+0x3dc/0x620
[ 354.555687] usb_set_configuration+0x8a0/0x970
[ 354.560752] generic_probe+0x4c/0x98
[ 354.564947] usb_probe_device+0x28/0x48
[ 354.569405] driver_probe_device+0x158/0x2e8
[ 354.574315] __device_attach_driver+0xc0/0xe0
[ 354.579328] bus_for_each_drv+0x4c/0xa0
[ 354.583822] __device_attach+0x88/0x110
[ 354.588324] device_initial_probe+0x10/0x18
[ 354.593183] bus_probe_device+0x2c/0x98
[ 354.597679] device_add+0x3dc/0x620
[ 354.601803] usb_new_device+0x2b8/0x438
[ 354.606284] hub_event+0xa88/0xfd8
[ 354.610313] process_one_work+0x1d8/0x308
[ 354.614956] worker_thread+0x248/0x440
[ 354.619338] kthread+0x114/0x128
[ 354.623183] ret_from_fork+0x10/0x1c
[ 354.627373] ---[ end trace c479491f9a82f268 ]---
[ 354.632679] RTL871X: rtw_wdev_unregister(wdev=ffffffc038271c00)
[ 354.639342] ------------[ cut here ]------------
[ 354.644643] WARNING: CPU: 2 PID: 28 at net/core/dev.c:7227 rollback_registered_many+0x88/0x438
[ 354.654670] Modules linked in: rtl8188fu pppoe ppp_async brcmfmac rtl8187 pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_ss
[ 354.735532] snd soundcore nls_utf8 eeprom_93cx6 vfat fat nls_iso8859_1 nls_cp437
[ 354.745212] CPU: 2 PID: 28 Comm: kworker/2:1 Tainted: G W 4.14.195 #0
[ 354.755048] Hardware name: Raspberry Pi 3 Model B Rev 1.2 (DT)
[ 354.762114] Workqueue: usb_hub_wq hub_event
[ 354.767485] task: ffffffc038cf3f00 task.stack: ffffff8008850000
[ 354.774645] pc : rollback_registered_many+0x88/0x438
[ 354.780829] lr : rollback_registered_many+0x38/0x438
[ 354.786959] sp : ffffff8008853620 pstate : 20400145
[ 354.792980] x29: ffffff8008853620 x28: ffffffc038162d00
[ 354.799417] x27: ffffffc038162da0 x26: 0000000000000000
[ 354.805816] x25: ffffff8000a50890 x24: ffffff800a38437f
[ 354.812181] x23: ffffff8000a64840 x22: ffffff80088536b0
[ 354.818499] x21: ffffffc037e55070 x20: ffffffc037e55000
[ 354.824788] x19: ffffff8008853680 x18: 0000000000000000
[ 354.831047] x17: ffffff800857e424 x16: ffffff800857e424
[ 354.837266] x15: ffffff800857e424 x14: ffffff800857e424
[ 354.843441] x13: ffffff800857e424 x12: ffffff800857e424
[ 354.849565] x11: ffffffc038fe1790 x10: 0000000000000001
[ 354.855656] x9 : 0000000000000000 x8 : 0000000000000000
[ 354.861707] x7 : 0000000000000007 x6 : 0000000000000231
[ 354.867712] x5 : dead000000000100 x4 : dead000000000200
[ 354.873693] x3 : 0000000000000000 x2 : 0000000000000000
[ 354.879640] x1 : ffffff8008853640 x0 : 0000000000000001
[ 354.885556] Call trace:
[ 354.888539] rollback_registered_many+0x88/0x438
[ 354.893733] unregister_netdevice_queue+0x74/0xc8
[ 354.899006] unregister_netdev+0x20/0x30
[ 354.903843] rtw_os_ndev_unregister+0x44/0x64 [rtl8188fu]
[ 354.910187] rtw_os_ndevs_register+0xfc/0x154 [rtl8188fu]
[ 354.916524] rtw_os_ndevs_init+0x24/0x4c [rtl8188fu]
[ 354.922422] rtw_drv_init+0x3e4/0x520 [rtl8188fu]
[ 354.927717] usb_probe_interface+0x1b8/0x268
[ 354.932579] driver_probe_device+0x158/0x2e8
[ 354.937440] __device_attach_driver+0xc0/0xe0
[ 354.942393] bus_for_each_drv+0x4c/0xa0
[ 354.946817] __device_attach+0x88/0x110
[ 354.951252] device_initial_probe+0x10/0x18
[ 354.956064] bus_probe_device+0x2c/0x98
[ 354.960520] device_add+0x3dc/0x620
[ 354.964624] usb_set_configuration+0x8a0/0x970
[ 354.969718] generic_probe+0x4c/0x98
[ 354.973937] usb_probe_device+0x28/0x48
[ 354.978428] driver_probe_device+0x158/0x2e8
[ 354.983365] __device_attach_driver+0xc0/0xe0
[ 354.988390] bus_for_each_drv+0x4c/0xa0
[ 354.992881] __device_attach+0x88/0x110
[ 354.997361] device_initial_probe+0x10/0x18
[ 355.002198] bus_probe_device+0x2c/0x98
[ 355.006678] device_add+0x3dc/0x620
[ 355.010805] usb_new_device+0x2b8/0x438
[ 355.015286] hub_event+0xa88/0xfd8
[ 355.019316] process_one_work+0x1d8/0x308
[ 355.023959] worker_thread+0x248/0x440
[ 355.028343] kthread+0x114/0x128
[ 355.032181] ret_from_fork+0x10/0x1c
[ 355.036372] ---[ end trace c479491f9a82f269 ]---
[ 355.041960] network todo 'eth%d' but state 0
[ 355.046896] CPU: 2 PID: 28 Comm: kworker/2:1 Tainted: G W 4.14.195 #0
[ 355.055787] Hardware name: Raspberry Pi 3 Model B Rev 1.2 (DT)
[ 355.062368] Workqueue: usb_hub_wq hub_event
[ 355.067260] Call trace:
[ 355.070383] dump_backtrace+0x0/0x130
[ 355.074749] show_stack+0x14/0x20
[ 355.078752] dump_stack+0xa8/0xcc
[ 355.082735] netdev_run_todo+0xd0/0x2a8
[ 355.087253] rtnl_unlock+0xc/0x18
[ 355.091238] unregister_netdev+0x24/0x30
[ 355.096196] rtw_os_ndev_unregister+0x44/0x64 [rtl8188fu]
[ 355.102667] rtw_os_ndevs_register+0xfc/0x154 [rtl8188fu]
[ 355.109134] rtw_os_ndevs_init+0x24/0x4c [rtl8188fu]
[ 355.115157] rtw_drv_init+0x3e4/0x520 [rtl8188fu]
[ 355.120582] usb_probe_interface+0x1b8/0x268
[ 355.125568] driver_probe_device+0x158/0x2e8
[ 355.130550] __device_attach_driver+0xc0/0xe0
[ 355.135623] bus_for_each_drv+0x4c/0xa0
[ 355.140166] __device_attach+0x88/0x110
[ 355.144699] device_initial_probe+0x10/0x18
[ 355.149569] bus_probe_device+0x2c/0x98
[ 355.154065] device_add+0x3dc/0x620
[ 355.158185] usb_set_configuration+0x8a0/0x970
[ 355.163269] generic_probe+0x4c/0x98
[ 355.167462] usb_probe_device+0x28/0x48
[ 355.171924] driver_probe_device+0x158/0x2e8
[ 355.176837] __device_attach_driver+0xc0/0xe0
[ 355.181852] bus_for_each_drv+0x4c/0xa0
[ 355.186340] __device_attach+0x88/0x110
[ 355.190825] device_initial_probe+0x10/0x18
[ 355.195669] bus_probe_device+0x2c/0x98
[ 355.200142] device_add+0x3dc/0x620
[ 355.204270] usb_new_device+0x2b8/0x438
[ 355.208750] hub_event+0xa88/0xfd8
[ 355.212777] process_one_work+0x1d8/0x308
[ 355.217413] worker_thread+0x248/0x440
[ 355.221795] kthread+0x114/0x128
[ 355.225639] ret_from_fork+0x10/0x1c
[ 355.229873] RTL871X: rtw_wiphy_unregister((null))
[ 355.235277] Unable to handle kernel write to read-only memory at virtual address 00000008
[ 355.244839] Mem abort info:
[ 355.248305] Exception class = DABT (current EL), IL = 32 bits
[ 355.254992] SET = 0, FnV = 0
[ 355.258740] EA = 0, S1PTW = 0
[ 355.262587] Data abort info:
[ 355.266138] ISV = 0, ISS = 0x00000045
[ 355.270674] CM = 0, WnR = 1
[ 355.274322] user pgtable: 4k pages, 39-bit VAs, pgd = ffffffc037881000
[ 355.281636] [0000000000000008] *pgd=0000000037fcd003, *pud=0000000037fcd003, *pmd=0000000000000000
[ 355.292155] Internal error: Oops: 96000045 [#1] SMP
[ 355.297835] Modules linked in: rtl8188fu pppoe ppp_async brcmfmac rtl8187 pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_ss
[ 355.379249] snd soundcore nls_utf8 eeprom_93cx6 vfat fat nls_iso8859_1 nls_cp437
[ 355.388881] Process kworker/2:1 (pid: 28, stack limit = 0xffffff8008850000)
[ 355.397043] CPU: 2 PID: 28 Comm: kworker/2:1 Tainted: G W 4.14.195 #0
[ 355.406935] Hardware name: Raspberry Pi 3 Model B Rev 1.2 (DT)
[ 355.414026] Workqueue: usb_hub_wq hub_event
[ 355.419406] task: ffffffc038cf3f00 task.stack: ffffff8008850000
[ 355.426614] pc : wiphy_unregister+0xc8/0x200 [cfg80211]
[ 355.433083] lr : wiphy_unregister+0xb8/0x200 [cfg80211]
[ 355.439482] sp : ffffff8008853650 pstate : 60400145
[ 355.445505] x29: ffffff8008853650 x28: ffffffc038162d00
[ 355.451931] x27: ffffffc038162da0 x26: 0000000000000000
[ 355.458337] x25: ffffff8000a50890 x24: ffffff800a38437f
[ 355.464706] x23: ffffff8000a64840 x22: 0000000000000000
[ 355.471032] x21: ffffffc037e52000 x20: ffffffc037e51f00
[ 355.477332] x19: ffffffc037e52300 x18: 0000000000000000
[ 355.483599] x17: ffffff800857e424 x16: ffffff800857e424
[ 355.489830] x15: ffffff800857e424 x14: ffffff800857e424
[ 355.496009] x13: ffffff800857e424 x12: 0000000000000020
[ 355.502146] x11: 0101010101010101 x10: ffffffff7fff7f7f
[ 355.508262] x9 : 0000000000000000 x8 : 0000000000000000
[ 355.514350] x7 : 0000000000002cad x6 : 0000004031cc8000
[ 355.520395] x5 : ffffff80088534e8 x4 : ffffff800872b7e8
[ 355.526428] x3 : dead000000000200 x2 : 0000000000000000
[ 355.532440] x1 : 0000000000000000 x0 : ffffffc037e52100
[ 355.538428] Call trace:
[ 355.541517] wiphy_unregister+0xc8/0x200 [cfg80211]
[ 355.547421] rtw_wiphy_unregister+0x34/0x50 [rtl8188fu]
[ 355.553652] rtw_os_ndev_unregister+0x4c/0x64 [rtl8188fu]
[ 355.560074] rtw_os_ndevs_register+0xfc/0x154 [rtl8188fu]
[ 355.566481] rtw_os_ndevs_init+0x24/0x4c [rtl8188fu]
[ 355.572448] rtw_drv_init+0x3e4/0x520 [rtl8188fu]
[ 355.577815] usb_probe_interface+0x1b8/0x268
[ 355.582745] driver_probe_device+0x158/0x2e8
[ 355.587671] __device_attach_driver+0xc0/0xe0
[ 355.592691] bus_for_each_drv+0x4c/0xa0
[ 355.597184] __device_attach+0x88/0x110
[ 355.601667] device_initial_probe+0x10/0x18
[ 355.606526] bus_probe_device+0x2c/0x98
[ 355.611039] device_add+0x3dc/0x620
[ 355.615190] usb_set_configuration+0x8a0/0x970
[ 355.620312] generic_probe+0x4c/0x98
[ 355.624563] usb_probe_device+0x28/0x48
[ 355.629074] driver_probe_device+0x158/0x2e8
[ 355.634018] __device_attach_driver+0xc0/0xe0
[ 355.639062] bus_for_each_drv+0x4c/0xa0
[ 355.643567] __device_attach+0x88/0x110
[ 355.648060] device_initial_probe+0x10/0x18
[ 355.652895] bus_probe_device+0x2c/0x98
[ 355.657372] device_add+0x3dc/0x620
[ 355.661498] usb_new_device+0x2b8/0x438
[ 355.665975] hub_event+0xa88/0xfd8
[ 355.670001] process_one_work+0x1d8/0x308
[ 355.674644] worker_thread+0x248/0x440
[ 355.679027] kthread+0x114/0x128
[ 355.682866] ret_from_fork+0x10/0x1c
[ 355.687060] Code: d1080260 d2804003 f2fbd5a3 a9708402 (f9000441)
[ 355.693849] ---[ end trace c479491f9a82f26a ]---
[ 355.700628] Kernel panic - not syncing: Fatal exception
[ 355.706556] SMP: stopping secondary CPUs
[ 355.711164] Kernel Offset: disabled
[ 355.715320] CPU features: 0x0002000
[ 355.719460] Memory Limit: none
[ 355.724194] Rebooting in 3 seconds..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant