rtwn connection stops working on CURRENT

Andriy Voskoboinyk avos at freebsd.org
Tue Jun 14 12:59:22 UTC 2016


Tue, 14 Jun 2016 08:24:01 +0300 було написано Marcus von Appen  
<mva at freebsd.org>:

Hi!

Try attached patch (adds some busdma synchronization,
unloads data instead of descriptor in rtwn_tx_done() and improves
watchdog logic for a bit).

> Hi,
>
> I'm running into a somewhat weird issue with the rtwn driver
> on CURRENT. It usually works for a couple of minutes (if there's
> not too much of troughput happening) before the downstream and
> upstream rates just "dry up" and the interface stops working.
> It happens faster, if there are multiple connections open at the
> same time, e.g. having a browser open or fetching mail and doing
> a portsnap update.
>
> Once the connection stopped working, dhclient will report the
> following:
>
>   Jun 11 12:22:22 athena dhclient[474]: send_packet: no buffer space  
> available
>   Jun 11 12:24:08 athena last message repeated 4 times
>   ...
>
> wpa_supplicant reports:
>
>   Jun 11 12:22:20 athena wpa_supplicant[335]: wlan0:  
> CTRL-EVENT-DISCONNECTED bssid=... reason=3 locally_generated=1
>   Jun 11 12:22:20 athena wpa_supplicant[335]: wlan0: WPA: 4-Way  
> Handshake failed - pre-shared key may be incorrect
>   Jun 11 12:22:20 athena wpa_supplicant[335]: wlan0:  
> CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="..." auth_failures=8  
> duration=100 reason=WRONG_KEY
>   Jun 11 12:22:20 athena wpa_supplicant[335]: wlan0:  
> CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="..." auth_failures=9  
> duration=152 reason=CONN_FAILED
>
> pciconf -lv:
>
> rtwn0 at pci0:3:0:0: class=0x028000 card=0x819510ec chip=0x817610ec  
> rev=0x01 hdr=0x00
>   vendor     = 'Realtek Semiconductor Co., Ltd.'
>   device     = 'RTL8188CE 802.11b/g/n WiFi Adapter'
>   class      = network
>
> An pointers on tracking this issue down and getting it fixed are
> highly appreciated.
>
> Cheers
> Marcus
> _______________________________________________
> freebsd-wireless at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to  
> "freebsd-wireless-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-rtwn-busdma.diff
Type: application/octet-stream
Size: 2634 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20160614/9f54877b/attachment.obj>


More information about the freebsd-current mailing list