SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm discovering other stuff and would like to know their function. /usr/lib64/pm-utils is full of stuff. There's a very informative README about this in /usr/doc/pm-utils-1.4.1/README.SLACKWARE and a maintainer who has got *zero* emails, so I have fixed that problem for him and posted him this thread link.
EDIT: Try the utilities pm-suspend and pm-hibernate. For me
pm-suspend seems to do the business, but fails to turn things off.
pm-hibernate actually hibernated! I was amazed.
Last edited by business_kid; 01-04-2012 at 04:44 AM.
I just replied to the email, but to summarize it, suspend/hibernate problems are rarely (if ever, these days) a problem with the pm-utils package. The kernel is the most important piece of the puzzle there.
The kernel is the vmlinuz-huge-2.6.37.6 with slackware 13.37, so you know more about it that I do. I will rebuild, but not this week.
I seem to be sorted in a half-assed way:
/usr/sbin/pm-hibernate hibernates in an acceptable timeframe
/usr/sbin/pm-suspend suspends but fails to turn off (ugh!)
but 'echo mem > /sys/power/state' does it ok. So I modified the hibernate script
echo disk > /sys/power/state gives delays of apparently random length after blanking the screen, cutting out the keyboard, but before writing anything to disk
The box has also developed an ugly habit of going into continuous restore-->hibernate cycles linked so some faulty stuff being written onto the drive. I boot slamd64 to get out of it, and it finds loads of errors recovering the journal. All very weird. I'll get out all the quirks you guys compile in to the kernel and that will probably sort things.
Kernel 2.6.37.6 rebuilt largely from a previous attempt, and some issues remain.I have run down a few things, and come up with a question.
With acpid -l, I would get output in the logs of a hibernate command (my hibernate script), the first command of which was a 'sync;'. The next lines would say
I have figured that the "Sync" log entry is the Restore, and that it doesn't actually record the hibernate at all. Sorry for any wasted grey cells this may have caused.
The question involves this log segment from /var/log/syslog. Whassup?
Code:
bash-4.1$ grep blocked /var/log/syslog
Dec 31 16:01:30 harriet kernel: [ 7920.624087] INFO: task kworker/u:5:1043 blocked for more than 120 seconds.
Dec 31 16:01:30 harriet kernel: [ 7920.624406] INFO: task pm-hibernate:3459 blocked for more than 120 seconds.
Dec 31 16:01:30 harriet kernel: [ 7920.624593] INFO: task kworker/u:3:3670 blocked for more than 120 seconds.
Jan 1 17:56:14 harriet kernel: [11880.621153] INFO: task echo:3553 blocked for more than 120 seconds.
Jan 1 17:56:14 harriet kernel: [11880.621373] INFO: task kworker/u:0:3554 blocked for more than 120 seconds.
Jan 1 17:56:14 harriet kernel: [11880.621614] INFO: task kworker/u:9:3561 blocked for more than 120 seconds.
Jan 1 18:10:28 harriet kernel: [12840.621131] INFO: task sync:3837 blocked for more than 120 seconds.
Before you attack my kernel, these are from the Slackware huge 2.6.37.6 kernel. Going off to google and check up on several things.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.