still no interface for mt76x2u wifi card

Discussion about U-Boot and the kernel.

still no interface for mt76x2u wifi card

Postby zebul666 » Tue Oct 08, 2024 7:56 am

I still can't get a wifi interface with a wifi card using the mt76x2 drive:

[code]kernel: page_pool_create() gave up with errno -22
kernel: mt76x2u: probe of 1-1.3:1.0 failed with error -22
[/code]

on a rpi3b using archlinux armv7h

But this interface works fine on a rpi0w using raspiOS lite (bookworm)
It has the same kernel 6.6.51+rptrpi-v6 than archlinuxarm

So there is no reason that does not work on archlinuxarm and rpi3b ?
zebul666
 
Posts: 55
Joined: Fri Jul 10, 2015 4:55 pm

Re: still no interface for mt76x2u wifi card

Postby graysky » Tue Oct 08, 2024 12:24 pm

Not sure, is the mt76x2 module loaded (lsmod | grep mt76)? You can also try the RPi specific kernel which is linux-rpi and report back.
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: still no interface for mt76x2u wifi card

Postby zebul666 » Wed Oct 09, 2024 12:36 am

oh yes sorry. I am using the 6.6.51-3-rpi (armv7h) (not upgraded yet to the latest one).

the complete log is:
[code]kernel: usb 1-1.3: new high-speed USB device number 7 using dwc_otg
kernel: usb 1-1.3: New USB device found, idVendor=0846, idProduct=9053, bcdDevice= 1.00
kernel: usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: usb 1-1.3: Product: A6210
kernel: usb 1-1.3: Manufacturer: NETGEAR
kernel: usb 1-1.3: SerialNumber: 100
kernel: usb 1-1.3: reset high-speed USB device number 7 using dwc_otg
kernel: mt76x2u 1-1.3:1.0: ASIC revision: 76120044
kernel: page_pool_create() gave up with errno -22
kernel: mt76x2u: probe of 1-1.3:1.0 failed with error -22
[/code]

and the module is loaded

[code]$ lsmod|grep mt
mt76x2u 20480 0
mt76x2_common 24576 1 mt76x2u
mt76x02_usb 16384 1 mt76x2u
mt76_usb 32768 2 mt76x2u,mt76x02_usb
mt76x02_lib 73728 3 mt76x2u,mt76x02_usb,mt76x2_common
mt76 94208 5 mt76_usb,mt76x02_lib,mt76x2u,mt76x02_usb,mt76x2_common
mac80211 905216 4 mt76,mt76x02_lib,mt76x2u,mt76x02_usb
cfg80211 847872 6 mt76,mac80211,mt76x02_lib,mt76x02_usb,mt76x2_common,brcmfmac
[/code]

but I still don't have a new interface showing up

but with the same kernel aka 6.6.51-3-rpi but on aarch64, this is working
zebul666
 
Posts: 55
Joined: Fri Jul 10, 2015 4:55 pm

Re: still no interface for mt76x2u wifi card

Postby graysky » Wed Oct 09, 2024 7:27 pm

OK so this the linux-rpi armv7h kernel and the linux-rpi aarch64 kernel. It works on aarch64 but not on armv7h. I cannot explain that. Both kernels are compiled with the same module options. Could this be an upstream regression? Have you considered creating an issue against the kernel?
make_clickable_callback(MAGIC_URL_FULL, '
', 'https://github.com/raspberrypi/linux/issues', '', ' class="postlink"')

% grep -i mt76x2 config
CONFIG_MT76x2_COMMON=m
# CONFIG_MT76x2E is not set
CONFIG_MT76x2U=m

% grep -i mt76x2 config8
CONFIG_MT76x2_COMMON=m
# CONFIG_MT76x2E is not set
CONFIG_MT76x2U=m
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: still no interface for mt76x2u wifi card

Postby zebul666 » Thu Oct 10, 2024 10:39 am

make_clickable_callback(MAGIC_URL_FULL, '', 'https://github.com/raspberrypi/linux/issues/5851#issuecomment-2404729841', '', ' class="postlink"')

If I could have tested with bookworm on rpi3b, and it worked, I would have said, it does not look like a upstream kernel bug
zebul666
 
Posts: 55
Joined: Fri Jul 10, 2015 4:55 pm


Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 35 guests