jurobystricky / Netgear-A6210

AC1200 High Gain WiFi USB Adapter Linux kernel driver
291 stars 155 forks source link

checksum fail!, local(0xef19) <> fw(0x3aae) #137

Open kuttkutt opened 4 years ago

kuttkutt commented 4 years ago

Hello,

after a long struggle I got the driver compiled on a Raspberry 3b+

When I plug in the device it tells me:

Jun 2 17:24:27 router mtp-probe: checking bus 1, device 7: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2" Jun 2 17:24:27 router mtp-probe: bus: 1, device: 7 was not an MTP device Jun 2 17:24:27 router systemd-udevd[2907]: Using default interface naming scheme 'v240'. Jun 2 17:24:27 router mtp-probe: checking bus 1, device 7: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2" Jun 2 17:24:27 router mtp-probe: bus: 1, device: 7 was not an MTP device

in just ifconfig, the device is not show, but if I do ifconfig -a:

wlan1: flags=4098<BROADCAST,MULTICAST> mtu 1500 ether 00:00:00:00:00:00 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

so far so good, but on ifup wlan 1 I get:

RTNETLINK answers: Operation not permitted ifup: failed to bring up wlan1

a quick look into syslog:

Jun 2 17:27:37 router kernel: [ 3690.752673] -->RTUSBVendorReset Jun 2 17:27:37 router kernel: [ 3690.772810] <--RTUSBVendorReset Jun 2 17:27:37 router kernel: [ 3690.774204] . Jun 2 17:27:37 router kernel: [ 3690.780063] . Jun 2 17:27:37 router kernel: [ 3690.785903] . Jun 2 17:27:37 router kernel: [ 3690.791735] . Jun 2 17:27:37 router kernel: [ 3690.797696] . Jun 2 17:27:37 router kernel: [ 3690.803552] . Jun 2 17:27:37 router kernel: [ 3690.809406] . Jun 2 17:27:37 router kernel: [ 3690.815235] . Jun 2 17:27:37 router kernel: [ 3690.820947] . Jun 2 17:27:37 router kernel: [ 3690.826592] . Jun 2 17:27:37 router kernel: [ 3690.832206] . Jun 2 17:27:37 router kernel: [ 3690.842540] andes_usb_chk_crc Jun 2 17:27:37 router kernel: [ 3690.866374] checksum fail!, local(0xef19) <> fw(0x3aae) Jun 2 17:27:37 router kernel: [ 3690.866380] ERROR mt766u_sta: Jun 2 17:27:37 router kernel: [ 3690.866382] load patch failed, Status[=0x00000001] Jun 2 17:27:37 router kernel: [ 3690.866397] receive cmd msg fail(-2) Jun 2 17:27:37 router kernel: [ 3690.866409] tx_kickout_fail_count = 0 Jun 2 17:27:37 router kernel: [ 3690.866411] tx_timeout_fail_count = 0 Jun 2 17:27:37 router kernel: [ 3690.866415] rx_receive_fail_count = 0 Jun 2 17:27:37 router kernel: [ 3690.866417] alloc_cmd_msg = 1 Jun 2 17:27:37 router kernel: [ 3690.866419] free_cmd_msg = 1 Jun 2 17:27:37 router kernel: [ 3690.866422] !!! rt28xx init fail !!!

It look like the problem starts with " checksum fail!, local(0xef19) <> fw(0x3aae)", but I have no idea how to proceed at this point.

Anyone got an idea?

kuttkutt commented 4 years ago

Oh well! I figured it out!!!

It seems to be an issue with the Kernel. It compiles without any problems on the latest 4.9 Kernel of Raspbian, but you need to upgrade to Kernel 5.1 and the driver works like a charm.