rt61 support failing miserably on x86_64 architecture

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

khermans

09-01-2008 15:14:08

Worked fine in Ubuntu Feisty (2.6.20), but broke in Gutsy (2.6.22), and Hardy's latest kernel (2.6.24) as well. It appears that the device fails after some indeterminate amount of time. This could mean any number of things. Perhaps it is due to x86_64 architecture and problems in the driver with non-clean 64-bit code. There are many bugs logged about this issue, and the suggested workaround is to use the Windows driver with ndiswrapper. However, there is no 64-bit Windows driver for my rt61 device (well, there is, but not directly supported by Linksys). However, the bug mentions 32-bit people finding this bug as well. I may have even run into on 32-bit, but I can't remember anymore. Check out the output below from my logs, which lead me to this forum...


root@peter-desktop~# grep -A 1 -B 1 "serialmonkey" /var/log/messages
Jan 9 091005 peter-desktop -- MARK --
Jan 9 091737 peter-desktop kernel [ 887.399363] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.406214] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.408093] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.408563] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.408686] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.408746] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.408965] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.409610] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.410217] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.410340] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.410868] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.411053] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.411185] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.411497] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.411833] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.412177] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.412329] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.412488] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.412557] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.412884] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.412963] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.413096] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.413579] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.413712] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.413872] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.414153] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.414409] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.414560] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.414657] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.414955] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.415124] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.415381] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.415667] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.415836] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.415978] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.416337] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.416497] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.416676] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.416802] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.417078] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.417308] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.417662] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.417750] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.417940] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.418139] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.418481] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.418661] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.419207] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.419269] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.419377] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.419837] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.419939] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.420600] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.420725] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.420825] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.421456] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.421590] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.421867] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.422010] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.422292] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.422472] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.422543] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.422740] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 091737 peter-desktop kernel [ 887.422921] Please file bug report to http//rt2x00.serialmonkey.com.
Jan 9 093005 peter-desktop -- MARK --
--
Jan 9 095314 peter-desktop kernel [ 42.725600] ACPI PCI Interrupt 00000106.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 17
Jan 9 095314 peter-desktop kernel [ 42.725605] rt61 1.1.0 CVS CVS http//rt2x00.serialmonkey.com
Jan 9 095314 peter-desktop kernel [ 42.725612] RT61 Vendor = 0x1814, Product = 0x0301


And here's that Ubuntu bug report, still unresolved...
https//bugs.launchpad.net/ubuntu/+sour ... bug/139832

IvD

09-01-2008 16:56:18

The error message you report is coming from rt2x00 which is a bug which has been fixed for quite some time already.

However you also show in your log you are using the legacy driver, did you load this manually without removing the rt2x00 driver?

khermans

09-01-2008 17:07:51

The error message you report is coming from rt2x00 which is a bug which has been fixed for quite some time already.

However you also show in your log you are using the legacy driver, did you load this manually without removing the rt2x00 driver?[/quote3ldp32mt]

I just used whatever Ubuntu loaded based on hardware auto-detection routines. I did not changes anything and somehow it broke when changing from Feisty (2.6.20) to Gutsy (2.6.22). What am I missing? Perhaps Ubuntu is loading the wrong driver by default? Perhaps I need to blacklist a certain driver? Which module should I blacklist and which module should I be loading instead?

IvD

09-01-2008 17:13:18

Like I said, Ubuntu is obviously shipping and old driver.
I suggest untill they upgrade to a more recent kernel with a more recent rt2x00 version, you use rt61.
This means you should add rt61pci to the blacklist.