[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#775997: linux-image-3.16.0-4-amd64: Realtek network card issues



On 01/22/2015 07:54 PM, Ben Hutchings wrote:
> On Thu, 2015-01-22 at 19:06 +0530, Ritesh Raj Sarraf wrote:
> [...]
>> > On boot, sometimes, my (Realtek) wireless USB card does not get detected. The
>> > error msg I see is:
>> > 
>> > [   28.068775] rtl8192cu: MAC auto ON okay!
>> > [   28.079349] rtl8192cu: Tx queue select: 0x05
> The driver is logging messages about it, so in what sense it is not
> being detected?
> 

Well. On boot, on this iteration, the driver wasn't even loaded. Which
led to no wireless interface in the OS.

Manually re-plugging the device again, raised the event and the proper
driver was loaded.

> [...]
>> > If I unplug and re-plug the device, it then works perfect.
> [...]
> 
> What is broken before?

I'm not sure what you meant here. But this is the first time I've used
the device. The USB Wifi came along with my RPi kit. (But I'm using it
with my laptop, because the inbuilt MediaTek RALink WIFI is equally crappy.)

When functioning, the output of iwconfig is:

wlan1     IEEE 802.11bgn  ESSID:"FTW"
          Mode:Managed  Frequency:2.412 GHz  Access Point:
00:03:7F:FE:00:02
          Bit Rate=18 Mb/s   Tx-Power=20 dBm
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=57/70  Signal level=-53 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:124   Missed beacon:0


Eventually, after a couple of minutes of data transfer, the device just
gives up, quietly. The networks are unreachable. But the wireless scan
still reports good signal quality. The only catch is the Bit Rate.

wlan1     IEEE 802.11bgn  ESSID:"FTW"
          Mode:Managed  Frequency:2.412 GHz  Access Point:
00:03:7F:FE:00:02
          Bit Rate=1 Mb/s   Tx-Power=20 dBm
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=60/70  Signal level=-50 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:406   Missed beacon:0

And then, if you disconnect and connect again, the device is almost useless.

[  246.472692] wlan1: associated
[  246.472722] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[  768.909225] wlan1: deauthenticating from 00:03:7f:fe:00:02 by local
choice (Reason: 3=DEAUTH_LEAVING)
[  768.972946] cfg80211: Calling CRDA to update world regulatory domain
[  768.974702] cfg80211: World regulatory domain updated:
[  768.974704] cfg80211:  DFS Master region: unset
[  768.974705] cfg80211:   (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
[  768.974707] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz),
(N/A, 2000 mBm), (N/A)
[  768.974708] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz),
(N/A, 2000 mBm), (N/A)
[  768.974708] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz),
(N/A, 2000 mBm), (N/A)
[  768.974710] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz,
160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[  768.974711] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz,
160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[  768.974712] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz),
(N/A, 2000 mBm), (0 s)
[  768.974712] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz),
(N/A, 2000 mBm), (N/A)
[  768.974713] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz),
(N/A, 0 mBm), (N/A)
[  768.976233] rtl8192cu: MAC auto ON okay!
[  768.986979] rtl8192cu: Tx queue select: 0x05
[  769.339256] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[  771.424275] rtl_usb: reg 0x43, usbctrl_vendorreq TimeOut!
status:0xffffffb9 value=0x4f0f
[  771.425154] rtl_usb: reg 0x42, usbctrl_vendorreq TimeOut!
status:0xffffffb9 value=0x9f80
[  772.334312] r8169 0000:0f:00.0 eth0: link down
[  772.334358] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  776.436325] rtl_usb: reg 0x43, usbctrl_vendorreq TimeOut!
status:0xffffffb9 value=0x30004
[  776.437203] rtl_usb: reg 0x42, usbctrl_vendorreq TimeOut!
status:0xffffffb9 value=0xa103


It cannot associate to the AP anymore.


-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: