View previous topic :: View next topic |
Author |
Message |
DMoL Tux's lil' helper
Joined: 07 May 2006 Posts: 100 Location: Minsk, Belarus
|
Posted: Sat Oct 01, 2011 5:46 pm Post subject: s2ram issue |
|
|
Hello,
I'm trying to use s2ram. After invoking all possible methods (i.e. all possible command line options), I got the optimal variant:
Code: | s2ram -f --radeontool
|
The last command places my notebook into sleep node (the LED is blinking), I can press "power" button, and it resumes correctly. It seems that everything is OK: no kernel crashes, I can launch programs etc.
The problem arises when I try to reboot or poweroff: after displaying BIOS Logo, the GRUB menu does not appears at all : the cursor is blinking an left upper corner, and the computer hangs. The force poweroff helps neither. I have to eject the battery and turn off the power cable... When I plug it again and power on, than
everything goes as usual, e.g. the problematic behaviour happens only after s2ram.
Could you advice me something? Thank for any assistance.
My config:
Code: | # s2ram -i
This machine can be identified by:
sys_vendor = "TOSHIBA"
sys_product = "Satellite C660D"
sys_version = "PSC20E-00E010RU"
bios_version = "1.40"
# uname -a
Linux chimaera 3.0.4 #1 SMP PREEMPT Sun Sep 4 16:00:17 EEST 2011 x86_64
AMD E-350 Processor AuthenticAMD GNU/Linux
# lspci| grep -i vga
00:01.0 VGA compatible controller: ATI Technologies Inc Device 9802
|
-- it is ATI Radeon HD 6310M video card. |
|
Back to top |
|
|
nativemad Developer
Joined: 30 Aug 2004 Posts: 918 Location: Switzerland
|
Posted: Sun Oct 02, 2011 3:32 pm Post subject: |
|
|
Hi,
that sounds weird!
Have you tried to reset to the bios defaults if it's in such a faulty condition?
Maybe a bios update could help!?
HTH, Cheers _________________ Power to the people! |
|
Back to top |
|
|
DMoL Tux's lil' helper
Joined: 07 May 2006 Posts: 100 Location: Minsk, Belarus
|
Posted: Sun Oct 02, 2011 6:19 pm Post subject: s2ram issue & Toshiba C660D-178 [partially solved] |
|
|
Yep! It helped... the "buggy" option in kernel is SATA mode : if it is set to compatility (ide), than the buggy behaviour occurs, if it is set to AHCI, than everything looks good.
Thank you!
The current problem is that my notebook after resuming hangs approx. 1 minute of work... obviously the problem is in kernel or in kernel modules... How to detect it, instead of manual enumeration-rmmoding by one-by-one? |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21602
|
Posted: Sun Oct 02, 2011 7:20 pm Post subject: |
|
|
Rebuild your kernel with PRINTK_TIME=y, then reproduce the problem. Every kernel message will have a timestamp, so you can examine dmesg to find which subsystem was slow. Since you say it takes about a minute, my guess is that you have a driver that is wrongly trying to load firmware while there is no userspace available to provide it. |
|
Back to top |
|
|
DMoL Tux's lil' helper
Joined: 07 May 2006 Posts: 100 Location: Minsk, Belarus
|
Posted: Tue Oct 04, 2011 1:04 pm Post subject: s2ram issue & Toshiba C660D-178 [solved] |
|
|
Thank you! I don't know why, but it seems that using hibernate-ram instead of s2ram solved all problems... |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21602
|
Posted: Wed Oct 05, 2011 2:27 am Post subject: |
|
|
Running hibernate-ram will eventually run s2ram, but it can also do various other things that may help you avoid some issues. |
|
Back to top |
|
|
|