r8192se_pci driver occasionally drops connection, refuses to work with some networks

Bug #588822 reported by Alex Wauck
68
This bug affects 14 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

With any network, the connection will occasionally drop out. With some networks (I don't know what the determining factor is), the driver will connect, but I will be unable to use the network (connection attempts will time out).

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-22-generic 2.6.32-22.33
Regression: No
Reproducible: No
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: SB [HDA ATI SB], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: SB [HDA ATI SB], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: alex 1509 F.... knotify4
                      alex 1548 F.... kmix
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xfbbf8000 irq 16'
   Mixer name : 'Realtek ALC269'
   Components : 'HDA:10ec0269,104383ce,00100004'
   Controls : 13
   Simple ctrls : 8
Date: Wed Jun 2 12:54:39 2010
Frequency: I don't know.
InstallationMedia: Kubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
MachineType: ASUSTeK Computer INC. 1201T
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-22-generic root=UUID=e550d359-f2fd-47d9-a0f8-737b8ee2ffd6 ro quiet splash
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34
RfKill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
dmi.bios.date: 02/02/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0317
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 1201T
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.xx
dmi.chassis.asset.tag: 0x00000000
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer INC.
dmi.chassis.version: x.x
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0317:bd02/02/2010:svnASUSTeKComputerINC.:pn1201T:pvrx.x:rvnASUSTeKComputerINC.:rn1201T:rvrx.xx:cvnASUSTeKComputerINC.:ct10:cvrx.x:
dmi.product.name: 1201T
dmi.product.version: x.x
dmi.sys.vendor: ASUSTeK Computer INC.

Revision history for this message
Alex Wauck (awauck) wrote :
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Alex,

If you could also please 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.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
TGM (tommann.home) wrote :

I have this problem too and will add apport data after (using an Asus EeePC 1201N)

Revision history for this message
TGM (tommann.home) wrote : apport information

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
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: tgm 1454 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xf9f78000 irq 23'
   Mixer name : 'Nvidia MCP79/7A HDMI'
   Components : 'HDA:10ec0269,104383ce,00100004 HDA:10de0007,10de0101,00100100'
   Controls : 14
   Simple ctrls : 7
DistroRelease: Ubuntu 10.10
HibernationDevice: RESUME=UUID=d37b00b4-b61b-4e6f-899f-2bd970e9f618
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: ASUSTeK Computer INC. 1201N
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-24-generic root=UUID=de5d2980-b25a-42c6-9e92-f209fd02e69f ro quiet splash
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8
Regression: No
RelatedPackageVersions: linux-firmware 1.38
Reproducible: Yes
Tags: maverick kernel-net needs-upstream-testing
Uname: Linux 2.6.35-24-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 04/29/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0326
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 1201N
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.xx
dmi.chassis.asset.tag: 0x00000000
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer INC.
dmi.chassis.version: x.x
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0326:bd04/29/2010:svnASUSTeKComputerINC.:pn1201N:pvrx.x:rvnASUSTeKComputerINC.:rn1201N:rvrx.xx:cvnASUSTeKComputerINC.:ct10:cvrx.x:
dmi.product.name: 1201N
dmi.product.version: x.x
dmi.sys.vendor: ASUSTeK Computer INC.

tags: added: apport-collected
Revision history for this message
TGM (tommann.home) wrote : AcpiTables.txt

apport information

Revision history for this message
TGM (tommann.home) wrote : AlsaDevices.txt

apport information

Revision history for this message
TGM (tommann.home) wrote : AplayDevices.txt

apport information

Revision history for this message
TGM (tommann.home) wrote : BootDmesg.txt

apport information

Revision history for this message
TGM (tommann.home) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
TGM (tommann.home) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
TGM (tommann.home) wrote : Card0.Codecs.codec.3.txt

apport information

Revision history for this message
TGM (tommann.home) wrote : CurrentDmesg.txt

apport information

Revision history for this message
TGM (tommann.home) wrote : IwConfig.txt

apport information

Revision history for this message
TGM (tommann.home) wrote : Lspci.txt

apport information

Revision history for this message
TGM (tommann.home) wrote : Lsusb.txt

apport information

Revision history for this message
TGM (tommann.home) wrote : PciMultimedia.txt

apport information

Revision history for this message
TGM (tommann.home) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
TGM (tommann.home) wrote : ProcInterrupts.txt

apport information

Revision history for this message
TGM (tommann.home) wrote : ProcModules.txt

apport information

Revision history for this message
TGM (tommann.home) wrote : RfKill.txt

apport information

Revision history for this message
TGM (tommann.home) wrote : UdevDb.txt

apport information

Revision history for this message
TGM (tommann.home) wrote : UdevLog.txt

apport information

Revision history for this message
TGM (tommann.home) wrote : WifiSyslog.txt

apport information

TGM (tommann.home)
Changed in linux (Ubuntu):
status: Expired → New
Revision history for this message
leps (patrick-lepore) wrote :

This is affecting me too. Same laptop (ASUS 1201N). I've used ubuntu 10.10 64 and 32 bit versions and it's the same behavior. Looks like some other people with the same laptop are having problems too:

http://www.uluga.ubuntuforums.org/showthread.php?p=10387892

Revision history for this message
leps (patrick-lepore) wrote :

Also, somehow my bios settings get wiped out whenever the wireless flakes out

Revision history for this message
leps (patrick-lepore) wrote :

Other people are seeing the same issue. I found this thread:

http://ohioloco.ubuntuforums.org/showthread.php?t=1267961&page=11

Revision history for this message
Marco Patzer (mpfusion) wrote :

Affects me, too. Ubuntu 10.10 x86_64

Revision history for this message
Feathertail (feathertail-deactivatedaccount) wrote :

I am having this problem also, on a Compaq Presario CQ62-219WM. The problem has gotten worse after I upgraded to the Natty alpha. This thread on the forums describes my situation: http://ubuntuforums.org/showthread.php?p=10555397

Someone there suggests tweaking the power saving settings. I am not sure what the consequences of that would be though.

Revision history for this message
Oliver Richards (richaoj) wrote :

Problem still exists in 11.04 beta 2. Updating the to the 12/07/10 driver from realtek does not solve problem, though it makes it somewhat better.

Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
deibhaid (deibhaid) wrote :

I have this issue as well. Ubuntu 10.10 x86_64

r8192se_pci modules

RTL8191SEvB Wireless LAN Controller (rev 10)

As a workaround, I had to write a script that removes the module, modprobes it, kills Network Manager and brings the network interface:

#!/bin/sh
# fix_wireless.sh

int=`ifconfig | grep wlan | awk '{print $1}'`

modprobe -r r8192se_pci
modprobe r8192se_pci hwwep=0
kill -9 `pidof NetworkManager`
ifconfig $int up
iwconfig $int key 10293847565647382910123456 essid "Grendel Cluster"
timeout 10 dhclient $int
if timeout 5 ping -c 1 google.com
 then echo "\033[33;3;148mConnected\033[39m"
 else sh fix_wireless.sh
fi

Revision history for this message
Arif Ali (arif-ali) wrote :

I am having the same problem, using the latest drivers from realtek rtl8192se_linux_2.6.0019.1207.2010

My machine is a Thinkpad Edge 15

OS: Ubuntu 11.04 x86_64
Kernel: 2.6.38-8-generic

  *-network
       description: Wireless interface
       product: RTL8191SEvB Wireless LAN Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:09:00.0
       logical name: wlan0
       version: 10
       serial: 5c:ac:4c:bc:27:1e
       width: 32 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl819xSE driverversion=0019.1207.2010 firmware=63 ip=192.168.0.59 latency=0 multicast=yes wireless=802.11bg
       resources: irq:18 ioport:d000(size=256) memory:d0500000-d0503fff

I will try the latest mainline kernel from ppa, and see if I see the same problems

Revision history for this message
Arif Ali (arif-ali) wrote :

OK, tried the mainline kernel, and no luck at all

Tried the following
* 2.6.38.7-natty
* 2.6.39-rc4-natty

neither of these have the r8192se_pci

I tried the other drivers such as the rtlwifi and others that were there, but I got no wifi at all

Revision history for this message
Arif Ali (arif-ali) wrote :

The kernel below for me works

http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2011-06-02-oneiric/

i.e. 3.0.0-999-generic

The driver being used here is rtl8192se, and the stability issues I had are now gone, will test for a few more days and see how it goes

Revision history for this message
Jose Marquez (ubuntu-hackwater) wrote :

The 3.0 release candidate 4 kernel worked for me (from Mainline Kernel Builds), as above. 9 hours so far, stable connection on Kubuntu 11.04, connecting to a WPA2-PSK AP. I've got the Realtek 8191SE chipset in a Toshiba Satellite A500. So this seems fixed for Oneiric. Going to try drivers Realtek just sent me (newer than the December 2010 drivers on their site) with the stock 11.04 2.6.38 kernel.

Revision history for this message
Arif Ali (arif-ali) wrote :

Yeah, I have used rc2 to rc4, and all have given me stable connection using the rtl8192se driver, I am using the natty build with the oneiric kernel

Revision history for this message
Jose Marquez (ubuntu-hackwater) wrote :

I received drivers from Realtek today that seem to fix this problem for me. Stable connection so far without having to resort to the 3.0 kernel. I posted the drivers here: http://ubuntuforums.org/showpost.php?p=10989459&postcount=135

Go to page 14 of that thread for context, but it seems that the only issue with those drivers is some kind of conflict with conky. Also, the makefile creates three driver modules; I edited it to only have it build the rtl8192se driver module (note the name change), and I disabled the r8192se_pci module before running any of the make commands.

Revision history for this message
Jesse Glick (jesse-glick) wrote :

See bug #783010 which has a possible workaround.

Revision history for this message
penalvch (penalvch) wrote :

Alex Wauck, 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
Alex Wauck (awauck) wrote :

This bug no longer seems to affect my machine (at least as of 11.10). I don't know if the other people who commented here have had their problems resolved, but they don't appear to have said anything about it since August. I'd say it's safe to close this bug.

Revision history for this message
penalvch (penalvch) wrote :

Alex Wauck, this bug report is being closed due to your last comment regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.