Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 134812 Details for
Bug 197630
sys-power/hibernate-script-1.97 reports "/sys/power/tuxonice/: Is a directory" and dies
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
hibernate verb=4, patched suspend2
debug-patched (text/plain), 11.00 KB, created by
Laurento Frittella (mrfree)
on 2007-10-31 15:47:45 UTC
(
hide
)
Description:
hibernate verb=4, patched suspend2
Filename:
MIME Type:
Creator:
Laurento Frittella (mrfree)
Created:
2007-10-31 15:47:45 UTC
Size:
11.00 KB
patch
obsolete
>hibernate: Trying method in suspend2.conf... >hibernate: Including configuration from common.conf >Using '/etc/init.d' as init.d directory. >++ date >+ echo 'Starting suspend at mer' ott 31 16:43:49 CET 2007 >+ tee -a -i /var/log/hibernate.log >+ EXIT_CODE=0 >+ '[' 'tee -a -i /var/log/hibernate.log' = cat ']' >+ '[' -n 1 ']' >+ DoWork >+ trap ctrlc_handler INT HUP >+ local ret >+ local CHAIN_UP_TO >+ local bit >+ CHAIN_UP_TO=0 >++ SortSuspendBits >++ sort -n >++ /bin/echo -ne '19LogoutPidgin\n30ServicesStop\n91ModulesUnloadBlacklist\n45FSTypesUnmount\n95XHacksSuspendHook2\n11XHacksSuspendHook1\n94FBSplashProgress\n90FBSplashProgress\n80FBSplashProgress\n70FBSplashProgress\n60FBSplashProgress\n50FBSplashProgress\n40FBSplashProgress\n30FBSplashProgress\n20FBSplashProgress\n12FBSplashStartSuspend\n98FullSpeedCPUSuspend\n11Swsusp2SetupFilewriter\n70ClockSave\n98Swsusp2ConfigSet\n99DoSwsusp2\n97ChangeToSwsuspVT\n10EnsureSwsusp2Capable\n59RemountXFSBootRO\n01NewKernelFileCheck\n89SaveKernelModprobe\n98CheckRunlevel\n01CheckRunlevel\n01CheckLastResume\n01LockFileGet\n' >+ for bit in '`SortSuspendBits`' >+ 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 >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate: '[01]' Executing CheckLastResume ... >+ '[' -n '' ']' >+ CheckLastResume >+ '[' -f /var/run/hibernate-last-resume ']' >+ local last_resume now >+ read last_resume >++ date +%s >+ now=1193845429 >+ '[' 1193845429 -gt 1193845420 ']' >+ rm -f /var/run/hibernate-last-resume >+ return 0 >+ ret=0 >+ '[' 0 -ge 2 ']' >+ '[' 0 -gt 0 ']' >+ '[' -n '' ']' >+ for bit in '`SortSuspendBits`' >+ 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=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate: '[01]' Executing CheckRunlevel ... >+ '[' -n '' ']' >+ CheckRunlevel >+ '[' -z '' ']' >++ /sbin/runlevel >++ awk '{print $2}' >+ RUNLEVEL=3 >+ case "${RUNLEVEL}" in >+ return 0 >+ ret=0 >+ '[' 0 -ge 2 ']' >+ '[' 0 -gt 0 ']' >+ '[' -n '' ']' >+ for bit in '`SortSuspendBits`' >+ local new_CHAIN_UP_TO >++ awk 'BEGIN{print substr("01LockFileGet", 1, 2)}' >+ tee -a -i /var/log/hibernate.log >hibernate: [01] Executing CheckLastResume ... >hibernate: [01] Executing CheckRunlevel ... >+ new_CHAIN_UP_TO=01 >+ '[' -n 01 ']' >+ CHAIN_UP_TO=01 >+ bit=LockFileGet >+ vecho 1 'hibernate: [01] Executing LockFileGet ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate: '[01]' Executing LockFileGet ... >hibernate: [01] Executing LockFileGet ... >+ '[' -n '' ']' >+ LockFileGet >+ local other_pid >+ '[' -f /var/run/hibernate-script.pid ']' >+ echo 7546 >+ LOCKFILE_IN_USE=1 >+ return 0 >+ ret=0 >+ '[' 0 -ge 2 ']' >+ '[' 0 -gt 0 ']' >+ '[' -n '' ']' >+ for bit in '`SortSuspendBits`' >+ 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 >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate: '[01]' Executing NewKernelFileCheck ... >hibernate: [01] Executing NewKernelFileCheck ... >+ '[' -n '' ']' >+ NewKernelFileCheck >+ '[' -f /var/run/suspend2-new-kernel ']' >+ return 0 >+ ret=0 >+ '[' 0 -ge 2 ']' >+ '[' 0 -gt 0 ']' >+ '[' -n '' ']' >+ for bit in '`SortSuspendBits`' >+ local new_CHAIN_UP_TO >++ awk 'BEGIN{print substr("10EnsureSwsusp2Capable", 1, 2)}' >+ new_CHAIN_UP_TO=10 >+ '[' -n 10 ']' >+ CHAIN_UP_TO=10 >+ bit=EnsureSwsusp2Capable >+ vecho 1 'hibernate: [10] Executing EnsureSwsusp2Capable ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate: '[10]' Executing EnsureSwsusp2Capable ... >hibernate: [10] Executing EnsureSwsusp2Capable ... >+ '[' -n '' ']' >+ EnsureSwsusp2Capable >+ 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 ']' >+ SwsuspIsAtLeastVersion 33554535 >++ awk 'BEGIN{FS="[^0-9]"}{print($1*16777216)+($2*65536)+($3*256)+$4}' /sys/power/tuxonice/version >+ ver=50331648 >+ '[' 50331648 -ge 33554535 ']' >+ return 0 >+ '[' x1 '!=' x1 ']' >+ '[' -f /sys/power/tuxonice/resume2 ']' >+ '[' -f /sys/power/tuxonice/resume ']' >+ RESUME2_FILE=resume >+ '[' -n resume ']' >+ '[' -n '' ']' >+ read REPLY >+ '[' -z '' ']' >+ cat >You haven't specified a resume=/resume2= parameter on your kernel command line > >Your GRUB or LILO config should have something like resume=swap:/dev/hdaX >where /dev/hdaX is your swap partition. You will then need to either reboot >after doing so or set it manually (this time only) using: > echo swap:/dev/hdaX > /sys/power/tuxonice/resume >+ return 2 >+ ret=2 >+ '[' 2 -ge 2 ']' >+ '[' 2 -eq 2 ']' >+ vecho 1 'hibernate: EnsureSwsusp2Capable refuses to let us continue.' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate: EnsureSwsusp2Capable refuses to let us continue. >hibernate: EnsureSwsusp2Capable refuses to let us continue. >+ vecho 0 'hibernate: Aborting.' >+ local v >+ v=0 >+ shift >+ '[' x = x1 ']' >+ '[' 0 -le 4 ']' >+ echo hibernate: Aborting. >hibernate: Aborting. >+ EXIT_CODE=2 >+ break >++ SortResumeBits >++ sort -rn >++ /bin/echo -ne '19LoginPidgin\n30ServicesStart\n90ModulesLoad\n85XHacksResumeHook2\n11XHacksResumeHook1\n12FBSplashOff\n15FBSplashProgress\n20FBSplashProgress\n30FBSplashProgress\n40FBSplashProgress\n50FBSplashProgress\n60FBSplashProgress\n70FBSplashProgress\n80FBSplashProgress\n90FBSplashProgress\n95FBSplashStartResume\n70ClockRestore\n98FullSpeedCPUResume\n11Swsusp2CleanupFilewriter\n70ClockRestore\n97ChangeFromSwsuspVT\n59RemountXFSBootRW\n89RestoreKernelModprobe\n01NoteLastResume\n01LockFilePut\n' >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("98FullSpeedCPUResume", 1, 2)}' >+ THIS_POS=98 >+ '[' -z 98 ']' >+ bit=FullSpeedCPUResume >+ '[' 98 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("97ChangeFromSwsuspVT", 1, 2)}' >+ THIS_POS=97 >+ '[' -z 97 ']' >+ bit=ChangeFromSwsuspVT >+ '[' 97 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("95FBSplashStartResume", 1, 2)}' >+ THIS_POS=95 >+ '[' -z 95 ']' >+ bit=FBSplashStartResume >+ '[' 95 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("90ModulesLoad", 1, 2)}' >+ THIS_POS=90 >+ '[' -z 90 ']' >+ bit=ModulesLoad >+ '[' 90 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("90FBSplashProgress", 1, 2)}' >+ THIS_POS=90 >+ '[' -z 90 ']' >+ bit=FBSplashProgress >+ '[' 90 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("89RestoreKernelModprobe", 1, 2)}' >+ THIS_POS=89 >+ '[' -z 89 ']' >+ bit=RestoreKernelModprobe >+ '[' 89 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("85XHacksResumeHook2", 1, 2)}' >+ THIS_POS=85 >+ '[' -z 85 ']' >+ bit=XHacksResumeHook2 >+ '[' 85 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("80FBSplashProgress", 1, 2)}' >+ THIS_POS=80 >+ '[' -z 80 ']' >+ bit=FBSplashProgress >+ '[' 80 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("70FBSplashProgress", 1, 2)}' >+ THIS_POS=70 >+ '[' -z 70 ']' >+ bit=FBSplashProgress >+ '[' 70 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("70ClockRestore", 1, 2)}' >+ THIS_POS=70 >+ '[' -z 70 ']' >+ bit=ClockRestore >+ '[' 70 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("70ClockRestore", 1, 2)}' >+ THIS_POS=70 >+ '[' -z 70 ']' >+ bit=ClockRestore >+ '[' 70 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("60FBSplashProgress", 1, 2)}' >+ THIS_POS=60 >+ '[' -z 60 ']' >+ bit=FBSplashProgress >+ '[' 60 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("59RemountXFSBootRW", 1, 2)}' >+ THIS_POS=59 >+ '[' -z 59 ']' >+ bit=RemountXFSBootRW >+ '[' 59 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("50FBSplashProgress", 1, 2)}' >+ THIS_POS=50 >+ '[' -z 50 ']' >+ bit=FBSplashProgress >+ '[' 50 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("40FBSplashProgress", 1, 2)}' >+ THIS_POS=40 >+ '[' -z 40 ']' >+ bit=FBSplashProgress >+ '[' 40 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("30ServicesStart", 1, 2)}' >+ THIS_POS=30 >+ '[' -z 30 ']' >+ bit=ServicesStart >+ '[' 30 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("30FBSplashProgress", 1, 2)}' >+ THIS_POS=30 >+ '[' -z 30 ']' >+ bit=FBSplashProgress >+ '[' 30 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("20FBSplashProgress", 1, 2)}' >+ THIS_POS=20 >+ '[' -z 20 ']' >+ bit=FBSplashProgress >+ '[' 20 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("19LoginPidgin", 1, 2)}' >+ THIS_POS=19 >+ '[' -z 19 ']' >+ bit=LoginPidgin >+ '[' 19 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("15FBSplashProgress", 1, 2)}' >+ THIS_POS=15 >+ '[' -z 15 ']' >+ bit=FBSplashProgress >+ '[' 15 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("12FBSplashOff", 1, 2)}' >+ THIS_POS=12 >+ '[' -z 12 ']' >+ bit=FBSplashOff >+ '[' 12 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("11XHacksResumeHook1", 1, 2)}' >+ THIS_POS=11 >+ '[' -z 11 ']' >+ bit=XHacksResumeHook1 >+ '[' 11 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("11Swsusp2CleanupFilewriter", 1, 2)}' >+ THIS_POS=11 >+ '[' -z 11 ']' >+ bit=Swsusp2CleanupFilewriter >+ '[' 11 -gt 10 ']' >+ continue >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("01NoteLastResume", 1, 2)}' >+ THIS_POS=01 >+ '[' -z 01 ']' >+ bit=NoteLastResume >+ '[' 01 -gt 10 ']' >+ vecho 1 'hibernate: [01] Executing NoteLastResume ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate: '[01]' Executing NoteLastResume ... >hibernate: [01] Executing NoteLastResume ... >+ '[' -n '' ']' >+ NoteLastResume >+ '[' -f /var/run/hibernate-last-resume ']' >+ date +%s >+ return 0 >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("01LockFilePut", 1, 2)}' >+ THIS_POS=01 >+ '[' -z 01 ']' >+ bit=LockFilePut >+ '[' 01 -gt 10 ']' >+ vecho 1 'hibernate: [01] Executing LockFilePut ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate: '[01]' Executing LockFilePut ... >hibernate: [01] Executing LockFilePut ... >+ '[' -n '' ']' >+ LockFilePut >+ '[' -z 1 ']' >+ local lockfile_pid >+ read lockfile_pid >+ IsANumber 7546 >+ case "$1" in >+ return 0 >+ '[' 7546 -eq 7546 ']' >+ rm -f /var/run/hibernate-script.pid >+ return 0 >+ return 2 >+ eval 'EXIT_CODE=${PIPESTATUS[0]}' >++ EXIT_CODE=2 >+ PluginTermination >+ local i >+ for i in '$TERMINATION_HANDLERS' >+ Swsusp2Termination >+ return 0 >+ return 0 >+ tee -a -i /var/log/hibernate.log >++ date >+ echo 'Resumed at mer' ott 31 16:43:49 CET 2007 >+ exit 2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 197630
:
134805
| 134812 |
134813
|
134937
|
134938
|
135085
|
135087