hibernate: Trying method in suspend2.conf... hibernate: Including configuration from common.conf Using '/etc/init.d' as init.d directory. + tee -a -i /var/log/hibernate.log ++ date + echo 'Starting suspend at sab' nov 3 15:19:28 CET 2007 + 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 + tee -a -i /var/log/hibernate.log ++ /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 ... hibernate: [01] Executing CheckLastResume ... + '[' -n '' ']' + CheckLastResume + '[' -f /var/run/hibernate-last-resume ']' + local last_resume now + read last_resume ++ date +%s + now=1194099568 + '[' 1194099568 -gt 1194099510 ']' + 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 ... 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)}' + 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 5864 + 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 file:/dev/dm-0:0x44ed0 ']' + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + local new_CHAIN_UP_TO ++ awk 'BEGIN{print substr("11Swsusp2SetupFilewriter", 1, 2)}' + new_CHAIN_UP_TO=11 + '[' -n 11 ']' + CHAIN_UP_TO=11 + bit=Swsusp2SetupFilewriter + vecho 1 'hibernate: [11] Executing Swsusp2SetupFilewriter ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[11]' Executing Swsusp2SetupFilewriter ... hibernate: [11] Executing Swsusp2SetupFilewriter ... + '[' -n '' ']' + Swsusp2SetupFilewriter + local ft_entry + ft_entry= + '[' -f /sys/power/tuxonice/file/filewriter_target ']' + '[' -f /sys/power/tuxonice/file/target ']' + ft_entry=/sys/power/tuxonice/file/target + '[' -z /sys/power/tuxonice/file/target ']' + '[' -e /suspend_file ']' + case "`dd \"if=$SWSUSP_FILEWRITER_LOC\" bs=8 count=1 2>/dev/null`" in ++ dd if=/suspend_file bs=8 count=1 + vecho 1 'hibernate: Detected filewriter image ready for use.' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: Detected filewriter image ready for use. hibernate: Detected filewriter image ready for use. + echo /suspend_file + echo /suspend_file + chmod 600 /var/run/suspend2_filewriter_image_exists + '[' x = x1 ']' + local new_resume2 ++ cat /sys/power/tuxonice/resume + new_resume2=file:/dev/dm-0:0x44ed0 + '[' -z file:/dev/dm-0:0x44ed0 ']' + grep file:/dev/dm-0:0x44ed0 /proc/cmdline dolvm processor.max_cstate=2 libata.atapi_enabled=1 root=/dev/ram0 init=/linuxrc real_root=/dev/vg/root video=uvesafb:1024x768-32,mtrr:3,ywrap splash=silent,theme:livecd-2007.0 CONSOLE=/dev/tty1 quiet resume=file:/dev/dm-0:0x44ed0 + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + 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 + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[11]' Executing XHacksSuspendHook1 ... hibernate: [11] Executing XHacksSuspendHook1 ... + '[' -n '' ']' + XHacksSuspendHook1 + '[' x = x1 ']' + '[' x1 = x1 ']' + XHACKS_EARLY_SWITCH=1 + XHacksSuspend + '[' x1 = x1 ']' + command -v fgconsole ++ fgconsole + XHACKS_ORIGINAL_VT=3 + '[' x1 = x1 ']' + local dest_vt + '[' -z '' ']' + dest_vt=15 + vecho 3 'xhacks: changing console from 3 to 15' + local v + v=3 + shift + '[' x = x1 ']' + '[' 3 -le 4 ']' + echo xhacks: changing console from 3 to 15 xhacks: changing console from 3 to 15 + chvt 15 + return 0 + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + local new_CHAIN_UP_TO ++ awk 'BEGIN{print substr("12FBSplashStartSuspend", 1, 2)}' + new_CHAIN_UP_TO=12 + '[' -n 12 ']' + CHAIN_UP_TO=12 + bit=FBSplashStartSuspend + vecho 1 'hibernate: [12] Executing FBSplashStartSuspend ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[12]' Executing FBSplashStartSuspend ... hibernate: [12] Executing FBSplashStartSuspend ... + '[' -n '' ']' + FBSplashStartSuspend + FBSplashBegin 'Preparing to suspend ...' + '[' x1 '!=' x1 ']' + '[' -z suspend2 ']' + command -v fbsplashd + '[' '!' -d /etc/splash/suspend2/ ']' + test -p /lib/splash/cache/.splash + fbsplashd --theme suspend2 --mesg Suspending... --effects fadein + TimedFBSplashCtl 'set mode silent\nprogress 0\nset message Preparing to suspend ...\nrepaint\n' ++ awk '{print $1}' + SAVED_FBSPLASH_PRINTK_LEVEL=1 + echo 2 + FBSPLASH_PROGRESS=0 + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=6553 + TimedFBSplashCtl 'progress 6553\nrepaint\n' + return 0 + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + local new_CHAIN_UP_TO ++ awk 'BEGIN{print substr("19LogoutPidgin", 1, 2)}' + new_CHAIN_UP_TO=19 + '[' -n 19 ']' + CHAIN_UP_TO=19 + bit=LogoutPidgin + vecho 1 'hibernate: [19] Executing LogoutPidgin ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[19]' Executing LogoutPidgin ... hibernate: [19] Executing LogoutPidgin ... + '[' -n '' ']' + LogoutPidgin + '[' x1 '!=' x1 ']' + '[' -z /usr/bin/purple-remote ']' + '[' '!' -x /usr/bin/purple-remote ']' + local pid i=0 ++ pidof pidgin + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + local new_CHAIN_UP_TO ++ awk 'BEGIN{print substr("20FBSplashProgress", 1, 2)}' + new_CHAIN_UP_TO=20 + '[' -n 20 ']' + CHAIN_UP_TO=20 + bit=FBSplashProgress + vecho 1 'hibernate: [20] Executing FBSplashProgress ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[20]' Executing FBSplashProgress ... hibernate: [20] Executing FBSplashProgress ... + '[' -n '' ']' + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=13106 + TimedFBSplashCtl 'progress 13106\nrepaint\n' + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + local new_CHAIN_UP_TO ++ awk 'BEGIN{print substr("30FBSplashProgress", 1, 2)}' + new_CHAIN_UP_TO=30 + '[' -n 30 ']' + CHAIN_UP_TO=30 + bit=FBSplashProgress + vecho 1 'hibernate: [30] Executing FBSplashProgress ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[30]' Executing FBSplashProgress ... hibernate: [30] Executing FBSplashProgress ... + '[' -n '' ']' + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=19659 + TimedFBSplashCtl 'progress 19659\nrepaint\n' + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + local new_CHAIN_UP_TO ++ awk 'BEGIN{print substr("30ServicesStop", 1, 2)}' + new_CHAIN_UP_TO=30 + '[' -n 30 ']' + CHAIN_UP_TO=30 + bit=ServicesStop + vecho 1 'hibernate: [30] Executing ServicesStop ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[30]' Executing ServicesStop ... hibernate: [30] Executing ServicesStop ... + '[' -n '' ']' + ServicesStop + '[' -z 1 ']' + ExecuteServices stop + local action + local services + local service + action=stop + shift + services= + ret=0 + return 0 + RESTARTED_SERVICES= + ExecuteServices stop laptop_mode + local action + local services + local service + action=stop + shift + services=laptop_mode + ret=0 + for service in '$services' + InvokeRCD laptop_mode stop + local service action tmp cmd + service=laptop_mode + action=stop + '[' -x /etc/init.d/laptop_mode ']' + cmd='/etc/init.d/laptop_mode stop' + '[' stop = start ']' + vecho 2 'Executing /etc/init.d/laptop_mode stop' + local v + v=2 + shift + '[' x = x1 ']' + '[' 2 -le 4 ']' + echo Executing /etc/init.d/laptop_mode stop Executing /etc/init.d/laptop_mode stop + /etc/init.d/laptop_mode stop * Stopping laptop_mode ... [ ok ] + '[' 0 -ne 100 ']' + RESTARTED_SERVICES='laptop_mode ' + return 0 + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + local new_CHAIN_UP_TO ++ awk 'BEGIN{print substr("40FBSplashProgress", 1, 2)}' + new_CHAIN_UP_TO=40 + '[' -n 40 ']' + CHAIN_UP_TO=40 + bit=FBSplashProgress + vecho 1 'hibernate: [40] Executing FBSplashProgress ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[40]' Executing FBSplashProgress ... hibernate: [40] Executing FBSplashProgress ... + '[' -n '' ']' + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=26212 + TimedFBSplashCtl 'progress 26212\nrepaint\n' + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + local new_CHAIN_UP_TO ++ awk 'BEGIN{print substr("45FSTypesUnmount", 1, 2)}' + new_CHAIN_UP_TO=45 + '[' -n 45 ']' + CHAIN_UP_TO=45 + bit=FSTypesUnmount + vecho 1 'hibernate: [45] Executing FSTypesUnmount ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[45]' Executing FSTypesUnmount ... hibernate: [45] Executing FSTypesUnmount ... + '[' -n '' ']' + FSTypesUnmount + local fstype + local ret + '[' -z ' smbfs nfs vfat ntfs' ']' + ret=0 + for fstype in '$FS_TYPES' + local unmounts ++ awk '($3 == "smbfs") {print $2}' /proc/mounts ++ sort -r + unmounts= + '[' -z '' ']' + continue + for fstype in '$FS_TYPES' + local unmounts ++ awk '($3 == "nfs") {print $2}' /proc/mounts ++ sort -r + unmounts= + '[' -z '' ']' + continue + for fstype in '$FS_TYPES' + local unmounts ++ awk '($3 == "vfat") {print $2}' /proc/mounts ++ sort -r + unmounts= + '[' -z '' ']' + continue + for fstype in '$FS_TYPES' + local unmounts ++ sort -r ++ awk '($3 == "ntfs") {print $2}' /proc/mounts + unmounts= + '[' -z '' ']' + continue + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + local new_CHAIN_UP_TO ++ awk 'BEGIN{print substr("50FBSplashProgress", 1, 2)}' + new_CHAIN_UP_TO=50 + '[' -n 50 ']' + CHAIN_UP_TO=50 + bit=FBSplashProgress + vecho 1 'hibernate: [50] Executing FBSplashProgress ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[50]' Executing FBSplashProgress ... hibernate: [50] Executing FBSplashProgress ... + '[' -n '' ']' + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=32765 + TimedFBSplashCtl 'progress 32765\nrepaint\n' + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + 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 + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[59]' Executing RemountXFSBootRO ... hibernate: [59] Executing RemountXFSBootRO ... + '[' -n '' ']' + RemountXFSBootRO + '[' '' = 1 ']' + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + local new_CHAIN_UP_TO ++ awk 'BEGIN{print substr("60FBSplashProgress", 1, 2)}' + new_CHAIN_UP_TO=60 + '[' -n 60 ']' + CHAIN_UP_TO=60 + bit=FBSplashProgress + vecho 1 'hibernate: [60] Executing FBSplashProgress ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[60]' Executing FBSplashProgress ... hibernate: [60] Executing FBSplashProgress ... + '[' -n '' ']' + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=39318 + TimedFBSplashCtl 'progress 39318\nrepaint\n' + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + local new_CHAIN_UP_TO ++ awk 'BEGIN{print substr("70ClockSave", 1, 2)}' + new_CHAIN_UP_TO=70 + '[' -n 70 ']' + CHAIN_UP_TO=70 + bit=ClockSave + vecho 1 'hibernate: [70] Executing ClockSave ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[70]' Executing ClockSave ... hibernate: [70] Executing ClockSave ... + '[' -n '' ']' + ClockSave + case "$DISTRIBUTION" in + /sbin/hwclock --systohc + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + local new_CHAIN_UP_TO ++ awk 'BEGIN{print substr("70FBSplashProgress", 1, 2)}' + new_CHAIN_UP_TO=70 + '[' -n 70 ']' + CHAIN_UP_TO=70 + bit=FBSplashProgress + vecho 1 'hibernate: [70] Executing FBSplashProgress ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[70]' Executing FBSplashProgress ... hibernate: [70] Executing FBSplashProgress ... + '[' -n '' ']' + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=45871 + TimedFBSplashCtl 'progress 45871\nrepaint\n' + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + local new_CHAIN_UP_TO ++ awk 'BEGIN{print substr("80FBSplashProgress", 1, 2)}' + new_CHAIN_UP_TO=80 + '[' -n 80 ']' + CHAIN_UP_TO=80 + bit=FBSplashProgress + vecho 1 'hibernate: [80] Executing FBSplashProgress ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[80]' Executing FBSplashProgress ... hibernate: [80] Executing FBSplashProgress ... + '[' -n '' ']' + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=52424 + TimedFBSplashCtl 'progress 52424\nrepaint\n' + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + 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 + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[89]' Executing SaveKernelModprobe ... 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 + '[' x = x1 ']' + '[' 3 -le 4 ']' + echo Saved /proc/sys/kernel/modprobe is /sbin/modprobe 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 '' ']' + for bit in '`SortSuspendBits`' + local new_CHAIN_UP_TO ++ awk 'BEGIN{print substr("90FBSplashProgress", 1, 2)}' + new_CHAIN_UP_TO=90 + '[' -n 90 ']' + CHAIN_UP_TO=90 + bit=FBSplashProgress + vecho 1 'hibernate: [90] Executing FBSplashProgress ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[90]' Executing FBSplashProgress ... hibernate: [90] Executing FBSplashProgress ... + '[' -n '' ']' + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=58977 + TimedFBSplashCtl 'progress 58977\nrepaint\n' + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + local new_CHAIN_UP_TO ++ awk 'BEGIN{print substr("91ModulesUnloadBlacklist", 1, 2)}' + new_CHAIN_UP_TO=91 + '[' -n 91 ']' + CHAIN_UP_TO=91 + bit=ModulesUnloadBlacklist + vecho 1 'hibernate: [91] Executing ModulesUnloadBlacklist ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[91]' Executing ModulesUnloadBlacklist ... hibernate: [91] Executing ModulesUnloadBlacklist ... + '[' -n '' ']' + ModulesUnloadBlacklist + '[' x1 = x1 ']' + CheckModuleSupport + '[' -f /proc/modules ']' + return 0 + '[' '!' -r /etc/hibernate/blacklisted-modules ']' ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' /proc/sys/kernel/osrelease + local kver=132631 + vecho 2 'Unloading blacklisted modules listed /etc/hibernate/blacklisted-modules' + local v + v=2 + shift + '[' x = x1 ']' + '[' 2 -le 4 ']' + echo Unloading blacklisted modules listed /etc/hibernate/blacklisted-modules Unloading blacklisted modules listed /etc/hibernate/blacklisted-modules + local failedmods= + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '' ']' + local deps ++ FindModuleDeps nvidia ++ Get26ModulesFile ++ awk -v module=nvidia ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '' ']' + local deps ++ FindModuleDeps acx100 ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=acx100 ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '' ']' + local deps ++ FindModuleDeps acx_pci ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=acx_pci ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '' ']' + local deps ++ FindModuleDeps hsfmodem ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=hsfmodem ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '' ']' + local deps ++ FindModuleDeps prism54 ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=prism54 ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.6.0 2.6.99' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.6.0 2.6.99 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.6.0 2.6.99' ']' ++ echo 2.6.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132608 ++ echo 2.6.99 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132707 + shift 2 + '[' 132631 -ge 132608 ']' + '[' 132631 -le 132707 ']' + return 0 + local deps ++ FindModuleDeps bcm4400 ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=bcm4400 ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.4.0 2.4.99 2.6.0 2.6.99' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.4.0 2.4.99 2.6.0 2.6.99 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.4.0 2.4.99 2.6.0 2.6.99' ']' ++ echo 2.4.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132096 ++ echo 2.4.99 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132195 + shift 2 + '[' 132631 -ge 132096 ']' + '[' 132631 -le 132195 ']' + '[' -n '2.6.0 2.6.99' ']' ++ echo 2.6.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132608 ++ echo 2.6.99 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132707 + shift 2 + '[' 132631 -ge 132608 ']' + '[' 132631 -le 132707 ']' + return 0 + local deps ++ FindModuleDeps emu10k1 ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ cat /proc/modules ++ awk -v module=emu10k1 ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.4.0 2.4.99 2.6.0 2.6.99' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.4.0 2.4.99 2.6.0 2.6.99 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.4.0 2.4.99 2.6.0 2.6.99' ']' ++ echo 2.4.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132096 ++ echo 2.4.99 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132195 + shift 2 + '[' 132631 -ge 132096 ']' + '[' 132631 -le 132195 ']' + '[' -n '2.6.0 2.6.99' ']' ++ echo 2.6.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132608 ++ echo 2.6.99 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132707 + shift 2 + '[' 132631 -ge 132608 ']' + '[' 132631 -le 132707 ']' + return 0 + local deps ++ FindModuleDeps forcedeth ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=forcedeth ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + mod=ipw2100 + use_mod_ver=1 + '[' -n '0.0 1.0.2' ']' + '[' -z 1 ']' + local modver ++ modinfo ipw2100 ++ sed -e 's/^version:[ \t]\+[^0-9]*\(.*\)$/\1/;t;d' ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + modver= + vecho 3 'Module version for ipw2100 is ' + local v + v=3 + shift + '[' x = x1 ']' + '[' 3 -le 4 ']' + echo Module version for ipw2100 is Module version for ipw2100 is + '[' -n '' ']' + local deps ++ FindModuleDeps ipw2100 ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=ipw2100 ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + mod=ipw2200 + use_mod_ver=1 + '[' -n '0.0 0.20' ']' + '[' -z 1 ']' + local modver ++ modinfo ipw2200 ++ sed -e 's/^version:[ \t]\+[^0-9]*\(.*\)$/\1/;t;d' ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + modver=66050 + vecho 3 'Module version for ipw2200 is 66050' + local v + v=3 + shift + '[' x = x1 ']' + '[' 3 -le 4 ']' + echo Module version for ipw2200 is 66050 Module version for ipw2200 is 66050 + '[' -n 66050 ']' + IsInVersionRange 66050 0.0 0.20 + local kver + kver=66050 + shift + local min_ver + local max_ver + '[' -n '0.0 0.20' ']' ++ echo 0.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' ++ echo 0.20 + max_ver=5120 + shift 2 + '[' 66050 -ge 0 ']' + '[' 66050 -le 5120 ']' + '[' -n '' ']' + return 1 + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.6.0 2.6.99' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.6.0 2.6.99 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.6.0 2.6.99' ']' ++ echo 2.6.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132608 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' ++ echo 2.6.99 + max_ver=132707 + shift 2 + '[' 132631 -ge 132608 ']' + '[' 132631 -le 132707 ']' + return 0 + local deps ++ FindModuleDeps natsemi ++ awk -v module=natsemi ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.6.0 2.6.19' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.6.0 2.6.19 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.6.0 2.6.19' ']' ++ echo 2.6.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132608 ++ echo 2.6.19 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132627 + shift 2 + '[' 132631 -ge 132608 ']' + '[' 132631 -le 132627 ']' + '[' -n '' ']' + return 1 + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.4.0 2.4.99 2.6.0 2.6.99' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.4.0 2.4.99 2.6.0 2.6.99 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.4.0 2.4.99 2.6.0 2.6.99' ']' ++ echo 2.4.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132096 ++ echo 2.4.99 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132195 + shift 2 + '[' 132631 -ge 132096 ']' + '[' 132631 -le 132195 ']' + '[' -n '2.6.0 2.6.99' ']' ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' ++ echo 2.6.0 + min_ver=132608 ++ echo 2.6.99 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132707 + shift 2 + '[' 132631 -ge 132608 ']' + '[' 132631 -le 132707 ']' + return 0 + local deps ++ FindModuleDeps rt2400 ++ awk -v module=rt2400 ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.6.0 2.6.14' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.6.0 2.6.14 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.6.0 2.6.14' ']' ++ echo 2.6.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132608 ++ echo 2.6.14 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132622 + shift 2 + '[' 132631 -ge 132608 ']' + '[' 132631 -le 132622 ']' + '[' -n '' ']' + return 1 + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.6.0 2.6.14' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.6.0 2.6.14 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.6.0 2.6.14' ']' ++ echo 2.6.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132608 ++ echo 2.6.14 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132622 + shift 2 + '[' 132631 -ge 132608 ']' + '[' 132631 -le 132622 ']' + '[' -n '' ']' + return 1 + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.6.0 2.6.14' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.6.0 2.6.14 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.6.0 2.6.14' ']' ++ echo 2.6.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132608 ++ echo 2.6.14 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132622 + shift 2 + '[' 132631 -ge 132608 ']' + '[' 132631 -le 132622 ']' + '[' -n '' ']' + return 1 + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.4.0 2.4.99' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.4.0 2.4.99 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.4.0 2.4.99' ']' ++ echo 2.4.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132096 ++ echo 2.4.99 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132195 + shift 2 + '[' 132631 -ge 132096 ']' + '[' 132631 -le 132195 ']' + '[' -n '' ']' + return 1 + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.4.0 2.4.99' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.4.0 2.4.99 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.4.0 2.4.99' ']' ++ echo 2.4.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132096 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' ++ echo 2.4.99 + max_ver=132195 + shift 2 + '[' 132631 -ge 132096 ']' + '[' 132631 -le 132195 ']' + '[' -n '' ']' + return 1 + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.4.0 2.4.99' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.4.0 2.4.99 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.4.0 2.4.99' ']' ++ echo 2.4.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132096 ++ echo 2.4.99 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132195 + shift 2 + '[' 132631 -ge 132096 ']' + '[' 132631 -le 132195 ']' + '[' -n '' ']' + return 1 + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.6.0 2.6.99' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.6.0 2.6.99 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.6.0 2.6.99' ']' ++ echo 2.6.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132608 ++ echo 2.6.99 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132707 + shift 2 + '[' 132631 -ge 132608 ']' + '[' 132631 -le 132707 ']' + return 0 + local deps ++ FindModuleDeps snd_ens1370 ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.6.0 2.6.99' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.6.0 2.6.99 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.6.0 2.6.99' ']' ++ echo 2.6.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132608 ++ echo 2.6.99 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132707 + shift 2 + '[' 132631 -ge 132608 ']' + '[' 132631 -le 132707 ']' + return 0 + local deps ++ FindModuleDeps snd_ens1371 ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=snd_ens1371 ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.6.0 2.6.99' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.6.0 2.6.99 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.6.0 2.6.99' ']' ++ echo 2.6.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132608 ++ echo 2.6.99 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132707 + shift 2 + '[' 132631 -ge 132608 ']' + '[' 132631 -le 132707 ']' + return 0 + local deps ++ FindModuleDeps snd_maestro3 ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=snd_maestro3 ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + mod=snd_bt_sco + use_mod_ver=1 + '[' -n '0.0 1.18' ']' + '[' -z 1 ']' + local modver ++ modinfo snd_bt_sco ++ sed -e 's/^version:[ \t]\+[^0-9]*\(.*\)$/\1/;t;d' ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + modver= + vecho 3 'Module version for snd_bt_sco is ' + local v + v=3 + shift + '[' x = x1 ']' + '[' 3 -le 4 ']' + echo Module version for snd_bt_sco is + '[' -n '' ']' + local deps ++ FindModuleDeps snd_bt_sco ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=snd_bt_sco ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' Module version for snd_bt_sco is ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.6.0 2.6.99' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.6.0 2.6.99 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.6.0 2.6.99' ']' ++ echo 2.6.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132608 ++ echo 2.6.99 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132707 + shift 2 + '[' 132631 -ge 132608 ']' + '[' 132631 -le 132707 ']' + return 0 + local deps ++ FindModuleDeps en1370 ++ Get26ModulesFile ++ awk -v module=en1370 ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.6.0 2.6.99' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.6.0 2.6.99 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.6.0 2.6.99' ']' ++ echo 2.6.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132608 ++ echo 2.6.99 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132707 + shift 2 + '[' 132631 -ge 132608 ']' + '[' 132631 -le 132707 ']' + return 0 + local deps ++ FindModuleDeps en1371 ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=en1371 ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.6.0 2.6.8' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.6.0 2.6.8 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.6.0 2.6.8' ']' ++ echo 2.6.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132608 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' ++ echo 2.6.8 + max_ver=132616 + shift 2 + '[' 132631 -ge 132608 ']' + '[' 132631 -le 132616 ']' + '[' -n '' ']' + return 1 + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.6.0 2.6.99' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.6.0 2.6.99 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.6.0 2.6.99' ']' ++ echo 2.6.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132608 ++ echo 2.6.99 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132707 + shift 2 + '[' 132631 -ge 132608 ']' + '[' 132631 -le 132707 ']' + return 0 + local deps ++ FindModuleDeps via_rhine ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=via_rhine ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.6.10 2.6.99' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.6.10 2.6.99 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.6.10 2.6.99' ']' ++ echo 2.6.10 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132618 ++ echo 2.6.99 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132707 + shift 2 + '[' 132631 -ge 132618 ']' + '[' 132631 -le 132707 ']' + return 0 + local deps ++ FindModuleDeps i8042 ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=i8042 ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.6.0 2.6.99' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.6.0 2.6.99 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.6.0 2.6.99' ']' ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' ++ echo 2.6.0 + min_ver=132608 ++ echo 2.6.99 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132707 + shift 2 + '[' 132631 -ge 132608 ']' + '[' 132631 -le 132707 ']' + return 0 + local deps ++ FindModuleDeps intel_mch_agp ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=intel_mch_agp ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.6.0 2.6.14' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.6.0 2.6.14 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.6.0 2.6.14' ']' ++ echo 2.6.0 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132608 ++ echo 2.6.14 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132622 + shift 2 + '[' 132631 -ge 132608 ']' + '[' 132631 -le 132622 ']' + '[' -n '' ']' + return 1 + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.6.9 2.6.22' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.6.9 2.6.22 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.6.9 2.6.22' ']' ++ echo 2.6.9 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132617 ++ echo 2.6.22 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132630 + shift 2 + '[' 132631 -ge 132617 ']' + '[' 132631 -le 132630 ']' + '[' -n '' ']' + return 1 + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '2.6.12 2.6.99' ']' + '[' -z '' ']' + IsInVersionRange 132631 2.6.12 2.6.99 + local kver + kver=132631 + shift + local min_ver + local max_ver + '[' -n '2.6.12 2.6.99' ']' ++ echo 2.6.12 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + min_ver=132620 ++ echo 2.6.99 ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' + max_ver=132707 + shift 2 + '[' 132631 -ge 132620 ']' + '[' 132631 -le 132707 ']' + return 0 + local deps ++ FindModuleDeps speedstep_smi ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=speedstep_smi ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + mod=ndiswrapper + use_mod_ver=1 + '[' -n '0.10 0.11' ']' + '[' -z 1 ']' + local modver ++ sed -e 's/^version:[ \t]\+[^0-9]*\(.*\)$/\1/;t;d' ++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' ++ modinfo ndiswrapper + modver= + vecho 3 'Module version for ndiswrapper is ' + local v + v=3 + shift + '[' x = x1 ']' + '[' 3 -le 4 ']' + echo Module version for ndiswrapper is + '[' -n '' ']' + local deps ++ FindModuleDeps ndiswrapper Module version for ndiswrapper is ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=ndiswrapper ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '' ']' + local deps ++ FindModuleDeps ath_pci ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=ath_pci ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '' ']' + local deps ++ FindModuleDeps ipw3945 ++ awk -v module=ipw3945 ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '' ']' + local deps ++ FindModuleDeps iwl3945 ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=iwl3945 ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '' ']' + local deps ++ FindModuleDeps mac80211 ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=mac80211 ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 0 -ne 0 ']' + case $mod in + '[' -n '' ']' + local deps ++ FindModuleDeps sky2 ++ Get26ModulesFile ++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease ++ awk -v module=sky2 ' function find_related_modules(mod, i, a) { modules[mod] = deps[mod] split(deps[mod], a, ",") for (i in a) { if (a[i] == "") continue if (!modules[a[i]]) { modules[a[i]] = deps[a[i]] find_related_modules(a[i]) } } } function top_sort(modules, i, j) { changed = 1 while (changed) { changed = 0 for(i in modules) { if (modules[i] == "") { print i delete modules[i] for (j in modules) { sub("^"i",", "", modules[j]) sub(","i",", ",", modules[j]) } changed = 1 } } } } BEGIN { have_module = 0 } { if ($4 != "-") deps[$1] = $4 if ($1 == module) have_module = 1 } END { if (have_module == 1) { find_related_modules(module) # puts results into "modules" array top_sort(modules) } } ' ++ cat /proc/modules + deps= + '[' -z '' ']' + continue + true + local mod vers use_mod_ver + use_mod_ver= + read mod vers + '[' 1 -ne 0 ']' + '[' -z '' ']' + break + '[' -z '' ']' + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + local new_CHAIN_UP_TO ++ awk 'BEGIN{print substr("94FBSplashProgress", 1, 2)}' + new_CHAIN_UP_TO=94 + '[' -n 94 ']' + CHAIN_UP_TO=94 + bit=FBSplashProgress + vecho 1 'hibernate: [94] Executing FBSplashProgress ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[94]' Executing FBSplashProgress ... + '[' -n '' ']' + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=65530 + TimedFBSplashCtl 'progress 65530\nrepaint\n' hibernate: [94] Executing FBSplashProgress ... + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + 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 + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[95]' Executing XHacksSuspendHook2 ... hibernate: [95] Executing XHacksSuspendHook2 ... + '[' -n '' ']' + XHacksSuspendHook2 + '[' -z 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("97ChangeToSwsuspVT", 1, 2)}' + new_CHAIN_UP_TO=97 + '[' -n 97 ']' + CHAIN_UP_TO=97 + bit=ChangeToSwsuspVT + vecho 1 'hibernate: [97] Executing ChangeToSwsuspVT ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[97]' Executing ChangeToSwsuspVT ... hibernate: [97] Executing ChangeToSwsuspVT ... + '[' -n '' ']' + ChangeToSwsuspVT + '[' -n '' ']' + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + 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 + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[98]' Executing CheckRunlevel ... hibernate: [98] Executing CheckRunlevel ... + '[' -n '' ']' + CheckRunlevel + '[' -z 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("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 + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[98]' Executing FullSpeedCPUSuspend ... hibernate: [98] Executing FullSpeedCPUSuspend ... + '[' -n '' ']' + FullSpeedCPUSuspend + local cpu ++ mktemp /tmp/tmp.hibernate.XXXXXX + HW_FULLSPEEDCPU_RESTORER=/tmp/tmp.hibernate.Oc121a + for cpu in '/sys/devices/system/cpu/*/cpufreq' + local cpunum min_freq setspeed governor i + '[' -d /sys/devices/system/cpu/cpu0/cpufreq ']' + cpunum=0/cpufreq + cpunum=0 + IsANumber 0 + case "$1" in + return 0 + eval 'done_this=$hw_cpu_0_done' ++ done_this= + '[' x = xcpudone ']' ++ cat /sys/devices/system/cpu/cpu0/cpufreq/affected_cpus + for i in '`cat $cpu/affected_cpus 2>/dev/null`' + IsANumber 0 + case "$1" in + 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=1733000 ++ 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_governor + governor=performance + cat + grep -q performance /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors + echo performance + echo 1733000 + vecho 2 'Switched to performance, with min freq at 1733000' + local v + v=2 + shift + '[' x = x1 ']' + '[' 2 -le 4 ']' + echo Switched to performance, with min freq at 1733000 + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + local new_CHAIN_UP_TO ++ awk 'BEGIN{print substr("98Swsusp2ConfigSet", 1, 2)}' Switched to performance, with min freq at 1733000 + new_CHAIN_UP_TO=98 + '[' -n 98 ']' + CHAIN_UP_TO=98 + bit=Swsusp2ConfigSet + vecho 1 'hibernate: [98] Executing Swsusp2ConfigSet ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[98]' Executing Swsusp2ConfigSet ... + '[' -n '' ']' + Swsusp2ConfigSet + '[' -n '' ']' + '[' -n '' ']' + '[' 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 '' ']' + '[' -n '' ']' + '[' -n '' ']' + Swsusp2SetupCryptoAPI + SwsuspIsAtLeastVersion 33622277 hibernate: [98] Executing Swsusp2ConfigSet ... ++ awk 'BEGIN{FS="[^0-9]"}{print($1*16777216)+($2*65536)+($3*256)+$4}' /sys/power/tuxonice/version + ver=50331648 + '[' 50331648 -ge 33622277 ']' + return 0 + SWSUSP_MODULES_LOADED= + '[' -n lzf ']' + '[' lzf '!=' none ']' + grep -q '^name.*: lzf$' /proc/crypto + '[' lzf '!=' none ']' + compression_algorithm=lzf + 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 lzf + '[' -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.jmFwAd ']' + '[' -f /tmp/tmp.hibernate.jmFwAd ']' + . /tmp/tmp.hibernate.jmFwAd ++ echo /sbin/tuxoniceui_fbsplash + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' + for bit in '`SortSuspendBits`' + local new_CHAIN_UP_TO ++ awk 'BEGIN{print substr("99DoSwsusp2", 1, 2)}' + new_CHAIN_UP_TO=99 + '[' -n 99 ']' + CHAIN_UP_TO=99 + bit=DoSwsusp2 + vecho 1 'hibernate: [99] Executing DoSwsusp2 ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[99]' Executing DoSwsusp2 ... hibernate: [99] Executing DoSwsusp2 ... + '[' -n '' ']' + DoSwsusp2 + local error + '[' -n '' ']' + '[' -z '' ']' + vecho 1 'hibernate: Activating suspend ...' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: Activating suspend ... hibernate: Activating suspend ... + SaveDmesg ++ mktemp /tmp/tmp.hibernate.XXXXXX + DMESG_ORIG=/tmp/tmp.hibernate.GSP9wc + 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.GSP9wc ']' + rm -f /tmp/tmp.hibernate.GSP9wc + return 0 + '[' -f /sys/power/tuxonice/freezer_test ']' + echo 0 + '[' -n '' ']' + return 0 + ret=0 + '[' 0 -ge 2 ']' + '[' 0 -gt 0 ']' + '[' -n '' ']' ++ SortResumeBits ++ sort -rn ++ /bin/echo -ne '19LoginPidgin\n30ServicesStart\n90ModulesLoad\n85XHacksResumeHook2\n11XHacksResumeHook1\n12FBSplashOff\n15FBSplashProgress\n20FBSplashProgress\n30FBSplashProgress\n40FBSplashProgress\n50FBSplashProgress\n60FBSplashProgress\n70FBSplashProgress\n80FBSplashProgress\n90FBSplashProgress\n95FBSplashStartResume\n70ClockRestore\n98FullSpeedCPUResume\n00RemoveSwsuspProcCruft\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 99 ']' + vecho 1 'hibernate: [98] Executing FullSpeedCPUResume ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[98]' Executing FullSpeedCPUResume ... hibernate: [98] Executing FullSpeedCPUResume ... + '[' -n '' ']' + FullSpeedCPUResume + '[' -f /tmp/tmp.hibernate.Oc121a ']' + . /tmp/tmp.hibernate.Oc121a ++ echo 800000 ++ echo performance ++ '[' -f /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed ']' + rm -f /tmp/tmp.hibernate.Oc121a + return 0 + for bit in '`SortResumeBits`' ++ awk 'BEGIN{print substr("97ChangeFromSwsuspVT", 1, 2)}' + THIS_POS=97 + '[' -z 97 ']' + bit=ChangeFromSwsuspVT + '[' 97 -gt 99 ']' + vecho 1 'hibernate: [97] Executing ChangeFromSwsuspVT ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[97]' Executing ChangeFromSwsuspVT ... hibernate: [97] Executing ChangeFromSwsuspVT ... + '[' -n '' ']' + ChangeFromSwsuspVT + '[' -n '' ']' + return 0 + for bit in '`SortResumeBits`' ++ awk 'BEGIN{print substr("95FBSplashStartResume", 1, 2)}' + THIS_POS=95 + '[' -z 95 ']' + bit=FBSplashStartResume + '[' 95 -gt 99 ']' + vecho 1 'hibernate: [95] Executing FBSplashStartResume ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[95]' Executing FBSplashStartResume ... hibernate: [95] Executing FBSplashStartResume ... + '[' -n '' ']' + FBSplashStartResume + TimedFBSplashCtl 'set tty silent 2\nset mode silent\nset theme suspend2\nrepaint\n' + TimedFBSplashCtl 'set message Reloading drivers and applications ...\nrepaint\n' + FBSPLASH_PROGRESS=0 + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=6553 + TimedFBSplashCtl 'progress 6553\nrepaint\n' + return 0 + for bit in '`SortResumeBits`' ++ 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 + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[90]' Executing ModulesLoad ... 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 + for mod in '$MOD_LOAD' + '[' auto = auto ']' + continue + return 0 + for bit in '`SortResumeBits`' ++ awk 'BEGIN{print substr("90FBSplashProgress", 1, 2)}' + THIS_POS=90 + '[' -z 90 ']' + bit=FBSplashProgress + '[' 90 -gt 99 ']' + vecho 1 'hibernate: [90] Executing FBSplashProgress ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[90]' Executing FBSplashProgress ... hibernate: [90] Executing FBSplashProgress ... + '[' -n '' ']' + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=13106 + TimedFBSplashCtl 'progress 13106\nrepaint\n' + return 0 + for bit in '`SortResumeBits`' ++ 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 + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[89]' Executing RestoreKernelModprobe ... hibernate: [89] Executing RestoreKernelModprobe ... + '[' -n '' ']' + RestoreKernelModprobe + '[' -n '' ']' + '[' -n '' ']' + return 0 + for bit in '`SortResumeBits`' ++ 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 + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[85]' Executing XHacksResumeHook2 ... hibernate: [85] Executing XHacksResumeHook2 ... + '[' -n '' ']' + XHacksResumeHook2 + '[' -z 1 ']' + return 0 + for bit in '`SortResumeBits`' ++ awk 'BEGIN{print substr("80FBSplashProgress", 1, 2)}' + THIS_POS=80 + '[' -z 80 ']' + bit=FBSplashProgress + '[' 80 -gt 99 ']' + vecho 1 'hibernate: [80] Executing FBSplashProgress ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[80]' Executing FBSplashProgress ... hibernate: [80] Executing FBSplashProgress ... + '[' -n '' ']' + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=19659 + TimedFBSplashCtl 'progress 19659\nrepaint\n' + return 0 + for bit in '`SortResumeBits`' ++ awk 'BEGIN{print substr("70FBSplashProgress", 1, 2)}' + THIS_POS=70 + '[' -z 70 ']' + bit=FBSplashProgress + '[' 70 -gt 99 ']' + vecho 1 'hibernate: [70] Executing FBSplashProgress ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[70]' Executing FBSplashProgress ... hibernate: [70] Executing FBSplashProgress ... + '[' -n '' ']' + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=26212 + TimedFBSplashCtl 'progress 26212\nrepaint\n' + return 0 + for bit in '`SortResumeBits`' ++ awk 'BEGIN{print substr("70ClockRestore", 1, 2)}' + THIS_POS=70 + '[' -z 70 ']' + bit=ClockRestore + '[' 70 -gt 99 ']' + vecho 1 'hibernate: [70] Executing ClockRestore ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[70]' Executing ClockRestore ... hibernate: [70] Executing ClockRestore ... + '[' -n '' ']' + ClockRestore + case "$DISTRIBUTION" in + /sbin/hwclock --hctosys + for bit in '`SortResumeBits`' ++ awk 'BEGIN{print substr("70ClockRestore", 1, 2)}' + THIS_POS=70 + '[' -z 70 ']' + bit=ClockRestore + '[' 70 -gt 99 ']' + vecho 1 'hibernate: [70] Executing ClockRestore ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[70]' Executing ClockRestore ... hibernate: [70] Executing ClockRestore ... + '[' -n '' ']' + ClockRestore + case "$DISTRIBUTION" in + /sbin/hwclock --hctosys + for bit in '`SortResumeBits`' ++ awk 'BEGIN{print substr("60FBSplashProgress", 1, 2)}' + THIS_POS=60 + '[' -z 60 ']' + bit=FBSplashProgress + '[' 60 -gt 99 ']' + vecho 1 'hibernate: [60] Executing FBSplashProgress ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[60]' Executing FBSplashProgress ... hibernate: [60] Executing FBSplashProgress ... + '[' -n '' ']' + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=32765 + TimedFBSplashCtl 'progress 32765\nrepaint\n' + return 0 + for bit in '`SortResumeBits`' ++ 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 + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[59]' Executing RemountXFSBootRW ... hibernate: [59] Executing RemountXFSBootRW ... + '[' -n '' ']' + RemountXFSBootRW + '[' '' = 1 ']' + for bit in '`SortResumeBits`' ++ awk 'BEGIN{print substr("50FBSplashProgress", 1, 2)}' + THIS_POS=50 + '[' -z 50 ']' + bit=FBSplashProgress + '[' 50 -gt 99 ']' + vecho 1 'hibernate: [50] Executing FBSplashProgress ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[50]' Executing FBSplashProgress ... hibernate: [50] Executing FBSplashProgress ... + '[' -n '' ']' + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=39318 + TimedFBSplashCtl 'progress 39318\nrepaint\n' + return 0 + for bit in '`SortResumeBits`' ++ awk 'BEGIN{print substr("40FBSplashProgress", 1, 2)}' + THIS_POS=40 + '[' -z 40 ']' + bit=FBSplashProgress + '[' 40 -gt 99 ']' + vecho 1 'hibernate: [40] Executing FBSplashProgress ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[40]' Executing FBSplashProgress ... hibernate: [40] Executing FBSplashProgress ... + '[' -n '' ']' + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=45871 + TimedFBSplashCtl 'progress 45871\nrepaint\n' + return 0 + for bit in '`SortResumeBits`' ++ awk 'BEGIN{print substr("30ServicesStart", 1, 2)}' + THIS_POS=30 + '[' -z 30 ']' + bit=ServicesStart + '[' 30 -gt 99 ']' + vecho 1 'hibernate: [30] Executing ServicesStart ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[30]' Executing ServicesStart ... hibernate: [30] Executing ServicesStart ... + '[' -n '' ']' + ServicesStart + '[' -z 1 ']' + ExecuteServices start laptop_mode + local action + local services + local service + action=start + shift + services=laptop_mode + ret=0 + for service in '$services' + InvokeRCD laptop_mode start + local service action tmp cmd + service=laptop_mode + action=start + '[' -x /etc/init.d/laptop_mode ']' + cmd='/etc/init.d/laptop_mode start' + '[' start = start ']' ++ echo '/etc/init.d/../rc3.d/K??laptop_mode' + tmp='/etc/init.d/../rc3.d/K??laptop_mode' + '[' -x '/etc/init.d/../rc3.d/K??laptop_mode' ']' + vecho 2 'Executing /etc/init.d/laptop_mode start' + local v + v=2 + shift + '[' x = x1 ']' + '[' 2 -le 4 ']' + echo Executing /etc/init.d/laptop_mode start Executing /etc/init.d/laptop_mode start + /etc/init.d/laptop_mode start * Starting laptop_mode ... [ ok ] + '[' 0 -ne 100 ']' + RESTARTED_SERVICES='laptop_mode laptop_mode ' + return 0 + ExecuteServices start + local action + local services + local service + action=start + shift + services= + ret=0 + return 0 + for bit in '`SortResumeBits`' ++ awk 'BEGIN{print substr("30FBSplashProgress", 1, 2)}' + THIS_POS=30 + '[' -z 30 ']' + bit=FBSplashProgress + '[' 30 -gt 99 ']' + vecho 1 'hibernate: [30] Executing FBSplashProgress ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[30]' Executing FBSplashProgress ... hibernate: [30] Executing FBSplashProgress ... + '[' -n '' ']' + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=52424 + TimedFBSplashCtl 'progress 52424\nrepaint\n' + return 0 + for bit in '`SortResumeBits`' ++ awk 'BEGIN{print substr("20FBSplashProgress", 1, 2)}' + THIS_POS=20 + '[' -z 20 ']' + bit=FBSplashProgress + '[' 20 -gt 99 ']' + vecho 1 'hibernate: [20] Executing FBSplashProgress ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[20]' Executing FBSplashProgress ... hibernate: [20] Executing FBSplashProgress ... + '[' -n '' ']' + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=58977 + TimedFBSplashCtl 'progress 58977\nrepaint\n' + return 0 + for bit in '`SortResumeBits`' ++ awk 'BEGIN{print substr("19LoginPidgin", 1, 2)}' + THIS_POS=19 + '[' -z 19 ']' + bit=LoginPidgin + '[' 19 -gt 99 ']' + vecho 1 'hibernate: [19] Executing LoginPidgin ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[19]' Executing LoginPidgin ... hibernate: [19] Executing LoginPidgin ... + '[' -n '' ']' + LoginPidgin + '[' x1 '!=' x1 ']' + '[' x1 '!=' x1 ']' + '[' -z /usr/bin/purple-remote ']' + '[' '!' -x /usr/bin/purple-remote ']' + local i=0 + : + local user dbus_session_bus_address pidgin_status purple_remote_cmd ++ eval 'echo $PIDGIN_LOGGED_OUT_SESSIONS_USER_0' +++ echo + user= ++ eval 'echo $PIDGIN_LOGGED_OUT_SESSIONS_DBUS_0' +++ echo + dbus_session_bus_address= ++ eval 'echo $PIDGIN_LOGGED_OUT_SESSIONS_STATUS_0' +++ echo + pidgin_status= ++ expr 0 + 1 + i=1 + '[' -z '' ']' + break + return 0 + for bit in '`SortResumeBits`' ++ awk 'BEGIN{print substr("15FBSplashProgress", 1, 2)}' + THIS_POS=15 + '[' -z 15 ']' + bit=FBSplashProgress + '[' 15 -gt 99 ']' + vecho 1 'hibernate: [15] Executing FBSplashProgress ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[15]' Executing FBSplashProgress ... hibernate: [15] Executing FBSplashProgress ... + '[' -n '' ']' + FBSplashProgress + '[' x1 = x1 ']' + FBSPLASH_PROGRESS=65530 + TimedFBSplashCtl 'progress 65530\nrepaint\n' + return 0 + for bit in '`SortResumeBits`' ++ awk 'BEGIN{print substr("12FBSplashOff", 1, 2)}' + THIS_POS=12 + '[' -z 12 ']' + bit=FBSplashOff + '[' 12 -gt 99 ']' + vecho 1 'hibernate: [12] Executing FBSplashOff ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[12]' Executing FBSplashOff ... hibernate: [12] Executing FBSplashOff ... + '[' -n '' ']' + FBSplashOff + TimedFBSplashCtl 'set effects fadeout\n' + TimedFBSplashCtl 'exit\n' + killall -0 fbsplashd + sleep 1 + killall -0 fbsplashd fbsplashd: nessun processo terminato + '[' -n 1 ']' + echo 1 + return 0 + for bit in '`SortResumeBits`' ++ 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 + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[11]' Executing XHacksResumeHook1 ... hibernate: [11] Executing XHacksResumeHook1 ... + '[' -n '' ']' + XHacksResumeHook1 + '[' -n 1 ']' + XHacksResume + '[' x = x1 ']' + '[' -n '' ']' + '[' -n 3 ']' + vecho 3 'xhacks: changing console back to 3' + local v + v=3 + shift + '[' x = x1 ']' + '[' 3 -le 4 ']' + echo xhacks: changing console back to 3 xhacks: changing console back to 3 + chvt 3 + return 0 + for bit in '`SortResumeBits`' ++ awk 'BEGIN{print substr("11Swsusp2CleanupFilewriter", 1, 2)}' + THIS_POS=11 + '[' -z 11 ']' + bit=Swsusp2CleanupFilewriter + '[' 11 -gt 99 ']' + vecho 1 'hibernate: [11] Executing Swsusp2CleanupFilewriter ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[11]' Executing Swsusp2CleanupFilewriter ... hibernate: [11] Executing Swsusp2CleanupFilewriter ... + '[' -n '' ']' + Swsusp2CleanupFilewriter + rm -f /var/run/suspend2_filewriter_image_exists + for bit in '`SortResumeBits`' ++ 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 + '[' 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 99 ']' + 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 5864 + case "$1" in + return 0 + '[' 5864 -eq 5864 ']' + rm -f /var/run/hibernate-script.pid + return 0 + for bit in '`SortResumeBits`' ++ awk 'BEGIN{print substr("00RemoveSwsuspProcCruft", 1, 2)}' + THIS_POS=00 + '[' -z 00 ']' + bit=RemoveSwsuspProcCruft + '[' 00 -gt 99 ']' + vecho 1 'hibernate: [00] Executing RemoveSwsuspProcCruft ... ' + local v + v=1 + shift + '[' x = x1 ']' + '[' 1 -le 4 ']' + echo hibernate: '[00]' Executing RemoveSwsuspProcCruft ... hibernate: [00] Executing RemoveSwsuspProcCruft ... + '[' -n '' ']' + RemoveSwsuspProcCruft + '[' -f /tmp/tmp.hibernate.jmFwAd ']' + rm -f /tmp/tmp.hibernate.jmFwAd + return 0 + return 0 + eval 'EXIT_CODE=${PIPESTATUS[0]}' ++ EXIT_CODE=0 + PluginTermination + local i + for i in '$TERMINATION_HANDLERS' + Swsusp2Termination + return 0 + return 0 ++ date + tee -a -i /var/log/hibernate.log + echo 'Resumed at sab' nov 3 15:20:09 CET 2007 + exit 0