Sponsored Content
Operating Systems Linux TuxOnIce stalls 3 times before resuming Post 302729593 by lockheed on Saturday 10th of November 2012 12:36:40 PM
Old 11-10-2012
I don't think we understood each other.

The system is not reading anything from the disk.
The system is not computing anything.
What the system IS doing is sitting idly doing absolutely nothing (except for waiting for something) in three distinctive, consecutive sessions of ~30 seconds.

Here is a hibernation log:
Code:
$ sudo hibernate -v 4 > /home/juha/Desktop/hiber.txt
+ + tee -a -i /var/log/hibernate.log
date
+ echo Starting suspend at Sat 10 Nov 17:56:40 CET 2012
+ EXIT_CODE=0
+ [ tee -a -i /var/log/hibernate.log = cat ]
+ [ -n  ]
+ trap  INT
+ exec
+ exec
+ + tee -aDoWork
 -i /var/log/hibernate.log
+ trap ctrlc_handler INT HUP
+ local ret
+ local CHAIN_UP_TO
+ local bit
+ CHAIN_UP_TO=0
+ SortSuspendBits
+ /bin/echo -ne+  12AcpiVideoFlagsSuspend\n12IbmAcpiStartSuspend\n95XHacksSuspendHook2\n11XHacksSuspendHook1\n98FullSpeedCPUSuspend\n98TuxOnIceConfigSet\n99DoTuxOnIce\n97ChangeToTuxOnIceVT\n10EnsureTuxOnIceCapable\n59RemountXFSBootRO\n01NewKernelFileCheck\n89SaveKernelModprobe\n98CheckRunlevel\n01CheckRunlevel\n01CheckLastResume\n01LockFileGet\n
sort -n
+ local new_CHAIN_UP_TO
+ awk BEGIN{print substr("01CheckLastResume", 1, 2)}
+ new_CHAIN_UP_TO=01
+ [ -n 01 ]
+ CHAIN_UP_TO=01
+ bit=CheckLastResume
+ vecho 1 hibernate: [01] Executing CheckLastResume ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:40.11 hibernate: [01] Executing CheckLastResume ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:56:40.11 hibernate: [01] Executing CheckLastResume ...
+ [ -n  ]
+ CheckLastResume
+ [ -f /var/run/hibernate-last-resume ]
+ local last_resume now
+ read last_resume
+ date +%s
+ now=1352566600
+ [ 1352566600 -gt 1352566590 ]
+ rm -f /var/run/hibernate-last-resume
+ return 0
+ ret=0
+ [ 0 -ge 2 ]
+ [ 0 -gt 0 ]
+ [ -n  ]
+ local new_CHAIN_UP_TO
+ awk BEGIN{print substr("01CheckRunlevel", 1, 2)}
+ new_CHAIN_UP_TO=01
+ [ -n 01 ]
+ CHAIN_UP_TO=01
+ bit=CheckRunlevel
+ vecho 1 hibernate: [01] Executing CheckRunlevel ... 
+ local v
+ v=1h
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:40.12 hibernate: [01] Executing CheckRunlevel ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:56:40.12 hibernate: [01] Executing CheckRunlevel ...
+ [ -n  ]
+ CheckRunlevel
+ [ -z  ]
+ /sbin/runlevel
+ awk {print $2}
+ RUNLEVEL=3
+ return 0
+ ret=0
+ [ 0 -ge 2 ]
+ [ 0 -gt 0 ]
+ [ -n  ]
+ local new_CHAIN_UP_TO
+ awk BEGIN{print substr("01LockFileGet", 1, 2)}
+ new_CHAIN_UP_TO=01
+ [ -n 01 ]
+ CHAIN_UP_TO=01
+ bit=LockFileGet
+ vecho 1 hibernate: [01] Executing LockFileGet ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:40.14 hibernate: [01] Executing LockFileGet ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:56:40.14 hibernate: [01] Executing LockFileGet ...
+ [ -n  ]
+ LockFileGet
+ local other_pid
+ [ -f /var/run/hibernate-script.pid ]
+ echo 3922
+ LOCKFILE_IN_USE=1
+ return 0
+ ret=0
+ [ 0 -ge 2 ]
+ [ 0 -gt 0 ]
+ [ -n  ]
+ local new_CHAIN_UP_TO
+ awk BEGIN{print substr("01NewKernelFileCheck", 1, 2)}
+ new_CHAIN_UP_TO=01
+ [ -n 01 ]
+ CHAIN_UP_TO=01
+ bit=NewKernelFileCheck
+ vecho 1 hibernate: [01] Executing NewKernelFileCheck ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:40.15 hibernate: [01] Executing NewKernelFileCheck ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:56:40.15 hibernate: [01] Executing NewKernelFileCheck ...
+ [ -n  ]
+ NewKernelFileCheck
+ [ -f /var/run/tuxonice-new-kernel ]
+ return 0
+ ret=0
+ [ 0 -ge 2 ]
+ [ 0 -gt 0 ]
+ [ -n  ]
+ local new_CHAIN_UP_TO
+ awk BEGIN{print substr("10EnsureTuxOnIceCapable", 1, 2)}
+ new_CHAIN_UP_TO=10
+ [ -n 10 ]
+ CHAIN_UP_TO=10
+ bit=EnsureTuxOnIceCapable
+ vecho 1 hibernate: [10] Executing EnsureTuxOnIceCapable ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:40.16 hibernate: [10] Executing EnsureTuxOnIceCapable ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:56:40.16 hibernate: [10] Executing EnsureTuxOnIceCapable ...
+ [ -n  ]
+ EnsureTuxOnIceCapable
+ local ver
+ [ -d /sys/power/tuxonice ]
+ [ -f /sys/power/tuxonice/activate ]
+ [ -f /sys/power/tuxonice/do_suspend ]
+ [ -f /sys/power/tuxonice/do_hibernate ]
+ [ ! -f /sys/power/tuxonice/version ]
+ TuxOnIceIsAtLeastVersion 33554535
+ awk BEGIN{FS="[^0-9]"}{print($1*16777216)+($2*65536)+($3*256)+$4} /sys/power/tuxonice/version
+ ver=50528256
+ [ 50528256 -ge 33554535 ]
+ return 0
+ [ x1 != x1 ]
+ [ -f /sys/power/tuxonice/resume2 ]
+ [ -f /sys/power/tuxonice/resume ]
+ RESUME2_FILE=resume
+ [ -n resume ]
+ [ -n swap:/dev/sda5 ]
+ return 0
+ ret=0
+ [ 0 -ge 2 ]
+ [ 0 -gt 0 ]
+ [ -n  ]
+ local new_CHAIN_UP_TO
+ awk BEGIN{print substr("11XHacksSuspendHook1", 1, 2)}
+ new_CHAIN_UP_TO=11
+ [ -n 11 ]
+ CHAIN_UP_TO=11
+ bit=XHacksSuspendHook1
+ vecho 1 hibernate: [11] Executing XHacksSuspendHook1 ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:40.17 hibernate: [11] Executing XHacksSuspendHook1 ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:56:40.17 hibernate: [11] Executing XHacksSuspendHook1 ...
+ [ -n  ]
+ XHacksSuspendHook1
+ [ x = x1 ]
+ [ x = x1 ]
+ [ -n  ]
+ return 0
+ ret=0
+ [ 0 -ge 2 ]
+ [ 0 -gt 0 ]
+ [ -n  ]
+ local new_CHAIN_UP_TO
+ awk BEGIN{print substr("12AcpiVideoFlagsSuspend", 1, 2)}
+ new_CHAIN_UP_TO=12
+ [ -n 12 ]
+ CHAIN_UP_TO=12
+ bit=AcpiVideoFlagsSuspend
+ vecho 1 hibernate: [12] Executing AcpiVideoFlagsSuspend ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:40.19 hibernate: [12] Executing AcpiVideoFlagsSuspend ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:56:40.19 hibernate: [12] Executing AcpiVideoFlagsSuspend ...
+ [ -n  ]
+ AcpiVideoFlagsSuspend
+ echo 3
+ ret=0
+ [ 0 -ge 2 ]
+ [ 0 -gt 0 ]
+ [ -n  ]
+ local new_CHAIN_UP_TO
+ awk BEGIN{print substr("12IbmAcpiStartSuspend", 1, 2)}
+ new_CHAIN_UP_TO=12
+ [ -n 12 ]
+ CHAIN_UP_TO=12
+ bit=IbmAcpiStartSuspend
+ vecho 1 hibernate: [12] Executing IbmAcpiStartSuspend ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:40.19 hibernate: [12] Executing IbmAcpiStartSuspend ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:56:40.19 hibernate: [12] Executing IbmAcpiStartSuspend ...
+ [ -n  ]
+ IbmAcpiStartSuspend
+ IbmAcpiLed 7 blink
+ [ -f /proc/acpi/ibm/led ]
+ echo 7 blink
+ return 0
+ ret=0
+ [ 0 -ge 2 ]
+ [ 0 -gt 0 ]
+ [ -n  ]
+ local new_CHAIN_UP_TO
+ awk BEGIN{print substr("59RemountXFSBootRO", 1, 2)}
+ new_CHAIN_UP_TO=59
+ [ -n 59 ]
+ CHAIN_UP_TO=59
+ bit=RemountXFSBootRO
+ vecho 1 hibernate: [59] Executing RemountXFSBootRO ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:40.20 hibernate: [59] Executing RemountXFSBootRO ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:56:40.20 hibernate: [59] Executing RemountXFSBootRO ...
+ [ -n  ]
+ RemountXFSBootRO
+ [  = 1 ]
+ ret=0
+ [ 0 -ge 2 ]
+ [ 0 -gt 0 ]
+ [ -n  ]
+ local new_CHAIN_UP_TO
+ awk BEGIN{print substr("89SaveKernelModprobe", 1, 2)}
+ new_CHAIN_UP_TO=89
+ [ -n 89 ]
+ CHAIN_UP_TO=89
+ bit=SaveKernelModprobe
+ vecho 1 hibernate: [89] Executing SaveKernelModprobe ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:40.21 hibernate: [89] Executing SaveKernelModprobe ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:56:40.21 hibernate: [89] Executing SaveKernelModprobe ...
+ [ -n  ]
+ SaveKernelModprobe
+ [ -n  ]
+ [ -r /proc/sys/kernel/modprobe ]
+ cat /proc/sys/kernel/modprobe
+ KERNEL_MODPROBE=/sbin/modprobe
+ [ -n /sbin/modprobe ]
+ vecho 3 Saved /proc/sys/kernel/modprobe is /sbin/modprobe
+ local v
+ v=3
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:40.22 Saved /proc/sys/kernel/modprobe is /sbin/modprobe
+ [ 3 -le 4 ]
+ echo Nov 10 17:56:40.22 Saved /proc/sys/kernel/modprobe is /sbin/modprobe
+ echo /doesnt/exist
+ [ -r /proc/sys/kernel/hotplug ]
+ cat /proc/sys/kernel/hotplug
+ KERNEL_HOTPLUG=
+ [ -n  ]
+ return 0
+ ret=0
+ [ 0 -ge 2 ]
+ [ 0 -gt 0 ]
+ [ -n  ]
+ local new_CHAIN_UP_TO
+ awk BEGIN{print substr("95XHacksSuspendHook2", 1, 2)}
+ new_CHAIN_UP_TO=95
+ [ -n 95 ]
+ CHAIN_UP_TO=95
+ bit=XHacksSuspendHook2
+ vecho 1 hibernate: [95] Executing XHacksSuspendHook2 ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:40.22 hibernate: [95] Executing XHacksSuspendHook2 ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:56:40.22 hibernate: [95] Executing XHacksSuspendHook2 ...
+ [ -n  ]
+ XHacksSuspendHook2
+ [ -z  ]
+ XHacksSuspend
+ [ x1 = x1 ]
+ command -v fgconsole
+ fgconsole
+ XHACKS_ORIGINAL_VT=1
+ [ x1 = x1 ]
+ local dest_vt
+ [ -z  ]
+ dest_vt=15
+ vecho 3 xhacks: changing console from 1 to 15
+ local v
+ v=3
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:40.23 xhacks: changing console from 1 to 15
+ [ 3 -le 4 ]
+ echo Nov 10 17:56:40.23 xhacks: changing console from 1 to 15
+ chvt 15
+ return 0
+ return 0
+ ret=0
+ [ 0 -ge 2 ]
+ [ 0 -gt 0 ]
+ [ -n  ]
+ local new_CHAIN_UP_TO
+ awk BEGIN{print substr("97ChangeToTuxOnIceVT", 1, 2)}
+ new_CHAIN_UP_TO=97
+ [ -n 97 ]
+ CHAIN_UP_TO=97
+ bit=ChangeToTuxOnIceVT
+ vecho 1 hibernate: [97] Executing ChangeToTuxOnIceVT ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:43.08 hibernate: [97] Executing ChangeToTuxOnIceVT ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:56:43.08 hibernate: [97] Executing ChangeToTuxOnIceVT ...
+ [ -n  ]
+ ChangeToTuxOnIceVT
+ [ -n  ]
+ return 0
+ ret=0
+ [ 0 -ge 2 ]
+ [ 0 -gt 0 ]
+ [ -n  ]
+ local new_CHAIN_UP_TO
+ awk BEGIN{print substr("98CheckRunlevel", 1, 2)}
+ new_CHAIN_UP_TO=98
+ [ -n 98 ]
+ CHAIN_UP_TO=98
+ bit=CheckRunlevel
+ vecho 1 hibernate: [98] Executing CheckRunlevel ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:43.09 hibernate: [98] Executing CheckRunlevel ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:56:43.09 hibernate: [98] Executing CheckRunlevel ...
+ [ -n  ]
+ CheckRunlevel
+ [ -z 3 ]
+ return 0
+ ret=0
+ [ 0 -ge 2 ]
+ [ 0 -gt 0 ]
+ [ -n  ]
+ local new_CHAIN_UP_TO
+ awk BEGIN{print substr("98FullSpeedCPUSuspend", 1, 2)}
+ new_CHAIN_UP_TO=98
+ [ -n 98 ]
+ CHAIN_UP_TO=98
+ bit=FullSpeedCPUSuspend
+ vecho 1 hibernate: [98] Executing FullSpeedCPUSuspend ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:43.10 hibernate: [98] Executing FullSpeedCPUSuspend ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:56:43.10 hibernate: [98] Executing FullSpeedCPUSuspend ...
+ [ -n  ]
+ FullSpeedCPUSuspend
+ local cpu
+ mktemp /tmp/tmp.hibernate.XXXXXX
+ HW_FULLSPEEDCPU_RESTORER=/tmp/tmp.hibernate.YxHIL6
+ local cpunum min_freq setspeed governor i
+ [ -d /sys/devices/system/cpu/cpu0/cpufreq ]
+ cpunum=0/cpufreq
+ cpunum=0
+ IsANumber 0
+ return 0
+ eval done_this=$hw_cpu_0_done
+ done_this=
+ [ x = xcpudone ]
+ cat /sys/devices/system/cpu/cpu0/cpufreq/affected_cpus
+ IsANumber 0
+ return 0
+ eval hw_cpu_0_done=cpudone
+ hw_cpu_0_done=cpudone
+ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
+ max_freq=2101000
+ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
+ min_freq=800000
+ [ -f /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed ]
+ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
+ setspeed=<unsupported>
+ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
+ governor=ondemand
+ cat
+ grep -q performance /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
+ echo performance
+ echo 2101000
+ vecho 2 Switched to performance, with min freq at 2101000
+ local v
+ v=2
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:43.12 Switched to performance, with min freq at 2101000
+ [ 2 -le 4 ]
+ echo Nov 10 17:56:43.12 Switched to performance, with min freq at 2101000
+ local cpunum min_freq setspeed governor i
+ [ -d /sys/devices/system/cpu/cpu1/cpufreq ]
+ cpunum=1/cpufreq
+ cpunum=1
+ IsANumber 1
+ return 0
+ eval done_this=$hw_cpu_1_done
+ done_this=
+ [ x = xcpudone ]
+ cat /sys/devices/system/cpu/cpu1/cpufreq/affected_cpus
+ IsANumber 1
+ return 0
+ eval hw_cpu_1_done=cpudone
+ hw_cpu_1_done=cpudone
+ cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
+ max_freq=2101000
+ cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
+ min_freq=800000
+ [ -f /sys/devices/system/cpu/cpu1/cpufreq/scaling_setspeed ]
+ cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_setspeed
+ setspeed=<unsupported>
+ cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
+ governor=ondemand
+ cat
+ grep -q performance /sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors
+ echo performance
+ echo 2101000
+ vecho 2 Switched to performance, with min freq at 2101000
+ local v
+ v=2
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:43.13 Switched to performance, with min freq at 2101000
+ [ 2 -le 4 ]
+ echo Nov 10 17:56:43.13 Switched to performance, with min freq at 2101000
+ return 0
+ ret=0
+ [ 0 -ge 2 ]
+ [ 0 -gt 0 ]
+ [ -n  ]
+ local new_CHAIN_UP_TO
+ awk BEGIN{print substr("98TuxOnIceConfigSet", 1, 2)}
+ new_CHAIN_UP_TO=98
+ [ -n 98 ]
+ CHAIN_UP_TO=98
+ bit=TuxOnIceConfigSet
+ vecho 1 hibernate: [98] Executing TuxOnIceConfigSet ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:43.14 hibernate: [98] Executing TuxOnIceConfigSet ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:56:43.14 hibernate: [98] Executing TuxOnIceConfigSet ...
+ [ -n  ]
+ TuxOnIceConfigSet
+ [ x = xnocache ]
+ [ -n  ]
+ [ -n 0 ]
+ [ -f /sys/power/tuxonice/reboot ]
+ echo 0
+ [ -n 1 ]
+ [ -f /sys/power/tuxonice/user_interface/enable_escape ]
+ echo 1
+ [ -n 1 ]
+ [ -f /sys/power/tuxonice/user_interface/default_console_level ]
+ echo 1
+ [ -n  ]
+ [ -n swap:/dev/sda5 ]
+ [ -f /sys/power/tuxonice/resume ]
+ echo swap:/dev/sda5
+ [ -n swap:/dev/sda5 ]
+ [ -f /sys/power/tuxonice/resume2 ]
+ [ -n  ]
+ TuxOnIceSetupCryptoAPI
+ TuxOnIceIsAtLeastVersion 33622277
+ awk BEGIN{FS="[^0-9]"}{print($1*16777216)+($2*65536)+($3*256)+$4} /sys/power/tuxonice/version
+ ver=50528256
+ [ 50528256 -ge 33622277 ]
+ return 0
+ TUXONICE_MODULES_LOADED=
+ [ -n lzo ]
+ [ lzo != none ]
+ grep -q ^name.*: lzo$ /proc/crypto
+ [ lzo != none ]
+ compression_algorithm=lzo
+ disable_value=0
+ [ -f /sys/power/tuxonice/compression/disable_compression ]
+ [ -f /sys/power/tuxonice/compression/enabled ]
+ echo 1
+ [ -f /sys/power/tuxonice/compression/compressor ]
+ [ -f /sys/power/tuxonice/compression/algorithm ]
+ echo lzo
+ [ -n none ]
+ [ none != none ]
+ [ none != none ]
+ encryption_algorithm=
+ disable_value=1
+ [ -f /sys/power/tuxonice/disable_encryption ]
+ [ -f /sys/power/tuxonice/enabled ]
+ [ -f /sys/power/tuxonice/encryptor ]
+ [ -f /sys/power/tuxonice/algorithm ]
+ [ -n /tmp/tmp.hibernate.GFeFNE ]
+ [ -f /tmp/tmp.hibernate.GFeFNE ]
+ . /tmp/tmp.hibernate.GFeFNE
+ echo 7500
+ echo 1
+ echo 7500
+ return 0
+ ret=0
+ [ 0 -ge 2 ]
+ [ 0 -gt 0 ]
+ [ -n  ]
+ local new_CHAIN_UP_TO
+ awk BEGIN{print substr("99DoTuxOnIce", 1, 2)}
+ new_CHAIN_UP_TO=99
+ [ -n 99 ]
+ CHAIN_UP_TO=99
+ bit=DoTuxOnIce
+ vecho 1 hibernate: [99] Executing DoTuxOnIce ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:43.16 hibernate: [99] Executing DoTuxOnIce ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:56:43.16 hibernate: [99] Executing DoTuxOnIce ...
+ [ -n  ]
+ DoTuxOnIce
+ local error
+ [ -n  ]
+ [ -z  ]
+ vecho 1 hibernate: Activating TuxOnIce ...
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:56:43.16 hibernate: Activating TuxOnIce ...
+ [ 1 -le 4 ]
+ echo Nov 10 17:56:43.16 hibernate: Activating TuxOnIce ...
+ SaveDmesg
+ mktemp /tmp/tmp.hibernate.XXXXXX
+ DMESG_ORIG=/tmp/tmp.hibernate.mofxLo
+ dmesg
+ return 0
+ DoSuspend
+ [ -f /sys/power/tuxonice/do_hibernate ]
+ echo
+ read REPLY
+ echo 0
+ return 0
+ error=0
+ [ -n 0 ]
+ [ 0 -ne 0 ]
+ PrintErrors 0
+ local code bit_num
+ code=0
+ [ -n 0 ]
+ [ 0 -eq 0 ]
+ return 0
+ [ -n  ]
+ CleanupDmesg
+ [ -n /tmp/tmp.hibernate.mofxLo ]
+ rm -f /tmp/tmp.hibernate.mofxLo
+ return 0
+ [ -f /sys/power/tuxonice/freezer_test ]
+ echo 0
+ [ -n  ]
+ return 0
+ ret=0
+ [ 0 -ge 2 ]
+ [ 0 -gt 0 ]
+ [ -n  ]
+ SortResumeBits
+ /bin/echo -ne 90ModulesLoad\n12IbmAcpiEndResume\n85XHacksResumeHook2\n11XHacksResumeHook1\n98FullSpeedCPUResume\n00RemoveTuxOnIceProcCruft\n97ChangeFromTuxOnIceVT\n59RemountXFSBootRW\n89RestoreKernelModprobe\n01NoteLastResume\n01LockFilePut\n
+ sort -rn
+ awk BEGIN{print substr("98FullSpeedCPUResume", 1, 2)}
+ THIS_POS=98
+ [ -z 98 ]
+ bit=FullSpeedCPUResume
+ [ 98 -gt 99 ]
+ vecho 1 hibernate: [98] Executing FullSpeedCPUResume ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:59:04.95 hibernate: [98] Executing FullSpeedCPUResume ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:59:04.95 hibernate: [98] Executing FullSpeedCPUResume ...
+ [ -n  ]
+ FullSpeedCPUResume
+ [ -f /tmp/tmp.hibernate.YxHIL6 ]
+ . /tmp/tmp.hibernate.YxHIL6
+ echo 800000
+ echo ondemand
+ [ -f /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed ]
+ echo <unsupported>
+ echo 800000
+ echo ondemand
+ [ -f /sys/devices/system/cpu/cpu1/cpufreq/scaling_setspeed ]
+ echo <unsupported>
+ rm -f /tmp/tmp.hibernate.YxHIL6
+ return 0
+ awk BEGIN{print substr("97ChangeFromTuxOnIceVT", 1, 2)}
+ THIS_POS=97
+ [ -z 97 ]
+ bit=ChangeFromTuxOnIceVT
+ [ 97 -gt 99 ]
+ vecho 1 hibernate: [97] Executing ChangeFromTuxOnIceVT ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:59:05.18 hibernate: [97] Executing ChangeFromTuxOnIceVT ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:59:05.18 hibernate: [97] Executing ChangeFromTuxOnIceVT ...
+ [ -n  ]
+ ChangeFromTuxOnIceVT
+ [ -n  ]
+ return 0
+ awk BEGIN{print substr("90ModulesLoad", 1, 2)}
+ THIS_POS=90
+ [ -z 90 ]
+ bit=ModulesLoad
+ [ 90 -gt 99 ]
+ vecho 1 hibernate: [90] Executing ModulesLoad ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:59:05.18 hibernate: [90] Executing ModulesLoad ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:59:05.18 hibernate: [90] Executing ModulesLoad ...
+ [ -n  ]
+ ModulesLoad
+ [ -z  auto ]
+ CheckModuleSupport
+ [ -f /proc/modules ]
+ return 0
+ RestoreKernelModprobe
+ [ -n /sbin/modprobe ]
+ echo /sbin/modprobe
+ unset KERNEL_MODPROBE
+ [ -n  ]
+ return 0
+ local mod
+ [ auto = auto ]
+ continue
+ return 0
+ awk BEGIN{print substr("89RestoreKernelModprobe", 1, 2)}
+ THIS_POS=89
+ [ -z 89 ]
+ bit=RestoreKernelModprobe
+ [ 89 -gt 99 ]
+ vecho 1 hibernate: [89] Executing RestoreKernelModprobe ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:59:05.19 hibernate: [89] Executing RestoreKernelModprobe ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:59:05.19 hibernate: [89] Executing RestoreKernelModprobe ...
+ [ -n  ]
+ RestoreKernelModprobe
+ [ -n  ]
+ [ -n  ]
+ return 0
+ awk BEGIN{print substr("85XHacksResumeHook2", 1, 2)}
+ THIS_POS=85
+ [ -z 85 ]
+ bit=XHacksResumeHook2
+ [ 85 -gt 99 ]
+ vecho 1 hibernate: [85] Executing XHacksResumeHook2 ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:59:05.19 hibernate: [85] Executing XHacksResumeHook2 ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:59:05.19 hibernate: [85] Executing XHacksResumeHook2 ...
+ [ -n  ]
+ XHacksResumeHook2
+ [ -z  ]
+ XHacksResume
+ [ x = x1 ]
+ [ -n 1 ]
+ vecho 3 xhacks: changing to text mode
+ local v
+ v=3
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:59:05.20 xhacks: changing to text mode
+ [ 3 -le 4 ]
+ echo Nov 10 17:59:05.20 xhacks: changing to text mode
+ local dest_vt
+ [ -z  ]
+ dest_vt=15
+ chvt 15
+ [ -n 1 ]
+ vecho 3 xhacks: changing console back to 1
+ local v
+ v=3
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:59:05.39 xhacks: changing console back to 1
+ [ 3 -le 4 ]
+ echo Nov 10 17:59:05.39 xhacks: changing console back to 1
+ chvt 1
+ return 0
+ awk BEGIN{print substr("59RemountXFSBootRW", 1, 2)}
+ THIS_POS=59
+ [ -z 59 ]
+ bit=RemountXFSBootRW
+ [ 59 -gt 99 ]
+ vecho 1 hibernate: [59] Executing RemountXFSBootRW ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:59:05.40 hibernate: [59] Executing RemountXFSBootRW ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:59:05.40 hibernate: [59] Executing RemountXFSBootRW ...
+ [ -n  ]
+ RemountXFSBootRW
+ [  = 1 ]
+ awk BEGIN{print substr("12IbmAcpiEndResume", 1, 2)}
+ THIS_POS=12
+ [ -z 12 ]
+ bit=IbmAcpiEndResume
+ [ 12 -gt 99 ]
+ vecho 1 hibernate: [12] Executing IbmAcpiEndResume ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:59:05.41 hibernate: [12] Executing IbmAcpiEndResume ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:59:05.41 hibernate: [12] Executing IbmAcpiEndResume ...
+ [ -n  ]
+ IbmAcpiEndResume
+ IbmAcpiLed 7 off
+ [ -f /proc/acpi/ibm/led ]
+ echo 7 off
+ [ 0 -gt 1 ]
+ return 0
+ awk BEGIN{print substr("11XHacksResumeHook1", 1, 2)}
+ THIS_POS=11
+ [ -z 11 ]
+ bit=XHacksResumeHook1
+ [ 11 -gt 99 ]
+ vecho 1 hibernate: [11] Executing XHacksResumeHook1 ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:59:05.42 hibernate: [11] Executing XHacksResumeHook1 ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:59:05.42 hibernate: [11] Executing XHacksResumeHook1 ...
+ [ -n  ]
+ XHacksResumeHook1
+ [ -n  ]
+ return 0
+ awk BEGIN{print substr("01NoteLastResume", 1, 2)}
+ THIS_POS=01
+ [ -z 01 ]
+ bit=NoteLastResume
+ [ 01 -gt 99 ]
+ vecho 1 hibernate: [01] Executing NoteLastResume ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:59:05.43 hibernate: [01] Executing NoteLastResume ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:59:05.43 hibernate: [01] Executing NoteLastResume ...
+ [ -n  ]
+ NoteLastResume
+ [ -f /var/run/hibernate-last-resume ]
+ date +%s
+ return 0
+ awk BEGIN{print substr("01LockFilePut", 1, 2)}
+ THIS_POS=01
+ [ -z 01 ]
+ bit=LockFilePut
+ [ 01 -gt 99 ]
+ vecho 1 hibernate: [01] Executing LockFilePut ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:59:05.44 hibernate: [01] Executing LockFilePut ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:59:05.44 hibernate: [01] Executing LockFilePut ...
+ [ -n  ]
+ LockFilePut
+ [ -z 1 ]
+ local lockfile_pid
+ read lockfile_pid
+ IsANumber 3922
+ return 0
+ [ 3922 -eq 3922 ]
+ rm -f /var/run/hibernate-script.pid
+ return 0
+ awk BEGIN{print substr("00RemoveTuxOnIceProcCruft", 1, 2)}
+ THIS_POS=00
+ [ -z 00 ]
+ bit=RemoveTuxOnIceProcCruft
+ [ 00 -gt 99 ]
+ vecho 1 hibernate: [00] Executing RemoveTuxOnIceProcCruft ... 
+ local v
+ v=1
+ shift
+ [ x1 = x1 ]
+ date +%b %e %H:%M:%S.%2N
+ set -- Nov 10 17:59:05.44 hibernate: [00] Executing RemoveTuxOnIceProcCruft ... 
+ [ 1 -le 4 ]
+ echo Nov 10 17:59:05.44 hibernate: [00] Executing RemoveTuxOnIceProcCruft ...
+ [ -n  ]
+ RemoveTuxOnIceProcCruft
+ [ -f /tmp/tmp.hibernate.GFeFNE ]
+ rm -f /tmp/tmp.hibernate.GFeFNE
+ return 0
+ return 0
+ echo EXIT_CODE=0
+ eval EXIT_CODE=0
+ EXIT_CODE=0
+ PluginTermination
+ local i
+ TuxOnIceTermination
+ return 0
+ return 0
+ tee -a -i /var/log/hibernate.log
+ date
+ echo Resumed at Sat 10 Nov 17:59:05 CET 2012
+ exit 0

 

9 More Discussions You Might Find Interesting

1. Solaris

System not resuming from stanby mode ---Solaris10

Dear Frnds, I have a weird issue with solaris 10. We bought a new Sun Ultra45 workstation and i installed solaris 10 in that. The problem is when it goes to standby mode i am not able to resume the system.The only thing i can do is to manually reboot and start working. The problem occurs... (0 Replies)
Discussion started by: sriram.s
0 Replies

2. Solaris

solaris 10 not resuming from power save mode.

Dear Frnz, i have a ultra 45 with solaris 10 installed. I face a weird issue in that. once the machine goes to power save mode i am not able to bring the machine back by hitting the keys in keyboard or moving the mouse. I am able to rsh the machine from another machine. To bring the... (1 Reply)
Discussion started by: sriram.s
1 Replies

3. AIX

how would you know your server was rebooted 3 times or 5 times

Is there such location or command to know how many times did you reboot your server in that particular day?in AIX. (3 Replies)
Discussion started by: kenshinhimura
3 Replies

4. Shell Programming and Scripting

Executes many times

The code prints many times, "1st loop" and "2nd loop". How can I come out the if the condition is matched. Match should be only once and it should come out of the loop if the match is found time=$(date +"%H:%M:%S") echo $time while : do if then echo "1st loop" fi if then... (5 Replies)
Discussion started by: sandy1028
5 Replies

5. Programming

Problem with implementing the times() function in C (struct tms times return zero/negative values)

Hello, i'm trying to implement the times() function and i'm programming in C. I'm using the "struct tms" structure which consists of the fields: The tms_utime structure member is the CPU time charged for the execution of user instructions of the calling process. The tms_stime structure... (1 Reply)
Discussion started by: g_p
1 Replies

6. Shell Programming and Scripting

To get difference between 2 times.

Can anyone help me to write a script to get diffrence between 2 times. (platform- solaris) i.e., Diffence shoud be displayed in tems of hours. (Approximately) for eg: file1 = 05-Apr-2012 13:42:32 file2 = 04-Apr-2012 12:42:41 O/P is like : diff = 25 Hrs (2 Replies)
Discussion started by: thomasraj87
2 Replies

7. What is on Your Mind?

Welcome in these 1337 times

Have you noticed that the Unix time right now starts with the combination "1337"? 1337 times indeed. ;-)) bakunin (10 Replies)
Discussion started by: bakunin
10 Replies

8. UNIX for Dummies Questions & Answers

Pausing and resuming process on laptop

Hi, I'm wondering if it's possible to pause a process I'm running in the background, close my laptop (I need to leave the office), and continue the process (when I get home). I've been running a process for a really long time and I don't want to have to start it over. Thanks in advance! (9 Replies)
Discussion started by: ShiGua
9 Replies

9. Red Hat

Response Times

Hello all. Let me qualify my question by saying that I am struggling with how to ask the question I am semi green but have no issue reading up if pointed in the right direction. Please be gentle! A RHEL server 6.2. Hosts a statistical application that has some web apps and batch programming... (0 Replies)
Discussion started by: rsheikh01
0 Replies
All times are GMT -4. The time now is 08:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy