FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 03-01-2012, 11:24 PM
Soren Stoutner
 
Default Bug#661860: firmware-realtek: Intermittent problems with rtl8192cufw.bin

Package: firmware-realtek
Version: 0.35
Severity: important

Dear Maintainer,

I have an EDIMAX EW-7811 Nano adapter, which uses rtl8192cufw.bin. I have several intermittent problems with this adapter.

1. The adapter will periodically list not networks available.
2. The adapter will periodically list all network as having full signal strength (when they don't) but refuse to connect to any network.
3. After being connected to the network for 5-10 minutes, the adapter will suddenly disconnect and refuse to reconnect until rebooted. This is often coupled with they symptoms listed in #2.

When number 3 occurs, I see the following in dmesg:

[ 1008.228433] wlan0: deauthenticated from f8:d1:11:2f:24:6c (Reason: 2)
[ 1008.276164] cfg80211: Calling CRDA to update world regulatory domain
[ 1008.283964] cfg80211: World regulatory domain updated:
[ 1008.283971] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 1008.283977] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1008.283981] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 1008.283986] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 1008.283991] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1008.283995] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)


Rebooting usually fixes all three problems above, but only temporarily. I cannot find any common demoninator that predicts when these problems occur, but it does seem to be more prevalent on 802.11n and more stable on 802.11g.

In addition, signal strength is incredibly weak, as compared with the Windows 7 driver running on the same hardware. This is consistant and at least half the signal strength observed in Windows.

In addition, when attempting to troubleshoot the problem, I discovered an the following interesting fact. I do not know what it means. It may be connected or it may be another problem.
I have a HorneTek HT-H5DN8191, which uses rtl8712u.bin. I have never had any problems usign this adapter in Linux. If I plug this into my laptop, it works fine. If I remove it and plug
in the EDIMAX listed above, I usually don't have any problem. However, if I unplug the EDIMAX and attempt to plug the HorneTek in again, I get a Kernel panic. I've tried a lot of
different permutations. It doesn't matter what is plugged in first. It doesn't matter how many times adapters are plugged in and unplugged. However, consistently, every time the HorneTek
is plugged in after the EDIMAX, I get a Kernel panic.

Dmesg output of this is below. The HorneTek is plugged in an connects to the access point. Then it is removed and the EDIMAX is plugged in. Then The EDIMAX is removed and the HorneTek is reinserted.

[ 122.596041] usb 1-2: new high-speed USB device number 2 using ehci_hcd
[ 122.731445] usb 1-2: New USB device found, idVendor=0bda, idProduct=8172
[ 122.731452] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 122.731456] usb 1-2: Product: RTL8191S WLAN Adapter
[ 122.731460] usb 1-2: Manufacturer: Manufacturer Realtek
[ 122.731462] usb 1-2: SerialNumber: 00e04c000001
[ 122.899606] r8712u: module is from the staging directory, the quality is unknown, you have been warned.
[ 122.903433] r8712u: DriverVersion: v7_0.20100831
[ 122.903481] r8712u: register rtl8712_netdev_ops to netdev_ops
[ 122.903487] r8712u: USB_SPEED_HIGH with 4 endpoints
[ 122.904080] r8712u: Boot from EFUSE: Autoload OK
[ 123.338178] r8712u: CustomerID = 0x0000
[ 123.338184] r8712u: MAC Address from efuse = 00:e0:4c:a2:28:22
[ 123.338188] r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
[ 123.338991] usbcore: registered new interface driver r8712u
[ 123.480689] udevd[1420]: renamed network interface wlan0 to wlan1
[ 124.200533] r8712u: 1 RCR=0x153f00e
[ 124.201279] r8712u: 2 RCR=0x553f00e
[ 124.310134] ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 135.915741] ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 138.615614] r8712u: [r8712_got_addbareq_event_callback] mac = f8:d1:11:2f:24:6c, seq = 32, tid = 0
[ 146.920025] wlan1: no IPv6 routers present
[ 153.283404] usb 1-2: USB disconnect, device number 2
[ 156.208105] usb 1-2: new high-speed USB device number 3 using ehci_hcd
[ 156.342638] usb 1-2: New USB device found, idVendor=7392, idProduct=7811
[ 156.342644] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 156.342649] usb 1-2: Product: 802.11n WLAN Adapter
[ 156.342652] usb 1-2: Manufacturer: Realtek
[ 156.342655] usb 1-2: SerialNumber: 00e04c000001
[ 156.423572] cfg80211: Calling CRDA to update world regulatory domain
[ 156.588609] cfg80211: World regulatory domain updated:
[ 156.588616] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 156.588621] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 156.588626] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 156.588630] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 156.588634] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 156.588639] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 156.635064] rtl8192cu: MAC address: 80:1f:02:34:48:0e
[ 156.635073] rtl8192cu: Board Type 0
[ 156.656311] rtlwifi: rx_max_size 15360, rx_urb_num 8, in_ep 1
[ 156.656503] cfg80211: Calling CRDA for country: US
[ 156.663379] cfg80211: Regulatory domain changed to country: US
[ 156.663386] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 156.663391] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[ 156.663395] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[ 156.663399] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 156.663403] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 156.663407] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 156.663411] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[ 156.700092] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[ 156.700941] usbcore: registered new interface driver rtl8192cu
[ 156.725073] rtl8192cu: MAC auto ON okay!
[ 156.758710] rtl8192cu: Tx queue select: 0x05
[ 156.759744] rtl8192c_common: Loading firmware file rtlwifi/rtl8192cufw.bin
[ 157.197152] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 160.017443] wlan0: authenticate with f8:d1:11:2f:24:6c (try 1)
[ 160.023783] wlan0: authenticated
[ 160.046931] wlan0: associate with f8:d1:11:2f:24:6c (try 1)
[ 160.051361] wlan0: RX AssocResp from f8:d1:11:2f:24:6c (capab=0x411 status=0 aid=2)
[ 160.051367] wlan0: associated
[ 160.065891] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 160.068413] cfg80211: Calling CRDA for country: US
[ 160.163605] Intel AES-NI instructions are not detected.
[ 160.236988] cfg80211: Regulatory domain changed to country: US
[ 160.236995] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 160.237000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[ 160.237004] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[ 160.237008] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 160.237013] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 160.237017] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 160.237021] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[ 170.128040] wlan0: no IPv6 routers present
[ 275.204518] CE: hpet increased min_delta_ns to 11520 nsec
[ 447.916431] usb 1-2: USB disconnect, device number 3
[ 447.916758] rtlwifi: reg 0xe08, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x3a322d31
[ 447.916766] rtlwifi: reg 0x86c, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x3a322d31
[ 447.916772] rtlwifi: reg 0x86c, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x3a322d31
[ 447.916777] rtlwifi: reg 0x838, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x3a322d31
[ 447.926725] rtlwifi: reg 0x603, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x3a322d31
[ 447.926730] rtlwifi: reg 0x442, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x3a322d31
[ 447.926736] rtlwifi: reg 0x800, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x3a322d31
[ 447.926741] rtlwifi: reg 0x900, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x3a322d31
[ 447.926746] rtlwifi: reg 0x884, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x3a322d31
[ 447.926765] rtlwifi: reg 0x102, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x3a322d31
[ 447.926770] rtlwifi: reg 0x422, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x3a322d31
[ 447.926775] rtlwifi: reg 0x542, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x3a322d31
[ 447.926783] rtlwifi: reg 0x608, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x3a322d31
[ 447.926792] wlan0: deauthenticating from f8:d1:11:2f:24:6c by local choice (reason=3)
[ 447.940082] cfg80211: Calling CRDA to update world regulatory domain
[ 447.956063] rtlwifi: reg 0x102, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x81110420
[ 447.956073] rtlwifi: reg 0x422, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x81110420
[ 447.956080] rtlwifi: reg 0x542, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x81110420
[ 447.956087] rtlwifi: reg 0x608, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x81110420
[ 447.956105] rtlwifi: reg 0x102, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x81110420
[ 447.956110] rtlwifi: reg 0x422, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x81110420
[ 447.956116] rtlwifi: reg 0x542, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x81110420
[ 447.956124] rtlwifi: reg 0x824, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x81110420
[ 447.959107] rtlwifi: reg 0x820, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x81110420
[ 447.959112] rtlwifi: reg 0x8a0, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x81110420
[ 447.959119] rtlwifi: reg 0x2, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x81110420
[ 447.959124] rtlwifi: reg 0x2, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x81110420
[ 447.959129] rtlwifi: reg 0x2, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x81110420
[ 447.959134] rtlwifi: reg 0x44, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x81110420
[ 447.959140] rtlwifi: reg 0x42, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x81110420
[ 447.978205] cfg80211: World regulatory domain updated:
[ 447.978212] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 447.978217] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 447.978222] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 447.978226] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 447.978230] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 447.978235] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 452.580060] usb 1-2: new high-speed USB device number 4 using ehci_hcd
[ 452.714933] usb 1-2: New USB device found, idVendor=0bda, idProduct=8172
[ 452.714940] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 452.714944] usb 1-2: Product: RTL8191S WLAN Adapter
[ 452.714948] usb 1-2: Manufacturer: Manufacturer Realtek
[ 452.714951] usb 1-2: SerialNumber: 00e04c000001
[ 452.716560] r8712u: DriverVersion: v7_0.20100831
[ 452.716636] r8712u: register rtl8712_netdev_ops to netdev_ops
[ 452.716642] r8712u: USB_SPEED_HIGH with 4 endpoints
[ 452.717310] r8712u: Boot from EFUSE: Autoload OK
[ 453.150322] r8712u: CustomerID = 0x0000
[ 453.150328] r8712u: MAC Address from efuse = 00:e0:4c:a2:28:22
[ 453.150332] r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
[ 453.196766] udevd[5353]: renamed network interface wlan0 to wlan1
[ 453.920478] r8712u: 1 RCR=0x153f00e
[ 453.921221] r8712u: 2 RCR=0x553f00e
[ 454.029714] ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 454.293644] BUG: unable to handle kernel paging request at ffffc90003e81000
[ 454.293653] IP: [<ffffffffa0fe3ee4>] rtl8712_hal_init+0x4e/0x652 [r8712u]
[ 454.293672] PGD 14f023067 PUD 14f024067 PMD 14617e067 PTE 0
[ 454.293679] Oops: 0000 [#1] SMP
[ 454.293684] CPU 1
[ 454.293686] Modules linked in: cryptd aes_x86_64 aes_generic arc4 rtl8192cu rtl8192c_common rtlwifi mac80211 cfg80211 r8712u(C) parport_pc ppdev lp parport rfcomm bnep bluetooth fuse nfsd nfs lockd fscache auth_rpcgss nfs_acl sunrpc loop firewire_sbp2 dm_crypt dm_mod nvidia(P) snd_hda_codec_conexant joydev snd_hda_intel snd_hda_codec r852 sm_common nand snd_hwdep nv_tco nand_ids snd_pcm snd_seq snd_timer snd_seq_device mtd nand_ecc r592 memstick snd i2c_nforce2 pcspkr i2c_core soundcore psmouse snd_page_alloc k8temp serio_raw hp_wmi edac_core evdev sparse_keymap rfkill edac_mce_amd video ac battery button wmi power_supply processor ext4 mbcache jbd2 crc16 sd_mod sr_mod cdrom crc_t10dif firewire_ohci sdhci_pci firewire_core sdhci ata_generic ohci_hcd crc_itu_t forcedeth mmc_core sata_nv pata_amd libata scsi_mod ehci_hcd thermal thermal_sys usbcore usb_common [last unloaded: scsi_wait_scan]
[ 454.293772]
[ 454.293776] Pid: 2417, comm: wpa_supplicant Tainted: P C O 3.2.0-1-amd64 #1 Hewlett-Packard HP Pavilion dv9000 (RP114UA#ABA) /30B9
[ 454.293783] RIP: 0010:[<ffffffffa0fe3ee4>] [<ffffffffa0fe3ee4>] rtl8712_hal_init+0x4e/0x652 [r8712u]
[ 454.293796] RSP: 0018:ffff8801135fbc68 EFLAGS: 00010286
[ 454.293799] RAX: ffff880115f3c220 RBX: ffff880113628740 RCX: 0000000000000000
[ 454.293802] RDX: 0000000000000054 RSI: 000000000001f918 RDI: ffff880113628740
[ 454.293806] RBP: 0000000000000000 R08: ffff8801135fa000 R09: 0000000000000001
[ 454.293809] R10: 0000000000000005 R11: ffff880113522340 R12: ffffc90003e81000
[ 454.293812] R13: 0000000000000000 R14: 0000000000000001 R15: ffff8801331fb200
[ 454.293817] FS: 00007fd3c997b700(0000) GS:ffff88014fd00000(0000) knlGS:0000000000000000
[ 454.293820] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 454.293824] CR2: ffffc90003e81000 CR3: 0000000113513000 CR4: 00000000000006e0
[ 454.293827] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 454.293831] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 454.293835] Process wpa_supplicant (pid: 2417, threadinfo ffff8801135fa000, task ffff880113522340)
[ 454.293838] Stack:
[ 454.293840] ffff8801135fbcd4 004488011346fbe0 00000000000c2a3a ffff880113628740
[ 454.293847] 0000000000000014 000000001362c051 0000000000000000 0000000000000001
[ 454.293852] ffff8801331fb200 ffffffffa0fe5071 ffffffff00000001 ffff880113628740
[ 454.293858] Call Trace:
[ 454.293869] [<ffffffffa0fe5071>] ? usb_read8+0x29/0x32 [r8712u]
[ 454.293880] [<ffffffffa0fe4607>] ? rtl871x_hal_init+0x29/0x46 [r8712u]
[ 454.293892] [<ffffffffa0ff05b9>] ? netdev_open+0x54/0x1e3 [r8712u]
[ 454.293898] [<ffffffff812846f6>] ? __dev_open+0x87/0xb5
[ 454.293903] [<ffffffff812848ee>] ? __dev_change_flags+0x9d/0x118
[ 454.293908] [<ffffffff812849cc>] ? dev_change_flags+0x12/0x42
[ 454.293915] [<ffffffff812cf66d>] ? devinet_ioctl+0x285/0x551
[ 454.293921] [<ffffffff81271025>] ? sock_do_ioctl+0x1b/0x36
[ 454.293925] [<ffffffff81271430>] ? sock_ioctl+0x205/0x212
[ 454.293931] [<ffffffff81105d7d>] ? do_vfs_ioctl+0x459/0x49a
[ 454.293937] [<ffffffff81108932>] ? dput+0xe2/0xee
[ 454.293942] [<ffffffff810f9e5b>] ? fget_light+0x2c/0x73
[ 454.293946] [<ffffffff81105e09>] ? sys_ioctl+0x4b/0x72
[ 454.293953] [<ffffffff813457d2>] ? system_call_fastpath+0x16/0x1b
[ 454.293956] Code: 15 48 c7 c7 85 79 ff a0 31 c0 45 31 e4 e8 a2 63 35 e0 31 f6 eb 04 4c 8b 60 08 85 f6 0f 84 52 04 00 00 4d 85 e4 0f 84 49 04 00 00 <66> 41 8b 0c 24 66 41 8b 44 24 02 41 8b 7c 24 04 41 8b 54 24 08
[ 454.294001] RIP [<ffffffffa0fe3ee4>] rtl8712_hal_init+0x4e/0x652 [r8712u]
[ 454.294012] RSP <ffff8801135fbc68>
[ 454.294014] CR2: ffffc90003e81000
[ 454.294018] ---[ end trace 1e80a550048168e4 ]---

-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

firmware-realtek depends on no packages.

firmware-realtek recommends no packages.

Versions of packages firmware-realtek suggests:
ii initramfs-tools 0.100
ii linux-image-3.2.0-1-amd64 [linux-image] 3.2.6-1

-- no debconf information



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120302002436.2708.40882.reportbug@Soren-Laptop.stoutner.com">http://lists.debian.org/20120302002436.2708.40882.reportbug@Soren-Laptop.stoutner.com
 
Old 03-02-2012, 12:02 AM
Ben Hutchings
 
Default Bug#661860: firmware-realtek: Intermittent problems with rtl8192cufw.bin

On Thu, 2012-03-01 at 17:24 -0700, Soren Stoutner wrote:
> Package: firmware-realtek
> Version: 0.35
> Severity: important
[...]
> In addition, signal strength is incredibly weak, as compared with the
> Windows 7 driver running on the same hardware. This is consistant and
> at least half the signal strength observed in Windows.
[...]

What makes you think the Windows driver is using different firmware?
Normally a device will run the same firmware regardless of the driver
being used.

Ben.

--
Ben Hutchings
One of the nice things about standards is that there are so many of them.
 

Thread Tools




All times are GMT. The time now is 06:22 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org