gene, thank you for reporting this and helping make Ubuntu better. Could
you please provide the information following
https://wiki.ubuntu.com/DebuggingKernelSuspend ?

As well, could you please test the latest upstream kernel available following 
https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional 
upstream developers to examine the issue. Please do not test the kernel in the 
daily folder, but the one all the way at the bottom. Once you've tested the 
upstream kernel, please comment on which kernel version specifically you tested 
and remove the tag:
needs-upstream-testing

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 text:
needs-upstream-testing

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.

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

If you are unable to test the mainline kernel, please comment as to why 
specifically you were unable to test it and add the following tags:
kernel-unable-to-test-upstream
kernel-unable-to-test-upstream-VERSION-NUMBER

Please let us know your results. Thank you for your understanding.

** Summary changed:

- rtl8192ce fails to recover after resume without shut down
+ 10ec:8176 rtl8192ce fails to recover after resume without shut down

** Tags added: needs-upstream-testing resume suspend

** Description changed:

  I am helping a friend with this laptop  Satellite C655D (PSC0YU-03G02C) 
running Ubuntu 12.04
  uname -a:
  linux 3.2.0-32-generic-pae #51-Ubuntu SMP Wed Sep 26 21:54:23 UTC 2012 i686 
athlon i386 GNU/Linux
-   
-     It also uses the infamous rtl8193ce driver. My friend complained about 
frequent loss of connections and sudden system freezes. AMOF, Windows 7 was 
even worse to constantly shutdown by itself. So I suspected some hardware 
problem...
-  When I got a hold of it I saw the freezes with 3.2.0-23 kernel and spurious 
output of the rlt driver flooding the logs. After the upgrade to 0-30 and 0-32 
freezes (due to the networking) stopped. However, what I found was that 
networking is lost completely when after resume from suspend. It was weird, 
that both wireless and wired interfaces just never worked. I tried to restart 
networking, network-manager services, rmomodding and modprobbing all modules 
related to rtl8193ce in many different orders. Nothing seemed to work, before I 
realizes that networking must be stopped before any other service prior to 
suspend and then started after every other service on resume. So here's a weird 
but working pm sleep hook /etc/pm/sleep.d/00_netwokmanager:
+ 
+     It also uses the infamous rtl8193ce driver. My friend complained about 
frequent loss of connections and sudden system freezes. AMOF, Windows 7 was 
even worse to constantly shutdown by itself. So I suspected some hardware 
problem...
+  When I got a hold of it I saw the freezes with 3.2.0-23 kernel and spurious 
output of the rlt driver flooding the logs. After the upgrade to 0-30 and 0-32 
freezes (due to the networking) stopped. However, what I found was that 
networking is lost completely when after resume from suspend. It was weird, 
that both wireless and wired interfaces just never worked. I tried to restart 
networking, network-manager services, rmomodding and modprobbing all modules 
related to rtl8193ce in many different orders. Nothing seemed to work, before I 
realizes that networking must be stopped before any other service prior to 
suspend and then started after every other service on resume. 
+ 
+ WORKAROUND:
+ So here's a weird but working pm sleep hook /etc/pm/sleep.d/00_netwokmanager:
  
  #!/bin/bash
  # prior to the suspend-to-ram the weird rtl8192ce driver wants to be unloaded 
early on and be loaded back late after resume. Say without both sleeps and 
waiting some time networking won't be recovered at all
  case $1 in
-         suspend)
-     /etc/init.d/network-manager stop
-     #it's weird, but it won't recover without this
-     sleep 3
-         ;;
-      resume)
+         suspend)
+     /etc/init.d/network-manager stop
+     #it's weird, but it won't recover without this
+     sleep 3
+         ;;
+      resume)
  # capricious rtl8192ce needs more time
-     sleep 10
-     /etc/init.d/network-manager start
-     ;;
-     *) ;;
+     sleep 10
+     /etc/init.d/network-manager start
+     ;;
+     *) ;;
  esac
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: linux-image-3.2.0-32-generic-pae 3.2.0-32.51
  ProcVersionSignature: Ubuntu 3.2.0-32.51-generic-pae 3.2.30
  Uname: Linux 3.2.0-32-generic-pae i686
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  AplayDevices:
-  **** List of PLAYBACK Hardware Devices ****
-  card 0: SB [HDA ATI SB], device 0: CONEXANT Analog [CONEXANT Analog]
-    Subdevices: 1/1
-    Subdevice #0: subdevice #0
+  **** List of PLAYBACK Hardware Devices ****
+  card 0: SB [HDA ATI SB], device 0: CONEXANT Analog [CONEXANT Analog]
+    Subdevices: 1/1
+    Subdevice #0: subdevice #0
  ApportVersion: 2.0.1-0ubuntu13
  Architecture: i386
  ArecordDevices:
-  **** List of CAPTURE Hardware Devices ****
-  card 0: SB [HDA ATI SB], device 0: CONEXANT Analog [CONEXANT Analog]
-    Subdevices: 1/1
-    Subdevice #0: subdevice #0
+  **** List of CAPTURE Hardware Devices ****
+  card 0: SB [HDA ATI SB], device 0: CONEXANT Analog [CONEXANT Analog]
+    Subdevices: 1/1
+    Subdevice #0: subdevice #0
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC0:  anya       1502 F.... pulseaudio
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  anya       1502 F.... pulseaudio
  Card0.Amixer.info:
-  Card hw:0 'SB'/'HDA ATI SB at 0xf0340000 irq 16'
-    Mixer name : 'Conexant CX20585'
-    Components : 'HDA:14f15069,1179fde8,00100302'
-    Controls      : 8
-    Simple ctrls  : 5
+  Card hw:0 'SB'/'HDA ATI SB at 0xf0340000 irq 16'
+    Mixer name : 'Conexant CX20585'
+    Components : 'HDA:14f15069,1179fde8,00100302'
+    Controls      : 8
+    Simple ctrls  : 5
  Date: Wed Oct 17 15:50:30 2012
  HibernationDevice: RESUME=UUID=7d79d213-4357-48ad-893f-e3533821058b
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 
(20120423)
  MachineType: TOSHIBA Satellite C655D
  ProcEnviron:
-  TERM=xterm
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-32-generic-pae 
root=UUID=411c4ceb-6086-464a-ab06-445ec10b9c9e ro quiet splash vt.handoff=7
  RelatedPackageVersions:
-  linux-restricted-modules-3.2.0-32-generic-pae N/A
-  linux-backports-modules-3.2.0-32-generic-pae  N/A
-  linux-firmware                                1.79.1
+  linux-restricted-modules-3.2.0-32-generic-pae N/A
+  linux-backports-modules-3.2.0-32-generic-pae  N/A
+  linux-firmware                                1.79.1
  RfKill:
-  0: phy0: Wireless LAN
-       Soft blocked: no
-       Hard blocked: no
+  0: phy0: Wireless LAN
+   Soft blocked: no
+   Hard blocked: no
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 06/23/2011
  dmi.bios.vendor: Insyde Corp.
  dmi.bios.version: 1.60
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: Portable PC
  dmi.board.vendor: TOSHIBA
  dmi.board.version: Base Board Version
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: AMD
  dmi.chassis.version: None
  dmi.modalias: 
dmi:bvnInsydeCorp.:bvr1.60:bd06/23/2011:svnTOSHIBA:pnSatelliteC655D:pvrPSC0YU-03G02C:rvnTOSHIBA:rnPortablePC:rvrBaseBoardVersion:cvnAMD:ct10:cvrNone:
  dmi.product.name: Satellite C655D
  dmi.product.version: PSC0YU-03G02C
  dmi.sys.vendor: TOSHIBA

** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1067895

Title:
  10ec:8176 rtl8192ce fails to recover after resume without shut down

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1067895/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to