rt61 Invalid RF chipset detected.

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=5781

vonck

07-11-2009 21:55:56

Hi,

I'm having a problem with my wireless (rt61pci , Msi-s271, ubuntu 9.10)
Related Ubuntu bug report here https//bugs.launchpad.net/ubuntu/+sour ... bug/404596
I tried the latest wireless-compat, but it didn't solve my problem.

Any suggestions on what else to try?
Let me know if I need to provide more info/ or did something really stupid ;)

[code32emvu32]
$ uname -r
2.6.31-14-generic

$ lspci | grep Net
[code]05:09.0 Network controller: RaLink RT2561/RT61 rev B 802.11g

$ dmesg | grep rt61
[ 30.420514] rt61pci 0000:05:09.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 30.425476] phy0 -> rt61pci_init_eeprom: Error - Invalid RF chipset detected.
[ 30.432964] rt61pci 0000:05:09.0: PCI INT A disabled

$ modinfo rt61pci
filename: /lib/modules/2.6.31-14-generic/updates/drivers/net/wireless/rt2x00/rt61pci.ko
license: GPL
firmware: rt2661.bin
firmware: rt2561s.bin
firmware: rt2561.bin
description: Ralink RT61 PCI & PCMCIA Wireless LAN driver.
version: 2.3.0
author: http://rt2x00.serialmonkey.com
srcversion: 043FCFF17C54C9FB3F4DA68
alias: pci:v00001814d00000401sv*sd*bc*sc*i*
alias: pci:v00001814d00000302sv*sd*bc*sc*i*
alias: pci:v00001814d00000301sv*sd*bc*sc*i*
depends: rt2x00lib,rt2x00pci,eeprom_93cx6,crc-itu-t
vermagic: 2.6.31-14-generic SMP mod_unload modversions 586
parm: nohwcrypt:Disable hardware encryption. (bool)

$ lspci -nnvv
05:09.0 Network controller [0280]: RaLink RT2561/RT61 rev B 802.11g [1814:0302]
Subsystem: Micro-Star International Co., Ltd. Device [1462:b833]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 22
Region 0: Memory at 70000000 (32-bit, non-prefetchable) [size=32K]
Capabilities: <access denied>
Kernel modules: rt61pci
[/code32emvu32]

IvD

08-11-2009 02:11:38

When using wireless-compat could you enable debug output and post the additional rt2x00 error messages?

vonck

08-11-2009 04:33:59

I enabled these 2 in config.mk.
[code1s983vg7]
CONFIG_RT2X00_LIB_DEBUGFS=y
CONFIG_RT2X00_DEBUG=y
[/code1s983vg7]

But it didn't add that much logging to dmesg
[code1s983vg7]
[ 30.015881] rt61pci 0000:05:09.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 30.020829] phy0 -> rt61pci_validate_eeprom: EEPROM recovery - MAC: 72:2a:2f:e6:68:bd
[ 30.020834] phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 0302, rf: 0000, rev: 00000000.
[ 30.020837] phy0 -> rt61pci_init_eeprom: Error - Invalid RF chipset detected.
[ 30.020842] phy0 -> rt2x00lib_probe_dev: Error - Failed to allocate device.
[ 30.020856] rt61pci 0000:05:09.0: PCI INT A disabled
[/code1s983vg7]

IvD

08-11-2009 05:22:37

Yep, just what I suspected. That device isn't providing proper information. (Please note that the MAC address looks more like a random value then a true MAC address).

Does this device work on other operating systems or on other computers?

zhilla

08-11-2009 05:33:59

I have experienced the same problem, but only once and unable to reproduce it, Slackware64 13.0, on 2.6.31.5, after connecting card worked on WPA2 connection for a while (like 30 minutes) than stopped working. Since than I upgraded to (20091106) compat-wireless and issue seems gone for now.

vonck

08-11-2009 05:46:13

Yep, just what I suspected. That device isn't providing proper information. (Please note that the MAC address looks more like a random value then a true MAC address).

Does this device work on other operating systems or on other computers?[/quote3uul9is1]

Works fine in ubuntu 9.4/kernel 2.6.28-15-generic(don't know if that one used the legacy driver) and in vista.

Check the responses in launchpad bug it's not just my notebook, maybe isolated to msi271.

Edit gathering info from 2.6.28..
Edit2 using compat-wireless-2009-11-07

vonck

08-11-2009 06:12:55

This was ok
[b16e69a66]2.6.28-15-generic[/b16e69a66]
[code16e69a66]
$modinfo rt61pci
filename: /lib/modules/2.6.28-15-generic/kernel/drivers/net/wireless/rt2x00/rt61pci.ko
license: GPL
firmware: rt2661.bin
firmware: rt2561s.bin
firmware: rt2561.bin
description: Ralink RT61 PCI & PCMCIA Wireless LAN driver.
version: 2.2.1
author: http://rt2x00.serialmonkey.com
srcversion: 87B08EFF61046B1FF7872F5
alias: pci:v00001814d00000401sv*sd*bc*sc*i*
alias: pci:v00001814d00000302sv*sd*bc*sc*i*
alias: pci:v00001814d00000301sv*sd*bc*sc*i*
depends: rt2x00lib,rt2x00pci,eeprom_93cx6,crc-itu-t
vermagic: 2.6.28-15-generic SMP mod_unload modversions 586
parm: nohwcrypt:Disable hardware encryption. (bool)

$ lspci -nnvv
05:09.0 Network controller [0280]: RaLink RT2561/RT61 rev B 802.11g [1814:0302]
Subsystem: Micro-Star International Co., Ltd. Device [1462:b833]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 22
Region 0: Memory at 80000000 (32-bit, non-prefetchable) [size=32K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: rt61pci
Kernel modules: rt61pci

$dmesg (full one attached)
[ 12.946263] rt61pci 0000:05:09.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 13.256902] Registered led device: rt61pci-phy0:radio
[ 13.256928] Registered led device: rt61pci-phy0:assoc
[ 21.393945] rt61pci 0000:05:09.0: firmware: requesting rt2561.bin
[/code16e69a66]

vonck

09-11-2009 18:59:30

Seems to be a kernel problem 2.6.30->2.6.31

2.6.30 from http//kernel.ubuntu.com/~kernel-ppa/ma ... v2.6.30.9/

[bec7rpoi0] ubuntu kernel 2.6.30 no compat-wireless[/bec7rpoi0]
[codeec7rpoi0]
[ 13.686649] Registered led device: rt61pci-phy0::radio
[ 13.686666] Registered led device: rt61pci-phy0::assoc
<snip>
[ 22.545841] rt61pci 0000:05:09.0: firmware: requesting rt2561.bin
[ 22.773162] input: rt61pci as /devices/pci0000:00/0000:00:14.4/0000:05:09.0/input/input10
[ 22.793346] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 32.436016] eth0: no IPv6 routers present
[ 33.025067] wlan0: authenticate with AP 00:11:d8:60:24:ec
[ 33.026574] wlan0: authenticated
[ 33.026578] wlan0: associate with AP 00:11:d8:60:24:ec
[ 33.028691] wlan0: RX AssocResp from 00:11:d8:60:24:ec (capab=0x411 status=0 aid=2)
[ 33.028694] wlan0: associated
[/codeec7rpoi0]

[bec7rpoi0]compat-wireless 2009-11-07 + kernel 2.6.30[/bec7rpoi0]
[codeec7rpoi0]
[ 1196.881038] wlan0: deauthenticating by local choice (reason=3)
[ 1197.257426] rt61pci 0000:05:09.0: PCI INT A disabled
[ 1197.782076] rt61pci 0000:05:09.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 1197.791698] phy0 -> rt61pci_validate_eeprom: EEPROM recovery - NIC: 0xff80
[ 1197.791707] phy0 -> rt61pci_validate_eeprom: EEPROM recovery - Led: 0xe0ff
[ 1197.791717] phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 0302, rf: 0003, rev: 0002561c.
[ 1197.798487] Registered led device: rt61pci-phy0::radio
[ 1197.798561] Registered led device: rt61pci-phy0::assoc
[ 1197.842136] phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2561.bin'.
[ 1197.842151] rt61pci 0000:05:09.0: firmware: requesting rt2561.bin
[ 1197.879738] phy0 -> rt2x00lib_request_firmware: Info - Firmware detected - version: 0.8.
[ 1197.925113] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 102.
[ 1197.925138] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 5, Aifs: 2, TXop: 188.
[ 1197.925155] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 3, TXop: 0.
[ 1197.925172] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 7, TXop: 0.
[ 1197.925724] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1205.517128] wlan0: deauthenticating from 00:11:d8:60:24:ec by local choice (reason=3)
[ 1205.521088] wlan0: direct probe to AP 00:11:d8:60:24:ec (try 1)
[ 1205.523985] wlan0: direct probe responded
[ 1205.523996] wlan0: authenticate with AP 00:11:d8:60:24:ec (try 1)
[ 1205.525752] wlan0: authenticated
[ 1205.525790] wlan0: associate with AP 00:11:d8:60:24:ec (try 1)
[ 1205.530062] wlan0: RX AssocResp from 00:11:d8:60:24:ec (capab=0x411 status=0 aid=2)
[ 1205.530069] wlan0: associated
[ 1205.530886] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 2, TXop: 47.
[ 1205.530904] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 94.
[ 1205.530921] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 3, TXop: 0.
[ 1205.530938] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 7, TXop: 0.
[ 1205.531568] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1216.504048] wlan0: no IPv6 routers present
[ 1236.991196] wlan0: deauthenticated from 00:11:d8:60:24:ec (Reason: 7)
[ 1236.991227] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 2, TXop: 47.
[ 1236.991244] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 94.
[ 1236.991262] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 3, TXop: 0.
[ 1236.991279] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 7, TXop: 0.
[ 1238.341080] wlan0: direct probe to AP 00:11:d8:60:24:ec (try 1)
[ 1238.342687] wlan0: direct probe responded
[ 1238.342695] wlan0: authenticate with AP 00:11:d8:60:24:ec (try 1)
[ 1238.345704] wlan0: authenticated
[ 1238.345743] wlan0: associate with AP 00:11:d8:60:24:ec (try 1)
[ 1238.347850] wlan0: RX ReassocResp from 00:11:d8:60:24:ec (capab=0x411 status=0 aid=2)
[ 1238.347857] wlan0: associated
[ 1238.348824] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 2, TXop: 47.
[ 1238.348842] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 94.
[ 1238.348859] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 3, TXop: 0.
[ 1238.348876] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 7, TXop: 0.
[/codeec7rpoi0]

Well, i'm happy i found a workaround, and narrowed it down a bit.
Tell me if you need more info.

bliss

10-11-2009 09:50:31

Hi,

I have exactly the same Problem.

from ubuntu 7.10 to 9.04 wlan works as aspected, but in 9.10 not any more.
the Problem is with all Kernels >= 2.6.31, including 2.6.32-RC6
in 2.6.30 it works fine.

There's a bugreport on Launchpad
https//bugs.launchpad.net/ubuntu/+sour ... bug/404596

Hope you can find Informations there.

Thanks.

lord-carlos

29-11-2009 23:38:14

I think this is the same bug http//bugzilla.kernel.org/show_bug.cgi?id=14460

Please, please fix this!

How can i help?

lord-carlos

12-12-2009 00:36:11

I think this is the same bug http//bugzilla.kernel.org/show_bug.cgi?id=14460
[/quote23snjzw4]
Looks like the bug has been fixed. It was a kernel bug, and not a driver bug.