lucid->maverick rtl8192 stops working

Bug #652138 reported by Olaf Maurer
60
This bug affects 9 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned
Nominated for Maverick by Olaf Maurer

Bug Description

I'd like to report that on my Samsung N510 with ION LE, I can't get my wireless to work.
In Lucid, the kernel module r8192_pci used to work for my onboard wlan adapter.

In Maverick kernel, the module r8192e_pci is loaded. It creates the interface and I can also see available networks, but I can't associate with them.

Kernel message look like

Sep 30 16:56:53 netbook kernel: [ 344.264533] rtl819xE 0000:03:00.0: PCI INT A disabled
Sep 30 16:56:56 netbook kernel: [ 346.464942] r8192e_pci: module is from the staging directory, the quality is unknown, you have been warned.
Sep 30 16:56:56 netbook kernel: [ 346.486876]
Sep 30 16:56:56 netbook kernel: [ 346.486879] Linux kernel driver for RTL8192 based WLAN cards
Sep 30 16:56:56 netbook kernel: [ 346.486885] Copyright (c) 2007-2008, Realsil Wlan
Sep 30 16:56:56 netbook kernel: [ 346.487010] rtl819xE 0000:03:00.0: PCI INT A -> Link[L1E3] -> GSI 16 (level, low) -> IRQ 16
Sep 30 16:56:56 netbook kernel: [ 346.545700] Dot11d_Init()
Sep 30 16:56:57 netbook kernel: [ 346.545764] IRQ 16
Sep 30 16:56:57 netbook kernel: [ 347.561829] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sep 30 16:57:16 netbook kernel: [ 367.087693] Linking with eduroam,channel:1, qos:1, myHT:1, networkHT:0
Sep 30 16:57:16 netbook kernel: [ 367.087809] Linking with eduroam,channel:1, qos:1, myHT:1, networkHT:0
Sep 30 16:57:16 netbook kernel: [ 367.089726] ===>ieee80211_associate_procedure_wq(), chan:1
Sep 30 16:57:16 netbook kernel: [ 367.104816] =================>ieee80211_authentication_req():auth->algorithm is 0
Sep 30 16:57:19 netbook kernel: [ 369.610982] Linking with eduroam,channel:1, qos:1, myHT:1, networkHT:0
Sep 30 16:57:19 netbook kernel: [ 369.611011] ===>ieee80211_associate_procedure_wq(), chan:1
Sep 30 16:57:19 netbook kernel: [ 369.625814] =================>ieee80211_authentication_req():auth->algorithm is 0
Sep 30 16:57:21 netbook kernel: [ 372.132094] Linking with eduroam,channel:1, qos:1, myHT:1, networkHT:0
Sep 30 16:57:23 netbook kernel: [ 373.458374] ===>ieee80211_associate_procedure_wq(), chan:1
Sep 30 16:57:23 netbook kernel: [ 373.472789] =================>ieee80211_authentication_req():auth->algorithm is 0
Sep 30 16:57:25 netbook kernel: [ 375.976090] Linking with eduroam,channel:1, qos:1, myHT:1, networkHT:0

And it just keeps going on with these messages and never completes the connection.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.35-22-generic 2.6.35-22.33
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: NVidia [HDA NVidia], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: gurke 1882 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xc0000000 irq 17'
   Mixer name : 'Nvidia MCP79/7A HDMI'
   Components : 'HDA:10ec0269,144dc056,00100004 HDA:10de0007,10de0101,00100100'
   Controls : 15
   Simple ctrls : 8
Date: Thu Sep 30 17:25:55 2010
HibernationDevice: RESUME=UUID=ca985090-2d23-432d-a1c8-ced3eb602899
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
MachineType: SAMSUNG ELECTRONICS CO., LTD. N510
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=98d788c2-8e4a-42bf-894c-21638bf3ba57 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.38
RfKill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
StagingDrivers: r8192e_pci
Title: [STAGING]
dmi.bios.date: 08/24/2009
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: 02MU.M004.20090824.LDG
dmi.board.name: N510
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvr02MU.M004.20090824.LDG:bd08/24/2009:svnSAMSUNGELECTRONICSCO.,LTD.:pnN510:pvrNotApplicable:rvnSAMSUNGELECTRONICSCO.,LTD.:rnN510:rvrNotApplicable:cvnSAMSUNGELECTRONICSCO.,LTD.:ct10:cvrN/A:
dmi.product.name: N510
dmi.product.version: Not Applicable
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

Revision history for this message
Olaf Maurer (gurke) wrote :
Revision history for this message
sordna (sordna) wrote :

Same with my Samsung n510. Lucid (2.6.32-25) worked. With Maverick (2.6.35-22) I see the list of wireless networks, but it cannot associate with any of them, whether they are password protected or not.
I see some messages like this in my dmesg by the way:
rtl819xE:Download Firmware: Put code fail!
rtl819xE:ERR in CPUcheck_maincodeok_turnonCPU()
rtl819xE:Err in init_firmware()
rtl819xE:Err!!! NicIFEnableNIC(): initialization is failed!

I also noticed that both r8192e_pci and r8192se_pci were loaded. I tried blacklisting each one (so only the other would be loaded). I tried both ways. Now I keep r8192se_pci blacklisted, and I can get r8192e_pci to work *occasionally* by unloading, waiting for a while, and loading it.
So this driver is very unstable, at least on this laptop. Even with lucid, while the driver worked every time, often it would stop working after waking up from suspend and only a reboot would fix it.

Revision history for this message
Andreas Ufert (andreas.ufert) wrote :

Same here: Virgin install on N510 with RTL8192 (r8192e) WLAN chipset: List of wireless networks seen, no association possible. Logs look the same as in the original post.

WLAN not working is a complete blocker on N510 as of now.

Revision history for this message
Wijnand (wijnandnuij) wrote :

Same here.
Realtek Semiconductor Corp. RTL8191S WLAN Adapter

Can see wifi-networks, but no connection possible.

kernel: [39342.720855] Linking with [network_name],channel:7, qos:0, myHT:1, networkHT:0, mode:6
kernel: [39342.720860] ===>ieee80211_associate_procedure_wq(), chan:7
kernel: [39342.767631] rtl819xU:SetBWModeCallback8192SUsbWorkItem(): Switch to 20MHz bandwidth
kernel: [39342.780569] =================>ieee80211_authentication_req():auth->algorithm is 0

Revision history for this message
sandeep048 (sandeep048) wrote :

Temporary solution which works on my system.

First install wireless drivers from https://launchpad.net/~voria/+archive/ppa. Then blacklist wireless drivers present in the default kernel by appending "blacklist r8192se_pci" and "blacklist r8192e_pci" to /etc/modprobe.d/blacklist.conf.

Revision history for this message
sandeep048 (sandeep048) wrote :

Forgot to mention please restart after the above changes and let others know if it works for you.

Brad Figg (brad-figg)
tags: added: acpi
tags: added: acpi-brightness
arno_b (arno.b)
tags: added: maverick
Revision history for this message
matt_callaghan (matt-callaghan) wrote :
Download full text (3.2 KiB)

Same problem here:

Bus 002 Device 002: ID 07d1:3300 D-Link System DWA-130 802.11n Wireless N Adapter(rev.E) [Realtek RTL8192SU]

michael@computer-main:~$ modprobe -l |grep r8169
kernel/drivers/net/r8169.ko

[ 0.818029] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 0.818049] r8169 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 0.818087] r8169 0000:04:00.0: setting latency timer to 64
[ 0.818127] alloc irq_desc for 44 on node -1
[ 0.818129] alloc kstat_irqs on node -1
[ 0.818142] r8169 0000:04:00.0: irq 44 for MSI/MSI-X
[ 0.824542] r8169 0000:04:00.0: eth0: RTL8168c/8111c at 0xf845e000, 00:01:29:a7:66:7c, XID 1c4000c0 IRQ 44
...
[ 8.746907] r8169 0000:04:00.0: eth0: link up
[ 8.746913] r8169 0000:04:00.0: eth0: link up

If I connect to a WPA2 secured wireless connection, it works:
Mar 27 09:56:12 computer-main kernel: [ 1983.946254] Linking with fermmy_unplugged,channel:1, qos:1, myHT:1, networkHT:1, mode:10
Mar 27 09:56:12 computer-main kernel: [ 1983.946258] ============>HTIOTActIsForcedRTSCTS(), 0
Mar 27 09:56:12 computer-main kernel: [ 1983.946260] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!IOTAction = 00008440
Mar 27 09:56:12 computer-main kernel: [ 1983.947249] ===>ieee80211_associate_procedure_wq(), chan:1
Mar 27 09:56:12 computer-main kernel: [ 1984.010470] =================>ieee80211_authentication_req():auth->algorithm is 0
Mar 27 09:56:12 computer-main kernel: [ 1984.014374] Associated successfully
Mar 27 09:56:12 computer-main kernel: [ 1984.014376] Using G rates:108
Mar 27 09:56:12 computer-main kernel: [ 1984.014378] Successfully associated, ht enabled
Mar 27 09:56:12 computer-main kernel: [ 1984.015227] ====================>rx ADDBAREQ from :48:5b:39:e7:96:ff
Mar 27 09:56:12 computer-main kernel: [ 1984.015234] =====>to send ADDBARSP
Mar 27 09:56:12 computer-main kernel: [ 1984.076693] !!!!!!!!!!!!!!!!!!!!!!!!!!!IOTRaFunc = 00000000
Mar 27 09:56:12 computer-main kernel: [ 1984.079188] =============>ARFR0+rate_index*4:0x100ff005
Mar 27 09:56:12 computer-main kernel: [ 1984.085693] ============>normal associate
Mar 27 09:56:12 computer-main kernel: [ 1984.090625] alg name:CCMP
Mar 27 09:56:12 computer-main kernel: [ 1984.094866] alg name:CCMP
Mar 27 09:56:27 computer-main kernel: [ 1998.985645] =============>ARFR0+rate_index*4:0x100ff005
Mar 27 09:57:07 computer-main kernel: [ 2038.989207] =============>ARFR0+rate_index*4:0x100ff005
Mar 27 09:58:07 computer-main kernel: [ 2098.979375] =============>ARFR0+rate_index*4:0x100ff005

However, trying to connect to an unsecured wireless access point doesn't work:
Mar 27 09:55:57 computer-main kernel: [ 1968.848012] Linking with linksys,channel:6, qos:0, myHT:1, networkHT:0, mode:6
Mar 27 09:55:57 computer-main kernel: [ 1968.848017] ===>ieee80211_associate_procedure_wq(), chan:6
Mar 27 09:55:57 computer-main kernel: [ 1968.910968] =================>ieee80211_authentication_req():auth->algorithm is 0
Mar 27 09:56:00 computer-main kernel: [ 1971.416011] Linking with linksys,channel:6, qos:0, myHT:1, networkHT:0, mode:6
Mar 27 09:56:01 computer-main kernel: [ 1972.952020] ===>ieee80211_associate_procedure_wq(), chan:6
Mar 27 09:56:01 computer-main ...

Read more...

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Johan Engelen (johanengelen) wrote :

I have added "blacklist r8192se_pci" and "blacklist r8192e_pci" to /etc/modprobe.d/blacklist.conf, but r8192e_pci is still loaded after reboot
('lsmod | grep8192' still shows r8292e_pci)
Now I have to manually do
 sudo rmmod r8192e_pci
 sudo modprobe r8192_pci
then I get Wifi working.

What's wrong with blacklisting?

Revision history for this message
penalvch (penalvch) wrote :

Olaf Maurer, thank you for reporting this and helping make Ubuntu better. This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.