kmod-rtl8812au-ct KERNEL PANIC
Open
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
related #15628
root@APU2:~# lsusb
Bus 002 Device 002: ID 2357:0120 TP-Link Archer T2U PLUS [RTL8821AU]
root@APU2:~# lsmod | grep rtl
cfg80211 282624 5 ath9k,ath9k_common,ath,rtl8812au,mac80211
rtl8812au 1163264 0
root@APU2:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'pci0000:00/0000:00:02.5/0000:04:00.0'
option htmode 'HT40'
option noscan '1'
option country 'CA'
option wmm '1'
option cell_density '0'
option disabled '0'
option channel '11'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'game'
option mode 'ap'
option ssid '[REDACTED]'
option encryption 'none'
option disabled '0'
config wifi-device 'radio1'
option type 'mac80211'
option path 'pci0000:00/0000:00:10.0/usb2/2-2/2-2:1.0'
option country 'CA'
option noscan '1'
option cell_density '0'
option wmm '1'
option txpower '18'
option hwmode '11a'
option channel '46'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option ssid '[REDACTED]'
option key '[REDACTED]'
option encryption 'psk2+ccmp'
option mode 'ap'
root@APU2:~# iw dev
phy#1
Interface wlan1
ifindex 9
wdev 0x100000002
addr 00:0e:8e:5a:6f:f2
ssid [REDACTED]
type AP
channel 11 (2462 MHz), width: 40 MHz, center1: 2452 MHz
txpower 17.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcol tx-bytes tx-packets
0 0 0 0 0 0 0 0 0
root@APU2:~# rmmod rtl8812au
[ 1489.406375] RTL871X: module exit start
[ 1489.410206] usbcore: deregistering interface driver rtl8812au
[ 1489.416119] ------------[ cut here ]------------
[ 1489.420762] Kernel BUG at 0xffffffff8175c78f [verbose debug info unavailable]
[ 1489.427950] invalid opcode: 0000 [#1] SMP NOPTI
[ 1489.432508] CPU: 3 PID: 11995 Comm: rmmod Not tainted 5.4.179 #0
[ 1489.438523] Hardware name: PC Engines apu2/apu2, BIOS 88a4f96 03/07/2016
[ 1489.445438] RIP: 0010:0xffffffff8175c78f
[ 1489.449442] Code: 39 e1 74 28 0f b6 8a d0 04 00 00 84 c9 75 d5 0f 0b 48 8b 72 70 48 8b 4a 78 48 89 4e 08 48 89 31 4c 89 42 70 48 89 7a 78 eb c6 <0f> 0b 49 8b 14 24 48 8d 42 90 49 39 d4 74 2d 48 8b 55 b8 48 8d 88
[ 1489.468292] RSP: 0018:ffffc90001e67c78 EFLAGS: 00010202
[ 1489.473536] RAX: ffffc90001e67c68 RBX: ffffc90001e67c78 RCX: 0000000000000003
[ 1489.480678] RDX: ffff888119788000 RSI: 0000000000000000 RDI: dead000000000122
[ 1489.487829] RBP: ffffc90001e67cc8 R08: dead000000000100 R09: ffff888119eaba08
[ 1489.494979] R10: ffff888117608088 R11: ffff88811a00c618 R12: ffffc90001e67cd8
[ 1489.502128] R13: ffffffffa05d20f0 R14: ffff888119735030 R15: ffffffffa05d20f0
[ 1489.509271] FS: 00007ff73c1efd48(0000) GS:ffff88811ad80000(0000) knlGS:0000000000000000
[ 1489.517384] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1489.523152] CR2: 00000000009aaff0 CR3: 0000000113636000 CR4: 00000000000406e0
[ 1489.530295] Call Trace:
[ 1489.532772] 0xffffffff8175cc1d
[ 1489.535929] 0xffffffff8175ccb7
[ 1489.539098] 0xffffffffa057513f [rtl8812au@0000000096389290+0x11c000]
[ 1489.545563] 0xffffffffa057518c [rtl8812au@0000000096389290+0x11c000]
[ 1489.552017] 0xffffffffa057641a [rtl8812au@0000000096389290+0x11c000]
[ 1489.558479] 0xffffffff81689b62
[ 1489.561641] 0xffffffff815b845a
[ 1489.564795] 0xffffffff815b8597
[ 1489.567949] 0xffffffff815b72ae
[ 1489.571111] 0xffffffff815b8b1a
[ 1489.574317] 0xffffffff818e77b7
[ 1489.577519] 0xffffffffa05c43ca [rtl8812au@0000000096389290+0x11c000]
[ 1489.584028] 0xffffffff8111c2bc
[ 1489.587181] ? 0xffffffff810c823f
[ 1489.590509] 0xffffffff81002e94
[ 1489.593666] 0xffffffff81a0008c
[ 1489.596826] RIP: 0033:0x7ff73c1b2ad9
[ 1489.600419] Code: 0e 4c 8b 44 24 10 4d 8d 48 08 4c 89 4c 24 10 44 8b 4c 24 08 4d 8b 00 4c 01 c9 41 83 f9 2f 76 05 48 8b 4c 24 10 4c 8b 09 0f 05 <48> 89 c7 e8 1f 07 fe ff 48 83 c4 58 c3 31 d2 56 bf 01 00 00 00 be
[ 1489.619195] RSP: 002b:00007fff871f34e0 EFLAGS: 00000212 ORIG_RAX: 00000000000000b0
[ 1489.626783] RAX: ffffffffffffffda RBX: 00007fff871f4eda RCX: 00007ff73c1b2ad9
[ 1489.633931] RDX: 0000000000000075 RSI: 0000000000000000 RDI: 0000000000406370
[ 1489.641074] RBP: 00007fff871f3668 R08: 0000000000000075 R09: 0000000000402000
[ 1489.648233] R10: 00007ff73c16e3f1 R11: 0000000000000212 R12: 0000000000000002
[ 1489.655379] R13: 00007fff871f3680 R14: 0400000100003e00 R15: 0000000000000000
[ 1489.662525] Modules linked in: ath9k ath9k_common xt_connlimit pppoe ppp_async nf_conncount iptable_nat ath9k_hw ath xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT rtl8812au(-) pppox ppp_generic nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_pptp nf_nat_irc nf_nat_h323 nf_nat_amanda nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_pptp nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast nf_conntrack_amanda nf_conntrack mac80211 ipt_REJECT gspca_spca505 gspca_main cfg80211 cdc_ether xt_time xt_tcpudp xt_recent xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_NFLOG xt_LOG videobuf2_v4l2 videobuf2_common usbnet usblp ts_kmp ts_fsm ts_bm slhc r8169 nfnetlink_log nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_raw iptable_mangle iptable_filter ip_tables forcedeth e1000e crc_ccitt compat bnx2 asn1_decoder videobuf2_vmalloc
[ 1489.662657] videobuf2_memops videodev pcengines_apuv2 parport_pc i2c_dev ppdev parport snd_pcsp xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ixgbe igb e1000 mdio snd_rawmidi snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_mixer_oss snd_hwdep snd_compress snd soundcore vfat fat cifs nls_utf8 nls_iso8859_1 nls_cp437 sha512_ssse3 sha512_generic sha256_ssse3 sha256_generic libsha256 seqiv jitterentropy_rng drbg md5 md4 hmac des_generic libdes ctr cmac ccm arc4 xhci_plat_hcd fsl_mph_dr_of ehci_platform ehci_fsl gpio_nct5104d gpio_button_hotplug gpio_amd_fch button_hotplug ptp realtek pps_core mii libphy
[ 1489.835797] ---[ end trace 5c1d152ba2bdd0a5 ]---
[ 1489.840453] RIP: 0010:0xffffffff8175c78f
[ 1489.844416] Code: 39 e1 74 28 0f b6 8a d0 04 00 00 84 c9 75 d5 0f 0b 48 8b 72 70 48 8b 4a 78 48 89 4e 08 48 89 31 4c 89 42 70 48 89 7a 78 eb c6 <0f> 0b 49 8b 14 24 48 8d 42 90 49 39 d4 74 2d 48 8b 55 b8 48 8d 88
[ 1489.863216] RSP: 0018:ffffc90001e67c78 EFLAGS: 00010202
[ 1489.868488] RAX: ffffc90001e67c68 RBX: ffffc90001e67c78 RCX: 0000000000000003
[ 1489.875656] RDX: ffff888119788000 RSI: 0000000000000000 RDI: dead000000000122
[ 1489.882840] RBP: ffffc90001e67cc8 R08: dead000000000100 R09: ffff888119eaba08
[ 1489.890007] R10: ffff888117608088 R11: ffff88811a00c618 R12: ffffc90001e67cd8
[ 1489.897175] R13: ffffffffa05d20f0 R14: ffff888119735030 R15: ffffffffa05d20f0
[ 1489.904344] FS: 00007ff73c1efd48(0000) GS:ffff88811ad80000(0000) knlGS:0000000000000000
[ 1489.912465] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1489.918243] CR2: 00000000009aaff0 CR3: 0000000113636000 CR4: 00000000000406e0
[ 1489.925415] Kernel panic - not syncing: Fatal exception
[ 1489.930677] Kernel Offset: disabled
[ 1489.934180] Rebooting in 3 seconds..
PCEngines apu2
coreboot build 20160307
4080 MB ECC DRAM
SeaBIOS (version ?-20160307_153453-michael-desktop64)
Found mainboard PC Engines PCEngines apu2
multiboot: eax=0, ebx=0
boot order:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with related issue #15628, then reproduce the failure by loading kmod-rtl8812au and running rmmod on the listed OpenWrt 5.4.179 setup. Use the kernel trace and rtl8812au module paths to locate the unload failure; done means removing the module no longer causes a kernel panic.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100