Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALFA AWUS036AXML - unable to run a stable AP #580

Open
Simon566 opened this issue Feb 13, 2025 · 21 comments
Open

ALFA AWUS036AXML - unable to run a stable AP #580

Simon566 opened this issue Feb 13, 2025 · 21 comments

Comments

@Simon566
Copy link

Alfa adapter:

Feb 12 11:43:58 odroid-h3 kernel: BUG: kernel NULL pointer dereference, address: 0000000000000400
Feb 12 11:43:58 odroid-h3 kernel: #PF: supervisor read access in kernel mode
Feb 12 11:43:58 odroid-h3 kernel: #PF: error_code(0x0000) - not-present page
Feb 12 11:43:58 odroid-h3 kernel: PGD 0 P4D 0
Feb 12 11:43:58 odroid-h3 kernel: Oops: Oops: 0000 [https://github.com//issues/1] PREEMPT SMP NOPTI
Feb 12 11:43:58 odroid-h3 kernel: CPU: 3 UID: 0 PID: 235904 Comm: mt76-usb-rx phy Tainted: G U W OE 6.12.13 #14
Feb 12 11:43:58 odroid-h3 kernel: Tainted: [U]=USER, [W]=WARN, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
Feb 12 11:43:58 odroid-h3 kernel: Hardware name: HARDKERNEL ODROID-H3/ODROID-H3, BIOS 5.19 07/19/2023
Feb 12 11:43:58 odroid-h3 kernel: RIP: 0010:mt792x_rx_get_wcid+0x38/0x70 [mt792x_lib]
Feb 12 11:43:58 odroid-h3 kernel: Code: 77 48 0f b7 f6 48 81 c6 84 06 00 00 48 8b 44 f7 08 48 85 c0 74 36 84 d2 75 32 f6 80 bc 00 00 00 01 74 27>
Feb 12 11:43:58 odroid-h3 kernel: RSP: 0018:ffffa8e68334bdb8 EFLAGS: 00010202
Feb 12 11:43:58 odroid-h3 kernel: RAX: 0000000000000000 RBX: ffff8d05e3b83d00 RCX: 0000000000000000
Feb 12 11:43:58 odroid-h3 kernel: RDX: 0000000000000000 RSI: 000000000000068a RDI: ffff8d05ce022000
Feb 12 11:43:58 odroid-h3 kernel: RBP: ffff8d05cad9c800 R08: 0000000000000000 R09: 0000000000000000
Feb 12 11:43:58 odroid-h3 kernel: R10: ffff8d05e3b83d00 R11: 0000000000000000 R12: ffff8d05c5591000
Feb 12 11:43:58 odroid-h3 kernel: R13: 0000000038010148 R14: 0000000080843806 R15: ffff8d05ce022000
Feb 12 11:43:58 odroid-h3 kernel: FS: 0000000000000000(0000) GS:ffff8d092ff80000(0000) knlGS:0000000000000000
Feb 12 11:43:58 odroid-h3 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 12 11:43:58 odroid-h3 kernel: CR2: 0000000000000400 CR3: 000000020f222000 CR4: 0000000000352ef0
Feb 12 11:43:58 odroid-h3 kernel: Call Trace:
Feb 12 11:43:58 odroid-h3 kernel:
Feb 12 11:43:58 odroid-h3 kernel: ? __die+0x23/0x80
Feb 12 11:43:58 odroid-h3 kernel: ? page_fault_oops+0x173/0x5d0
Feb 12 11:43:58 odroid-h3 kernel: ? exc_page_fault+0x76/0x1b0
Feb 12 11:43:58 odroid-h3 kernel: ? asm_exc_page_fault+0x26/0x30
Feb 12 11:43:58 odroid-h3 kernel: ? mt792x_rx_get_wcid+0x38/0x70 [mt792x_lib]
Feb 12 11:43:58 odroid-h3 kernel: mt7921_queue_rx_skb+0x1df/0x9a0 [mt7921_common]
Feb 12 11:43:58 odroid-h3 kernel: mt76u_rx_worker+0x5be/0x5f0 [mt76_usb]
Feb 12 11:43:58 odroid-h3 kernel: ? __pfx___mt76_worker_fn+0x10/0x10 [mt76]
Feb 12 11:43:58 odroid-h3 kernel: __mt76_worker_fn+0x4c/0x80 [mt76]
Feb 12 11:43:58 odroid-h3 kernel: kthread+0xde/0x110
Feb 12 11:43:58 odroid-h3 kernel: ? __pfx_kthread+0x10/0x10
Feb 12 11:43:58 odroid-h3 kernel: ret_from_fork+0x31/0x50
Feb 12 11:43:58 odroid-h3 kernel: ? __pfx_kthread+0x10/0x10
Feb 12 11:43:58 odroid-h3 kernel: ret_from_fork_asm+0x1a/0x30
Feb 12 11:43:58 odroid-h3 kernel:
Feb 12 11:43:58 odroid-h3 kernel: Modules linked in: rtw_8812au(OE) ftdi_sio mt7921u mt792x_usb mt7921_common mt792x_lib mt76_connac_lib mt76_us>
Feb 12 11:43:58 odroid-h3 kernel: snd_soc_acpi snd_soc_core x86_pkg_temp_thermal nls_ascii snd_compress nls_cp437 soundwire_bus intel_powerclam>
Feb 12 11:43:58 odroid-h3 kernel: sunrpc garp stp mrp loop dm_mod llc efi_pstore configfs efivarfs ip_tables x_tables autofs4 hid_logitech_hidp>
Feb 12 11:43:58 odroid-h3 kernel: CR2: 0000000000000400
Feb 12 11:43:58 odroid-h3 kernel: ---[ end trace 0000000000000000 ]---
Feb 12 11:43:58 odroid-h3 kernel: RIP: 0010:mt792x_rx_get_wcid+0x38/0x70 [mt792x_lib]
Feb 12 11:43:58 odroid-h3 kernel: Code: 77 48 0f b7 f6 48 81 c6 84 06 00 00 48 8b 44 f7 08 48 85 c0 74 36 84 d2 75 32 f6 80 bc 00 00 00 01 74 27>
Feb 12 11:43:58 odroid-h3 kernel: RSP: 0018:ffffa8e68334bdb8 EFLAGS: 00010202
Feb 12 11:43:58 odroid-h3 kernel: RAX: 0000000000000000 RBX: ffff8d05e3b83d00 RCX: 0000000000000000
Feb 12 11:43:58 odroid-h3 kernel: RDX: 0000000000000000 RSI: 000000000000068a RDI: ffff8d05ce022000
Feb 12 11:43:58 odroid-h3 kernel: RBP: ffff8d05cad9c800 R08: 0000000000000000 R09: 0000000000000000
Feb 12 11:43:58 odroid-h3 kernel: R10: ffff8d05e3b83d00 R11: 0000000000000000 R12: ffff8d05c5591000
Feb 12 11:43:58 odroid-h3 kernel: R13: 0000000038010148 R14: 0000000080843806 R15: ffff8d05ce022000
Feb 12 11:43:58 odroid-h3 kernel: FS: 0000000000000000(0000) GS:ffff8d092ff80000(0000) knlGS:0000000000000000
Feb 12 11:43:58 odroid-h3 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 12 11:43:58 odroid-h3 kernel: CR2: 0000000000000400 CR3: 000000018337c000 CR4: 0000000000352ef0
Feb 12 11:43:58 odroid-h3 kernel: note: mt76-usb-rx phy[235904] exited with irqs disabled

and

Feb 12 11:43:58 odroid-h3 kernel: ---[ end trace 0000000000000000 ]---
Feb 12 11:43:58 odroid-h3 kernel: RIP: 0010:mt792x_rx_get_wcid+0x38/0x70 [mt792x_lib]
Feb 12 11:43:58 odroid-h3 kernel: Code: 77 48 0f b7 f6 48 81 c6 84 06 00 00 48 8b 44 f7 08 48 85 c0 74 36 84 d2 75 32 f6 80 bc 00 00 00 01 74 27>
Feb 12 11:43:58 odroid-h3 kernel: RSP: 0018:ffffa8e68334bdb8 EFLAGS: 00010202
Feb 12 11:43:58 odroid-h3 kernel: RAX: 0000000000000000 RBX: ffff8d05e3b83d00 RCX: 0000000000000000
Feb 12 11:43:58 odroid-h3 kernel: RDX: 0000000000000000 RSI: 000000000000068a RDI: ffff8d05ce022000
Feb 12 11:43:58 odroid-h3 kernel: RBP: ffff8d05cad9c800 R08: 0000000000000000 R09: 0000000000000000
Feb 12 11:43:58 odroid-h3 kernel: R10: ffff8d05e3b83d00 R11: 0000000000000000 R12: ffff8d05c5591000
Feb 12 11:43:58 odroid-h3 kernel: R13: 0000000038010148 R14: 0000000080843806 R15: ffff8d05ce022000
Feb 12 11:43:58 odroid-h3 kernel: FS: 0000000000000000(0000) GS:ffff8d092ff80000(0000) knlGS:0000000000000000
Feb 12 11:43:58 odroid-h3 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 12 11:43:58 odroid-h3 kernel: CR2: 0000000000000400 CR3: 000000018337c000 CR4: 0000000000352ef0
Feb 12 11:43:58 odroid-h3 kernel: note: mt76-usb-rx phy[235904] exited with irqs disabled
Feb 12 11:43:58 odroid-h3 dnsmasq-dhcp[1572]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar


  • no patches , vanilla kernel 6.12.13 on Odroid H3 ( X86-64) with the USB Alfa adapter

  • running Debian Bookworm , no network manager

    it was never able to run a stable AP
    tx urb failed issues
    null ptr accesses
    device is unusable since i bought it ( one year ) passing over 5.19 , 6.6 and 6.12 kernel versions
    bluetooth crash is avoided by your FAQ and blacklisting

hostapd_alfa.conf.txt

@morrownr
Copy link
Owner

For others that may read this issue:

odroid-h3 kernel: BUG: kernel NULL pointer dereference, address: 0000000000000400

This is an issue that just popped up with the recent release of 6.12.13. One reporter has reported that backing off to 6.12.12 removes the problem making it looking like a patch that went into 6.12.13 is the cause. I have tested with 6.14 rc1 and do not see this problem. My intent is to report this to linux-wireless when I have enough information.

Hi @Simon566

...never able to run a stable AP... with Alfa AXML

Let's see what we can do.

I am currently reading hostapd_alfa.conf.txt. I am not finished reading it but I have some questions:

  • Is that the hostapd.conf file you are actually using?

  • Is there a reason that you are taking an adapter that is capable of AXE3000 class performance and running it is what amounts to G72. I mean, it is not even running in N150 (WiFi 4) mode, let along the WiFi 6 mode that it is capable of in all 3 bands.

  • I need to know what your intent is:

What band do you want to use? (2.4 GHz, 5 GHz or 6 GHz)

What channel do you want to use?

What throughput are you looking for?

What devices are connecting to this AP and what are their capabilities?

  • I am seeing some problems in the hostapd.conf. I understand that hostapd.conf can be a real challenge. Been there, done that. Let me help you. Answer my questions about what you want to do and I'll see what I can do.

@Simon566
Copy link
Author

Simon566 commented Feb 13, 2025 via email

@morrownr
Copy link
Owner

Opps...

I had to correct myself, the following will work for N150:

hw_mode=g

Do you think the config for this is wrong?

Let me continue reading. Setting up AX on band 1 (2.4 GHz) is not as simple as it could be. Even the guide I have post for the mt7921 defaults to 5 GHz. Let me work this and let you know what I figure out.

Im running it in 2,4ghz mode with 11ax Options, 20mhz Channel width.

Let me work with this.

@morrownr
Copy link
Owner

@Simon566

Your hostapd.conf is really pretty good. My old eyes had a hard time going through the file as it is due to all of the documentation. I'm not saying using the documentation is a bad idea. What I did is run the following to get rid of the comments and the document came to life for me:

$ sed '/^#/ d' < inputFile.txt > outputFile.txt

I did leave the lines in the order they were in. I have used # to show my comments:


interface=wlx00c0cab38118

bridge=br-guest

driver=nl80211

logger_syslog=-1
logger_syslog_level=3
logger_stdout=-1
logger_stdout_level=3

ctrl_interface=/var/run/hostapd

ctrl_interface_group=0

ssid=xxxxxxxxxxxxxxx

country_code=DE

ieee80211d=1

hw_mode=g

channel=6

max_num_sta=14

macaddr_acl=0

auth_algs=1

ignore_broadcast_ssid=0

wmm_enabled=1

skip_inactivity_poll=1

ieee80211n=1

Change
ht_capab=[LDPC][HT40+][HT40-][GF][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-7935][SU-BEAMFORMEE][MU-BEAMFORMEE]
to
ht_capab=[LDPC][SHORT-GI-20][TX-STBC][RX-STBC1][MAX-AMSDU-7935][SU-BEAMFORMEE][MU-BEAMFORMEE]

# Not needed, 2.4 GHz cannot do AC
vht_capab=[RXLDPC][SHORT-GI-80][TX-STBC-2BY1][SU-BEAMFORMEE][MU-BEAMFORMEE][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][BF-ANTENNA-2][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7]

ieee80211ax=1

he_su_beamformer=1
he_su_beamformee=1
# The below line is a capability the adapter does not have 
he_mu_beamformer=1
he_bss_color=37

# Not needed
he_oper_chwidth=0

# Not needed
eapol_key_index_workaround=0

# Not needed
eap_server=0

# Is this line needed?
own_ip_addr=127.0.0.1

wpa=2

wpa_passphrase=xxxxxxxxxxxxxxxxxxxx

wpa_pairwise=CCMP
rsn_pairwise=CCMP

Next:

It appears that the Odroid H3 has two USB2 ports. Make sure you are plugging the AXML into a USB2 port, not a USB3 port. Why? We want to avoid the interference caused by USB3 in the 2.4 GHz band.

Next:

Does the back of your AXML have a line like this? 80211ax 2x2+BT5.2

If so, do you use the bluetooth? If yes, it would probably be best not to do so since you are on the 2.4 GHz band. Why? bluetooth works on the 2.4 GHz band and will interfere with wifi on the 2.4 GHz band. I have advocated for many year not to buy USB WiFi adapters that have bluetooth support.

Next:

There is no good reason for scatter-gather to be active in your setup and I have seen problems with it on some small board systems depending on the chip used in the USB3 hub so:

To shut down scatter-gather support:

Open a terminal (Ctrl+Alt+t)

sudo -i
echo "options mt76_usb disable_usb_sg=1" >> /etc/modprobe.d/mt76_usb.conf
exit

Final word for now: Let me know if any of the above help your AXML become stable in AP mode.
sudo reboot

@Simon566
Copy link
Author

Hi,

  • i did the adaptions in the hostapd config file
  • yes its a bluetooth capable adapter , but i blacklisted it , is it enough
  • its plugged into USB2

scatter gather was on , will turn it off

will report back

thank you

@Simon566
Copy link
Author

here is another crash , with your adjustments made

[Fr Feb 14 14:41:25 2025] br-lan: port 2(enp1s0) entered disabled state
[Fr Feb 14 14:49:33 2025] BUG: kernel NULL pointer dereference, address: 0000000000000400
[Fr Feb 14 14:49:33 2025] #PF: supervisor read access in kernel mode
[Fr Feb 14 14:49:33 2025] #PF: error_code(0x0000) - not-present page
[Fr Feb 14 14:49:33 2025] PGD 1078b6067 P4D 1078b6067 PUD 0
[Fr Feb 14 14:49:33 2025] Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI
[Fr Feb 14 14:49:33 2025] CPU: 1 UID: 0 PID: 697 Comm: mt76-usb-rx phy Tainted: G U OE 6.12.13 #14
[Fr Feb 14 14:49:33 2025] Tainted: [U]=USER, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
[Fr Feb 14 14:49:33 2025] Hardware name: HARDKERNEL ODROID-H3/ODROID-H3, BIOS 5.19 07/19/2023
[Fr Feb 14 14:49:33 2025] RIP: 0010:mt792x_rx_get_wcid+0x38/0x70 [mt792x_lib]
[Fr Feb 14 14:49:33 2025] Code: 77 48 0f b7 f6 48 81 c6 84 06 00 00 48 8b 44 f7 08 48 85 c0 74 36 84 d2 75 32 f6 80 bc 00 00 00 01 74 27 48 8b 80 78 03 00 00 <48> 8b 80 00 04 00 00 48 8d 90 e0 00 00 00 48 85 c0 48 0f 45 c2 31
[Fr Feb 14 14:49:33 2025] RSP: 0018:ffffbfb880757db8 EFLAGS: 00010202
[Fr Feb 14 14:49:33 2025] RAX: 0000000000000000 RBX: ffffa0f660fb2300 RCX: 0000000000000000
[Fr Feb 14 14:49:33 2025] RDX: 0000000000000000 RSI: 000000000000068e RDI: ffffa0f64b9b2000
[Fr Feb 14 14:49:33 2025] RBP: ffffa0f6a7d3fb40 R08: 0000000000000000 R09: 0000000000000000
[Fr Feb 14 14:49:33 2025] R10: ffffa0f660fb2300 R11: 0000000000000000 R12: ffffa0f6a7e54000
[Fr Feb 14 14:49:33 2025] R13: 0000000038010148 R14: 000000008084380a R15: ffffa0f64b9b2000
[Fr Feb 14 14:49:33 2025] FS: 0000000000000000(0000) GS:ffffa0f9afe80000(0000) knlGS:0000000000000000
[Fr Feb 14 14:49:33 2025] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Fr Feb 14 14:49:33 2025] CR2: 0000000000000400 CR3: 00000001507bc000 CR4: 0000000000352ef0
[Fr Feb 14 14:49:33 2025] Call Trace:
[Fr Feb 14 14:49:33 2025]
[Fr Feb 14 14:49:33 2025] ? __die+0x23/0x80
[Fr Feb 14 14:49:33 2025] ? page_fault_oops+0x173/0x5d0
[Fr Feb 14 14:49:33 2025] ? exc_page_fault+0x76/0x1b0
[Fr Feb 14 14:49:33 2025] ? asm_exc_page_fault+0x26/0x30
[Fr Feb 14 14:49:33 2025] ? mt792x_rx_get_wcid+0x38/0x70 [mt792x_lib]
[Fr Feb 14 14:49:33 2025] mt7921_queue_rx_skb+0x1df/0x9a0 [mt7921_common]
[Fr Feb 14 14:49:33 2025] mt76u_rx_worker+0x5be/0x5f0 [mt76_usb]
[Fr Feb 14 14:49:33 2025] ? __pfx___mt76_worker_fn+0x10/0x10 [mt76]
[Fr Feb 14 14:49:33 2025] __mt76_worker_fn+0x4c/0x80 [mt76]
[Fr Feb 14 14:49:33 2025] kthread+0xde/0x110
[Fr Feb 14 14:49:33 2025] ? __pfx_kthread+0x10/0x10
[Fr Feb 14 14:49:33 2025] ret_from_fork+0x31/0x50
[Fr Feb 14 14:49:33 2025] ? __pfx_kthread+0x10/0x10
[Fr Feb 14 14:49:33 2025] ret_from_fork_asm+0x1a/0x30
[Fr Feb 14 14:49:33 2025]
[Fr Feb 14 14:49:33 2025] Modules linked in: cls_matchall sch_ingress sch_cake act_mirred ifb nft_masq nft_nat nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 cmac ccm veth wireguard libchacha20poly1305 chacha_x86_64 poly1305_x86_64 curve25519_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel pppoe pppox nf_tables ppp_generic crc32c_generic nfnetlink slhc nvme_fabrics bluetooth crc16 msr bridge binfmt_misc snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_scodec_component snd_sof_pci_intel_icl i915 snd_sof_pci_intel_cnl snd_sof_intel_hda_generic soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink snd_sof_intel_hda mt7921u snd_hda_ext_core mt792x_usb snd_sof_pci mt7921_common snd_sof_xtensa_dsp snd_sof mt792x_lib snd_sof_utils snd_soc_acpi_intel_match snd_soc_acpi mt76_connac_lib snd_soc_core mt76_usb snd_compress mt76 x86_pkg_temp_thermal rtw_8812au(OE) rtw_8812a(OE) rtw_88xxa(OE) rtw_usb(OE)
[Fr Feb 14 14:49:33 2025] soundwire_bus rtw_core(OE) intel_powerclamp nls_ascii kvm_intel snd_hda_intel cec nls_cp437 mac80211 snd_intel_dspcfg rc_core vfat snd_intel_sdw_acpi kvm drm_buddy snd_hda_codec fat drm_display_helper crct10dif_pclmul snd_hda_core libarc4 processor_thermal_device_pci_legacy processor_thermal_device ghash_clmulni_intel processor_thermal_wt_hint sha512_ssse3 intel_rapl_msr processor_thermal_rfim mei_hdcp ttm mei_pxp snd_hwdep cfg80211 processor_thermal_rapl sha256_ssse3 snd_pcm sha1_ssse3 intel_rapl_common aesni_intel snd_timer drm_kms_helper iTCO_wdt gf128mul crypto_simd cryptd intel_pmc_bxt snd processor_thermal_wt_req pcspkr iTCO_vendor_support intel_cstate mei_me processor_thermal_power_floor watchdog soundcore ftdi_sio processor_thermal_mbox intel_pmc_core mei int340x_thermal_zone wmi_bmof i2c_algo_bit ee1004 rfkill usbserial intel_soc_dts_iosf nfsd intel_vsec pmt_telemetry acpi_pad pmt_class button acpi_tad evdev joydev sg auth_rpcgss it87(OE) hwmon_vid emc2103 nfs_acl lockd coretemp drm 8021q grace
[Fr Feb 14 14:49:33 2025] sunrpc dm_mod garp stp mrp loop llc fuse efi_pstore configfs efivarfs ip_tables x_tables autofs4 btrfs xor raid6_pq libcrc32c hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid sd_mod ahci libahci xhci_pci libata xhci_hcd r8169 nvme realtek mdio_devres nvme_core usbcore crc32_pclmul libphy scsi_mod crc32c_intel i2c_i801 intel_lpss_pci i2c_smbus intel_lpss scsi_common idma64 usb_common video wmi
[Fr Feb 14 14:49:33 2025] CR2: 0000000000000400
[Fr Feb 14 14:49:33 2025] ---[ end trace 0000000000000000 ]---
[Fr Feb 14 14:49:33 2025] RIP: 0010:mt792x_rx_get_wcid+0x38/0x70 [mt792x_lib]
[Fr Feb 14 14:49:33 2025] Code: 77 48 0f b7 f6 48 81 c6 84 06 00 00 48 8b 44 f7 08 48 85 c0 74 36 84 d2 75 32 f6 80 bc 00 00 00 01 74 27 48 8b 80 78 03 00 00 <48> 8b 80 00 04 00 00 48 8d 90 e0 00 00 00 48 85 c0 48 0f 45 c2 31
[Fr Feb 14 14:49:33 2025] RSP: 0018:ffffbfb880757db8 EFLAGS: 00010202
[Fr Feb 14 14:49:33 2025] RAX: 0000000000000000 RBX: ffffa0f660fb2300 RCX: 0000000000000000
[Fr Feb 14 14:49:33 2025] RDX: 0000000000000000 RSI: 000000000000068e RDI: ffffa0f64b9b2000
[Fr Feb 14 14:49:33 2025] RBP: ffffa0f6a7d3fb40 R08: 0000000000000000 R09: 0000000000000000
[Fr Feb 14 14:49:33 2025] R10: ffffa0f660fb2300 R11: 0000000000000000 R12: ffffa0f6a7e54000
[Fr Feb 14 14:49:33 2025] R13: 0000000038010148 R14: 000000008084380a R15: ffffa0f64b9b2000
[Fr Feb 14 14:49:33 2025] FS: 0000000000000000(0000) GS:ffffa0f9afe80000(0000) knlGS:0000000000000000
[Fr Feb 14 14:49:33 2025] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Fr Feb 14 14:49:33 2025] CR2: 0000000000000400 CR3: 00000001507bc000 CR4: 0000000000352ef0
[Fr Feb 14 14:49:33 2025] note: mt76-usb-rx phy[697] exited with irqs disabled
[Fr Feb 14 14:49:36 2025] mt7921u 1-4:1.3: Message 00020003 (seq 1) timeout
[Fr Feb 14 14:49:36 2025] ------------[ cut here ]------------
[Fr Feb 14 14:49:36 2025] WARNING: CPU: 0 PID: 26114 at kernel/kthread.c:76 kthread_park+0x6a/0xa0
[Fr Feb 14 14:49:36 2025] Modules linked in: cls_matchall sch_ingress sch_cake act_mirred ifb nft_masq nft_nat nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 cmac ccm veth wireguard libchacha20poly1305 chacha_x86_64 poly1305_x86_64 curve25519_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel pppoe pppox nf_tables ppp_generic crc32c_generic nfnetlink slhc nvme_fabrics bluetooth crc16 msr bridge binfmt_misc snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_scodec_component snd_sof_pci_intel_icl i915 snd_sof_pci_intel_cnl snd_sof_intel_hda_generic soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink snd_sof_intel_hda mt7921u snd_hda_ext_core mt792x_usb snd_sof_pci mt7921_common snd_sof_xtensa_dsp snd_sof mt792x_lib snd_sof_utils snd_soc_acpi_intel_match snd_soc_acpi mt76_connac_lib snd_soc_core mt76_usb snd_compress mt76 x86_pkg_temp_thermal rtw_8812au(OE) rtw_8812a(OE) rtw_88xxa(OE) rtw_usb(OE)
[Fr Feb 14 14:49:36 2025] soundwire_bus rtw_core(OE) intel_powerclamp nls_ascii kvm_intel snd_hda_intel cec nls_cp437 mac80211 snd_intel_dspcfg rc_core vfat snd_intel_sdw_acpi kvm drm_buddy snd_hda_codec fat drm_display_helper crct10dif_pclmul snd_hda_core libarc4 processor_thermal_device_pci_legacy processor_thermal_device ghash_clmulni_intel processor_thermal_wt_hint sha512_ssse3 intel_rapl_msr processor_thermal_rfim mei_hdcp ttm mei_pxp snd_hwdep cfg80211 processor_thermal_rapl sha256_ssse3 snd_pcm sha1_ssse3 intel_rapl_common aesni_intel snd_timer drm_kms_helper iTCO_wdt gf128mul crypto_simd cryptd intel_pmc_bxt snd processor_thermal_wt_req pcspkr iTCO_vendor_support intel_cstate mei_me processor_thermal_power_floor watchdog soundcore ftdi_sio processor_thermal_mbox intel_pmc_core mei int340x_thermal_zone wmi_bmof i2c_algo_bit ee1004 rfkill usbserial intel_soc_dts_iosf nfsd intel_vsec pmt_telemetry acpi_pad pmt_class button acpi_tad evdev joydev sg auth_rpcgss it87(OE) hwmon_vid emc2103 nfs_acl lockd coretemp drm 8021q grace
[Fr Feb 14 14:49:36 2025] sunrpc dm_mod garp stp mrp loop llc fuse efi_pstore configfs efivarfs ip_tables x_tables autofs4 btrfs xor raid6_pq libcrc32c hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid sd_mod ahci libahci xhci_pci libata xhci_hcd r8169 nvme realtek mdio_devres nvme_core usbcore crc32_pclmul libphy scsi_mod crc32c_intel i2c_i801 intel_lpss_pci i2c_smbus intel_lpss scsi_common idma64 usb_common video wmi
[Fr Feb 14 14:49:36 2025] CPU: 0 UID: 0 PID: 26114 Comm: kworker/u16:2 Tainted: G UD OE 6.12.13 #14
[Fr Feb 14 14:49:36 2025] Tainted: [U]=USER, [D]=DIE, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
[Fr Feb 14 14:49:36 2025] Hardware name: HARDKERNEL ODROID-H3/ODROID-H3, BIOS 5.19 07/19/2023
[Fr Feb 14 14:49:36 2025] Workqueue: mt76 mt7921_mac_reset_work [mt7921_common]
[Fr Feb 14 14:49:36 2025] RIP: 0010:kthread_park+0x6a/0xa0
[Fr Feb 14 14:49:36 2025] Code: 02 00 48 8d 7d 20 e8 f5 10 c1 00 be 40 00 00 00 48 89 df e8 98 ac 01 00 48 85 c0 74 35 31 c0 5b 5d 31 f6 31 ff c3 cc cc cc cc <0f> 0b 48 8b ab 58 0a 00 00 a8 04 74 ac 0f 0b b8 da ff ff ff 5b 5d
[Fr Feb 14 14:49:36 2025] RSP: 0018:ffffbfb88827fdd8 EFLAGS: 00010246
[Fr Feb 14 14:49:36 2025] RAX: 0000000000000000 RBX: ffffa0f66f433100 RCX: 0000000000000000
[Fr Feb 14 14:49:36 2025] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffa0f66f433100
[Fr Feb 14 14:49:36 2025] RBP: ffffa0f6ce60e800 R08: 0000000000000000 R09: 0000000000000000
[Fr Feb 14 14:49:36 2025] R10: 0000000000000000 R11: 0000000000000000 R12: ffffa0f64b9b2000
[Fr Feb 14 14:49:36 2025] R13: ffffa0f64b9b2000 R14: ffffa0f64b9b0900 R15: 0000000000000000
[Fr Feb 14 14:49:36 2025] FS: 0000000000000000(0000) GS:ffffa0f9afe00000(0000) knlGS:0000000000000000
[Fr Feb 14 14:49:36 2025] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Fr Feb 14 14:49:36 2025] CR2: 00007ff62d503000 CR3: 0000000195f58000 CR4: 0000000000352ef0
[Fr Feb 14 14:49:36 2025] Call Trace:
[Fr Feb 14 14:49:36 2025]
[Fr Feb 14 14:49:36 2025] ? __warn+0x89/0x130
[Fr Feb 14 14:49:36 2025] ? kthread_park+0x6a/0xa0
[Fr Feb 14 14:49:36 2025] ? report_bug+0x1a2/0x1d0
[Fr Feb 14 14:49:36 2025] ? handle_bug+0x66/0xa0
[Fr Feb 14 14:49:36 2025] ? exc_invalid_op+0x17/0x80
[Fr Feb 14 14:49:36 2025] ? asm_exc_invalid_op+0x1a/0x20
[Fr Feb 14 14:49:36 2025] ? kthread_park+0x6a/0xa0
[Fr Feb 14 14:49:36 2025] mt76u_stop_rx+0x21/0x90 [mt76_usb]
[Fr Feb 14 14:49:36 2025] mt7921u_mac_reset+0x6a/0x1b0 [mt7921u]
[Fr Feb 14 14:49:36 2025] mt7921_mac_reset_work+0x9f/0x190 [mt7921_common]
[Fr Feb 14 14:49:36 2025] process_one_work+0x179/0x390
[Fr Feb 14 14:49:36 2025] worker_thread+0x262/0x370
[Fr Feb 14 14:49:36 2025] ? __pfx_worker_thread+0x10/0x10
[Fr Feb 14 14:49:36 2025] kthread+0xde/0x110
[Fr Feb 14 14:49:36 2025] ? __pfx_kthread+0x10/0x10
[Fr Feb 14 14:49:36 2025] ret_from_fork+0x31/0x50
[Fr Feb 14 14:49:36 2025] ? __pfx_kthread+0x10/0x10
[Fr Feb 14 14:49:36 2025] ret_from_fork_asm+0x1a/0x30
[Fr Feb 14 14:49:36 2025]
[Fr Feb 14 14:49:36 2025] ---[ end trace 0000000000000000 ]---
[Fr Feb 14 14:49:36 2025] BUG: kernel NULL pointer dereference, address: 0000000000000000
[Fr Feb 14 14:49:36 2025] #PF: supervisor read access in kernel mode
[Fr Feb 14 14:49:36 2025] #PF: error_code(0x0000) - not-present page
[Fr Feb 14 14:49:36 2025] PGD 0 P4D 0
[Fr Feb 14 14:49:36 2025] Oops: Oops: 0000 [#2] PREEMPT SMP NOPTI
[Fr Feb 14 14:49:36 2025] CPU: 0 UID: 0 PID: 26114 Comm: kworker/u16:2 Tainted: G UD W OE 6.12.13 #14
[Fr Feb 14 14:49:36 2025] Tainted: [U]=USER, [D]=DIE, [W]=WARN, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
[Fr Feb 14 14:49:36 2025] Hardware name: HARDKERNEL ODROID-H3/ODROID-H3, BIOS 5.19 07/19/2023
[Fr Feb 14 14:49:36 2025] Workqueue: mt76 mt7921_mac_reset_work [mt7921_common]
[Fr Feb 14 14:49:36 2025] RIP: 0010:kthread_park+0x23/0xa0
[Fr Feb 14 14:49:36 2025] Code: 90 90 90 90 90 90 90 f3 0f 1e fa 0f 1f 44 00 00 55 53 8b 47 2c 48 89 fb a9 00 00 20 00 74 52 48 8b ab 58 0a 00 00 a8 04 75 54 <48> 8b 45 00 a8 04 75 5e f0 80 4d 00 04 65 48 3b 1d a8 ce 52 7c 74
[Fr Feb 14 14:49:36 2025] RSP: 0018:ffffbfb88827fdd8 EFLAGS: 00010246
[Fr Feb 14 14:49:36 2025] RAX: 0000000000000000 RBX: ffffa0f66f433100 RCX: 0000000000000000
[Fr Feb 14 14:49:36 2025] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffa0f66f433100
[Fr Feb 14 14:49:36 2025] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[Fr Feb 14 14:49:36 2025] R10: 0000000000000000 R11: 0000000000000000 R12: ffffa0f64b9b2000
[Fr Feb 14 14:49:36 2025] R13: ffffa0f64b9b2000 R14: ffffa0f64b9b0900 R15: 0000000000000000
[Fr Feb 14 14:49:36 2025] FS: 0000000000000000(0000) GS:ffffa0f9afe00000(0000) knlGS:0000000000000000
[Fr Feb 14 14:49:36 2025] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Fr Feb 14 14:49:36 2025] CR2: 0000000000000000 CR3: 0000000195f58000 CR4: 0000000000352ef0
[Fr Feb 14 14:49:36 2025] Call Trace:
[Fr Feb 14 14:49:36 2025]
[Fr Feb 14 14:49:36 2025] ? __die+0x23/0x80
[Fr Feb 14 14:49:36 2025] ? page_fault_oops+0x173/0x5d0
[Fr Feb 14 14:49:36 2025] ? exc_page_fault+0x76/0x1b0
[Fr Feb 14 14:49:36 2025] ? asm_exc_page_fault+0x26/0x30
[Fr Feb 14 14:49:36 2025] ? kthread_park+0x23/0xa0
[Fr Feb 14 14:49:36 2025] mt76u_stop_rx+0x21/0x90 [mt76_usb]
[Fr Feb 14 14:49:36 2025] mt7921u_mac_reset+0x6a/0x1b0 [mt7921u]
[Fr Feb 14 14:49:36 2025] mt7921_mac_reset_work+0x9f/0x190 [mt7921_common]
[Fr Feb 14 14:49:36 2025] process_one_work+0x179/0x390
[Fr Feb 14 14:49:36 2025] worker_thread+0x262/0x370
[Fr Feb 14 14:49:36 2025] ? __pfx_worker_thread+0x10/0x10
[Fr Feb 14 14:49:36 2025] kthread+0xde/0x110
[Fr Feb 14 14:49:36 2025] ? __pfx_kthread+0x10/0x10
[Fr Feb 14 14:49:36 2025] ret_from_fork+0x31/0x50
[Fr Feb 14 14:49:36 2025] ? __pfx_kthread+0x10/0x10
[Fr Feb 14 14:49:36 2025] ret_from_fork_asm+0x1a/0x30
[Fr Feb 14 14:49:36 2025]
[Fr Feb 14 14:49:36 2025] Modules linked in: cls_matchall sch_ingress sch_cake act_mirred ifb nft_masq nft_nat nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 cmac ccm veth wireguard libchacha20poly1305 chacha_x86_64 poly1305_x86_64 curve25519_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel pppoe pppox nf_tables ppp_generic crc32c_generic nfnetlink slhc nvme_fabrics bluetooth crc16 msr bridge binfmt_misc snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_scodec_component snd_sof_pci_intel_icl i915 snd_sof_pci_intel_cnl snd_sof_intel_hda_generic soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink snd_sof_intel_hda mt7921u snd_hda_ext_core mt792x_usb snd_sof_pci mt7921_common snd_sof_xtensa_dsp snd_sof mt792x_lib snd_sof_utils snd_soc_acpi_intel_match snd_soc_acpi mt76_connac_lib snd_soc_core mt76_usb snd_compress mt76 x86_pkg_temp_thermal rtw_8812au(OE) rtw_8812a(OE) rtw_88xxa(OE) rtw_usb(OE)
[Fr Feb 14 14:49:36 2025] soundwire_bus rtw_core(OE) intel_powerclamp nls_ascii kvm_intel snd_hda_intel cec nls_cp437 mac80211 snd_intel_dspcfg rc_core vfat snd_intel_sdw_acpi kvm drm_buddy snd_hda_codec fat drm_display_helper crct10dif_pclmul snd_hda_core libarc4 processor_thermal_device_pci_legacy processor_thermal_device ghash_clmulni_intel processor_thermal_wt_hint sha512_ssse3 intel_rapl_msr processor_thermal_rfim mei_hdcp ttm mei_pxp snd_hwdep cfg80211 processor_thermal_rapl sha256_ssse3 snd_pcm sha1_ssse3 intel_rapl_common aesni_intel snd_timer drm_kms_helper iTCO_wdt gf128mul crypto_simd cryptd intel_pmc_bxt snd processor_thermal_wt_req pcspkr iTCO_vendor_support intel_cstate mei_me processor_thermal_power_floor watchdog soundcore ftdi_sio processor_thermal_mbox intel_pmc_core mei int340x_thermal_zone wmi_bmof i2c_algo_bit ee1004 rfkill usbserial intel_soc_dts_iosf nfsd intel_vsec pmt_telemetry acpi_pad pmt_class button acpi_tad evdev joydev sg auth_rpcgss it87(OE) hwmon_vid emc2103 nfs_acl lockd coretemp drm 8021q grace
[Fr Feb 14 14:49:36 2025] sunrpc dm_mod garp stp mrp loop llc fuse efi_pstore configfs efivarfs ip_tables x_tables autofs4 btrfs xor raid6_pq libcrc32c hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid sd_mod ahci libahci xhci_pci libata xhci_hcd r8169 nvme realtek mdio_devres nvme_core usbcore crc32_pclmul libphy scsi_mod crc32c_intel i2c_i801 intel_lpss_pci i2c_smbus intel_lpss scsi_common idma64 usb_common video wmi
[Fr Feb 14 14:49:36 2025] CR2: 0000000000000000
[Fr Feb 14 14:49:36 2025] ---[ end trace 0000000000000000 ]---
[Fr Feb 14 14:49:37 2025] RIP: 0010:mt792x_rx_get_wcid+0x38/0x70 [mt792x_lib]
[Fr Feb 14 14:49:37 2025] Code: 77 48 0f b7 f6 48 81 c6 84 06 00 00 48 8b 44 f7 08 48 85 c0 74 36 84 d2 75 32 f6 80 bc 00 00 00 01 74 27 48 8b 80 78 03 00 00 <48> 8b 80 00 04 00 00 48 8d 90 e0 00 00 00 48 85 c0 48 0f 45 c2 31
[Fr Feb 14 14:49:37 2025] RSP: 0018:ffffbfb880757db8 EFLAGS: 00010202
[Fr Feb 14 14:49:37 2025] RAX: 0000000000000000 RBX: ffffa0f660fb2300 RCX: 0000000000000000
[Fr Feb 14 14:49:37 2025] RDX: 0000000000000000 RSI: 000000000000068e RDI: ffffa0f64b9b2000
[Fr Feb 14 14:49:37 2025] RBP: ffffa0f6a7d3fb40 R08: 0000000000000000 R09: 0000000000000000
[Fr Feb 14 14:49:37 2025] R10: ffffa0f660fb2300 R11: 0000000000000000 R12: ffffa0f6a7e54000
[Fr Feb 14 14:49:37 2025] R13: 0000000038010148 R14: 000000008084380a R15: ffffa0f64b9b2000
[Fr Feb 14 14:49:37 2025] FS: 0000000000000000(0000) GS:ffffa0f9afe00000(0000) knlGS:0000000000000000
[Fr Feb 14 14:49:37 2025] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Fr Feb 14 14:49:37 2025] CR2: 0000000000000000 CR3: 0000000195f58000 CR4: 0000000000352ef0
[Fr Feb 14 14:49:37 2025] note: kworker/u16:2[26114] exited with irqs disabled

@morrownr
Copy link
Owner

6.12.13

The problem you posted about above is specific to kernel 6.12.13. You need to move back to kernel 6.12.12 or earlier while the problem is fixed.

@Simon566
Copy link
Author

here is a crash from 6.12.12

Feb 14 18:11:51 odroid-h3 kernel: mt7921u 1-4:1.3: Message 00020003 (seq 10) timeout
Feb 14 18:11:52 odroid-h3 kernel: mt7921u 1-4:1.3: timed out waiting for pending tx
Feb 14 18:11:52 odroid-h3 kernel: ------------[ cut here ]------------
Feb 14 18:11:52 odroid-h3 kernel: WARNING: CPU: 3 PID: 64063 at kernel/kthread.c:662 kthread_park+0x89/0xa0
Feb 14 18:11:52 odroid-h3 kernel: Modules linked in: cmac rtw_8812au(OE) rtw_8812a(OE) rtw_88xxa(OE) rtw_usb(OE) rtw_core(OE) it87(OE) cls_matchall sch_ingress sch_cake act_mirred ifb nft>
Feb 14 18:11:52 odroid-h3 kernel: mt76_usb snd_soc_core kvm_intel mt76 snd_compress mac80211 soundwire_bus cec kvm rc_core snd_hda_intel libarc4 drm_buddy snd_intel_dspcfg snd_intel_sdw_>
Feb 14 18:11:52 odroid-h3 kernel: grace stp sunrpc fuse mrp dm_mod llc loop efi_pstore configfs efivarfs ip_tables x_tables autofs4 hid_logitech_hidpp btrfs hid_logitech_dj hid_generic u>
Feb 14 18:11:52 odroid-h3 kernel: CPU: 3 UID: 0 PID: 64063 Comm: kworker/u16:6 Tainted: G U OE 6.12.12 #17
Feb 14 18:11:52 odroid-h3 kernel: Tainted: [U]=USER, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
Feb 14 18:11:52 odroid-h3 kernel: Hardware name: HARDKERNEL ODROID-H3/ODROID-H3, BIOS 5.19 07/19/2023
Feb 14 18:11:52 odroid-h3 kernel: Workqueue: mt76 mt7921_mac_reset_work [mt7921_common]
Feb 14 18:11:52 odroid-h3 kernel: RIP: 0010:kthread_park+0x89/0xa0
Feb 14 18:11:52 odroid-h3 kernel: Code: 5b 5d 31 f6 31 ff c3 cc cc cc cc 0f 0b 48 8b ab 58 0a 00 00 a8 04 74 ac 0f 0b b8 da ff ff ff 5b 5d 31 f6 31 ff c3 cc cc cc cc <0f> 0b b8 f0 ff ff f>
Feb 14 18:11:52 odroid-h3 kernel: RSP: 0018:ffffb70d4620bd60 EFLAGS: 00010202
Feb 14 18:11:52 odroid-h3 kernel: RAX: 0000000000000004 RBX: ffff8a4ed7ca1880 RCX: 0000000000000000
Feb 14 18:11:52 odroid-h3 kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8a4ed7ca1880
Feb 14 18:11:52 odroid-h3 kernel: RBP: ffff8a4e83dbf580 R08: 0000000000000000 R09: 0000000000000000
Feb 14 18:11:52 odroid-h3 kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffff8a4e9b3e2060
Feb 14 18:11:52 odroid-h3 kernel: R13: ffff8a4e9b3e2060 R14: ffff8a4e80d52b68 R15: 0000000000000100
Feb 14 18:11:52 odroid-h3 kernel: FS: 0000000000000000(0000) GS:ffff8a51eff80000(0000) knlGS:0000000000000000
Feb 14 18:11:52 odroid-h3 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 14 18:11:52 odroid-h3 kernel: CR2: 00007f4f5ca77000 CR3: 000000017d5ee000 CR4: 0000000000352ef0
Feb 14 18:11:52 odroid-h3 kernel: Call Trace:
Feb 14 18:11:52 odroid-h3 kernel:
Feb 14 18:11:52 odroid-h3 kernel: ? __warn+0x89/0x130
Feb 14 18:11:52 odroid-h3 kernel: ? kthread_park+0x89/0xa0
Feb 14 18:11:52 odroid-h3 kernel: ? report_bug+0x1a2/0x1d0
Feb 14 18:11:52 odroid-h3 kernel: ? handle_bug+0x66/0xa0
Feb 14 18:11:52 odroid-h3 kernel: ? exc_invalid_op+0x17/0x80
Feb 14 18:11:52 odroid-h3 kernel: ? asm_exc_invalid_op+0x1a/0x20
Feb 14 18:11:52 odroid-h3 kernel: ? kthread_park+0x89/0xa0
Feb 14 18:11:52 odroid-h3 kernel: mt76u_stop_tx+0x224/0x310 [mt76_usb]
Feb 14 18:11:52 odroid-h3 kernel: ? __pfx_autoremove_wake_function+0x10/0x10
Feb 14 18:11:52 odroid-h3 kernel: mt7921u_mac_reset+0x72/0x1b0 [mt7921u]
Feb 14 18:11:52 odroid-h3 kernel: mt7921_mac_reset_work+0x9f/0x190 [mt7921_common]
Feb 14 18:11:52 odroid-h3 kernel: ? __schedule+0x400/0xca0
Feb 14 18:11:52 odroid-h3 kernel: process_one_work+0x179/0x390
Feb 14 18:11:52 odroid-h3 kernel: worker_thread+0x262/0x370
Feb 14 18:11:52 odroid-h3 kernel: ? _raw_spin_lock_irqsave+0x27/0x80
Feb 14 18:11:52 odroid-h3 kernel: ? __pfx_worker_thread+0x10/0x10
Feb 14 18:11:52 odroid-h3 kernel: kthread+0xde/0x110
Feb 14 18:11:52 odroid-h3 kernel: ? __pfx_kthread+0x10/0x10
Feb 14 18:11:52 odroid-h3 kernel: ret_from_fork+0x31/0x50
Feb 14 18:11:52 odroid-h3 kernel: ? __pfx_kthread+0x10/0x10
Feb 14 18:11:52 odroid-h3 kernel: ret_from_fork_asm+0x1a/0x30
Feb 14 18:11:52 odroid-h3 kernel:
Feb 14 18:11:52 odroid-h3 kernel: ---[ end trace 0000000000000000 ]---
Feb 14 18:11:53 odroid-h3 kernel: mt7921u 1-4:1.3: HW/SW Version: 0x8a108a10, Build Time: 20241106151007a
Feb 14 18:11:53 odroid-h3 kernel: mt7921u 1-4:1.3: WM Firmware Version: ____010000, Build Time: 20241106151045

@morrownr
Copy link
Owner

Wow! Have you tried all of the usb ports on that h3?

Take a look at this message:

#508

Do you have another system to test with?

The more we talk, the more it seems to me that the is something more serious than a driver bug going on here. USB can be a challenge in some cases. Is your adapter plugged into a powered hub or directly into a port on the system?

@Simon566
Copy link
Author

the Odroid H3 is a intel Atom based system with a widespread chip. i wouldnt expect issues with USB ports , especially the USB2 which im using . is xHCI handoff and things like that not only USB3 ?

i tried different Ports , USB3 / USB2 but the results are the same. So far i havent got a different test system , maybe it s going to be a odroid h4 some day

@morrownr
Copy link
Owner

@Simon566

i wouldnt expect issues with USB ports

Famous last words.

Does your bios have any settings for USB other than on and off?

What I am seeing are things that I'm not used to seeing. Now that you went back to 6.12.12 it appears somewhat different but the only times I've seen ugliness like this is when a user has several usb devices plugged in and the usb bus is not providing adequate power for what is requested. That is a common problem on RasPis because their usb subsystem does not provide anywhere near spec power. Any thoughts on whether that could be a problem?

@Simon566
Copy link
Author

Simon566 commented Feb 15, 2025 via email

@morrownr
Copy link
Owner

As im using a x86 Board with a 80w or so PSU, Power is No issue

Well, I have one x86 system with a 350 w PSU and a usb subsystem that has a power problem.

does xhci handoff also Count for usb2?

Unknown but xhci handoff is a known problem so I would recommend changing the setting to test.

@Simon566
Copy link
Author

more crashes , this time with 6.12.14 and the changed USB settings:

Feb 17 16:01:38 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:01:39 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 255.255.255.255: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:01:39 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.12.162: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:01:39 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.196: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:01:40 odroid-h3 kernel: BUG: kernel NULL pointer dereference, address: 0000000000000400
Feb 17 16:01:40 odroid-h3 kernel: #PF: supervisor read access in kernel mode
Feb 17 16:01:40 odroid-h3 kernel: #PF: error_code(0x0000) - not-present page
Feb 17 16:01:40 odroid-h3 kernel: PGD 0 P4D 0
Feb 17 16:01:41 odroid-h3 kernel: Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI
Feb 17 16:01:41 odroid-h3 kernel: CPU: 2 UID: 0 PID: 34483 Comm: mt76-usb-rx phy Tainted: G U OE 6.12.14 #20
Feb 17 16:01:41 odroid-h3 kernel: Tainted: [U]=USER, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
Feb 17 16:01:41 odroid-h3 kernel: Hardware name: HARDKERNEL ODROID-H3/ODROID-H3, BIOS 5.19 07/19/2023
Feb 17 16:01:41 odroid-h3 kernel: RIP: 0010:mt792x_rx_get_wcid+0x38/0x70 [mt792x_lib]
Feb 17 16:01:41 odroid-h3 kernel: Code: 77 48 0f b7 f6 48 81 c6 84 06 00 00 48 8b 44 f7 08 48 85 c0 74 36 84 d2 75 32 f6 80 bc 00 00 00 01 74 27 48 8b 80 78 03 00 00 <48> 8b 80 00 >
Feb 17 16:01:41 odroid-h3 kernel: RSP: 0018:ffffae968acffdb8 EFLAGS: 00010202
Feb 17 16:01:41 odroid-h3 kernel: RAX: 0000000000000000 RBX: ffff8fceae5e8f00 RCX: 0000000000000000
Feb 17 16:01:41 odroid-h3 kernel: RDX: 0000000000000000 RSI: 0000000000000686 RDI: ffff8fcb7b602000
Feb 17 16:01:41 odroid-h3 kernel: RBP: ffff8fcb71bd93c0 R08: 0000000000000000 R09: 0000000000000000
Feb 17 16:01:41 odroid-h3 kernel: R10: ffff8fceae5e8f00 R11: ffffffffaf3f7ed0 R12: ffff8fcb7357a000
Feb 17 16:01:41 odroid-h3 kernel: R13: 0000000038010148 R14: 0000000080843802 R15: ffff8fcb7b602000
Feb 17 16:01:41 odroid-h3 kernel: FS: 0000000000000000(0000) GS:ffff8fceaff00000(0000) knlGS:0000000000000000
Feb 17 16:01:41 odroid-h3 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 17 16:01:41 odroid-h3 kernel: CR2: 0000000000000400 CR3: 00000002cae22000 CR4: 0000000000352ef0
Feb 17 16:01:41 odroid-h3 kernel: Call Trace:
Feb 17 16:01:41 odroid-h3 kernel:
Feb 17 16:01:41 odroid-h3 kernel: ? __die+0x23/0x80
Feb 17 16:01:41 odroid-h3 kernel: ? page_fault_oops+0x173/0x5d0
Feb 17 16:01:41 odroid-h3 kernel: ? exc_page_fault+0x76/0x1b0
Feb 17 16:01:41 odroid-h3 kernel: ? asm_exc_page_fault+0x26/0x30
Feb 17 16:01:41 odroid-h3 kernel: ? kmem_cache_alloc_noprof+0x250/0x2c0
Feb 17 16:01:41 odroid-h3 kernel: ? mt792x_rx_get_wcid+0x38/0x70 [mt792x_lib]
Feb 17 16:01:41 odroid-h3 kernel: mt7921_queue_rx_skb+0x1df/0x9a0 [mt7921_common]
Feb 17 16:01:41 odroid-h3 kernel: mt76u_rx_worker+0x5be/0x5f0 [mt76_usb]
Feb 17 16:01:41 odroid-h3 kernel: ? __pfx___mt76_worker_fn+0x10/0x10 [mt76]
Feb 17 16:01:41 odroid-h3 kernel: __mt76_worker_fn+0x4c/0x80 [mt76]
Feb 17 16:01:41 odroid-h3 kernel: kthread+0xde/0x110
Feb 17 16:01:41 odroid-h3 kernel: ? __pfx_kthread+0x10/0x10
Feb 17 16:01:41 odroid-h3 kernel: ret_from_fork+0x31/0x50
Feb 17 16:01:41 odroid-h3 kernel: ? __pfx_kthread+0x10/0x10
Feb 17 16:01:41 odroid-h3 kernel: ret_from_fork_asm+0x1a/0x30
Feb 17 16:01:41 odroid-h3 kernel:
Feb 17 16:01:41 odroid-h3 kernel: Modules linked in: mt7921u mt792x_usb mt7921_common mt792x_lib mt76_connac_lib mt76_usb mt76 cmac ccm rtw_8812au(OE) rtw_8812a(OE) rtw_88xxa(OE) r>
Feb 17 16:01:41 odroid-h3 kernel: hid_logitech_dj snd_sof x86_pkg_temp_thermal snd_sof_utils intel_powerclamp snd_soc_acpi_intel_match snd_soc_acpi kvm_intel snd_soc_core snd_comp>
Feb 17 16:01:41 odroid-h3 kernel: nfs_acl lockd drm grace hwmon_vid fuse emc2103 coretemp 8021q sunrpc garp stp dm_mod mrp loop llc efi_pstore configfs efivarfs ip_tables x_tables>
Feb 17 16:01:41 odroid-h3 kernel: CR2: 0000000000000400
Feb 17 16:01:41 odroid-h3 kernel: ---[ end trace 0000000000000000 ]---
Feb 17 16:01:41 odroid-h3 kernel: RIP: 0010:mt792x_rx_get_wcid+0x38/0x70 [mt792x_lib]
Feb 17 16:01:41 odroid-h3 kernel: Code: 77 48 0f b7 f6 48 81 c6 84 06 00 00 48 8b 44 f7 08 48 85 c0 74 36 84 d2 75 32 f6 80 bc 00 00 00 01 74 27 48 8b 80 78 03 00 00 <48> 8b 80 00 >
Feb 17 16:01:41 odroid-h3 kernel: RSP: 0018:ffffae968acffdb8 EFLAGS: 00010202
Feb 17 16:01:41 odroid-h3 kernel: RAX: 0000000000000000 RBX: ffff8fceae5e8f00 RCX: 0000000000000000
Feb 17 16:01:41 odroid-h3 kernel: RDX: 0000000000000000 RSI: 0000000000000686 RDI: ffff8fcb7b602000
Feb 17 16:01:41 odroid-h3 kernel: RBP: ffff8fcb71bd93c0 R08: 0000000000000000 R09: 0000000000000000
Feb 17 16:01:41 odroid-h3 kernel: R10: ffff8fceae5e8f00 R11: ffffffffaf3f7ed0 R12: ffff8fcb7357a000
Feb 17 16:01:41 odroid-h3 kernel: R13: 0000000038010148 R14: 0000000080843802 R15: ffff8fcb7b602000
Feb 17 16:01:41 odroid-h3 kernel: FS: 0000000000000000(0000) GS:ffff8fceaff00000(0000) knlGS:0000000000000000
Feb 17 16:01:41 odroid-h3 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 17 16:01:41 odroid-h3 kernel: CR2: 0000000000000400 CR3: 0000000177fae000 CR4: 0000000000352ef0
Feb 17 16:01:41 odroid-h3 kernel: note: mt76-usb-rx phy[34483] exited with irqs disabled
Feb 17 16:01:42 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:01:46 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:01:50 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:01:54 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:01:58 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:02:02 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:02:06 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:02:10 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:02:14 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:02:18 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:02:22 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:02:26 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:02:30 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:02:34 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:02:38 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:02:39 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.12.162: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:02:40 odroid-h3 kernel: mt7921u 1-4:1.3: Message 00020003 (seq 6) timeout
Feb 17 16:02:40 odroid-h3 kernel: ------------[ cut here ]------------
Feb 17 16:02:40 odroid-h3 kernel: WARNING: CPU: 2 PID: 65018 at kernel/kthread.c:76 kthread_park+0x6a/0xa0
Feb 17 16:02:40 odroid-h3 kernel: Modules linked in: mt7921u mt792x_usb mt7921_common mt792x_lib mt76_connac_lib mt76_usb mt76 cmac ccm rtw_8812au(OE) rtw_8812a(OE) rtw_88xxa(OE) r>
Feb 17 16:02:40 odroid-h3 kernel: hid_logitech_dj snd_sof x86_pkg_temp_thermal snd_sof_utils intel_powerclamp snd_soc_acpi_intel_match snd_soc_acpi kvm_intel snd_soc_core snd_comp>
Feb 17 16:02:40 odroid-h3 kernel: nfs_acl lockd drm grace hwmon_vid fuse emc2103 coretemp 8021q sunrpc garp stp dm_mod mrp loop llc efi_pstore configfs efivarfs ip_tables x_tables>
Feb 17 16:02:40 odroid-h3 kernel: CPU: 2 UID: 0 PID: 65018 Comm: kworker/u16:5 Tainted: G UD OE 6.12.14 #20
Feb 17 16:02:40 odroid-h3 kernel: Tainted: [U]=USER, [D]=DIE, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
Feb 17 16:02:40 odroid-h3 kernel: Hardware name: HARDKERNEL ODROID-H3/ODROID-H3, BIOS 5.19 07/19/2023
Feb 17 16:02:40 odroid-h3 kernel: Workqueue: mt76 mt7921_mac_reset_work [mt7921_common]
Feb 17 16:02:40 odroid-h3 kernel: RIP: 0010:kthread_park+0x6a/0xa0
Feb 17 16:02:40 odroid-h3 kernel: Code: 02 00 48 8d 7d 20 e8 a5 0f c1 00 be 40 00 00 00 48 89 df e8 98 ac 01 00 48 85 c0 74 35 31 c0 5b 5d 31 f6 31 ff c3 cc cc cc cc <0f> 0b 48 8b >
Feb 17 16:02:40 odroid-h3 kernel: RSP: 0018:ffffae968838fdd8 EFLAGS: 00010246
Feb 17 16:02:40 odroid-h3 kernel: RAX: 0000000000000000 RBX: ffff8fcb52ddb100 RCX: 0000000000000000
Feb 17 16:02:40 odroid-h3 kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8fcb52ddb100
Feb 17 16:02:40 odroid-h3 kernel: RBP: ffff8fcb58991000 R08: 0000000000000000 R09: 0000000000000000
Feb 17 16:02:40 odroid-h3 kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffff8fcb7b602000
Feb 17 16:02:40 odroid-h3 kernel: R13: ffff8fcb7b602000 R14: ffff8fcb7b600900 R15: 0000000000000000
Feb 17 16:02:40 odroid-h3 kernel: FS: 0000000000000000(0000) GS:ffff8fceaff00000(0000) knlGS:0000000000000000
Feb 17 16:02:40 odroid-h3 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 17 16:02:40 odroid-h3 kernel: CR2: 00007f8b565ef5a0 CR3: 0000000121998000 CR4: 0000000000352ef0
Feb 17 16:02:40 odroid-h3 kernel: Call Trace:
Feb 17 16:02:40 odroid-h3 kernel:
Feb 17 16:02:40 odroid-h3 kernel: ? __warn+0x89/0x130
Feb 17 16:02:40 odroid-h3 kernel: ? kthread_park+0x6a/0xa0
Feb 17 16:02:40 odroid-h3 kernel: ? report_bug+0x1a2/0x1d0
Feb 17 16:02:40 odroid-h3 kernel: ? handle_bug+0x66/0xa0
Feb 17 16:02:40 odroid-h3 kernel: ? exc_invalid_op+0x17/0x80
Feb 17 16:02:40 odroid-h3 kernel: ? asm_exc_invalid_op+0x1a/0x20
Feb 17 16:02:40 odroid-h3 kernel: ? kthread_park+0x6a/0xa0
Feb 17 16:02:40 odroid-h3 kernel: mt76u_stop_rx+0x21/0x90 [mt76_usb]
Feb 17 16:02:40 odroid-h3 kernel: mt7921u_mac_reset+0x6a/0x1b0 [mt7921u]
Feb 17 16:02:40 odroid-h3 kernel: mt7921_mac_reset_work+0x9f/0x190 [mt7921_common]
Feb 17 16:02:40 odroid-h3 kernel: process_one_work+0x179/0x390
Feb 17 16:02:40 odroid-h3 kernel: worker_thread+0x262/0x370
Feb 17 16:02:40 odroid-h3 kernel: ? _raw_spin_lock_irqsave+0x27/0x80
Feb 17 16:02:40 odroid-h3 kernel: ? __pfx_worker_thread+0x10/0x10
Feb 17 16:02:40 odroid-h3 kernel: kthread+0xde/0x110
Feb 17 16:02:40 odroid-h3 kernel: ? __pfx_kthread+0x10/0x10
Feb 17 16:02:40 odroid-h3 kernel: ret_from_fork+0x31/0x50
Feb 17 16:02:40 odroid-h3 kernel: ? __pfx_kthread+0x10/0x10
Feb 17 16:02:40 odroid-h3 kernel: ret_from_fork_asm+0x1a/0x30
Feb 17 16:02:40 odroid-h3 kernel:
Feb 17 16:02:41 odroid-h3 kernel: ---[ end trace 0000000000000000 ]---
Feb 17 16:02:41 odroid-h3 kernel: BUG: kernel NULL pointer dereference, address: 0000000000000000
Feb 17 16:02:43 odroid-h3 kernel: #PF: supervisor read access in kernel mode
Feb 17 16:02:44 odroid-h3 kernel: #PF: error_code(0x0000) - not-present page
Feb 17 16:02:44 odroid-h3 kernel: PGD 10cacb067 P4D 10cacb067 PUD 10ca36067 PMD 0
Feb 17 16:02:44 odroid-h3 kernel: Oops: Oops: 0000 [#2] PREEMPT SMP NOPTI
Feb 17 16:02:44 odroid-h3 kernel: CPU: 0 UID: 0 PID: 65018 Comm: kworker/u16:5 Tainted: G UD W OE 6.12.14 #20
Feb 17 16:02:44 odroid-h3 kernel: Tainted: [U]=USER, [D]=DIE, [W]=WARN, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
Feb 17 16:02:44 odroid-h3 kernel: Hardware name: HARDKERNEL ODROID-H3/ODROID-H3, BIOS 5.19 07/19/2023
Feb 17 16:02:44 odroid-h3 kernel: Workqueue: mt76 mt7921_mac_reset_work [mt7921_common]
Feb 17 16:02:44 odroid-h3 kernel: RIP: 0010:kthread_park+0x23/0xa0
Feb 17 16:02:44 odroid-h3 kernel: Code: 90 90 90 90 90 90 90 f3 0f 1e fa 0f 1f 44 00 00 55 53 8b 47 2c 48 89 fb a9 00 00 20 00 74 52 48 8b ab 58 0a 00 00 a8 04 75 54 <48> 8b 45 00 >
Feb 17 16:02:44 odroid-h3 kernel: RSP: 0018:ffffae968838fdd8 EFLAGS: 00010246
Feb 17 16:02:44 odroid-h3 kernel: RAX: 0000000000000000 RBX: ffff8fcb52ddb100 RCX: 0000000000000000
Feb 17 16:02:44 odroid-h3 kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8fcb52ddb100
Feb 17 16:02:44 odroid-h3 kernel: RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
Feb 17 16:02:44 odroid-h3 kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffff8fcb7b602000
Feb 17 16:02:44 odroid-h3 kernel: R13: ffff8fcb7b602000 R14: ffff8fcb7b600900 R15: 0000000000000000
Feb 17 16:02:44 odroid-h3 kernel: FS: 0000000000000000(0000) GS:ffff8fceafe00000(0000) knlGS:0000000000000000
Feb 17 16:02:44 odroid-h3 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 17 16:02:44 odroid-h3 kernel: CR2: 0000000000000000 CR3: 0000000177fae000 CR4: 0000000000352ef0
Feb 17 16:02:44 odroid-h3 kernel: Call Trace:
Feb 17 16:02:44 odroid-h3 kernel:
Feb 17 16:02:44 odroid-h3 kernel: ? __die+0x23/0x80
Feb 17 16:02:44 odroid-h3 kernel: ? page_fault_oops+0x173/0x5d0
Feb 17 16:02:44 odroid-h3 kernel: ? exc_page_fault+0x76/0x1b0
Feb 17 16:02:44 odroid-h3 kernel: ? asm_exc_page_fault+0x26/0x30
Feb 17 16:02:44 odroid-h3 kernel: ? kthread_park+0x23/0xa0
Feb 17 16:02:44 odroid-h3 kernel: mt76u_stop_rx+0x21/0x90 [mt76_usb]
Feb 17 16:02:44 odroid-h3 kernel: mt7921u_mac_reset+0x6a/0x1b0 [mt7921u]
Feb 17 16:02:44 odroid-h3 kernel: mt7921_mac_reset_work+0x9f/0x190 [mt7921_common]
Feb 17 16:02:44 odroid-h3 kernel: process_one_work+0x179/0x390
Feb 17 16:02:44 odroid-h3 kernel: worker_thread+0x262/0x370
Feb 17 16:02:44 odroid-h3 kernel: ? _raw_spin_lock_irqsave+0x27/0x80
Feb 17 16:02:44 odroid-h3 kernel: ? __pfx_worker_thread+0x10/0x10
Feb 17 16:02:44 odroid-h3 kernel: kthread+0xde/0x110
Feb 17 16:02:44 odroid-h3 kernel: ? __pfx_kthread+0x10/0x10
Feb 17 16:02:44 odroid-h3 kernel: ret_from_fork+0x31/0x50
Feb 17 16:02:44 odroid-h3 kernel: ? __pfx_kthread+0x10/0x10
Feb 17 16:02:44 odroid-h3 kernel: ret_from_fork_asm+0x1a/0x30
Feb 17 16:02:44 odroid-h3 kernel:
Feb 17 16:02:44 odroid-h3 kernel: Modules linked in: mt7921u mt792x_usb mt7921_common mt792x_lib mt76_connac_lib mt76_usb mt76 cmac ccm rtw_8812au(OE) rtw_8812a(OE) rtw_88xxa(OE) r>
Feb 17 16:02:44 odroid-h3 kernel: hid_logitech_dj snd_sof x86_pkg_temp_thermal snd_sof_utils intel_powerclamp snd_soc_acpi_intel_match snd_soc_acpi kvm_intel snd_soc_core snd_comp>
Feb 17 16:02:44 odroid-h3 kernel: nfs_acl lockd drm grace hwmon_vid fuse emc2103 coretemp 8021q sunrpc garp stp dm_mod mrp loop llc efi_pstore configfs efivarfs ip_tables x_tables>
Feb 17 16:02:44 odroid-h3 kernel: CR2: 0000000000000000
Feb 17 16:02:44 odroid-h3 kernel: ---[ end trace 0000000000000000 ]---
Feb 17 16:02:44 odroid-h3 kernel: RIP: 0010:mt792x_rx_get_wcid+0x38/0x70 [mt792x_lib]
Feb 17 16:02:44 odroid-h3 kernel: Code: 77 48 0f b7 f6 48 81 c6 84 06 00 00 48 8b 44 f7 08 48 85 c0 74 36 84 d2 75 32 f6 80 bc 00 00 00 01 74 27 48 8b 80 78 03 00 00 <48> 8b 80 00 >
Feb 17 16:02:44 odroid-h3 kernel: RSP: 0018:ffffae968acffdb8 EFLAGS: 00010202
Feb 17 16:02:44 odroid-h3 kernel: RAX: 0000000000000000 RBX: ffff8fceae5e8f00 RCX: 0000000000000000
Feb 17 16:02:44 odroid-h3 kernel: RDX: 0000000000000000 RSI: 0000000000000686 RDI: ffff8fcb7b602000
Feb 17 16:02:44 odroid-h3 kernel: RBP: ffff8fcb71bd93c0 R08: 0000000000000000 R09: 0000000000000000
Feb 17 16:02:44 odroid-h3 kernel: R10: ffff8fceae5e8f00 R11: ffffffffaf3f7ed0 R12: ffff8fcb7357a000
Feb 17 16:02:44 odroid-h3 kernel: R13: 0000000038010148 R14: 0000000080843802 R15: ffff8fcb7b602000
Feb 17 16:02:44 odroid-h3 kernel: FS: 0000000000000000(0000) GS:ffff8fceafe00000(0000) knlGS:0000000000000000
Feb 17 16:02:44 odroid-h3 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 17 16:02:44 odroid-h3 kernel: CR2: 0000000000000000 CR3: 0000000177fae000 CR4: 0000000000352ef0
Feb 17 16:02:44 odroid-h3 kernel: note: kworker/u16:5[65018] exited with irqs disabled
Feb 17 16:02:43 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:02:46 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:02:50 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:02:54 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:02:58 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Senden des DHCP-Pakets an 10.10.15.138: Die Ressource ist zur Zeit nicht verfügbar
Feb 17 16:03:02 odroid-h3 dnsmasq-dhcp[1563]: Fehler beim Se

@morrownr
Copy link
Owner

@Simon566

BUG: kernel NULL pointer dereference, address: 0000000000000400

Your 6.12.14 kernel doesn't seem to have the one line patch from the other thread, does it?

@Simon566
Copy link
Author

Simon566 commented Feb 17, 2025 via email

@Simon566
Copy link
Author

shame on me , patch was overwritten by git , i will repeat the test

sorry

@morrownr
Copy link
Owner

It happens. We might as well laugh a little. I'll bet we figure this out.

@Simon566
Copy link
Author

nothing happened since 24h with the NULL ptr patch, it runs . BUT:

  • i removed the rtw88 lwfinger driver adapter , the rtl8812au one . i recognized it corrupts the kernel memory/drivers somehow . f.e. i couldnt use DHCP on clients anymore ( on mt7921u ) , when the rtw_8812au was plugged in (had also a kernel warning about it). After unplugging the OTHER adapter (rtw_8812au) and shutting down hostapd for it , the mt7921 worked. Also there seem to be some action going on in the kernel SKB buffer allocation on rtw_8812au

i will keep testing it for at least a week, maybe the rtw_8812au is the one to blame

@morrownr
Copy link
Owner

maybe the rtw_8812au is the one to blame

That driver is new. We have tested as best we can but that driver simply does not have time on its side. As more people start using it, starting with kernel 6.14 and the release of Ubuntu 25.04 and other distros with kernel 6.14, much more testing will take place.

I assume you are using lwfinger/rtw88, right? If so, you could just do a quick uninstall:

$ sudo make uninstall

And then install the following driver:

https://github.com/morrownr/8812au-20210820

So as to do a comparison. That repo is pretty darn stable. I have been maintaining it for a long time and it does AP mode really well. You should be able to do a comparison.

there seem to be some action going on in the kernel SKB buffer allocation on rtw_8812au

When you have something to report, please do at:

https://github.com/lwfinger/rtw88

@Simon566
Copy link
Author

it looks pretty stable

6.12.14 with the NULL ptr patch + the repo for the 8812au adapter here
https://github.com/morrownr/8812au-20210820

no dmesg warnings none , just runs .....

will report back in 2-3 weeks

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

No branches or pull requests

2 participants