LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Acpi delays on hibernate (https://www.linuxquestions.org/questions/slackware-14/acpi-delays-on-hibernate-920576/)

business_kid 12-26-2011 11:10 AM

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!)

business_kid 12-28-2011 08:42 AM

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!


All times are GMT -5. The time now is 05:46 AM.