Open paulalesius opened 7 years ago
I removed all wireless interfaces and rmmod the driver:
[noname@odroidxu4 ~]$ sudo iw dev wlan0 del [noname@odroidxu4 ~]$ sudo rmmod 8812au Segmentation fault
dmesg:
[850818.693274] ------------[ cut here ]------------ [850818.697653] kernel BUG at net/core/dev.c:6755! [850818.702155] Internal error: Oops - BUG: 0 [#1] SMP THUMB2 [850818.707615] Modules linked in: 8812au(-) ipt_REJECT nf_reject_ipv4 xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack iptable_filter veth bridge stp llc joydev ads7846 spidev cfg80211 rfkill uas spi_s3c64xx exynos_gpiomem sch_fq_codel ip_tables x_tables ipv6 [last unloaded: 8812au] [850818.734134] CPU: 0 PID: 4325 Comm: rmmod Tainted: G W 4.9.30+ #2 [850818.741329] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree) [850818.747478] task: e945b180 task.stack: cb3ae000 [850818.752082] PC is at rollback_registered_many+0x260/0x2bc [850818.757528] LR is at rollback_registered_many+0x23/0x2bc [850818.762902] pc : [<c05243a4>] lr : [<c0524167>] psr: 20010033 sp : cb3afe50 ip : 00000000 fp : 00000000 [850818.774520] r10: c2320800 r9 : c0788158 r8 : 00000001 [850818.779797] r7 : cb3afe58 r6 : d0568000 r5 : cb3afe80 r4 : cb3afe3c [850818.786384] r3 : 00000003 r2 : 00000000 r1 : 00000000 r0 : 00000001 [850818.792971] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment none [850818.800353] Control: 50c5387d Table: 53ad406a DAC: 00000051 [850818.806143] Process rmmod (pid: 4325, stack limit = 0xcb3ae210) [850818.812122] Stack: (0xcb3afe50 to 0xcb3b0000) [850818.816543] fe40: 00000001 f08d2000 cb3afe58 cb3afe58 [850818.824785] fe60: 00000000 d0568000 00000000 c2320854 c2320820 c0105ee4 cb3ae000 c0526189 [850818.833018] fe80: d0568044 d0568044 c22b4c00 d0568000 d0568000 c05261d1 f08d2000 bfd1e835 [850818.841250] fea0: 00000001 c5820000 c2320800 bfd1ef63 f08d2000 bfd1f6b7 bfd1f6a5 bfda1f58 [850818.849482] fec0: bfda1f58 c042d443 ffffffff bfda1f58 00000000 c22b4c00 c22b4c70 ffffffed [850818.857714] fee0: 00000004 c2320820 bfda1f58 c2320854 00000081 c0105ee4 cb3ae000 00000000 [850818.865946] ff00: 00000000 c03e043b bfda1f58 c2320820 bfda1f58 c03e09d3 bfda1f58 bfda1f24 [850818.874179] ff20: bfda1f24 c03e010f bfda1f58 c042cc9b bfdcf9c0 7f63bdcc 00000800 00000081 [850818.882410] ff40: c0105ee4 bfd83ff3 bfd83fe1 c016ba37 eae6f9c8 32313838 00007561 00000000 [850818.890643] ff60: eae6f9c8 e945b59c eae6f9c0 00000000 e945b59c eae6f9c0 ee84c280 e945b59c [850818.898875] ff80: e945b180 c01297c5 cb3ae000 00105ee4 00000000 7f63bd90 00000002 be9dc832 [850818.907107] ffa0: 00000081 c0105d21 7f63bd90 00000002 7f63bdcc 00000800 56763300 56763300 [850818.915338] ffc0: 7f63bd90 00000002 be9dc832 00000081 be9dc538 00000001 be9dc72c 00000000 [850818.923571] ffe0: 7f639f68 be9dc4d4 7f61d1b8 b6e6f59c 20010010 7f63bdcc d49634da f870cd4c [850818.931819] [<c05243a4>] (rollback_registered_many) from [<c0526189>] (unregister_netdevice_queue+0x61/0x98) [850818.941686] [<c0526189>] (unregister_netdevice_queue) from [<c05261d1>] (unregister_netdev+0x11/0x18) [850818.951520] [<c05261d1>] (unregister_netdev) from [<bfd1e835>] (rtw_os_ndev_unregister+0x28/0x3e [8812au]) [850818.961014] [<bfd1e835>] (rtw_os_ndev_unregister [8812au]) from [<bfd1ef63>] (rtw_os_ndevs_unregister+0x14/0x1c [8812au]) [850818.971967] [<bfd1ef63>] (rtw_os_ndevs_unregister [8812au]) from [<bfd1f6b7>] (rtw_dev_remove+0x12/0x6c [8812au]) [850818.982136] [<bfd1f6b7>] (rtw_dev_remove [8812au]) from [<c042d443>] (usb_unbind_interface+0x53/0x1b8) [850818.991346] [<c042d443>] (usb_unbind_interface) from [<c03e043b>] (__device_release_driver+0x47/0xa4) [850819.000611] [<c03e043b>] (__device_release_driver) from [<c03e09d3>] (driver_detach+0x87/0x88) [850819.009273] [<c03e09d3>] (driver_detach) from [<c03e010f>] (bus_remove_driver+0x2b/0x68) [850819.017418] [<c03e010f>] (bus_remove_driver) from [<c042cc9b>] (usb_deregister+0x47/0xa0) [850819.025796] [<c042cc9b>] (usb_deregister) from [<bfd83ff3>] (rtw_drv_halt+0x12/0x23 [8812au]) [850819.034383] [<bfd83ff3>] (rtw_drv_halt [8812au]) from [<c016ba37>] (SyS_delete_module+0xeb/0x144) [850819.043169] [<c016ba37>] (SyS_delete_module) from [<c0105d21>] (ret_fast_syscall+0x1/0x4c) [850819.051475] Code: 4638 f7f2 f17d e7b1 (de02) f7ff [850819.056324] ---[ end trace 35ab0df1e68ca512 ]---
I removed all wireless interfaces and rmmod the driver:
dmesg: