0bda:8172 Wireless adapter not working after sleep

Bug #1154949 reported by dulbirakan
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linux
New
Undecided
Unassigned
linux (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

I have a USB adapter with realtek chipset (8712u). It gets disabled after computer resumes from a suspend. I can not see any networks listed. I am attaching dmesg output after resume last 93 lines cover the time right before suspend when a connection is established to the time after the resume.

WORKAROUND: Add to /etc/pm/config.d/config :
SUSPEND_MODULES=r8712u

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: linux-image-3.8.0-12-generic 3.8.0-12.21 [modified: boot/vmlinuz-3.8.0-12-generic]
ProcVersionSignature: Ubuntu 3.8.0-12.21-generic 3.8.2
Uname: Linux 3.8.0-12-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.9.1-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: dulbirakan 1863 F.... pulseaudio
 /dev/snd/controlC0: dulbirakan 1863 F.... pulseaudio
Date: Wed Mar 13 22:28:48 2013
HibernationDevice: RESUME=UUID=88922c85-3b3a-4b90-895a-964fb90e65e8
InstallationDate: Installed on 2013-03-13 (0 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130313)
MachineType: Gigabyte Technology Co., Ltd. Z68MA-D2H-B3
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-12-generic root=UUID=d3be243d-9242-41f2-955f-c3e4cb37b4c8 ro quiet splash
RelatedPackageVersions:
 linux-restricted-modules-3.8.0-12-generic N/A
 linux-backports-modules-3.8.0-12-generic N/A
 linux-firmware 1.104
RfKill:

SourcePackage: linux
StagingDrivers: r8712u
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/12/2011
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F9
dmi.board.name: Z68MA-D2H-B3
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF9:bd10/12/2011:svnGigabyteTechnologyCo.,Ltd.:pnZ68MA-D2H-B3:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnZ68MA-D2H-B3:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: Z68MA-D2H-B3
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
dulbirakan (iekanat) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: Wireless adapter not working after sleep

This may be a duplicate of bug 1131914 which I am currently bisecting.

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
dulbirakan (iekanat) wrote :

Let me try if it comes back after a while

Revision history for this message
dulbirakan (iekanat) wrote :

I suspended and resumed the system, waited 8 minutes and still no wireless. These are the last few lines of dmesg output.

[15941.257571] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[15941.283541] r8712u: in r8711_wx_set_scan: bDriverStopped=1
[15941.283639] r8712u: in r8711_wx_set_scan: bDriverStopped=1
[15964.635553] r8712u: in r8711_wx_set_scan: bDriverStopped=1
[15997.637296] r8712u: in r8711_wx_set_scan: bDriverStopped=1
[16040.637355] r8712u: in r8711_wx_set_scan: bDriverStopped=1
[16093.635683] r8712u: in r8711_wx_set_scan: bDriverStopped=1
[16156.629978] r8712u: in r8711_wx_set_scan: bDriverStopped=1
[16219.630394] r8712u: in r8711_wx_set_scan: bDriverStopped=1
[16282.626294] r8712u: in r8711_wx_set_scan: bDriverStopped=1
[16345.628838] r8712u: in r8711_wx_set_scan: bDriverStopped=1

Revision history for this message
dulbirakan (iekanat) wrote :

Btw I noticed this is not a problem with my other usb adapter with Realtek 8188cus chipset.

description: updated
Revision history for this message
dulbirakan (iekanat) wrote :

Found a similar problem http://ubuntuforums.org/archive/index.php/t-1745769.html

When I run lsmod both R8712u and R8169 are loaded.

There is a workaround for this problem.

I added

SUSPEND_MODULES=r8712u

to the /etc/pm/config.d/config and that solved the problem.

penalvch (penalvch)
description: updated
tags: added: bios-outdated-f10 needs-upstream-testing regression-potential
description: updated
tags: added: resume suspend
summary: - Wireless adapter not working after sleep
+ 0bda:8172 Wireless adapter not working after sleep
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
dulbirakan (iekanat) wrote :

Hi Christopher,

I updated the bios and tried the wireless adapter. I have not tested it exhaustively but it is not working right. Connection is slow and all. (I ran the codes my bios was F9 and I updated it to F10)

To solve this problem I installed development kernels, various driver packages, blacklisted a few drivers, white listed others and did other stuff which I lost track of and in the current situation I do not think my system is representative of a regular Ubuntu installation.

So I do not think I can provide useful feedback anymore. Also I stopped trying to use the adapter a while back (It took me a few hours to find where I put the adapter actually). I will be installing 13.10 in a few months. I will try the adapter with that and get back.

Best,
db

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
Revision history for this message
Aaron Haviland (aaron-haviland) wrote :

This still appears to exist with linux-image-3.11.0-13-generic.
Also, I have found an upstream bug that matches this.

Revision history for this message
dulbirakan (iekanat) wrote : Re: [Bug 1154949] Re: 0bda:8172 Wireless adapter not working after sleep
Download full text (3.3 KiB)

Can confirm still having the issue
On Nov 9, 2013 3:30 PM, "Aaron Haviland" <email address hidden> wrote:

> This still appears to exist with linux-image-3.11.0-13-generic.
> Also, I have found an upstream bug that matches this.
>
> ** Bug watch added: Linux Kernel Bug Tracker #27962
> http://bugzilla.kernel.org/show_bug.cgi?id=27962
>
> ** Also affects: linux via
> http://bugzilla.kernel.org/show_bug.cgi?id=27962
> Importance: Unknown
> Status: Unknown
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1154949
>
> Title:
> 0bda:8172 Wireless adapter not working after sleep
>
> Status in The Linux Kernel:
> Unknown
> Status in “linux” package in Ubuntu:
> Expired
>
> Bug description:
> I have a USB adapter with realtek chipset (8712u). It gets disabled
> after computer resumes from a suspend. I can not see any networks
> listed. I am attaching dmesg output after resume last 93 lines cover
> the time right before suspend when a connection is established to the
> time after the resume.
>
> WORKAROUND: Add to /etc/pm/config.d/config :
> SUSPEND_MODULES=r8712u
>
> ProblemType: Bug
> DistroRelease: Ubuntu 13.04
> Package: linux-image-3.8.0-12-generic 3.8.0-12.21 [modified:
> boot/vmlinuz-3.8.0-12-generic]
> ProcVersionSignature: Ubuntu 3.8.0-12.21-generic 3.8.2
> Uname: Linux 3.8.0-12-generic x86_64
> NonfreeKernelModules: nvidia
> ApportVersion: 2.9.1-0ubuntu1
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC1: dulbirakan 1863 F.... pulseaudio
> /dev/snd/controlC0: dulbirakan 1863 F.... pulseaudio
> Date: Wed Mar 13 22:28:48 2013
> HibernationDevice: RESUME=UUID=88922c85-3b3a-4b90-895a-964fb90e65e8
> InstallationDate: Installed on 2013-03-13 (0 days ago)
> InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64
> (20130313)
> MachineType: Gigabyte Technology Co., Ltd. Z68MA-D2H-B3
> MarkForUpload: True
> ProcEnviron:
> TERM=xterm
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcFB:
>
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-12-generic
> root=UUID=d3be243d-9242-41f2-955f-c3e4cb37b4c8 ro quiet splash
> RelatedPackageVersions:
> linux-restricted-modules-3.8.0-12-generic N/A
> linux-backports-modules-3.8.0-12-generic N/A
> linux-firmware 1.104
> RfKill:
>
> SourcePackage: linux
> StagingDrivers: r8712u
> UpgradeStatus: No upgrade log present (probably fresh install)
> dmi.bios.date: 10/12/2011
> dmi.bios.vendor: Award Software International, Inc.
> dmi.bios.version: F9
> dmi.board.name: Z68MA-D2H-B3
> dmi.board.vendor: Gigabyte Technology Co., Ltd.
> dmi.board.version: x.x
> dmi.chassis.type: 3
> dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
> dmi.modalias:
> dmi:bvnAwardSoftwareInternational,Inc.:bvrF9:bd10/12/2011:svnGigabyteTechnologyCo.,Ltd.:pnZ68MA-D2H-B3:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnZ68MA-D2H-B3:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
> dmi.product.name: Z68MA-D2H-B3
> dmi.sys.vendor:...

Read more...

penalvch (penalvch)
Changed in linux (Ubuntu):
status: Expired → Incomplete
Changed in linux:
importance: Unknown → Undecided
status: Unknown → New
Revision history for this message
dulbirakan (iekanat) wrote :

Hi Christopher,

You asked me this question earlier and I did the update back then and reported back here. Here is the output anyway.

F10
02/23/2012

Revision history for this message
penalvch (penalvch) wrote :

dulbirakan, could you please test the latest upstream kernel available (not the daily folder, but the one all the way at the bottom) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.12

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

tags: added: latest-bios-f10
removed: bios-outdated-f10
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.