LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-29-2010, 03:27 PM   #1
thatquietboy
LQ Newbie
 
Registered: May 2008
Posts: 26

Rep: Reputation: 17
Slackware 13.1 suspend/resume problems with 2 different laptops


having been a longtime slack user, i couldn't wait to give 13.1 a spin, but there are problems.

laptop 1 is an acer aspire 5570. closing and opening the lid works a few times, after editing acpi_handler.sh, and battery life reporting is ok during this time. then, for no apparent reason, the laptop no longer responds to the lid closing, and no longer seems to be able to read the battery charge state. once this has occurred, the computer will also no longer restart, it tries a few times, with lights flashing and the hd making ugly noises. the only way to extricate the computer from this state is to pull and reinsert the battery. very bad.

laptop 2 is a gateway nv18. suspend/resume with the lid are ok, mostly. the issure here is no display at all in x. but the computer does respond to ctrl-alt-backspace to kill x, with the command prompt returning. still not good.

any suggestions? i'm trying a fresh install on the gateway, to see if this was just an installation glitch.

btw, both laptops performed flawlessly in 13, regarding those issues.
 
Old 05-29-2010, 06:56 PM   #2
thatquietboy
LQ Newbie
 
Registered: May 2008
Posts: 26

Original Poster
Rep: Reputation: 17
an update, after more testing and a fresh install of slack 13.1

pm-suspend and resuming works correctly from the command line, on the gateway. i suspect that something in xfce-power-manager is at the root of this, that its also doing something when it detects the lid being closed.
 
Old 07-05-2010, 05:49 PM   #3
maeschbach
LQ Newbie
 
Registered: Jul 2010
Location: Switzerland
Distribution: Slackware64 14.2
Posts: 16

Rep: Reputation: 0
Same problem here with a Lenovo S10. Judging from my experiences with Ubuntu, Debian, and ArchLinux, this problem is related to the 2.6.33 Linux kernel.
 
Old 07-05-2010, 06:51 PM   #4
rfernandez
Member
 
Registered: Mar 2010
Location: Brazil
Distribution: Slackware64
Posts: 264

Rep: Reputation: 41
Some useful information would be the output of "groups" command, and also a "cat /var/log/pm-suspend" output. Any dmesg output would also help, maybe.
 
Old 07-06-2010, 03:01 AM   #5
maeschbach
LQ Newbie
 
Registered: Jul 2010
Location: Switzerland
Distribution: Slackware64 14.2
Posts: 16

Rep: Reputation: 0
Since the S10 is my productive system, I rather prefer not to do to much hard power offs. With Arch, there was a problem with KMS (Intel Video), with Ubuntu just a mess (cf. https://bugs.launchpad.net/ubuntu/+s...ux/+bug/568711). With Debian Lenny, everything worked like a charm, but I was in the mood to change to Slackware.

The same problem occurs as root. So there should be no group problem I think. The log-files (pm-suspend, dmesg) were unfortunately not of much use up now (cf. Ubuntu).
 
Old 07-06-2010, 12:47 PM   #6
rfernandez
Member
 
Registered: Mar 2010
Location: Brazil
Distribution: Slackware64
Posts: 264

Rep: Reputation: 41
Ever since kernel 2.6.29 with Slackware, everything works perfectly in here - suspend and hibernate shows no problem at all. The very first time (and only) I had a problem with suspend was by not having my user on 'power' group. This was noted because root could do a pm-suspend, while user can't.
 
Old 07-06-2010, 04:55 PM   #7
maeschbach
LQ Newbie
 
Registered: Jul 2010
Location: Switzerland
Distribution: Slackware64 14.2
Posts: 16

Rep: Reputation: 0
Thanks for insisting. Pm-hibernate and pm-suspend work fine in console-mode as well as x-windows (at least now, after configuring the swap-partition in lilo). I will investigate further to see why resume from suspend didn't work before.
 
Old 07-07-2010, 12:31 PM   #8
maeschbach
LQ Newbie
 
Registered: Jul 2010
Location: Switzerland
Distribution: Slackware64 14.2
Posts: 16

Rep: Reputation: 0
The last two resume from suspend-to-ram did not work . The computer was plugged and the suspend time was once approx. four, once half an hour. Dmesg.txt and pm-suspend.log are attached. Any further help will be highly appreciated.
Attached Files
File Type: txt dmesg.txt (30.1 KB, 9 views)
File Type: log pm-suspend.log (4.1 KB, 14 views)
 
Old 07-08-2010, 08:49 PM   #9
rfernandez
Member
 
Registered: Mar 2010
Location: Brazil
Distribution: Slackware64
Posts: 264

Rep: Reputation: 41
Strange, pm-suspend.log said that everything is ok, while dmesg didn't say if anything is wrong. But isn't this dmesg part of your system init? I mean, it's not the part of it that shows something about suspend, is it?
 
Old 07-09-2010, 01:34 AM   #10
maeschbach
LQ Newbie
 
Registered: Jul 2010
Location: Switzerland
Distribution: Slackware64 14.2
Posts: 16

Rep: Reputation: 0
rfernandez: you're right, the dmesg.txt shows the init part because the problem occures not during suspend but during resume. As you can see from the attached pm-suspend.log, if anything works well, there is also an "awake" part after the system went to sleep. You can ignore the --quirk-none part, I was just testing, but apparently it is possible for the system to resume even with --quirk-none.

The difference between a failure and a success seems to be whether I did ask my system to hibernate before the suspend or not . My system behaves different whether it resumed from the swap-partition or did a fresh start. Unfortunately, threads that mention the same behavior did not provide me with further help. What I will try next is change the huge to the generic kernel, as I still run the kernel from the installation. Booting with the nomodeset kernel parameter did not help, too .
Attached Files
File Type: log pm-suspend-success-20100708.log (4.9 KB, 12 views)

Last edited by maeschbach; 07-09-2010 at 01:36 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Suspend/Hibernation resume problems with ATI graphics card. defensorfedei Linux - Laptop and Netbook 5 10-13-2009 03:14 AM
Suspend/resume problems with an HP g60 Mig21 Linux - Laptop and Netbook 10 09-13-2009 03:02 PM
How to reconnect to wifi on resume from hibernate/suspend? Slackware 12.1, madwifi thesk8ingtoad Slackware 1 08-22-2008 07:15 AM
Fedora Core 4 Suspend Resume Mouse Problems eat_laser_scumbag Linux - Laptop and Netbook 4 08-21-2005 04:36 AM
Suspend / Resume scripts on slackware 9 boney Slackware 0 06-19-2003 02:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration