You are not logged in.

#1 2011-09-09 14:13:28

lorenz
Member
Registered: 2011-09-09
Posts: 3

WLAN drivers are in a deadlock

Hi,

I have a serious problem with my Belkin WLAN Stick. It has a Ralink chipset that is actually supported by the kernel, but I belive there are two drivers loaded wich leads to a deadlock. From time to time the internet access stops and i cannot do everything in my network manager (wicd). Oddly even sudo doesn't work at this point. In order to get the wlan working again I have to remove the wlan stick and plug it in afterwards.

$ lsmod | grep rt
rt73usb                22269  0 
crc_itu_t               1069  1 rt73usb
rt2x00usb               7752  1 rt73usb
rt2x00lib              30331  2 rt73usb,rt2x00usb
mac80211              191317  3 rt2x00usb,rt2x00lib,ath9k
cfg80211              138492  4 rt2x00lib,ath9k,mac80211,ath
agpgart                22096  3 drm,intel_agp,intel_gtt
iTCO_vendor_support     1545  1 iTCO_wdt
usbcore               119612  8 rt73usb,rt2x00usb,uvcvideo,usb_storage,uas,usbhid,ehci_hcd
$ lsusb
...
Bus 002 Device 031: ID 050d:705a Belkin Components F5D7050 Wireless G Adapter v3000 [Ralink RT2571W]
...

The following line appears in the kernel.log each time my wlan disconnects:

phy8 -> rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1200 with error -19

I'm almost sure that there is a second driver wich blocks the other, but as you can see there is no one listed by lsmod. Any idea how i can get my wlan working?

Greetings,
lorenz

P.S. Sorry for my bad english, but I'm not a native speaker wink

Last edited by lorenz (2011-09-09 14:40:43)

Offline

#2 2011-09-09 15:09:37

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: WLAN drivers are in a deadlock

I would look here:

https://wiki.archlinux.org/index.php/Us … eta_driver

If that doesn't help, they tell you to try this forum:

http://rt2x00.serialmonkey.com/phpBB/vi … 668dfcadb2

There is a wiki page on the legacy driver for your device, although I would try everything else first since the newer driver should be working for you:

https://wiki.archlinux.org/index.php/RT73_Wireless


I laugh, yet the joke is on me

Offline

#3 2011-09-09 16:27:51

lorenz
Member
Registered: 2011-09-09
Posts: 3

Re: WLAN drivers are in a deadlock

Thank you for the answer, but unfortunately I found nothing concerning my problem.

Greetings,
Lorenz

Offline

#4 2011-09-09 19:29:40

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: WLAN drivers are in a deadlock

Sorry, the second link was not just to that thread, but rather to the forum.  I accidentally copied wrong: http://rt2x00.serialmonkey.com/phpBB/viewforum.php?f=5

When I did a search of your error message, this is what I found: http://www.tux.org/pub/kernel/people/li … t73usb.txt

+ * Register access.
+ * All access to the CSR registers will go through the methods
+ * rt2x00_register_read and rt2x00_register_write.
+ * BBP and RF register require indirect register access,
+ * and use the CSR registers BBPCSR and RFCSR to achieve this.
+ * These indirect registers work with busy bits,
+ * and we will try maximal REGISTER_BUSY_COUNT times to access
+ * the register while taking a REGISTER_BUSY_DELAY us delay
+ * between each attampt. When the busy bit is still set at that time,
+ * the access attempt is considered to have failed,
+ * and we will print an error.
+ * The caller to these register access functions, should take precautions
+ * for the correct byte ordering of the values.
+ */
+static void
+rt2x00_vendor_request(
+	const struct rt2x00_usb *rt2x00usb,
+	const u8 request,
+	const u8 type,
+	const u16 offset,
+	u32 value,
+	void *buffer,
+	const u16 buffer_length)
+{
+	int status = rt2x00usb_vendor_request(
+		rt2x00usb, request, type, offset,
+		value, buffer, buffer_length, REGISTER_TIMEOUT);
+
+	if (status < 0)
+		ERROR("vendor request error. Request 0x%02x failed "
+			"for offset 0x%04x with error %d.\n",
+			request, offset, status);

It seems that you are being timed out or something.  This thread may have your solution: https://bbs.archlinux.org/viewtopic.php?id=86260


I laugh, yet the joke is on me

Offline

#5 2011-09-10 16:11:03

lorenz
Member
Registered: 2011-09-09
Posts: 3

Re: WLAN drivers are in a deadlock

Hey,

I looked around a bit in this forum and found exactly my problem (http://rt2x00.serialmonkey.com/phpBB/vi … f=5&t=6157). The solution was to update compat-wireless. But when i try to retrieve it from the AUR, wget says that it can't find wireless.kernel.org.

==> Retrieving Sources...
  -> Downloading compat-wireless-2011-03-30.tar.bz2...
--2011-09-10 18:02:02--  [url]http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2011-03-30.tar.bz2[/url]
Resolving wireless.kernel.org... failed: Name or service not known.
wget: unable to resolve host address `wireless.kernel.org'
==> ERROR: Failure while downloading compat-wireless-2011-03-30.tar.bz2
    Aborting...

Any idea how to update it anyway?

Probably it won't work for me at all, because the post is from June 2011 and he used another driver. Definitely I will keep looking for a good solution, because it's quite annoying...

Greetings,
Lorenz

Offline

#6 2011-09-10 16:17:15

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: WLAN drivers are in a deadlock

lorenz wrote:

Hey,

I looked around a bit in this forum and found exactly my problem (http://rt2x00.serialmonkey.com/phpBB/vi … f=5&t=6157). The solution was to update compat-wireless. But when i try to retrieve it from the AUR, wget says that it can't find wireless.kernel.org.

==> Retrieving Sources...
  -> Downloading compat-wireless-2011-03-30.tar.bz2...
--2011-09-10 18:02:02--  [url]http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2011-03-30.tar.bz2[/url]
Resolving wireless.kernel.org... failed: Name or service not known.
wget: unable to resolve host address `wireless.kernel.org'
==> ERROR: Failure while downloading compat-wireless-2011-03-30.tar.bz2
    Aborting...

Any idea how to update it anyway?

Probably it won't work for me at all, because the post is from June 2011 and he used another driver. Definitely I will keep looking for a good solution, because it's quite annoying...

Greetings,
Lorenz

Twitter is showing lots of comments about it being down for maintenance; probably because of the hack last week.


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

Board footer

Powered by FluxBB