Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

Compiling error on Raspbian kernel version 4.14.98 (Raspberry 3 Model B+) #30

Open
AngelsWillRule opened this issue May 12, 2019 · 19 comments

Comments

@AngelsWillRule
Copy link

Well, compiling this module was giving me an error till i added in the Makefile an extra flag ( EXTRA_CFLAGS += -Wno-error=date-time ). Compiling now is ok.

@marki2239
Copy link

hi im having problems compiling under 4.14.98 I'm getting the following error

Pls help!

pi@raspberrypi:~/rtl8821CU $ sudo make
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.14.98-v7+/build M=/home/pi/rtl8821CU modules
make[1]: Entering directory '/lib/modules/4.14.98-v7+/build'
make[1]: *** No rule to make target 'modules'. Stop.
make[1]: Leaving directory '/lib/modules/4.14.98-v7+/build'
Makefile:1923: recipe for target 'modules' failed
make: *** [modules] Error 2

@AngelsWillRule
Copy link
Author

hi im having problems compiling under 4.14.98 I'm getting the following error

Pls help!

pi@raspberrypi:~/rtl8821CU $ sudo make
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.14.98-v7+/build M=/home/pi/rtl8821CU modules
make[1]: Entering directory '/lib/modules/4.14.98-v7+/build'
make[1]: *** No rule to make target 'modules'. Stop.
make[1]: Leaving directory '/lib/modules/4.14.98-v7+/build'
Makefile:1923: recipe for target 'modules' failed
make: *** [modules] Error 2

Hello Marki. All i did is this.

sudo apt update
sudo apt install build-essential git dkms
git clone https://github.com/whitebatman2/rtl8821CU.git
DRV_NAME=rtl8821CU
DRV_VERSION=5.2.5.3
sudo mkdir /usr/src/${DRV_NAME}-${DRV_VERSION}
cd $DRV_NAME

Now that you are in the driver directory, edit the MakeFile and add this CFLAG to the others present at the top of the MakeFile:

EXTRA_CFLAGS += -Wno-error=date-time

And change these MakeFile entries to ( look for them cause they are already present in the MakeFile):

CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ARM_RPI = n
CONFIG_PLATFORM_ARM_RPI3 = y

and then:

git archive master | sudo tar -x -C /usr/src/${DRV_NAME}-${DRV_VERSION}
sudo dkms add -m ${DRV_NAME} -v ${DRV_VERSION}
sudo dkms build -m ${DRV_NAME} -v ${DRV_VERSION}
sudo dkms install -m ${DRV_NAME} -v ${DRV_VERSION}

I hope it helps!

@PepperNickel
Copy link

Thank you for the wealth of info. I'm a beginner and stuck on trying to get this drive up and going on my pi 3 b+. I've made it this far but I'm stuck on trying to edit the MakeFile. I've found the MakeFile in the rtl8821CU folder but I don't know the best way to edit it. To repay for the help I'll write up an Install to Raspberry Pi 3 for Beginners somewhere on here so to limit further questions for a while.

@AngelsWillRule
Copy link
Author

AngelsWillRule commented Jun 6, 2019

Thank you for the wealth of info. I'm a beginner and stuck on trying to get this drive up and going on my pi 3 b+. I've made it this far but I'm stuck on trying to edit the MakeFile. I've found the MakeFile in the rtl8821CU folder but I don't know the best way to edit it. To repay for the help I'll write up an Install to Raspberry Pi 3 for Beginners somewhere on here so to limit further questions for a while.

Hello PepperNickel.
The best and easiest way to edit a file using the terminal is nano. If it's not installed by default, digit:

sudo apt-get install -y nano

Once you are in the driver directory, digit

sudo nano MakeFile

To move through the file, use the arrows. To save the file, use CTRL+O and confirm pressing ENTER. To exit the edit of the file, use CTRL+X.

Have a nice day.

@marki2239
Copy link

marki2239 commented Jun 6, 2019 via email

@PepperNickel
Copy link

So far I've edited MakeFile and ran everything. The Errors shown
Your kernel headers for kernel 4.19.42-v7+ cannot be found at /lib/modules/4.19.42-v7+/build or /lib/modules/4.19.42-v7+/source. .

I've never done anything with Linux in my life. I think I'll just watch some basic instruction videos and come back and give it a go later. After I learn a few more basic operations.

Thank you

@AngelsWillRule
Copy link
Author

AngelsWillRule commented Jun 7, 2019

So far I've edited MakeFile and ran everything. The Errors shown
Your kernel headers for kernel 4.19.42-v7+ cannot be found at /lib/modules/4.19.42-v7+/build or /lib/modules/4.19.42-v7+/source. .

I've never done anything with Linux in my life. I think I'll just watch some basic instruction videos and come back and give it a go later. After I learn a few more basic operations.

Thank you

Try with

sudo apt-get install raspberrypi-kernel-headers

And before compiling again, try with

sudo make clean

Cheers

@PepperNickel
Copy link

I've been trying for a quite some time. Maybe someone can see what I'm doing wrong. So here's my path.

sudo apt update
sudo apt install build-essential git dkms
git clone https://github.com/whitebatman2/rtl8821CU.git

sudo nano MakeFile
Add:
EXTRA_CFLAGS += -Wno-error=date-time
Edit:
CONFIG_PLATFORM_I386_PC = n CONFIG_PLATFORM_ARM_RPI = n CONFIG_PLATFORM_ARM_RPI3 = y
3. Closed and reopened command promt
sudo apt-get install raspberrypi-kernel-headers

And before compiling again.
sudo make clean

DRV_NAME=rtl8821CU
DRV_VERSION=5.2.5.3
sudo mkdir /usr/src/${DRV_NAME}-${DRV_VERSION}
cd $DRV_NAME

then

git archive master | sudo tar -x -C /usr/src/${DRV_NAME}-${DRV_VERSION}
sudo dkms add -m ${DRV_NAME} -v ${DRV_VERSION}
sudo dkms build -m ${DRV_NAME} -v ${DRV_VERSION}
sudo dkms install -m ${DRV_NAME} -v ${DRV_VERSION}

Still getting the "Your kernel headers for kernel blablabla cannot be found". I know I can find another use for this wifi dongle if this doesn't work out. Thank you for all the help so far!

@marki2239
Copy link

marki2239 commented Aug 13, 2019 via email

@AngelsWillRule
Copy link
Author

AngelsWillRule commented Aug 13, 2019

Try to use the command

sudo apt-get install --reinstall raspberrypi-bootloader git dkms build-essential raspberrypi-kernel raspberrypi-kernel-headers

and then repeat the procedure.

Otherwise, i found another working driver for this chipset.
Anyway, give the command provided before proceding cause you have to solve first that problem.

The alternative driver is found at the page https://github.com/brektrou/rtl8821CU .
Follow the instructions on the page that i will write here for you:

mkdir -p ~/build
cd ~/build
git clone https://github.com/brektrou/rtl8821CU.git

and the command missing in the tutorial:

cd rtl8821CU

Before compiling give this commands:

sudo cp /lib/modules/$(uname -r)/build/arch/arm/Makefile /lib/modules/$(uname -r)/build/arch/arm/Makefile.$(date +%Y%m%d%H%M)

sudo sed -i 's/-msoft-float//' /lib/modules/$(uname -r)/build/arch/arm/Makefile

sudo ln -s /lib/modules/$(uname -r)/build/arch/arm /lib/modules/$(uname -r)/build/arch/armv7l

and then

./dkms-install.sh

The compiling takes about 10 minutes on the Raspberry. After that, try to plug your usb wifi dongle. If it does not work, reboot the Raspberry.

Hope it helps.

@PepperNickel
Copy link

I believe I've been editing the wrong MakeFile... I see an rtl8821CU folder under /home/pi and another rtl8821CU in /usr/src/rtl8821CU-5.2.5.3 I can edit the MakeFile /home/pi but not the one down in src.

So my problem is my limited knowledge as to open and edit the protected MakeFile. I did see that my edits to the /home/pi MakeFile did save. So some progress.

Also should I uninstall this driver before trying the other one?

I gave the new driver a try. Got as far as...
sudo cp /lib/modules/$(uname -r)/build/arch/arm/Makefile /lib/modules/$(uname -r)/build/arch/arm/Makefile.$(date +%Y%m%d%H%M)
And received
cp: cannot stat '/lib/modules/4.19.57-v7+/build/arch/arm/Makefile': No such file or directory

I may be too much of a noob for this but I'm not ready to give up. I have also gone as far as reinstalling rasbian. Thinking I may have made files I can't undo.
Thank you!

@AngelsWillRule
Copy link
Author

AngelsWillRule commented Aug 13, 2019

yes, enter the driver directory and uninstall the previous driver using the make clean command.
Be sure to have installed all the packets needed for the compilation with the command i gave you with

sudo apt-get install --reinstall raspberrypi-bootloader git dkms build-essential raspberrypi-kernel raspberrypi-kernel-headers

I'm really optimistic that with the commands i gave you to install the new driver you will your wifi dongle work.

Bye.

@AngelsWillRule
Copy link
Author

Anyway, i'm using 4.14.98-v7+ kernel version. So, maybe this is the problem.

@AngelsWillRule
Copy link
Author

AngelsWillRule commented Aug 18, 2019

Hello PepperNickel. I'm now on kernel 4.19.58-v7 and the compiling works flawlessly.
I suggest to completely reinstall your Raspbian using the latest version from the following link:
https://www.raspberrypi.org/downloads/raspbian/

Once installed, give the following commands:
sudo su

apt-get update

apt-get install git dkms build-essential raspberrypi-kernel-headers bc

mkdir -p ~/build

cd ~/build

git clone https://github.com/brektrou/rtl8821CU.git

cd rtl8821CU

cp /lib/modules/$(uname -r)/build/arch/arm/Makefile /lib/modules/$(uname -r)/build/arch/arm/Makefile.$(date +%Y%m%d%H%M)

sed -i 's/-msoft-float//' /lib/modules/$(uname -r)/build/arch/arm/Makefile

ln -s /lib/modules/$(uname -r)/build/arch/arm /lib/modules/$(uname -r)/build/arch/armv7l

./dkms-install.sh

You can't be wrong! I have just tested everything.

Cheers.

@marki2239
Copy link

marki2239 commented Aug 19, 2019 via email

@QiuYukang
Copy link

QiuYukang commented Jun 29, 2020

Hello PepperNickel. I'm now on kernel 4.19.58-v7 and the compiling works flawlessly.
I suggest to completely reinstall your Raspbian using the latest version from the following link:
https://www.raspberrypi.org/downloads/raspbian/

Once installed, give the following commands:
sudo su

apt-get update

apt-get install git dkms build-essential raspberrypi-kernel-headers bc

mkdir -p ~/build

cd ~/build

git clone https://github.com/brektrou/rtl8821CU.git

cd rtl8821CU

cp /lib/modules/$(uname -r)/build/arch/arm/Makefile /lib/modules/$(uname -r)/build/arch/arm/Makefile.$(date +%Y%m%d%H%M)

sed -i 's/-msoft-float//' /lib/modules/$(uname -r)/build/arch/arm/Makefile

ln -s /lib/modules/$(uname -r)/build/arch/arm /lib/modules/$(uname -r)/build/arch/armv7l

./dkms-install.sh

You can't be wrong! I have just tested everything.

Cheers.

It also works on Raspberry 4 Model B, thank you very much!

@jwest75674
Copy link

Wanted to add to this old thread. It took a few days, but I got these cheapo adapters working and wanted to share what I had learned for anyone else that might need it.

Raspberry Pi 4b

the adapter up, though it was labelled as a different chipset, confirmed directly to be rtl8811CU
--> It's also mislabelled from the manufacturer as a different chipset. Thanks China.

I followed @AngelsWillRule 's solution above, but it still fails at the ./dkms-install.sh with
gcc: error: unrecognized command line option ‘-mgeneral-regs-only’

I recognized this error from the airmon-ng/rtl8812AU git, where they added the ARCH=arm to dkms.conf and dkms-install.sh's commands, but this didn't seem to help.

I have a few of these adapters, and wouldn't you know, more trouble as a result.
These adapters seem to have a couple of different IDs, I've seen:
0bda:5411
0bda:0411
0bda:c811

As there are a few different IDs as above, I added all to os_dep/linux/usb_intf.c, but duplicating a line under the RTL8821CU header, and changing out the id on the new duplicate lines (being careful to match the 0xc811 format)

I was still having troubles and found myself working through the solution seen above by @PepperNickel :
#30 (comment)

Long story short, these two solutions have what is needed to get this fixed. +1 from me, testing further now!

@jwest75674
Copy link

jwest75674 commented Jul 8, 2020

Edit: The issue here was not enough power via the USB bus. Externally powered USB Hub solved this.

========================

Spoke too soon. When connecting these up (I have a dozen of them), I am getting some issues....

Special attention to:

[  179.628651] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[  179.631475] pgd = 703ce5a4
[  179.634214] [00000000] *pgd=80000000004003, *pmd=00000000
[  179.312527] usb 1-1.2.4: new high-speed USB device number 71 using xhci_hcd
[  179.323209] ------------[ cut here ]------------
[  179.325013] WARNING: CPU: 0 PID: 78 at /home/pi/rtl/rtl8821CU/os_dep/linux/os_intfs.c:3105 rtw_os_ndevs_register+0xfc/0x144 [8821cu]
[  179.327670] Modules linked in: cmac bnep hci_uart btbcm serdev bluetooth ecdh_generic 8021q garp stp appletalk psnap llc ax25 pl2303 usbserial bcm2835_codec(C) v4l2_mem2mem videobuf2_dma_contig bcm2835_v4l2(C) bcm2835_mmal_vchiq(C) v4l2_common videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media vc_sm_cma(C) rpivid_mem 8821cu(O) vc4 brcmfmac drm_kms_helper v3d gpu_sched snd_soc_core snd_bcm2835(C) brcmutil snd_compress drm snd_pcm_dmaengine snd_pcm drm_panel_orientation_quirks raspberrypi_hwmon hwmon snd_timer snd syscopyarea sysfillrect sysimgblt cfg80211 fb_sys_fops rfkill uio_pdrv_genirq uio ip_tables x_tables ipv6
[  179.340789] CPU: 0 PID: 78 Comm: kworker/0:2 Tainted: G      D WC O      4.19.118-v7l+ #1311
[  179.343131] Hardware name: BCM2835
[  179.345410] Workqueue: usb_hub_wq hub_event
[  179.347693] [<c0212e0c>] (unwind_backtrace) from [<c020d5e8>] (show_stack+0x20/0x24)
[  179.350081] [<c020d5e8>] (show_stack) from [<c09c2568>] (dump_stack+0xe0/0x124)
[  179.352508] [<c09c2568>] (dump_stack) from [<c0222540>] (__warn+0x104/0x11c)
[  179.354954] [<c0222540>] (__warn) from [<c0222690>] (warn_slowpath_null+0x50/0x58)
[  179.357894] [<c0222690>] (warn_slowpath_null) from [<bf955594>] (rtw_os_ndevs_register+0xfc/0x144 [8821cu])
[  179.363841] [<bf955594>] (rtw_os_ndevs_register [8821cu]) from [<bf955650>] (rtw_os_ndevs_init+0x34/0x4c [8821cu])
[  179.370219] [<bf955650>] (rtw_os_ndevs_init [8821cu]) from [<bf9575f0>] (rtw_drv_init+0x4a4/0x674 [8821cu])
[  179.376277] [<bf9575f0>] (rtw_drv_init [8821cu]) from [<c07a2650>] (usb_probe_interface+0x110/0x294)
[  179.382071] [<c07a2650>] (usb_probe_interface) from [<c07184e4>] (really_probe+0x228/0x2d8)
[  179.385138] [<c07184e4>] (really_probe) from [<c0718768>] (driver_probe_device+0x70/0x1ac)
[  179.388229] [<c0718768>] (driver_probe_device) from [<c0718a78>] (__device_attach_driver+0x98/0xa8)
[  179.394378] [<c0718a78>] (__device_attach_driver) from [<c0716328>] (bus_for_each_drv+0x88/0xcc)
[  179.397577] [<c0716328>] (bus_for_each_drv) from [<c0718238>] (__device_attach+0xe0/0x144)
[  179.400753] [<c0718238>] (__device_attach) from [<c0718aa4>] (device_initial_probe+0x1c/0x20)
[  179.403907] [<c0718aa4>] (device_initial_probe) from [<c07174fc>] (bus_probe_device+0x94/0x9c)
[  179.407037] [<c07174fc>] (bus_probe_device) from [<c0714f88>] (device_add+0x468/0x600)
[  179.410131] [<c0714f88>] (device_add) from [<c07a0220>] (usb_set_configuration+0x51c/0xa5c)
[  179.413203] [<c07a0220>] (usb_set_configuration) from [<c07abc9c>] (generic_probe+0x3c/0x88)
[  179.416250] [<c07abc9c>] (generic_probe) from [<c07a2528>] (usb_probe_device+0x34/0x4c)
[  179.419260] [<c07a2528>] (usb_probe_device) from [<c07184e4>] (really_probe+0x228/0x2d8)
[  179.422234] [<c07184e4>] (really_probe) from [<c0718768>] (driver_probe_device+0x70/0x1ac)
[  179.425184] [<c0718768>] (driver_probe_device) from [<c0718a78>] (__device_attach_driver+0x98/0xa8)
[  179.430958] [<c0718a78>] (__device_attach_driver) from [<c0716328>] (bus_for_each_drv+0x88/0xcc)
[  179.434005] [<c0716328>] (bus_for_each_drv) from [<c0718238>] (__device_attach+0xe0/0x144)
[  179.437045] [<c0718238>] (__device_attach) from [<c0718aa4>] (device_initial_probe+0x1c/0x20)
[  179.440095] [<c0718aa4>] (device_initial_probe) from [<c07174fc>] (bus_probe_device+0x94/0x9c)
[  179.443182] [<c07174fc>] (bus_probe_device) from [<c0714f88>] (device_add+0x468/0x600)
[  179.446276] [<c0714f88>] (device_add) from [<c07964d4>] (usb_new_device+0x27c/0x450)
[  179.449359] [<c07964d4>] (usb_new_device) from [<c0797fe8>] (hub_event+0xdc0/0x11d8)
[  179.452407] [<c0797fe8>] (hub_event) from [<c023e080>] (process_one_work+0x170/0x458)
[  179.455424] [<c023e080>] (process_one_work) from [<c023e3c4>] (worker_thread+0x5c/0x5a4)
[  179.458407] [<c023e3c4>] (worker_thread) from [<c02446f8>] (kthread+0x138/0x168)
[  179.461346] [<c02446f8>] (kthread) from [<c02010ac>] (ret_from_fork+0x14/0x28)
[  179.464235] Exception stack(0xef2d7fb0 to 0xef2d7ff8)
[  179.467058] 7fa0:                                     00000000 00000000 00000000 00000000
[  179.469907] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  179.472693] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[  179.476159] ---[ end trace 9c150faee6d5db55 ]---
[  179.480771] RTW: WARN free_recv_skb_queue not empty, 8
[  179.512946] ------------[ cut here ]------------
[  179.515686] WARNING: CPU: 2 PID: 1243 at net/wireless/sme.c:756 __cfg80211_connect_result+0x3c0/0x410 [cfg80211]
[  179.520843] Modules linked in: cmac bnep hci_uart btbcm serdev bluetooth ecdh_generic 8021q garp stp appletalk psnap llc ax25 pl2303 usbserial bcm2835_codec(C) v4l2_mem2mem videobuf2_dma_contig bcm2835_v4l2(C) bcm2835_mmal_vchiq(C) v4l2_common videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media vc_sm_cma(C) rpivid_mem 8821cu(O) vc4 brcmfmac drm_kms_helper v3d gpu_sched snd_soc_core snd_bcm2835(C) brcmutil snd_compress drm snd_pcm_dmaengine snd_pcm drm_panel_orientation_quirks raspberrypi_hwmon hwmon snd_timer snd syscopyarea sysfillrect sysimgblt cfg80211 fb_sys_fops rfkill uio_pdrv_genirq uio ip_tables x_tables ipv6
[  179.540239] CPU: 2 PID: 1243 Comm: kworker/u8:3 Tainted: G      D WC O      4.19.118-v7l+ #1311
[  179.543118] Hardware name: BCM2835
[  179.546015] Workqueue: cfg80211 cfg80211_event_work [cfg80211]
[  179.548785] [<c0212e0c>] (unwind_backtrace) from [<c020d5e8>] (show_stack+0x20/0x24)
[  179.551565] [<c020d5e8>] (show_stack) from [<c09c2568>] (dump_stack+0xe0/0x124)
[  179.554337] [<c09c2568>] (dump_stack) from [<c0222540>] (__warn+0x104/0x11c)
[  179.557061] [<c0222540>] (__warn) from [<c0222690>] (warn_slowpath_null+0x50/0x58)
[  179.559907] [<c0222690>] (warn_slowpath_null) from [<bf140c0c>] (__cfg80211_connect_result+0x3c0/0x410 [cfg80211])
[  179.565549] [<bf140c0c>] (__cfg80211_connect_result [cfg80211]) from [<bf110474>] (cfg80211_process_wdev_events+0x104/0x160 [cfg80211])
[  179.571338] [<bf110474>] (cfg80211_process_wdev_events [cfg80211]) from [<bf110510>] (cfg80211_process_rdev_events+0x40/0x98 [cfg80211])
[  179.573461] usb 1-1.2.4: New USB device found, idVendor=0bda, idProduct=c811, bcdDevice= 2.00
[  179.577259] [<bf110510>] (cfg80211_process_rdev_events [cfg80211]) from [<bf10a2d4>] (cfg80211_event_work+0x24/0x2c [cfg80211])
[  179.579960] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  179.585917] [<bf10a2d4>] (cfg80211_event_work [cfg80211]) from [<c023e080>] (process_one_work+0x170/0x458)
[  179.585935] [<c023e080>] (process_one_work) from [<c023e3c4>] (worker_thread+0x5c/0x5a4)
[  179.589029] usb 1-1.2.4: Product: 802.11ac NIC
[  179.595105] [<c023e3c4>] (worker_thread) from [<c02446f8>] (kthread+0x138/0x168)
[  179.595119] [<c02446f8>] (kthread) from [<c02010ac>] (ret_from_fork+0x14/0x28)
[  179.595127] Exception stack(0xd9349fb0 to 0xd9349ff8)
[  179.595137] 9fa0:                                     00000000 00000000 00000000 00000000
[  179.595146] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  179.595155] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[  179.595224] ---[ end trace 9c150faee6d5db56 ]---
[  179.598404] usb 1-1.2.4: Manufacturer: Realtek
[  179.625688] usb 1-1.2.4: SerialNumber: 123456
[  179.628651] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[  179.631475] pgd = 703ce5a4
[  179.634214] [00000000] *pgd=80000000004003, *pmd=00000000
[  179.636943] Internal error: Oops: 207 [#3] SMP ARM
[  179.639595] Modules linked in: cmac bnep hci_uart btbcm serdev bluetooth ecdh_generic 8021q garp stp appletalk psnap llc ax25 pl2303 usbserial bcm2835_codec(C) v4l2_mem2mem videobuf2_dma_contig bcm2835_v4l2(C) bcm2835_mmal_vchiq(C) v4l2_common videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media vc_sm_cma(C) rpivid_mem 8821cu(O) vc4 brcmfmac drm_kms_helper v3d gpu_sched snd_soc_core snd_bcm2835(C) brcmutil snd_compress drm snd_pcm_dmaengine snd_pcm drm_panel_orientation_quirks raspberrypi_hwmon hwmon snd_timer snd syscopyarea sysfillrect sysimgblt cfg80211 fb_sys_fops rfkill uio_pdrv_genirq uio ip_tables x_tables ipv6
[  179.659286] CPU: 0 PID: 31 Comm: kworker/0:1 Tainted: G      D WC O      4.19.118-v7l+ #1311
[  179.662100] Hardware name: BCM2835
[  179.664833] Workqueue: usb_hub_wq hub_event
[  179.667515] PC is at exit_creds+0x2c/0x90
[  179.670114] LR is at __put_task_struct+0x58/0x150
[  179.672665] pc : [<c02474b0>]    lr : [<c021ef30>]    psr: 20000013
[  179.675200] sp : efa2fc50  ip : efa2fc68  fp : efa2fc64
[  179.677672] r10: da221e78  r9 : bfa821d8  r8 : da221e20
[  179.680086] r7 : 00000000  r6 : 0000000b  r5 : db960f00  r4 : db960f00
[  179.682480] r3 : efa20f00  r2 : 00000000  r1 : 00000000  r0 : 00000000
[  179.684827] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[  179.687198] Control: 30c5383d  Table: 1be26c40  DAC: fffffffd
[  179.689543] Process kworker/0:1 (pid: 31, stack limit = 0x3c2198ab)
[  179.691875] Stack: (0xefa2fc50 to 0xefa30000)
[  179.694209] fc40:                                     efa20f00 db960f00 efa2fc7c efa2fc68
[  179.696655] fc60: c021ef30 c0247490 db960f00 db960f08 efa2fc9c efa2fc80 c02452b8 c021eee4
[  179.699111] fc80: 0000001c f1c38000 dbd4f000 da221e00 efa2fcb4 efa2fca0 bf8e9d78 c0245134
[  179.701582] fca0: f1c35000 dbd4f000 efa2fcd4 efa2fcb8 bf956b74 bf8e9d48 da221e20 da221e54
[  179.704106] fcc0: bfa821d8 00000000 efa2fd1c efa2fcd8 c07a1e9c bf956afc efa2fcfc ffffffed
[  179.706602] fce0: dac2ac78 dac2ac00 00000000 da221e00 efa2fd1c da221e20 da221e54 bfa821d8
[  179.709085] fd00: 00000000 00000034 da221200 da221e78 efa2fd44 efa2fd20 c0718c30 c07a1e24
[  179.711582] fd20: 00000007 efa64930 da221e20 c1070514 c115711c da221e28 efa2fd54 efa2fd48
[  179.714092] fd40: c0718cf0 c0718ab4 efa2fd74 efa2fd58 c07175e0 c0718cdc 0000000f da221e54
[  179.716584] fd60: da221e20 c1004d88 efa2fdc4 efa2fd78 c0713bfc c0717510 00000005 dac2ac78
[  179.719009] fd80: efa2fda4 efa2fd90 c07a6d08 c0713e04 00000005 7b5e2b38 efa2fdc4 dac2ac00
[  179.721397] fda0: 00000001 00000000 ef8f6000 da221e00 da221200 00000101 efa2fdec efa2fdc8
[  179.723748] fdc0: c079f510 c0713aa8 00000001 dac2ac00 dac2ac78 dac2acac dbbf0c00 da221200
[  179.726067] fde0: efa2fe24 efa2fdf0 c0795c74 c079f46c efa2fe0c efa2fe00 c09da8f4 00000001
[  179.728352] fe00: db71f000 db71f078 db71f0ac ef313c00 db459c00 00000101 efa2fe5c efa2fe28
[  179.730608] fe20: c0795df8 c0795bfc efa2fe5c efa2fe38 c0791cc8 00000000 00000004 ef313500
[  179.732845] fe40: 00000001 0000000c 00000004 00000101 efa2fefc efa2fe60 c0797840 c0795bfc
[  179.735081] fe60: efa2feca 00000000 00000064 00000008 ef29e800 c0c12410 c1157540 c1004d88
[  179.737333] fe80: ef8f6000 ef313c08 ef313c00 ef313220 ef313d9c ef313438 ef313440 ef313c08
[  179.739617] fea0: ef313d9c ef313434 ef29e800 ef31348c ef29e8ac 00000009 ef313200 ef313400
[  179.741915] fec0: eff25f00 00090101 00000101 7b5e2b38 efa2fefc efa17280 ef313500 eff21040
[  179.744216] fee0: eff25f00 00000000 ef313504 00000000 efa2ff34 efa2ff00 c023e080 c0797234
[  179.746514] ff00: 40000193 eff21040 eff21040 eff21040 efa17294 eff21040 eff21058 c1003d00
[  179.748841] ff20: 00000008 efa17280 efa2ff7c efa2ff38 c023e3c4 c023df1c efa2ff5c efa2ff48
[  179.751182] ff40: c09dfd9c c1003d00 c1097356 efa2e038 efa2ff7c efa42000 efa13e00 00000000
[  179.753566] ff60: efa17280 c023e368 efa4201c ef911e74 efa2ffac efa2ff80 c02446f8 c023e374
[  179.755943] ff80: c02043d8 efa13e00 c02445c0 00000000 00000000 00000000 00000000 00000000
[  179.758325] ffa0: 00000000 efa2ffb0 c02010ac c02445cc 00000000 00000000 00000000 00000000
[  179.760678] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  179.762997] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[  179.765253] [<c02474b0>] (exit_creds) from [<c021ef30>] (__put_task_struct+0x58/0x150)
[  179.767516] [<c021ef30>] (__put_task_struct) from [<c02452b8>] (kthread_stop+0x190/0x1a8)
[  179.770226] [<c02452b8>] (kthread_stop) from [<bf8e9d78>] (rtw_stop_cmd_thread+0x3c/0x48 [8821cu])
[  179.775603] [<bf8e9d78>] (rtw_stop_cmd_thread [8821cu]) from [<bf956b74>] (rtw_dev_remove+0x84/0x108 [8821cu])
[  179.780746] [<bf956b74>] (rtw_dev_remove [8821cu]) from [<c07a1e9c>] (usb_unbind_interface+0x84/0x26c)
[  179.785579] [<c07a1e9c>] (usb_unbind_interface) from [<c0718c30>] (device_release_driver_internal+0x188/0x228)
[  179.790607] [<c0718c30>] (device_release_driver_internal) from [<c0718cf0>] (device_release_driver+0x20/0x24)
[  179.795782] [<c0718cf0>] (device_release_driver) from [<c07175e0>] (bus_remove_device+0xdc/0x108)
[  179.798485] [<c07175e0>] (bus_remove_device) from [<c0713bfc>] (device_del+0x160/0x35c)
[  179.801179] [<c0713bfc>] (device_del) from [<c079f510>] (usb_disable_device+0xb0/0x1e0)
[  179.803878] [<c079f510>] (usb_disable_device) from [<c0795c74>] (usb_disconnect+0x84/0x244)
[  179.806589] [<c0795c74>] (usb_disconnect) from [<c0795df8>] (usb_disconnect+0x208/0x244)
[  179.809313] [<c0795df8>] (usb_disconnect) from [<c0797840>] (hub_event+0x618/0x11d8)
[  179.812003] [<c0797840>] (hub_event) from [<c023e080>] (process_one_work+0x170/0x458)
[  179.814717] [<c023e080>] (process_one_work) from [<c023e3c4>] (worker_thread+0x5c/0x5a4)
[  179.817443] [<c023e3c4>] (worker_thread) from [<c02446f8>] (kthread+0x138/0x168)
[  179.820181] [<c02446f8>] (kthread) from [<c02010ac>] (ret_from_fork+0x14/0x28)
[  179.822908] Exception stack(0xefa2ffb0 to 0xefa2fff8)
[  179.825616] ffa0:                                     00000000 00000000 00000000 00000000
[  179.828385] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  179.831129] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
[  179.833802] Code: e59004a4 e58424a4 f57ff05b f590f000 (e1902f9f)
[  179.837608] ---[ end trace 9c150faee6d5db57 ]---
[  179.844479] RTW: [HALMAC]11692M
               HALMAC_MAJOR_VER = 1
               HALMAC_PROTOTYPE_VER = 4
               HALMAC_MINOR_VER = 19
               HALMAC_PATCH_VER = 3
[  179.845763] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  179.903300] usb 1-1.3.1: reset high-speed USB device number 69 using xhci_hcd
[  179.971224] RTW: [HALMAC][ALWAYS]shall R reg twice!!
[  179.976732] RTW: WARN [HALMAC][WARN]H2C/C2H ver is compatible!!
[  180.003921] RTW: rtw_dev_unload: driver not in IPS
[  180.003977] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  180.003986] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  180.005033] RTW: WARN free_recv_skb_queue not empty, 1
[  180.007368] usb 1-1.1.3: USB disconnect, device number 38
[  180.142588] usb 1-1.3.2: new high-speed USB device number 72 using xhci_hcd
[  180.198470] RTW: HW EFUSE
[  180.201425] RTW: 0x000: 29 81 00 BC  09 00 21 00  6E 04 A4 10  10 00 30 0B
[  180.201502] RTW: 0x010: FF FF FF FF  FF FF FF FF  FF FF FF 02  FF FF FF FF
[  180.201553] RTW: 0x020: FF FF 23 23  23 23 28 28  28 28 28 28  28 28 28 28
[  180.201625] RTW: 0x030: 02 FF FF FF  FF FF EC FF  FF FF 2B 2B  2B 2B 2B 2B
[  180.201675] RTW: 0x040: 30 30 30 30  30 33 FF FF  FF FF FF FF  FF FF FF FF
[  180.201746] RTW: 0x050: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.201815] RTW: 0x060: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.201865] RTW: 0x070: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.201934] RTW: 0x080: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.202003] RTW: 0x090: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.202053] RTW: 0x0A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.202123] RTW: 0x0B0: FF FF FF FF  FF FF FF FF  7F 20 20 00  FF FF FF FF
[  180.202192] RTW: 0x0C0: FF 01 00 41  00 00 00 00  00 FF 22 FF  FF FF FF FF
[  180.202241] RTW: 0x0D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.202311] RTW: 0x0E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.202379] RTW: 0x0F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.202429] RTW: 0x100: DA 0B 11 C8  E3 46 02 1C  BF CE DF 85  E4 09 03 52
[  180.202551] RTW: 0x110: 65 61 6C 74  65 6B 0E 03  38 30 32 2E  31 31 61 63
[  180.202619] RTW: 0x120: 20 4E 49 43  08 03 31 32  33 34 35 36  FF FF FF FF
[  180.202680] RTW: 0x130: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.202729] RTW: 0x140: FF FF FF FF  00 00 31 0F  FF FF FF FF  FF FF FF FF
[  180.202778] RTW: 0x150: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.202827] RTW: 0x160: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.202886] RTW: 0x170: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.202935] RTW: 0x180: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.202985] RTW: 0x190: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.203034] RTW: 0x1A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.203107] RTW: 0x1B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.203156] RTW: 0x1C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.203226] RTW: 0x1D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.203297] RTW: 0x1E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.203346] RTW: 0x1F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.203861] RTW: hal_com_config_channel_plan chplan:0x7F
[  180.221140] RTW: [HALMAC][ALWAYS]shall R reg twice!!
[  180.272405] RTW: WARN [HALMAC][WARN]H2C/C2H ver is compatible!!
[  180.294068] usb 1-1.3.2: New USB device found, idVendor=0bda, idProduct=c811, bcdDevice= 2.00
[  180.294082] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  180.294093] usb 1-1.3.2: Product: 802.11ac NIC
[  180.294103] usb 1-1.3.2: Manufacturer: Realtek
[  180.294112] usb 1-1.3.2: SerialNumber: 123456
[  180.303095] RTW: [HALMAC]11692M
               HALMAC_MAJOR_VER = 1
               HALMAC_PROTOTYPE_VER = 4
               HALMAC_MINOR_VER = 19
               HALMAC_PATCH_VER = 3
[  180.320385] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  180.494487] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  180.497383] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  180.500201] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  180.503125] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  180.505841] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  180.508458] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  180.510938] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  180.515100] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[  180.696682] RTW: HW EFUSE
[  180.698424] RTW: 0x000: 29 81 00 BC  09 00 21 00  6E 04 A4 10  10 00 30 0B
[  180.700310] RTW: 0x010: FF FF FF FF  FF FF FF FF  FF FF FF 02  FF FF FF FF
[  180.702077] RTW: 0x020: FF FF 23 23  23 23 28 28  28 28 28 28  28 28 28 28
[  180.703820] RTW: 0x030: 02 FF FF FF  FF FF EC FF  FF FF 2B 2B  2B 2B 2B 2B
[  180.705520] RTW: 0x040: 30 30 30 30  30 33 FF FF  FF FF FF FF  FF FF FF FF
[  180.707143] RTW: 0x050: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.708796] RTW: 0x060: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.710320] RTW: 0x070: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.711819] RTW: 0x080: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.713333] RTW: 0x090: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.714798] RTW: 0x0A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.716224] RTW: 0x0B0: FF FF FF FF  FF FF FF FF  7F 20 20 00  FF FF FF FF
[  180.717649] RTW: 0x0C0: FF 01 00 41  00 00 00 00  00 FF 22 FF  FF FF FF FF
[  180.719092] RTW: 0x0D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.720557] RTW: 0x0E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.721919] RTW: 0x0F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.723200] RTW: 0x100: DA 0B 11 C8  E3 46 02 1C  BF CE D9 75  0C 09 03 52
[  180.724463] RTW: 0x110: 65 61 6C 74  65 6B 0E 03  38 30 32 2E  31 31 61 63
[  180.725705] RTW: 0x120: 20 4E 49 43  08 03 31 32  33 34 35 36  FF FF FF FF
[  180.726907] RTW: 0x130: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.728065] RTW: 0x140: FF FF FF FF  00 00 31 0F  FF FF FF FF  FF FF FF FF
[  180.729237] RTW: 0x150: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.730418] RTW: 0x160: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.731608] RTW: 0x170: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.732870] RTW: 0x180: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.734096] RTW: 0x190: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.735288] RTW: 0x1A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.736390] RTW: 0x1B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.737388] RTW: 0x1C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.738361] RTW: 0x1D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.739282] RTW: 0x1E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.740149] RTW: 0x1F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  180.741272] RTW: hal_com_config_channel_plan chplan:0x7F
[  180.752909] RTW: [HALMAC][ALWAYS]shall R reg twice!!
[  180.756533] RTW: WARN [HALMAC][WARN]H2C/C2H ver is compatible!!
[  180.856307] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  180.857423] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  180.858499] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  180.859591] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  180.860736] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  180.861836] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  180.862969] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  180.865154] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[  181.272685] RTW: wlan3- hw port(0) mac_addr =1c:bf:ce:d9:75:05
[  181.285514] IPv6: ADDRCONF(NETDEV_UP): wlan3: link is not ready
[  183.332782] RTW: rtw_ndev_uninit(wlan5) if1
[  183.336719] RTW: rtw_ndev_init(wlan2) if1 mac_addr=1c:bf:ce:df:85:e4
[  183.340429] RTW: rtw_ndev_init(wlan5) if1 mac_addr=1c:bf:ce:d9:75:0c
[  183.366383] RTW: [HALMAC][ALWAYS]shall R reg twice!!
[  183.370700] RTW: WARN [HALMAC][WARN]H2C/C2H ver is compatible!!
[  183.442658] usb 1-1.3.3: new high-speed USB device number 73 using xhci_hcd
[  183.584072] usb 1-1.3.3: New USB device found, idVendor=0bda, idProduct=c811, bcdDevice= 2.00
[  183.585482] usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  183.586900] usb 1-1.3.3: Product: 802.11ac NIC
[  183.588334] usb 1-1.3.3: Manufacturer: Realtek
[  183.589797] usb 1-1.3.3: SerialNumber: 123456
[  183.598627] RTW: [HALMAC]11692M
               HALMAC_MAJOR_VER = 1
               HALMAC_PROTOTYPE_VER = 4
               HALMAC_MINOR_VER = 19
               HALMAC_PATCH_VER = 3
[  183.608966] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  183.931023] RTW: HW EFUSE
[  183.932641] RTW: 0x000: 29 81 00 BC  09 00 21 00  6E 04 A4 10  10 00 30 0B
[  183.934225] RTW: 0x010: FF FF FF FF  FF FF FF FF  FF FF FF 02  FF FF FF FF
[  183.935911] RTW: 0x020: FF FF 28 28  28 28 28 28  28 28 28 28  28 28 28 28
[  183.937616] RTW: 0x030: 02 FF FF FF  FF FF EC FF  FF FF 2B 2B  2B 2B 2B 2B
[  183.939303] RTW: 0x040: 30 30 30 30  30 33 FF FF  FF FF FF FF  FF FF FF FF
[  183.941100] RTW: 0x050: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.942978] RTW: 0x060: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.944762] RTW: 0x070: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.946478] RTW: 0x080: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.948039] RTW: 0x090: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.949580] RTW: 0x0A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.951010] RTW: 0x0B0: FF FF FF FF  FF FF FF FF  7F 20 20 00  FF FF FF FF
[  183.952388] RTW: 0x0C0: FF 01 00 41  00 00 00 00  00 FF 22 FF  FF FF FF FF
[  183.953878] RTW: 0x0D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.955276] RTW: 0x0E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.956601] RTW: 0x0F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.957873] RTW: 0x100: DA 0B 11 C8  E3 46 02 1C  BF CE 1F 4C  0A 09 03 52
[  183.959118] RTW: 0x110: 65 61 6C 74  65 6B 0E 03  38 30 32 2E  31 31 61 63
[  183.960340] RTW: 0x120: 20 4E 49 43  08 03 31 32  33 34 35 36  FF FF FF FF
[  183.961540] RTW: 0x130: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.962735] RTW: 0x140: FF FF FF FF  00 00 31 0F  FF FF FF FF  FF FF FF FF
[  183.963917] RTW: 0x150: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.965067] RTW: 0x160: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.966179] RTW: 0x170: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.967274] RTW: 0x180: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.968356] RTW: 0x190: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.969426] RTW: 0x1A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.970491] RTW: 0x1B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.971507] RTW: 0x1C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.972474] RTW: 0x1D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.973412] RTW: 0x1E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.974307] RTW: 0x1F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  183.975372] RTW: hal_com_config_channel_plan chplan:0x7F
[  183.987090] RTW: [HALMAC][ALWAYS]shall R reg twice!!
[  183.990788] RTW: WARN [HALMAC][WARN]H2C/C2H ver is compatible!!
[  184.097419] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  184.098559] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  184.099657] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  184.100741] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  184.101838] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  184.102983] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  184.104077] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  184.106790] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[  184.493855] RTW: wlan2- hw port(0) mac_addr =1c:bf:ce:df:85:e4
[  184.507238] IPv6: ADDRCONF(NETDEV_UP): wlan2: link is not ready
[  184.568642] RTW: rtw_ndev_init(wlan6) if1 mac_addr=1c:bf:ce:1f:4c:0a
[  184.587712] RTW: [HALMAC][ALWAYS]shall R reg twice!!
[  184.592112] RTW: WARN [HALMAC][WARN]H2C/C2H ver is compatible!!
[  184.672723] usb 1-1.3.4: new high-speed USB device number 74 using xhci_hcd
[  184.803971] usb 1-1.3.4: New USB device found, idVendor=0bda, idProduct=c811, bcdDevice= 2.00
[  184.805336] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  184.806708] usb 1-1.3.4: Product: 802.11ac NIC
[  184.808097] usb 1-1.3.4: Manufacturer: Realtek
[  184.809509] usb 1-1.3.4: SerialNumber: 123456
[  184.818734] RTW: [HALMAC]11692M
               HALMAC_MAJOR_VER = 1
               HALMAC_PROTOTYPE_VER = 4
               HALMAC_MINOR_VER = 19
               HALMAC_PATCH_VER = 3
[  184.829290] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  185.145773] RTW: HW EFUSE
[  185.147427] RTW: 0x000: 29 81 00 BC  09 00 21 00  6E 04 A4 10  10 00 30 0B
[  185.149071] RTW: 0x010: FF FF FF FF  FF FF FF FF  FF FF FF 02  FF FF FF FF
[  185.150706] RTW: 0x020: FF FF 23 23  23 23 28 28  28 28 28 28  28 28 28 28
[  185.152470] RTW: 0x030: 02 FF FF FF  FF FF EC FF  FF FF 2B 2B  2B 2B 2B 2B
[  185.154207] RTW: 0x040: 30 30 30 30  30 33 FF FF  FF FF FF FF  FF FF FF FF
[  185.155921] RTW: 0x050: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.157637] RTW: 0x060: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.159353] RTW: 0x070: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.161070] RTW: 0x080: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.162829] RTW: 0x090: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.164642] RTW: 0x0A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.166172] RTW: 0x0B0: FF FF FF FF  FF FF FF FF  7F 20 20 00  FF FF FF FF
[  185.167647] RTW: 0x0C0: FF 01 00 41  00 00 00 00  00 FF 22 FF  FF FF FF FF
[  185.169161] RTW: 0x0D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.170589] RTW: 0x0E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.171938] RTW: 0x0F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.173264] RTW: 0x100: DA 0B 11 C8  E3 46 02 1C  BF CE DC C0  9E 09 03 52
[  185.174548] RTW: 0x110: 65 61 6C 74  65 6B 0E 03  38 30 32 2E  31 31 61 63
[  185.175790] RTW: 0x120: 20 4E 49 43  08 03 31 32  33 34 35 36  FF FF FF FF
[  185.177014] RTW: 0x130: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.178203] RTW: 0x140: FF FF FF FF  00 00 31 0F  FF FF FF FF  FF FF FF FF
[  185.179446] RTW: 0x150: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.180645] RTW: 0x160: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.181781] RTW: 0x170: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.182931] RTW: 0x180: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.184052] RTW: 0x190: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.185152] RTW: 0x1A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.186250] RTW: 0x1B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.187296] RTW: 0x1C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.188287] RTW: 0x1D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.189221] RTW: 0x1E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.190109] RTW: 0x1F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[  185.191270] RTW: hal_com_config_channel_plan chplan:0x7F
[  185.206652] RTW: [HALMAC][ALWAYS]shall R reg twice!!
[  185.210460] RTW: WARN [HALMAC][WARN]H2C/C2H ver is compatible!!
[  185.323769] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  185.325010] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  185.326095] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  185.327176] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  185.328271] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  185.329358] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  185.330426] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[  185.332631] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[  185.703228] RTW: wlan5- hw port(0) mac_addr =1c:bf:ce:d9:75:0c
[  185.715912] IPv6: ADDRCONF(NETDEV_UP): wlan5: link is not ready
[  185.803101] RTW: rtw_ndev_init(wlan8) if1 mac_addr=1c:bf:ce:dc:c0:9e
[  186.185438] IPv6: ADDRCONF(NETDEV_UP): wlan3: link is not ready
[  186.475396] RTW: [HALMAC][ALWAYS]shall R reg twice!!
[  186.479373] RTW: WARN [HALMAC][WARN]H2C/C2H ver is compatible!!
[  187.496058] RTW: wlan4- hw port(0) mac_addr =1c:bf:ce:dc:c4:f5
[  187.509924] IPv6: ADDRCONF(NETDEV_UP): wlan4: link is not ready
[  187.541918] RTW: rtw_set_802_11_connect(wlan1)  fw_state=0x00000008
[  187.688365] RTW: start auth
[  187.690839] RTW: auth success, start assoc
[  187.693465] RTW: assoc success
[  187.695842] RTW: recv eapol packet
[  187.699176] RTW: send eapol packet
[  187.699335] RTW: ============ STA [2c:fd:a1:e5:79:b8]  ===================
[  187.702361] RTW: mac_id : 0
[  187.704010] RTW: wireless_mode : 0x44
[  187.705017] RTW: recv eapol packet
[  187.705659] RTW: mimo_type : 0
[  187.707873] RTW: send eapol packet
[  187.708806] RTW: bw_mode : 80MHz, ra_bw_mode : 80MHz
[  187.711201] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[  187.711906] RTW: rate_id : 10
[  187.715317] RTW: rssi : 42 (%), rssi_level : 0
[  187.717006] RTW: is_support_sgi : Y, is_vht_enable : Y
[  187.718725] RTW: disable_ra : N, disable_pt : N
[  187.720530] RTW: is_noisy : N
[  187.722341] RTW: txrx_state : 0
[  187.724115] RTW: curr_tx_rate : CCK_1M (L)
[  187.725802] RTW: curr_tx_bw : 20MHz
[  187.727444] RTW: curr_retry_ratio : 0
[  187.728994] RTW: ra_mask : 0x00000000003ffff0

[  187.738227] RTW: set pairwise key camid:4, addr:2c:fd:a1:e5:79:b8, kid:0, type:AES
[  187.743338] RTW: set group key camid:5, addr:2c:fd:a1:e5:79:b8, kid:1, type:AES
[  190.462115] RTW: rtw_set_802_11_connect(wlan3)  fw_state=0x00000008
[  190.555719] RTW: start auth
[  190.557859] RTW: auth success, start assoc
[  190.560475] RTW: assoc success
[  190.563955] RTW: recv eapol packet
[  190.566159] RTW: ============ STA [2c:fd:a1:e5:79:b8]  ===================
[  190.566655] RTW: send eapol packet
[  190.567814] RTW: mac_id : 0
[  190.570768] RTW: wireless_mode : 0x44
[  190.572255] RTW: mimo_type : 0
[  190.573797] RTW: recv eapol packet
[  190.574226] RTW: send eapol packet
[  190.575306] RTW: bw_mode : 80MHz, ra_bw_mode : 80MHz
[  190.577451] IPv6: ADDRCONF(NETDEV_CHANGE): wlan3: link becomes ready
[  190.578216] RTW: rate_id : 10
[  190.581225] RTW: rssi : 43 (%), rssi_level : 0
[  190.582755] RTW: is_support_sgi : Y, is_vht_enable : Y
[  190.584281] RTW: disable_ra : N, disable_pt : N
[  190.585783] RTW: is_noisy : N
[  190.587254] RTW: txrx_state : 0
[  190.588699] RTW: curr_tx_rate : CCK_1M (L)
[  190.590153] RTW: curr_tx_bw : 20MHz
[  190.591601] RTW: curr_retry_ratio : 0
[  190.593073] RTW: ra_mask : 0x00000000003ffff0

[  190.600442] RTW: set pairwise key camid:4, addr:2c:fd:a1:e5:79:b8, kid:0, type:AES
[  190.605217] RTW: set group key camid:5, addr:2c:fd:a1:e5:79:b8, kid:1, type:AES
[  191.832438] RTW: rtw_set_802_11_connect(wlan4)  fw_state=0x00000008
[  191.989462] RTW: start auth
[  191.991670] RTW: auth success, start assoc
[  191.994303] RTW: assoc success
[  191.998207] RTW: ============ STA [2c:fd:a1:e5:79:b8]  ===================
[  191.998979] RTW: recv eapol packet
[  191.999759] RTW: mac_id : 0
[  192.002504] RTW: send eapol packet
[  192.002857] RTW: wireless_mode : 0x44
[  192.005747] RTW: mimo_type : 0
[  192.007172] RTW: bw_mode : 80MHz, ra_bw_mode : 80MHz
[  192.007900] RTW: recv eapol packet
[  192.008636] RTW: rate_id : 10
[  192.008645] RTW: rssi : 40 (%), rssi_level : 0
[  192.008653] RTW: is_support_sgi : Y, is_vht_enable : Y
[  192.008661] RTW: disable_ra : N, disable_pt : N
[  192.008668] RTW: is_noisy : N
[  192.008675] RTW: txrx_state : 0
[  192.010617] RTW: send eapol packet
[  192.011621] RTW: curr_tx_rate : CCK_1M (L)
[  192.014240] IPv6: ADDRCONF(NETDEV_CHANGE): wlan4: link becomes ready
[  192.014660] RTW: curr_tx_bw : 20MHz
[  192.024654] RTW: curr_retry_ratio : 0
[  192.026099] RTW: ra_mask : 0x00000000003ffff0

[  192.031746] RTW: set pairwise key camid:4, addr:2c:fd:a1:e5:79:b8, kid:0, type:AES
[  192.035870] RTW: set group key camid:5, addr:2c:fd:a1:e5:79:b8, kid:1, type:AES
[  197.966627] IPv6: ADDRCONF(NETDEV_UP): wlan5: link is not ready
[  198.245977] RTW: [HALMAC][ALWAYS]shall R reg twice!!
[  198.250456] RTW: WARN [HALMAC][WARN]H2C/C2H ver is compatible!!
[  199.238836] RTW: wlan6- hw port(0) mac_addr =1c:bf:ce:1f:4c:0a
[  199.252723] IPv6: ADDRCONF(NETDEV_UP): wlan6: link is not ready
[  199.505356] IPv6: ADDRCONF(NETDEV_UP): wlan2: link is not ready
[  199.784766] RTW: [HALMAC][ALWAYS]shall R reg twice!!
[  199.791517] RTW: WARN [HALMAC][WARN]H2C/C2H ver is compatible!!
[  200.844627] RTW: wlan8- hw port(0) mac_addr =1c:bf:ce:dc:c0:9e
[  200.860910] IPv6: ADDRCONF(NETDEV_UP): wlan8: link is not ready
[  202.267698] RTW: rtw_set_802_11_connect(wlan5)  fw_state=0x00000008
[  202.332196] RTW: start auth
[  202.334716] RTW: auth success, start assoc
[  202.337645] RTW: assoc success
[  202.340584] RTW: recv eapol packet
[  202.344272] RTW: ============ STA [2c:fd:a1:e5:79:b8]  ===================
[  202.345544] RTW: send eapol packet
[  202.346088] RTW: mac_id : 0
[  202.349497] RTW: wireless_mode : 0x44
[  202.351187] RTW: mimo_type : 0
[  202.352881] RTW: bw_mode : 80MHz, ra_bw_mode : 80MHz
[  202.354665] RTW: rate_id : 10
[  202.356389] RTW: rssi : 34 (%), rssi_level : 0
[  202.358094] RTW: is_support_sgi : Y, is_vht_enable : Y
[  202.359789] RTW: disable_ra : N, disable_pt : N
[  202.359893] RTW: recv eapol packet
[  202.361501] RTW: is_noisy : N
[  202.363766] RTW: send eapol packet
[  202.364916] RTW: txrx_state : 0
[  202.367306] IPv6: ADDRCONF(NETDEV_CHANGE): wlan5: link becomes ready
[  202.368102] RTW: curr_tx_rate : CCK_1M (L)
[  202.371276] RTW: curr_tx_bw : 20MHz
[  202.372803] RTW: curr_retry_ratio : 0
[  202.374327] RTW: ra_mask : 0x00000000003ffff0

[  202.382764] RTW: set pairwise key camid:4, addr:2c:fd:a1:e5:79:b8, kid:0, type:AES
[  202.387149] RTW: set group key camid:5, addr:2c:fd:a1:e5:79:b8, kid:1, type:AES
[  203.544408] RTW: rtw_set_802_11_connect(wlan6)  fw_state=0x00000008
[  203.663580] RTW: start auth
[  203.665856] RTW: auth success, start assoc
[  203.668476] RTW: assoc success
[  203.671150] RTW: recv eapol packet
[  203.674571] RTW: send eapol packet
[  203.675463] RTW: ============ STA [2c:fd:a1:e5:79:b8]  ===================
[  203.677570] RTW: mac_id : 0
[  203.679038] RTW: wireless_mode : 0x44
[  203.680260] RTW: recv eapol packet
[  203.680482] RTW: mimo_type : 0
[  203.682343] RTW: send eapol packet
[  203.683432] RTW: bw_mode : 80MHz, ra_bw_mode : 80MHz
[  203.685599] IPv6: ADDRCONF(NETDEV_CHANGE): wlan6: link becomes ready
[  203.686297] RTW: rate_id : 10
[  203.689313] RTW: rssi : 37 (%), rssi_level : 0
[  203.690823] RTW: is_support_sgi : Y, is_vht_enable : Y
[  203.692336] RTW: disable_ra : N, disable_pt : N
[  203.694096] RTW: is_noisy : N
[  203.695715] RTW: txrx_state : 0
[  203.697232] RTW: curr_tx_rate : CCK_1M (L)
[  203.698767] RTW: curr_tx_bw : 20MHz
[  203.700239] RTW: curr_retry_ratio : 0
[  203.701666] RTW: ra_mask : 0x00000000003ffff0

[  203.709720] RTW: set pairwise key camid:4, addr:2c:fd:a1:e5:79:b8, kid:0, type:AES
[  203.716521] RTW: set group key camid:5, addr:2c:fd:a1:e5:79:b8, kid:1, type:AES
[  203.856378] RTW: rtw_set_802_11_connect(wlan2)  fw_state=0x00000008
[  203.970700] RTW: start auth
[  203.972856] RTW: auth success, start assoc
[  203.975730] RTW: assoc success
[  203.980892] RTW: ============ STA [2c:fd:a1:e5:79:b8]  ===================
[  203.982448] RTW: mac_id : 0
[  203.984016] RTW: wireless_mode : 0x44
[  203.985540] RTW: mimo_type : 0
[  203.987068] RTW: bw_mode : 80MHz, ra_bw_mode : 80MHz
[  203.988597] RTW: rate_id : 10
[  203.990070] RTW: rssi : -1 (%), rssi_level : 0
[  203.991573] RTW: is_support_sgi : Y, is_vht_enable : Y
[  203.993129] RTW: disable_ra : N, disable_pt : N
[  203.994683] RTW: is_noisy : N
[  203.996219] RTW: txrx_state : 0
[  203.997733] RTW: curr_tx_rate : CCK_1M (L)
[  203.999222] RTW: curr_tx_bw : 20MHz
[  204.000660] RTW: curr_retry_ratio : 0
[  204.002091] RTW: ra_mask : 0x00000000003ffff0

[  204.381612] RTW: rtw_aes_decrypt(wlan2) no_gkey_bc_cnt:1, no_gkey_mc_cnt:0
[  204.684201] RTW: recv eapol packet
[  204.687132] RTW: send eapol packet
[  204.692147] RTW: recv eapol packet
[  204.694585] RTW: send eapol packet
[  204.696358] RTW: set pairwise key camid:4, addr:2c:fd:a1:e5:79:b8, kid:0, type:AES
[  204.696826] IPv6: ADDRCONF(NETDEV_CHANGE): wlan2: link becomes ready
[  204.705015] RTW: set group key camid:5, addr:2c:fd:a1:e5:79:b8, kid:1, type:AES
[  205.204455] RTW: rtw_set_802_11_connect(wlan8)  fw_state=0x00000008
[  205.302030] RTW: start auth
[  205.306416] RTW: auth success, start assoc
[  205.309166] RTW: assoc success
[  205.316408] RTW: ============ STA [2c:fd:a1:e5:79:b8]  ===================
[  205.318022] RTW: mac_id : 0
[  205.319544] RTW: wireless_mode : 0x44
[  205.321035] RTW: mimo_type : 0
[  205.322520] RTW: bw_mode : 80MHz, ra_bw_mode : 80MHz
[  205.324119] RTW: rate_id : 10
[  205.325631] RTW: rssi : -1 (%), rssi_level : 0
[  205.327147] RTW: is_support_sgi : Y, is_vht_enable : Y
[  205.328678] RTW: disable_ra : N, disable_pt : N
[  205.330201] RTW: is_noisy : N
[  205.331693] RTW: txrx_state : 0
[  205.333198] RTW: curr_tx_rate : CCK_1M (L)
[  205.334713] RTW: curr_tx_bw : 20MHz
[  205.336199] RTW: curr_retry_ratio : 0
[  205.337685] RTW: ra_mask : 0x00000000003ffff0

[  205.610199] RTW: rtw_aes_decrypt(wlan8) no_gkey_bc_cnt:3, no_gkey_mc_cnt:0
[  205.693014] RTW: recv eapol packet
[  205.696422] RTW: send eapol packet
[  205.701679] RTW: recv eapol packet
[  205.703914] RTW: send eapol packet
[  205.705676] RTW: set pairwise key camid:4, addr:2c:fd:a1:e5:79:b8, kid:0, type:AES
[  205.706149] IPv6: ADDRCONF(NETDEV_CHANGE): wlan8: link becomes ready
[  205.714148] RTW: set group key camid:5, addr:2c:fd:a1:e5:79:b8, kid:1, type:AES
[  212.994337] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  212.996121] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  212.997677] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  217.573616] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  218.844204] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  218.844242] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  218.847327] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  229.274487] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  229.275862] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  229.277137] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  229.278342] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  234.374996] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  234.376223] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  236.924555] RTW: ERROR _halmac_reg_write_32: I/O FAIL!
[  236.925238] RTW: ERROR _halmac_reg_write_32: I/O FAIL!
[  236.925618] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  236.925628] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  236.926646] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  236.927637] RTW: ERROR _halmac_reg_write_16: I/O FAIL!
[  236.928609] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  236.929640] RTW: rtw_cmd_thread: DriverStopped(False) SurpriseRemoved(True) break at line 580
[  236.930499] RTW: ERROR _halmac_reg_write_16: I/O FAIL!
[  236.933532] RTW: rtw_cmd_thread: DriverStopped(False) SurpriseRemoved(True) break at line 580
[  237.504975] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  237.944939] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  237.946124] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  238.014711] RTW: ERROR _halmac_reg_write_32: I/O FAIL!
[  238.015775] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  238.016752] RTW: ERROR _halmac_reg_write_8: I/O FAIL!
[  238.017649] RTW: ERROR _halmac_reg_write_16: I/O FAIL!
[  238.018583] RTW: rtw_cmd_thread: DriverStopped(False) SurpriseRemoved(True) break at line 580

@jwest75674
Copy link

jwest75674 commented Oct 11, 2020

Correction, had nothing to do with power issues, issues persisting.

After weeks of periodic searching, I finally stumbled across these resources:
lwfinger/rtl8723bu#131
https://forum.armbian.com/topic/8241-wifi-access-point-hostapd-with-kernel-418-and-419/

Specifically the portion about adding
sinfo.pertid = NULL;

above

sinfo.pertid = NULL;  // Somewhere here (before cfg80211_new_sta(…)) insert this line.
sinfo.filled = 0;
sinfo.assoc_req_ies = pmgmt_frame + WLAN_HDR_A3_LEN + ie_offset;
sinfo.assoc_req_ies_len = frame_len - WLAN_HDR_A3_LEN - ie_offset;
cfg80211_new_sta(ndev, GetAddr2Ptr(pmgmt_frame), &sinfo, GFP_ATOMIC);

within the file ./os_dep/linux/ioctl_cfg80211.c

Which at first glance appeared that it may have resolved the above noted issue, but in actuality the issue persists. Opening a separate issue.

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

No branches or pull requests

5 participants