Closed Svirusx closed 5 years ago
Solved.
@Svirusx I think, at least symptom wise, I experience exactly the same issue on nexus6P-81 too. How did you solve your issue finally?
It would be marvelous if you could share your solution with us.
Thanks!
"last_kmsg" excerpt
:
<6>[ 546.352210] hub 1-0:1.0: USB hub found <6>[ 546.352303] hub 1-0:1.0: 1 port detected <6>[ 546.352786] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller <6>[ 546.352824] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 <6>[ 546.352984] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003 <6>[ 546.353004] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 <6>[ 546.353020] usb usb2: Product: xHCI Host Controller <6>[ 546.353036] usb usb2: Manufacturer: Linux 3.10.73-nethunter-angler-3.0 xhci-hcd <6>[ 546.353052] usb usb2: SerialNumber: xhci-hcd.0.auto <7>[ 546.354946] xHCI xhci_add_endpoint called for root hub <7>[ 546.354965] xHCI xhci_check_bandwidth called for root hub <6>[ 546.356053] hub 2-0:1.0: USB hub found <6>[ 546.356116] hub 2-0:1.0: 1 port detected <6>[ 546.674074] usb 1-1: new high-speed USB device number 2 using xhci-hcd <6>[ 546.694627] usb 1-1: New USB device found, idVendor=0cf3, idProduct=7015 <6>[ 546.694688] usb 1-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48 <6>[ 546.694714] usb 1-1: Product: USB WLAN <6>[ 546.694736] usb 1-1: Manufacturer: ATHEROS <6>[ 546.694760] usb 1-1: SerialNumber: 12345 <6>[ 546.722672] usb 1-1: ath9k_htc: Firmware htc_7010.fw requested <14>[ 546.754800] ueventd: firmware: loading 'htc_7010.fw' for '/devices/soc.0/f9200000.ssusb/f9200000.dwc3/xhci-hcd.0.auto/usb1/1-1/firmware/htc_7010.fw' <14>[ 546.760002] ueventd: loading /devices/soc.0/f9200000.ssusb/f9200000.dwc3/xhci-hcd.0.auto/usb1/1-1/firmware/htc_7010.fw took 7ms <6>[ 546.863566] usb 1-1: ath9k_htc: Transferred FW: htc_7010.fw, size: 72812 <6>[ 546.932813] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 45 credits <6>[ 547.154787] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.4 <7>[ 547.154805] ath: EEPROM regdomain: 0x809c <7>[ 547.154808] ath: EEPROM indicates we should expect a country code <7>[ 547.154813] ath: doing EEPROM country->regdmn map search <7>[ 547.154816] ath: country maps to regdmn code: 0x52 <7>[ 547.154820] ath: Country alpha2 being used: CN <7>[ 547.154823] ath: Regpair used: 0x52 <1>[ 547.160074] Unable to handle kernel NULL pointer dereference at virtual address 00000020 <1>[ 547.160092] pgd = 0000000000000000 <1>[ 547.160096] [00000020] *pgd=000000000e90b003, *pmd=000000000e90c003, *pte=00e00000f9000407 <0>[ 547.160116] Internal error: Oops: 96000006 [#1] PREEMPT SMP <4>[ 547.160122] Modules linked in: ath9k_htc ath9k_common ath9k_hw ath mac80211 <4>[ 547.160145] CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G W 3.10.73-nethunter-angler-3.0 #1 <4>[ 547.160163] Workqueue: events request_firmware_work_func <4>[ 547.160170] task: ffffffc0061b2040 ti: ffffffc0061e0000 task.ti: ffffffc0061e0000 <4>[ 547.160181] PC is at wl_cfg80211_netdev_notifier_call+0x6c/0x298 <4>[ 547.160187] LR is at wl_cfg80211_netdev_notifier_call+0x60/0x298 <4>[ 547.160192] pc : [
Device:
Galaxy s7
OS version (Oreo/Pie):
Stock Oreo, LineageOS 15.1, LineageOS 16.0
Built from repo (date and build command) or downloaded from website (links):
https://github.com/Svirusx/WirusMOD_s7_kernel_StockOreo make WirusMOD_defconfig make -j4 inserted image to STOCK Oreo boot.img by bootimg.exe
Output of
cat /proc/version
in adb shell or NetHunter Terminal:Linux version 3.18.91WirusMOD_-g1fb69d4f (wirusx@xda-developers) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Sun Jan 13 13:50:16 CET 2019
Issue:
After connecting USB WiFi adapter(AR9271) is kernel panic and reboot. Tested too at LineageOS 15.1 and LineageOS 16 and in custom kernel "tgpkernel for Oreo" have too this issue. Recently copied last_kmsg from G930FXXU3ERL3 :last_kmsg.log
piece of last_kmsg ` from S7 Stock Oreo:
<6>[ 249.919612] [3: kworker/3:2: 4705] usb usb1-port1: port 1, status 0101, change 0000, 12 Mb/s <6>[ 250.039444] [3: kworker/3:2: 4705] usb 1-1: new high-speed USB device number 2 using xhci-hcd <6>[ 250.203517] [3: kworker/3:2: 4705] usb 1-1: New USB device found, idVendor=0cf3, idProduct=9271 <6>[ 250.203585] [3: kworker/3:2: 4705] usb 1-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48 <6>[ 250.203630] [3: kworker/3:2: 4705] usb 1-1: Product: UB93 <6>[ 250.203670] [3: kworker/3:2: 4705] usb 1-1: Manufacturer: ATHEROS <6>[ 250.203711] [3: kworker/3:2: 4705] usb 1-1: SerialNumber: 12345 <6>[ 250.215659] [3: kworker/3:2: 4705] usb 1-1: ath9k_htc: Firmware htc_9271.fw requested <6>[ 250.216574] [3: kworker/3:2: 4705] usb_notify: call_device_notify device <6>[ 250.216635] [3: kworker/3:2: 4705] usb_notify: send_otg_notify event=device_connect(20) enable=1 <6>[ 250.216673] [3: kworker/3:2: 4705] usb_notify: extra_notifier_callback event=device_connect(20) <6>[ 250.216711] [3: kworker/3:2: 4705] usb_notify: extra_notify_state+ event=device_connect(20), enable=on <6>[ 250.216750] [3: kworker/3:2: 4705] usb_notify: extra_notify_state- event=device_connect(20), cable=host_id <6>[ 250.216787] [3: kworker/3:2: 4705] usb_notify: check_gamepad_device : product=UB93 <6>[ 250.216823] [3: kworker/3:2: 4705] usb_notify: check_lanhub_device : product=UB93 <6>[ 250.216863] [3: kworker/3:2: 4705] usb_notify: check_device_speed : attached highspeed device <6>[ 250.216902] [3: kworker/3:2: 4705] usb_notify: set_hw_param USB device connected - Class : 0xff, speed : 0x3 <4>[ 250.301133] [0: wpa_supplicant: 5504] Unknown PRIVATE command GET_LQCM_REPORT - ignored <6>[ 250.683450] [3: kworker/3:2: 4705] usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51008 <6>[ 250.936275] [3: kworker/3:2: 4705] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits <6>[ 251.179882] [3: kworker/3:2: 4705] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.4 <7>[ 251.179945] [3: kworker/3:2: 4705] ath: EEPROM regdomain: 0x65 <7>[ 251.179984] [3: kworker/3:2: 4705] ath: EEPROM indicates we should expect a direct regpair map <7>[ 251.180035] [3: kworker/3:2: 4705] ath: Country alpha2 being used: 00 <7>[ 251.180071] [3: kworker/3:2: 4705] ath: Regpair used: 0x65 <0>[ 251.199777] [3: kworker/3:2: 4705] Unable to handle kernel NULL pointer dereference at virtual address 00000024 <1>[ 251.199835] [3: kworker/3:2: 4705] pgd = ffffffc0028f7000 <1>[ 251.199869] [3: kworker/3:2: 4705] [00000024] *pgd=00000008fa008003, *pud=00000008fa008003, *pmd=00000008fa009003, *pte=00600000101c0707 <4>[ 251.200076] [3: kworker/3:2: 4705] ------------[ cut here ]------------ <0>[ 251.200113] [3: kworker/3:2: 4705] Kernel BUG at ffffffc0006122a4 [verbose debug info unavailable] <0>[ 251.200150] [3: kworker/3:2: 4705] Internal error: Oops - BUG: 96000006 [#1] PREEMPT SMP <0>[ 251.200196] [3: kworker/3:2: 4705] exynos-snapshot: exynos_ss_get_reason 0x0 (CPU:3) <0>[ 251.200237] [3: kworker/3:2: 4705] exynos-snapshot: core register saved(CPU:3) <0>[ 251.200275] [3: kworker/3:2: 4705] CPUMERRSR: 000000000010047f, L2MERRSR: 0000000010000910 <0>[ 251.200313] [3: kworker/3:2: 4705] SCTLR_EL1: 04C5591D, <0>[ 251.200347] [3: kworker/3:2: 4705] exynos-snapshot: context saved(CPU:3) <6>[ 251.200487] [3: kworker/3:2: 4705] exynos-snapshot: item - log_kevents is disabled <4>[ 251.200563] [3: kworker/3:2: 4705] CPU: 3 PID: 4705 Comm: kworker/3:2 Tainted: G W 3.18.14 #1 <4>[ 251.200599] [3: kworker/3:2: 4705] Hardware name: Samsung UNIVERSAL8890 board based on EXYNOS8890 (DT) <4>[ 251.200670] [3: kworker/3:2: 4705] Workqueue: events request_firmware_work_func <4>[ 251.200712] [3: kworker/3:2: 4705] task: ffffffc8795f6000 ti: ffffffc84893c000 task.ti: ffffffc84893c000 <4>[ 251.200762] [3: kworker/3:2: 4705] PC is at wl_cfg80211_netdev_notifier_call+0x6c/0x280 <4>[ 251.200802] [3: kworker/3:2: 4705] LR is at wl_cfg80211_netdev_notifier_call+0x2c/0x280 <4>[ 251.200842] [3: kworker/3:2: 4705] pc : [