Results 1 to 3 of 3

Thread: Module 88XXau core dump/crash on load in 2019.03 w/ all updates applied.

  1. #1
    Join Date
    2019-Nov
    Posts
    96

    Red face Module 88XXau core dump/crash on load in 2019.03 w/ all updates applied.

    Hello, I updated my install on 2 different computers with apt-get update && apt-get diet-upgrade -y.
    I also installed realtek DKMS package. Now, every time the 88XXau module is loaded, or the USB device gets plugged in, I get the following in my syslog/dmesg:

    Code:
    [    5.829694] usbcore: registered new interface driver rtl88xxau[    5.957504] usb 2-2: new SuperSpeed Gen 1 USB device number 4 using xhci_hcd
    [    5.981772] usb 2-2: Int endpoint with wBytesPerInterval of 512 in config 1 interface 0 altsetting 0 ep 133: setting to 64
    [    5.981928] usb 2-2: New USB device found, idVendor=0bda, idProduct=8812, bcdDevice= 0.00
    [    5.981930] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    5.981932] usb 2-2: Product: 802.11n NIC
    [    5.981933] usb 2-2: Manufacturer: Realtek
    [    5.981934] usb 2-2: SerialNumber: 123456
    [    6.108831] ------------[ cut here ]------------
    [    6.108888] WARNING: CPU: 3 PID: 247 at net/wireless/core.c:868 wiphy_register.cold+0x37/0x435 [cfg80211]
    [    6.108889] Modules linked in: binfmt_misc nls_ascii nls_cp437 vfat fat btusb btrtl btbcm btintel efi_pstore bluetooth intel_rapl_msr intel_rapl_common drbg snd_hda_codec_cirrus ansi_cprng 88XXau(O) snd_hda_codec_generic x86_pkg_temp_thermal brcmfmac intel_powerclamp coretemp iTCO_wdt brcmutil ledtrig_audio snd_hda_codec_hdmi ecdh_generic kvm_intel applesmc iTCO_vendor_support ecc joydev input_polldev kvm snd_hda_intel irqbypass snd_hda_codec intel_cstate intel_uncore snd_hda_core intel_rapl_perf sg watchdog pcspkr snd_hwdep efivars intel_pch_thermal cfg80211 snd_pcm mei_me bcm5974 snd_timer mmc_core snd rfkill mei soundcore sbs sbshc acpi_als kfifo_buf industrialio apple_bl ac evdev efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic sd_mod hid_apple hid_generic usbhid hid uas usb_storage scsi_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel nvme i915 aes_x86_64 crypto_simd cryptd glue_helper i2c_algo_bit i2c_i801 xhci_pci
    [    6.108930]  drm_kms_helper thunderbolt xhci_hcd lpc_ich nvme_core mfd_core spi_pxa2xx_pci usbcore drm usb_common spi_pxa2xx_platform dw_dmac dw_dmac_core video button
    [    6.108941] CPU: 3 PID: 247 Comm: kworker/3:3 Tainted: G           O      5.3.0-kali1-amd64 #1 Debian 5.3.7-1kali2
    [    6.108942] Hardware name: Apple Inc. MacBookPro12,1/Mac-E43C1C25D4880AD6, BIOS 187.0.0.0.0 07/22/2019
    [    6.108954] Workqueue: usb_hub_wq hub_event [usbcore]
    [    6.108981] RIP: 0010:wiphy_register.cold+0x37/0x435 [cfg80211]
    [    6.108984] Code: 0b b8 ea ff ff ff e9 09 7d fa ff 48 c7 c7 90 96 c3 c0 e8 f8 98 2b d9 0f 0b e9 ed 81 fa ff 48 c7 c7 90 96 c3 c0 e8 e5 98 2b d9 <0f> 0b b8 ea ff ff ff e9 de 7c fa ff 48 c7 c7 90 96 c3 c0 e8 cd 98
    [    6.108985] RSP: 0018:ffffb257803e78b0 EFLAGS: 00010246
    [    6.108987] RAX: 0000000000000024 RBX: 000000000000034e RCX: 0000000000000000
    [    6.108988] RDX: 0000000000000000 RSI: ffff8dd1e6b97688 RDI: ffff8dd1e6b97688
    [    6.108989] RBP: ffffb257803e7930 R08: ffff8dd1e6b97688 R09: 0000000000000004
    [    6.108990] R10: 0000000000000000 R11: 0000000000000001 R12: ffff8dd1d880ab00
    [    6.108991] R13: 0000000000000000 R14: ffffb25780554470 R15: ffffffffc10a45bf
    [    6.108993] FS:  0000000000000000(0000) GS:ffff8dd1e6b80000(0000) knlGS:0000000000000000
    [    6.108994] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [    6.108995] CR2: 00007f455e19f180 CR3: 0000000108e0a006 CR4: 00000000003606e0
    [    6.108996] Call Trace:
    [    6.109004]  ? _cond_resched+0x15/0x30
    [    6.109007]  ? __kmalloc+0x174/0x260
    [    6.109057]  ? _rtw_malloc+0x29/0x2a [88XXau]
    [    6.109061]  ? _cond_resched+0x15/0x30
    [    6.109064]  ? __kmalloc+0x174/0x260
    [    6.109117]  ? _rtw_malloc+0x29/0x2a [88XXau]
    [    6.109186]  rtw_wiphy_register+0x16/0x18 [88XXau]
    [    6.109251]  rtw_cfg80211_ndev_res_register+0x11/0x17 [88XXau]
    [    6.109315]  rtw_os_ndev_register+0xff/0x181 [88XXau]
    [    6.109379]  rtw_os_ndevs_register+0x9a/0xfb [88XXau]
    [    6.109438]  rtw_os_ndevs_init+0x24/0x38 [88XXau]
    [    6.109497]  rtw_drv_init+0x2b3/0x376 [88XXau]
    [    6.109517]  usb_probe_interface+0xe0/0x280 [usbcore]
    [    6.109524]  really_probe+0xf0/0x380
    [    6.109529]  driver_probe_device+0x59/0xd0
    [    6.109533]  ? driver_allows_async_probing+0x50/0x50
    [    6.109536]  bus_for_each_drv+0x7b/0xc0
    [    6.109541]  __device_attach+0xdf/0x160
    [    6.109545]  bus_probe_device+0x8e/0xa0
    [    6.109549]  device_add+0x3a2/0x670
    [    6.109565]  usb_set_configuration+0x42f/0x7c0 [usbcore]
    [    6.109583]  generic_probe+0x3c/0x60 [usbcore]
    [    6.109588]  really_probe+0xf0/0x380
    [    6.109592]  driver_probe_device+0x59/0xd0
    [    6.109596]  ? driver_allows_async_probing+0x50/0x50
    [    6.109599]  bus_for_each_drv+0x7b/0xc0
    [    6.109603]  __device_attach+0xdf/0x160
    [    6.109607]  bus_probe_device+0x8e/0xa0
    [    6.109611]  device_add+0x3a2/0x670
    [    6.109614]  ? add_device_randomness+0x10/0x1c0
    [    6.109633]  usb_new_device.cold+0x120/0x2e3 [usbcore]
    [    6.109643]  hub_event+0x1077/0x1450 [usbcore]
    [    6.109648]  process_one_work+0x1a2/0x340
    [    6.109651]  worker_thread+0x50/0x3c0
    [    6.109655]  kthread+0xf9/0x130
    [    6.109657]  ? process_one_work+0x340/0x340
    [    6.109659]  ? kthread_park+0x80/0x80
    [    6.109663]  ret_from_fork+0x35/0x40
    [    6.109666] ---[ end trace 491c1831d08cc03c ]---
    [    6.109697] ------------[ cut here ]------------
    [    6.109775] WARNING: CPU: 3 PID: 247 at /var/lib/dkms/realtek-rtl88xxau/5.2.20.2~20190617/build/os_dep/linux/os_intfs.c:1573 rtw_os_ndev_register+0xc6/0x181 [88XXau]
    [    6.109783] Modules linked in: binfmt_misc nls_ascii nls_cp437 vfat fat btusb btrtl btbcm btintel efi_pstore bluetooth intel_rapl_msr intel_rapl_common drbg snd_hda_codec_cirrus ansi_cprng 88XXau(O) snd_hda_codec_generic x86_pkg_temp_thermal brcmfmac intel_powerclamp coretemp iTCO_wdt brcmutil ledtrig_audio snd_hda_codec_hdmi ecdh_generic kvm_intel applesmc iTCO_vendor_support ecc joydev input_polldev kvm snd_hda_intel irqbypass snd_hda_codec intel_cstate intel_uncore snd_hda_core intel_rapl_perf sg watchdog pcspkr snd_hwdep efivars intel_pch_thermal cfg80211 snd_pcm mei_me bcm5974 snd_timer mmc_core snd rfkill mei soundcore sbs sbshc acpi_als kfifo_buf industrialio apple_bl ac evdev efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic sd_mod hid_apple hid_generic usbhid hid uas usb_storage scsi_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel nvme i915 aes_x86_64 crypto_simd cryptd glue_helper i2c_algo_bit i2c_i801 xhci_pci
    [    6.109866]  drm_kms_helper thunderbolt xhci_hcd lpc_ich nvme_core mfd_core spi_pxa2xx_pci usbcore drm usb_common spi_pxa2xx_platform dw_dmac dw_dmac_core video button
    [    6.109880] CPU: 3 PID: 247 Comm: kworker/3:3 Tainted: G        W  O      5.3.0-kali1-amd64 #1 Debian 5.3.7-1kali2
    [    6.109882] Hardware name: Apple Inc. MacBookPro12,1/Mac-E43C1C25D4880AD6, BIOS 187.0.0.0.0 07/22/2019
    [    6.109896] Workqueue: usb_hub_wq hub_event [usbcore]
    [    6.109958] RIP: 0010:rtw_os_ndev_register+0xc6/0x181 [88XXau]
    [    6.109961] Code: 4d 39 fd 0f 85 97 00 00 00 48 89 ef e8 83 c4 3f d9 85 c0 0f 94 c0 0f b6 c0 e9 92 00 00 00 48 c7 c7 90 ff 09 c1 e8 18 c1 ec d8 <0f> 0b e9 9c 00 00 00 c6 83 58 45 00 00 01 e9 9d 00 00 00 4c 8d b7
    [    6.109963] RSP: 0018:ffffb257803e7958 EFLAGS: 00010246
    [    6.109965] RAX: 0000000000000024 RBX: ffffb25780551000 RCX: 0000000000000000
    [    6.109967] RDX: 0000000000000000 RSI: ffff8dd1e6b97688 RDI: ffff8dd1e6b97688
    [    6.109970] RBP: ffff8dd1e2165000 R08: ffff8dd1e6b97688 R09: 0000000000000004
    [    6.109974] R10: 0000000000000000 R11: 0000000000000001 R12: ffffb25780554227
    [    6.109978] R13: 0000000000000000 R14: ffffb25780554470 R15: ffffffffc10a45bf
    [    6.109982] FS:  0000000000000000(0000) GS:ffff8dd1e6b80000(0000) knlGS:0000000000000000
    [    6.109986] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [    6.109990] CR2: 00007f455e19f180 CR3: 0000000108e0a006 CR4: 00000000003606e0
    [    6.109993] Call Trace:
    [    6.110053]  rtw_os_ndevs_register+0x9a/0xfb [88XXau]
    [    6.110114]  rtw_os_ndevs_init+0x24/0x38 [88XXau]
    [    6.110179]  rtw_drv_init+0x2b3/0x376 [88XXau]
    [    6.110198]  usb_probe_interface+0xe0/0x280 [usbcore]
    [    6.110203]  really_probe+0xf0/0x380
    [    6.110208]  driver_probe_device+0x59/0xd0
    [    6.110212]  ? driver_allows_async_probing+0x50/0x50
    [    6.110216]  bus_for_each_drv+0x7b/0xc0
    [    6.110220]  __device_attach+0xdf/0x160
    [    6.110225]  bus_probe_device+0x8e/0xa0
    [    6.110228]  device_add+0x3a2/0x670
    [    6.110245]  usb_set_configuration+0x42f/0x7c0 [usbcore]
    [    6.110264]  generic_probe+0x3c/0x60 [usbcore]
    [    6.110268]  really_probe+0xf0/0x380
    [    6.110272]  driver_probe_device+0x59/0xd0
    [    6.110276]  ? driver_allows_async_probing+0x50/0x50
    [    6.110279]  bus_for_each_drv+0x7b/0xc0
    [    6.110287]  __device_attach+0xdf/0x160
    [    6.110291]  bus_probe_device+0x8e/0xa0
    [    6.110294]  device_add+0x3a2/0x670
    [    6.110297]  ? add_device_randomness+0x10/0x1c0
    [    6.110316]  usb_new_device.cold+0x120/0x2e3 [usbcore]
    [    6.110332]  hub_event+0x1077/0x1450 [usbcore]
    [    6.110340]  process_one_work+0x1a2/0x340
    [    6.110343]  worker_thread+0x50/0x3c0
    [    6.110348]  kthread+0xf9/0x130
    [    6.110351]  ? process_one_work+0x340/0x340
    [    6.110354]  ? kthread_park+0x80/0x80
    [    6.110359]  ret_from_fork+0x35/0x40
    [    6.110364] ---[ end trace 491c1831d08cc03d ]---
    [    6.110408] ------------[ cut here ]------------
    [    6.110482] WARNING: CPU: 3 PID: 247 at /var/lib/dkms/realtek-rtl88xxau/5.2.20.2~20190617/build/os_dep/linux/os_intfs.c:2977 rtw_os_ndevs_register+0xd1/0xfb [88XXau]
    [    6.110483] Modules linked in: binfmt_misc nls_ascii nls_cp437 vfat fat btusb btrtl btbcm btintel efi_pstore bluetooth intel_rapl_msr intel_rapl_common drbg snd_hda_codec_cirrus ansi_cprng 88XXau(O) snd_hda_codec_generic x86_pkg_temp_thermal brcmfmac intel_powerclamp coretemp iTCO_wdt brcmutil ledtrig_audio snd_hda_codec_hdmi ecdh_generic kvm_intel applesmc iTCO_vendor_support ecc joydev input_polldev kvm snd_hda_intel irqbypass snd_hda_codec intel_cstate intel_uncore snd_hda_core intel_rapl_perf sg watchdog pcspkr snd_hwdep efivars intel_pch_thermal cfg80211 snd_pcm mei_me bcm5974 snd_timer mmc_core snd rfkill mei soundcore sbs sbshc acpi_als kfifo_buf industrialio apple_bl ac evdev efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic sd_mod hid_apple hid_generic usbhid hid uas usb_storage scsi_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel nvme i915 aes_x86_64 crypto_simd cryptd glue_helper i2c_algo_bit i2c_i801 xhci_pci
    [    6.110520]  drm_kms_helper thunderbolt xhci_hcd lpc_ich nvme_core mfd_core spi_pxa2xx_pci usbcore drm usb_common spi_pxa2xx_platform dw_dmac dw_dmac_core video button
    [    6.110528] CPU: 3 PID: 247 Comm: kworker/3:3 Tainted: G        W  O      5.3.0-kali1-amd64 #1 Debian 5.3.7-1kali2
    [    6.110529] Hardware name: Apple Inc. MacBookPro12,1/Mac-E43C1C25D4880AD6, BIOS 187.0.0.0.0 07/22/2019
    [    6.110539] Workqueue: usb_hub_wq hub_event [usbcore]
    [    6.110584] RIP: 0010:rtw_os_ndevs_register+0xd1/0xfb [88XXau]
    [    6.110586] Code: 83 58 01 00 00 39 e8 7f b2 e9 7a ff ff ff 48 c7 c7 90 ff 09 c1 e8 e9 b4 ec d8 0f 0b eb dd 48 c7 c7 90 ff 09 c1 e8 d9 b4 ec d8 <0f> 0b 85 ed 74 0d 48 89 df e8 8c 2f 01 00 e9 4e ff ff ff 48 63 ed
    [    6.110587] RSP: 0018:ffffb257803e7990 EFLAGS: 00010246
    [    6.110589] RAX: 0000000000000024 RBX: ffff8dd1e2162000 RCX: 0000000000000006
    [    6.110590] RDX: 0000000000000000 RSI: 0000000000000082 RDI: ffff8dd1e6b97680
    [    6.110591] RBP: 0000000000000000 R08: 00000000000003fd R09: 0000000000000004
    [    6.110592] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001
    [    6.110593] R13: 0000000000000000 R14: ffffb25780551000 R15: ffffffffc10a45bf
    [    6.110594] FS:  0000000000000000(0000) GS:ffff8dd1e6b80000(0000) knlGS:0000000000000000
    [    6.110596] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [    6.110597] CR2: 00007f455e19f180 CR3: 0000000108e0a006 CR4: 00000000003606e0
    [    6.110598] Call Trace:
    [    6.110641]  rtw_os_ndevs_init+0x24/0x38 [88XXau]
    [    6.110684]  rtw_drv_init+0x2b3/0x376 [88XXau]
    [    6.110697]  usb_probe_interface+0xe0/0x280 [usbcore]
    [    6.110701]  really_probe+0xf0/0x380
    [    6.110704]  driver_probe_device+0x59/0xd0
    [    6.110707]  ? driver_allows_async_probing+0x50/0x50
    [    6.110710]  bus_for_each_drv+0x7b/0xc0
    [    6.110713]  __device_attach+0xdf/0x160
    [    6.110716]  bus_probe_device+0x8e/0xa0
    [    6.110718]  device_add+0x3a2/0x670
    [    6.110728]  usb_set_configuration+0x42f/0x7c0 [usbcore]
    [    6.110740]  generic_probe+0x3c/0x60 [usbcore]
    [    6.110743]  really_probe+0xf0/0x380
    [    6.110746]  driver_probe_device+0x59/0xd0
    [    6.110749]  ? driver_allows_async_probing+0x50/0x50
    [    6.110751]  bus_for_each_drv+0x7b/0xc0
    [    6.110754]  __device_attach+0xdf/0x160
    [    6.110757]  bus_probe_device+0x8e/0xa0
    [    6.110759]  device_add+0x3a2/0x670
    [    6.110762]  ? add_device_randomness+0x10/0x1c0
    [    6.110773]  usb_new_device.cold+0x120/0x2e3 [usbcore]
    [    6.110783]  hub_event+0x1077/0x1450 [usbcore]
    [    6.110787]  process_one_work+0x1a2/0x340
    [    6.110789]  worker_thread+0x50/0x3c0
    [    6.110793]  kthread+0xf9/0x130
    [    6.110795]  ? process_one_work+0x340/0x340
    [    6.110798]  ? kthread_park+0x80/0x80
    [    6.110801]  ret_from_fork+0x35/0x40
    [    6.110804] ---[ end trace 491c1831d08cc03e ]---
    [    6.241645] usb 2-2: reset SuperSpeed Gen 1 USB device number 4 using xhci_hcd
    [    6.351145] broken atomic modeset userspace detected, disabling atomic
    [    9.174191] rfkill: input handler disabled
    [  109.508958] rfkill: input handler enabled
    [  109.538389] broken atomic modeset userspace detected, disabling atomic
    [  110.175936] fuse: init (API version 7.31)
    [  112.773824] rfkill: input handler disabled
    [  136.108062] rfkill: input handler enabled

  2. #2
    Join Date
    2019-Nov
    Posts
    96
    Hello everyone!
    I managed to get my Alfa Wireless (RTL8812AU chipset) card to work properly, with full monitor mode, and packet injection!

    First, I was missing some package dependancies:
    Code:
    apt-get install bc libelf-dev
    Then I needed to remove any currently installed drivers:
    Code:
    modprobe -r 88XXau && apt-get purge realtek-88XXau-dkms
    Then, I retrieved the current driver directly from aircrack-ng 's website:
    Code:
    git clone -b v5.2.20 https://github.com/aircrack-ng/rtl8812au.git
    I also had to install the driver:
    Code:
    cd rtl8812au && ./dkms-install.sh
    Then I loaded the driver:
    Code:
    modprobe 88xxau
    Note: If you want to use full 802.11ac mode, and not be limited to 802.11n speeds, you need to be using a USB 3.0 port, and you need to load the driver with the "vht=1" parameter. You can still use your device with a USB 2.0 port, but you will be limited to 802.11n speeds. If you have already loaded the driver without using "vht=1", and want to add it:
    Code:
    modprobe -r 88xxau && modprobe 88xxau vht=1
    That last line is also needed if you just plugged in the USB without running modprobe, and you want to use the 802.11ac speed.

    I hope this helps!

    --Aaron

  3. #3
    Join Date
    2017-Jan
    Posts
    23
    Whats about AP mode ?? (Access Point)
    I try use it in wifipumpkin but when i select wlan0 i get error message "This dvice dosen support AP mode"

    Code:
    wlan1     unassociated  Nickname:"<WIFI@REALTEK>"
              Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated   
              Sensitivity:0/0  
              Retry:off   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
              Link Quality=0/100  Signal level=0 dBm  Noise level=0 dBm
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Similar Threads

  1. hyperv_fb module does not load in hyper-v VM
    By scythe000 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2017-03-15, 23:22
  2. Failed to load module error.
    By silentmist in forum General Archive
    Replies: 0
    Last Post: 2016-08-05, 08:25
  3. failed to load the module scanner/ssl/openssl_heartbleed
    By hackalone in forum General Archive
    Replies: 1
    Last Post: 2014-05-21, 16:29
  4. Failed to load module "canberra-gtk-module"
    By kal in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2013-12-08, 13:28

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •