Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
s2ram issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
DMoL
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2006
Posts: 100
Location: Minsk, Belarus

PostPosted: Sat Oct 01, 2011 5:46 pm    Post subject: s2ram issue Reply with quote

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
View user's profile Send private message
nativemad
Developer
Developer


Joined: 30 Aug 2004
Posts: 918
Location: Switzerland

PostPosted: Sun Oct 02, 2011 3:32 pm    Post subject: Reply with quote

Hi,

that sounds weird! :lol:

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
View user's profile Send private message
DMoL
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2006
Posts: 100
Location: Minsk, Belarus

PostPosted: Sun Oct 02, 2011 6:19 pm    Post subject: s2ram issue & Toshiba C660D-178 [partially solved] Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21586

PostPosted: Sun Oct 02, 2011 7:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
DMoL
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2006
Posts: 100
Location: Minsk, Belarus

PostPosted: Tue Oct 04, 2011 1:04 pm    Post subject: s2ram issue & Toshiba C660D-178 [solved] Reply with quote

Thank you! I don't know why, but it seems that using hibernate-ram instead of s2ram solved all problems...
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21586

PostPosted: Wed Oct 05, 2011 2:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum