LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-26-2011, 11:10 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,369

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
Acpi delays on hibernate


My hibernate script is:
Code:
#!/bin/sh
# /etc/acpi/Decpower.sh
# 
# Hopefully Manage to suspend/hibernate to disk

# Skip if we just in the middle of resuming.
 test -f /var/lock/acpisleep && exit 0

sync; echo  disk > /sys/power/state
When run, it blanks the screen, kills the keyboard, and when the Bermuda Triangle intersects with the Twilight Zone it hibernates. I want to get the Bermuda triangle & twilight zone out of it :-/. Here's a grep from the logs. Note the time delay between the script running and the sync. That's just grep -A1 for the script.

Quote:
Dec 21 15:22:51 harriet acpid: executing action "/etc/acpi/Decpower.sh"
Dec 21 15:23:59 harriet kernel: PM: Syncing filesystems ... done.
--
Dec 21 21:24:29 harriet acpid: executing action "/etc/acpi/Decpower.sh"
Dec 22 08:53:26 harriet kernel: PM: Syncing filesystems ... done.
--
Dec 22 17:30:25 harriet acpid: executing action "/etc/acpi/Decpower.sh"
Dec 22 18:55:56 harriet kernel: PM: Syncing filesystems ... done.
--
Dec 22 20:09:40 harriet acpid: executing action "/etc/acpi/Decpower.sh"
Dec 23 08:56:07 harriet kernel: PM: Syncing filesystems ... done.
--
Dec 23 12:06:53 harriet acpid: executing action "/etc/acpi/Decpower.sh"
Dec 23 14:31:56 harriet kernel: PM: Syncing filesystems ... done.
--
Dec 23 21:01:01 harriet acpid: executing action "/etc/acpi/Decpower.sh"
Dec 24 13:37:55 harriet kernel: PM: Syncing filesystems ... done.
--
Dec 24 18:22:26 harriet acpid: executing action "/etc/acpi/Decpower.sh"
Dec 24 20:05:01 harriet kernel: PM: Syncing filesystems ... done.
--
Dec 25 14:54:47 harriet acpid: executing action "/etc/acpi/Decpower.sh"
Dec 25 17:12:20 harriet kernel: PM: Syncing filesystems ... done.
--
Dec 26 16:35:17 harriet acpid: executing action "/etc/acpi/Decpower.sh"
Dec 26 16:39:00 harriet kernel: PM: Syncing filesystems ... done.
Stock Slackware 13.37 with XFCE, & a personal 2.6.38.4 kernel on a HP 6715S laptop (All AMD - turion, RS690/SB600). I have taken to walking away and leaving it to switch off. I'm quicker suspending it (suspend is dodgy also but not that dodgy) and then hibernating as soon as it awakes, but that's barmy. The box isn't busy on line (that I know of!)
 
Old 12-28-2011, 08:42 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,369

Original Poster
Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
Sorted. Finally.

Some corrupt binary was at the base of it. It was adding faults to the root drive. It was in my backup of 13.37, so a reinstall was the way forward, as I didn't want to go back to 13.1.

When 177 people have a read, but nobody offers suggestions, it's usually something crazy - and home grown!
 
  


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
cli hibernate works but gnome panel hibernate fails BCarey Linux - Desktop 1 06-08-2007 10:21 AM
ACPI hibernate mode (linux 2.4.22, Mandrake 9.2, Dell Inspiron 1100) arvind_s Linux - Laptop and Netbook 0 12-14-2004 03:04 AM
Slackware, ACPI standby/hibernate howto??? matrixrabbit Linux - Laptop and Netbook 10 06-16-2004 02:20 AM
ACPI problem -- not resuming from hibernate GoBillsBN Linux - Laptop and Netbook 13 04-20-2004 12:33 PM
ACPI problem -- not resuming from hibernate GoBillsBN Mandriva 2 03-24-2004 02:29 PM

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

All times are GMT -5. The time now is 02:58 AM.

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