Sometimes rtl8187 stops sending/receiving packets under load
Hello,
It's a regularly reproducible bug: under some load, like a couple torrents running, but not enough to saturate the wireless link (and not even enough to saturate the ADSL link on the other side), the card stops sending or receiving any packet. Unloading and reloading the rtl8187 driver fixes the problem.
Kernel version is 2.6.38, but it also happened with older versions, and I haven't bothered testing new ones since there are no changes in that driver.
I get this on my dmesg:
ieee80211 phy0: wlan0: No probe response from AP 00:0f:66:e2:5f:dd after 500ms, disconnecting.
cfg80211: Calling CRDA to update world regulatory domain
wlan0: authenticate with 00:0f:66:e2:5f:dd (try 1)
wlan0: authenticate with 00:0f:66:e2:5f:dd (try 2)
wlan0: authenticate with 00:0f:66:e2:5f:dd (try 3)
wlan0: authentication with 00:0f:66:e2:5f:dd timed out
The wireless card is the one built-in a Asus P5K-E/wifi-ap motherboard. And the router is a WRT54G v2 running the latest OpenWRT.
This bit of dmesg output may also be useful:
usb 1-3: reset high speed USB device using ehci_hcd and address 2
cfg80211: Calling CRDA to update world regulatory domain
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
ieee80211 phy0: hwaddr 00:15:af:37:19:b3, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2
Signature · 2 lines
Olivier Crête [email protected]
Quoted 11 lines · Olivier Crête
Hello,
It's a regularly reproducible bug: under some load, like a couple torrents running, but not enough to saturate the wireless link (and not even enough to saturate the ADSL link on the other side), the card stops sending or receiving any packet. Unloading and reloading the rtl8187 driver fixes the problem.
Kernel version is 2.6.38, but it also happened with older versions, and I haven't bothered testing new ones since there are no changes in that driver.
This assumption may not be valid as there have been a lot of changes in mac80211, which might fix this.
Quoted 8 lines
I get this on my dmesg:
ieee80211 phy0: wlan0: No probe response from AP 00:0f:66:e2:5f:dd after 500ms, disconnecting.
cfg80211: Calling CRDA to update world regulatory domain
wlan0: authenticate with 00:0f:66:e2:5f:dd (try 1)
wlan0: authenticate with 00:0f:66:e2:5f:dd (try 2)
wlan0: authenticate with 00:0f:66:e2:5f:dd (try 3)
wlan0: authentication with 00:0f:66:e2:5f:dd timed out
Quoted 8 lines
The wireless card is the one built-in a Asus P5K-E/wifi-ap motherboard. And the router is a WRT54G v2 running the latest OpenWRT.
This bit of dmesg output may also be useful:
usb 1-3: reset high speed USB device usingehci_hcdand address 2
cfg80211: Calling CRDA to update world regulatory domain
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
ieee80211 phy0: hwaddr 00:15:af:37:19:b3, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2
I have the same device as you as shown in the following:
ieee80211 phy1: hwaddr 00:1b:2f:a2:07:ca, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2
I have run this card extensively in the past several months and have not seen any problems. One of my APs is a WRT54GL running a fairly recent openWRT.
Does this only happen when running torrents, or does it happen with a different heavy load?
Please try to repeat with a 2.6.39 or 3.0 kernel.
Larry
Quoted 20 lines · Larry Finger
Quoted 8 lines · Olivier Crête
I get this on my dmesg:
ieee80211 phy0: wlan0: No probe response from AP 00:0f:66:e2:5f:dd after 500ms, disconnecting.
cfg80211: Calling CRDA to update world regulatory domain
wlan0: authenticate with 00:0f:66:e2:5f:dd (try 1)
wlan0: authenticate with 00:0f:66:e2:5f:dd (try 2)
wlan0: authenticate with 00:0f:66:e2:5f:dd (try 3)
wlan0: authentication with 00:0f:66:e2:5f:dd timed outQuoted 8 lines
The wireless card is the one built-in a Asus P5K-E/wifi-ap motherboard. And the router is a WRT54G v2 running the latest OpenWRT.
This bit of dmesg output may also be useful:
usb 1-3: reset high speed USB device usingehci_hcdand address 2
cfg80211: Calling CRDA to update world regulatory domain
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
ieee80211 phy0: hwaddr 00:15:af:37:19:b3, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2I have the same device as you as shown in the following:
Quoted 8 lines
ieee80211 phy1: hwaddr 00:1b:2f:a2:07:ca, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2
I have run this card extensively in the past several months and have not seen any problems. One of my APs is a WRT54GL running a fairly recent openWRT.
Does this only happen when running torrents, or does it happen with a different heavy load?
I can only reproduce it with torrents, downloading something with a single TCP connection doesn't crash. So my guess it has something to do with the upload side maybe or maybe with loading both directions at the same time.
Quoted 1 line
Please try to repeat with a 2.6.39 or 3.0 kernel.
Alright, upgraded to 3.0-rc7 and I could still reproduce it in less than 10 minutes.
Signature · 2 lines
Olivier Crête [email protected]
Quoted 35 lines · Olivier Crête
Quoted 20 lines · Larry Finger
Quoted 8 lines · Olivier Crête
I get this on my dmesg:
ieee80211 phy0: wlan0: No probe response from AP 00:0f:66:e2:5f:dd after 500ms, disconnecting.
cfg80211: Calling CRDA to update world regulatory domain
wlan0: authenticate with 00:0f:66:e2:5f:dd (try 1)
wlan0: authenticate with 00:0f:66:e2:5f:dd (try 2)
wlan0: authenticate with 00:0f:66:e2:5f:dd (try 3)
wlan0: authentication with 00:0f:66:e2:5f:dd timed outQuoted 8 lines
The wireless card is the one built-in a Asus P5K-E/wifi-ap motherboard. And the router is a WRT54G v2 running the latest OpenWRT.
This bit of dmesg output may also be useful:
usb 1-3: reset high speed USB device usingehci_hcdand address 2
cfg80211: Calling CRDA to update world regulatory domain
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
ieee80211 phy0: hwaddr 00:15:af:37:19:b3, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2I have the same device as you as shown in the following:
Quoted 8 lines
ieee80211 phy1: hwaddr 00:1b:2f:a2:07:ca, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2
I have run this card extensively in the past several months and have not seen any problems. One of my APs is a WRT54GL running a fairly recent openWRT.
Does this only happen when running torrents, or does it happen with a different heavy load?
I can only reproduce it with torrents, downloading something with a single TCP connection doesn't crash. So my guess it has something to do with the upload side maybe or maybe with loading both directions at the same time.
Quoted 4 lines
Quoted 1 line
Please try to repeat with a 2.6.39 or 3.0 kernel.
Alright, upgraded to 3.0-rc7 and I could still reproduce it in less than 10 minutes.
Do you have a SMP-machine (there are running more then one threads parallel)? If yes, there have been problems fixed in the rt2x00 driver, which showed similar problems as you described. I "forced" them with netperf to get them easily reproduced. Don't know, if these patches would address your problem, too.
https://patchwork.kernel.org/patch/951132/
https://patchwork.kernel.org/patch/951222/
https://patchwork.kernel.org/patch/951192/
Unfortunately, there are more load-related problems in the WLAN stack, especially with hostapd / wpa_supplicant, which are just ignored by the programmer.
Andreas
Quoted 9 lines · Olivier Crête
Hi,
Quoted 5 lines · Larry Finger
I have 3 different devices that use either the RTL8187L or RTL8187B chips and the rtl8187 driver. None of them have any problems of the type you describe, thus you may have either a screwy AP, or excessive interference. Have you tried changing the channel to another of the set of 1, 6, 11, or have you tried with a different AP?
Quoted 4 lines
I tried with a different AP (some DLink with the stock firmware) instead of the WRT54Gv2 and the driver also fails after a while... Seems like an annoying issue to debug.. I'm tempted to believe that maybe it's an hardware issue maybe, I should do some stress testing in Windows maybe.
I've also noticed that just before it all goes horribly wrong, I start missing events from my USB HID mouse.. Maybe its a usb host controller bug or something.. hard to debug.
Signature · 2 lines
Olivier Crête [email protected]
Quoted 4 lines · Olivier Crête
I've also noticed that just before it all goes horribly wrong, I start missing events from my USB HID mouse.. Maybe its a usb host controller bug or something.. hard to debug.
That will indeed be hard to debug.
Larry