[TOSHIBA Satellite A215] suspend/resume failure when testing Suspend in Jaunty Alpha 6 on laptop

Bug #342656 reported by John Crawford
68
This bug affects 8 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned
Nominated for Jaunty by 914ian914
Nominated for Karmic by 914ian914
Nominated for Lucid by 914ian914

Bug Description

Testing Jaunty alpha 6. Tried to suspend. Got blank screen with blinking cursor. Had to hard power down. On reboot used the report gui which should have sent the error file.

ProblemType: KernelOops
Annotation: This occured during a previous suspend and prevented it from resuming properly.
Architecture: amd64
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/share/apport/apportcheckresume
Failure: suspend/resume
InterpreterPath: /usr/bin/python2.6
MachineType: TOSHIBA Satellite A215
Package: linux-image-2.6.28-9-generic 2.6.28-9.31
ProcAttrCurrent: unconfined
ProcCmdLine: root=UUID=ec3aaa07-133b-47cb-af0c-dad31209557a ro quiet splash
ProcCmdline: /usr/bin/python /usr/share/apport/apportcheckresume
ProcEnviron: PATH=(custom, no user)
ProcVersionSignature: Ubuntu 2.6.28-9.31-generic
SourcePackage: linux
StressLog: Error: [Errno 2] No such file or directory: '/var/lib/pm-utils/stress.log'
Tags: resume suspend
Title: [TOSHIBA Satellite A215] suspend/resume failure
UserGroups:

Revision history for this message
John Crawford (johnc4510) wrote :
Revision history for this message
Caio Costa (caiocc12) wrote :

I confirm it. Getting the same behavior here. Using a Toshiba Satellite A215 too, kernel 2.6.28-11 .

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

*This is an automated response*

Could you please take a look the triage and debugging guide at https://wiki.ubuntu.com/DebuggingKernelSuspendHibernateResume, specifically the Information Gathering section. Please provide any answers to the additional questions outlined there. Thanks.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Caio Costa (caiocc12) wrote :

I will divide this into two sections, suspend and hibernation, for better understanding.

Suspend:
 After reading the triage and debugging guide, I noticed this advice: "The usual problem occurs when resuming, and normally the culprit is a device driver that does not recover from a powered down state."
 So I had and idea: deactivate the module for WiFi (rtl8187), because it is kinda buggy (ndiswrapper used to work better.), and... voilà! Suspending works! I've resumed and suspended several times and Ubuntu did it gracefully. Just to make sure, I re-inserted the rtl8187 module and... suspend didn't work anymore.
 Could somebody else with this laptop confirm if it is related to the rtl8187 module?
 One interesting note to add: the laptop does not suspend if the lid is closed. Ubuntu takes me back to the unlock prompt. When the lid is open, it works perfectly. Solution: close the lid only after the laptop is fully suspended.

 Following the debug instructions didn't help much. The "rebooting with no_console_suspend" thing just gave me a black screen with the blinking cursor on top left of the screen (no flashing keyboard LEDs), and the "sync; echo 1 > /sys/power/pm_trace; pm-suspend" gave me the same result, although I've grabbed a dmesg after rebooting. (attached dmesg-output.txt)
 [ 5.108036] Magic number: 1:908:515
 Dunno what this line means, but the guide recommended to find it.

 Note: Suspend once worked well in Ubuntu 8.04 LTS, maybe because it didn't detect my wireless card, so the rtl8187 module was never loaded.
 Temporary solution: blacklist the rtl8187 module. I do not use wireless often, and when I need it, I use a (eek!) virtual machine with Windows.

Hibernation:
 It is not working regardless of the rtl8187 module. So, for the test, I've left it enabled.

 1. pm-hibernate with no_console_suspend kernel option.
  Didn't hibernate, as usual. No output on the console. Was able to switch tty (CTRL+ALT+F1....F5) but no keyboard input was accepted. Tried CTRL+ALT+F7 to switch to X, and the system stopped working.

 2. Per-subsystem hibernation testing
 The computer locked when I issued the command "echo disk > /sys/power/state". Was able to switch tty (CTRL+ALT+F1....F5) but no keyboard input was accepted. Tried CTRL+ALT+F7 to switch to X, and the system stopped working, just like test #1.

 Note: hibernation worked well in Ubuntu 8.04 LTS.

Revision history for this message
Caio Costa (caiocc12) wrote :

lsmod output

Revision history for this message
Eric Noble (creonbile) wrote :

I'm also having problems with both suspend and hibernate with the first Beta of 9.04 on a Toshiba A215-S7416. The power indicator never turns off, and when I open the lid back up I get a blinking cursor.

Revision history for this message
Caio Costa (caiocc12) wrote :

Ok, there are three people with the same bug, already did my best to acquire some debugging information, no response from anyone. I am getting the latest jaunty updates and see if the problem is still there.

Revision history for this message
Edward Kear (ed-kear) wrote :

I had the same problem with 9.04 Beta.
I fixed it by adding a script to /etc/pm/sleep.d that removes the wireless driver upon suspend/hibernate and then reloads it upon resume/thaw. (see attached)

Revision history for this message
Przemek K. (azrael) wrote :

Same problem on Toshiba Satellite L300D on Jaunty 32-bit.

Revision history for this message
Przemek K. (azrael) wrote :

Duplicate bug: Bug #358129 ?

Revision history for this message
Caio Costa (caiocc12) wrote :

I've requested Bug #358129 to unload the Wifi module prior to suspending (according to my post in 2009-03-27 on this bug and Edward Kear's solution)

Revision history for this message
totanlinh (totanlinh) wrote : Re: [Bug 342656] Re: [TOSHIBA Satellite A215] suspend/resume failure when testing Suspend in Jaunty Alpha 6 on laptop

All,

Everything goods, except the function Fn + F4 for hibernating not
working.

Ubuntu is getting better :D

Thanks,

Linh

On Sat, 2009-04-25 at 12:38 +0000, Caio Costa wrote:
> I've requested Bug #358129 to unload the Wifi module prior to suspending
> (according to my post in 2009-03-27 on this bug and Edward Kear's
> solution)
>

Revision history for this message
Xue Yong Zhi (zhixueyong) wrote :

Thanks Edward Kear for the script and it works for me (A215-S7437 ubuntu 9.04 64 bits).

$wget http://launchpadlibrarian.net/25251345/66wireless.sh
$sudo mv 66wireless.sh /etc/pm/sleep.d/
$sudo chmod +x /etc/pm/sleep.d/66wireless.sh
$sudo chown root /etc/pm/sleep.d/66wireless.sh
$sudo chgrp root /etc/pm/sleep.d/66wireless.sh

Revision history for this message
Ayush Maheshwari (riskyayush-gmail) wrote :

I am having a similar problem with my Toshiba L305. I have a AR5007EG wireless card. Shall I just replace this in Edwards code to see if the system comes out of a suspend?

Revision history for this message
Caio Costa (caiocc12) wrote :

Yes, maybe changing the module name in his script will work.
Do a manual test first:
// console: before suspending/hibernating

sudo modprobe -r <module-name-here>

// after resuming / waking up

sudo modprobe <module-name-here>

Revision history for this message
Ayush Maheshwari (riskyayush-gmail) wrote :

the problem is that when I enter suspend I can not come out. So i can not use the command

sudo modprobe <module-name-here>

as I have to reboot after each suspend and once I reboot the whole purpose of this command is lost.

Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Pedro Fausto R. Leite Jr. (pedrofausto) wrote :

I had enter the suspend mode sometimes and returning with no problemas. But this the swap partition was used a lot and the system failed to return from suspend mode.

Revision history for this message
yositune (webpagemail) wrote :

I can confirm the bug on X41 tablet in everything after the 2.6.28 kernels.

Also note that 2.6.31-10-generic breaks ipw2200 it appears. Filling separate bug.

Revision history for this message
jintermeister (jintermeister) wrote :

I can confirm the bug on Jaunty 2.6.28-15-generic, using Satellite A215-S7437.

To Edward Kear and Xue Yong Zhi: The script works beautifully! Thank You! I Followed Xue Yong Zhi's instructions.

I only added one line in the thaw|resume area:

sudo iwconfig wlan0 rate 24M auto

in order to configure the wireless card for optimal use for my system upon resume from suspend.

Revision history for this message
^_Pepe_^ (jose-angel-fernandez-freire) wrote :

Hi all,

Can anybody confirm this bug in Karmic?

If so, please, could you run the following command from a Terminal (Applications->Accessories->Terminal) while running Karmic? It will automatically gather and attach updated debug information to this report.

Thanks in advance

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
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.