Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 134938 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]
debug-busy
debug-busy (text/plain), 141.16 KB, created by
Laurento Frittella (mrfree)
on 2007-11-01 19:09:08 UTC
(
hide
)
Description:
debug-busy
Filename:
MIME Type:
Creator:
Laurento Frittella (mrfree)
Created:
2007-11-01 19:09:08 UTC
Size:
141.16 KB
patch
obsolete
>hibernate: Trying method in suspend2.conf... >hibernate: Trying method in disk.conf... >hibernate: Trying method in ususpend-disk.conf... >hibernate: Including configuration from common.conf >Using '/etc/init.d' as init.d directory. >hibernate: Trying method in sysfs-disk.conf... >hibernate: Including configuration from common.conf >++ date >+ tee -a -i /var/log/hibernate.log >+ echo 'Starting suspend at Thu' Nov 1 20:03:11 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 >++ /bin/echo -ne '91ModulesUnloadBlacklist\n99DoSysfsPowerStateSuspend\n10EnsureSysfsPowerStateCapable\n19LogoutPidgin\n30ServicesStop\n91ModulesUnloadBlacklist\n45FSTypesUnmount\n95XHacksSuspendHook2\n11XHacksSuspendHook1\n94FBSplashProgress\n90FBSplashProgress\n80FBSplashProgress\n70FBSplashProgress\n60FBSplashProgress\n50FBSplashProgress\n40FBSplashProgress\n30FBSplashProgress\n20FBSplashProgress\n12FBSplashStartSuspend\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 >+ tee -a -i /var/log/hibernate.log >hibernate: [01] Executing CheckLastResume ... >+ now=1193943791 >+ '[' 1193943791 -gt 1193943741 ']' >+ 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 20324 >+ 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("10EnsureSysfsPowerStateCapable", 1, 2)}' >+ new_CHAIN_UP_TO=10 >+ '[' -n 10 ']' >+ CHAIN_UP_TO=10 >+ bit=EnsureSysfsPowerStateCapable >+ vecho 1 'hibernate: [10] Executing EnsureSysfsPowerStateCapable ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate: '[10]' Executing EnsureSysfsPowerStateCapable ... >hibernate: [10] Executing EnsureSysfsPowerStateCapable ... >+ '[' -n '' ']' >+ EnsureSysfsPowerStateCapable >+ test -f /sys/power/state >+ grep -q disk /sys/power/state >+ IsBadPPCKernel disk >+ '[' disk '!=' mem ']' >+ return 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("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=7 >+ '[' x1 = x1 ']' >+ local dest_vt >+ '[' -z '' ']' >+ dest_vt=15 >+ vecho 3 'xhacks: changing console from 7 to 15' >+ local v >+ v=3 >+ shift >+ '[' x = x1 ']' >+ '[' 3 -le 4 ']' >+ echo xhacks: changing console from 7 to 15 >xhacks: changing console from 7 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 ... >+ '[' -n '' ']' >+ LogoutPidgin >+ '[' x1 '!=' x1 ']' >+ '[' -z /usr/bin/purple-remote ']' >+ '[' '!' -x /usr/bin/purple-remote ']' >+ local pid i=0 >++ pidof pidgin >hibernate: [19] Executing LogoutPidgin ... >+ for pid in '`pidof pidgin`' >+ local user dbus_session_bus_address pidgin_status saved_status_id status_type purple_remote_cmd >++ get_env_var_of_process 4921 USER >++ local pid=4921 envvar=USER >++ sed -ne 's/^USER=\(.*\)$/\1/p' >++ tr '\0' '\n' >+ user=mrfree >++ get_env_var_of_process 4921 DBUS_SESSION_BUS_ADDRESS >++ local pid=4921 envvar=DBUS_SESSION_BUS_ADDRESS >++ tr '\0' '\n' >++ sed -ne 's/^DBUS_SESSION_BUS_ADDRESS=\(.*\)$/\1/p' >+ dbus_session_bus_address=unix:abstract=/tmp/dbus-2HgbPa3kUV,guid=fc0722d39e3b460c03340c004729a2a1 >+ vecho 2 'Saving status of mrfree'\''s Pidgin using D-Bus session bus address unix:abstract=/tmp/dbus-2HgbPa3kUV,guid=fc0722d39e3b460c03340c004729a2a1' >+ local v >+ v=2 >+ shift >+ '[' x = x1 ']' >+ '[' 2 -le 4 ']' >+ echo Saving status of 'mrfree'\''s' Pidgin using D-Bus session bus address unix:abstract=/tmp/dbus-2HgbPa3kUV,guid=fc0722d39e3b460c03340c004729a2a1 >++ DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-2HgbPa3kUV,guid=fc0722d39e3b460c03340c004729a2a1 >++ su mrfree -c '/usr/bin/purple-remote '\''getstatus'\''' >Saving status of mrfree's Pidgin using D-Bus session bus address unix:abstract=/tmp/dbus-2HgbPa3kUV,guid=fc0722d39e3b460c03340c004729a2a1 >+ pidgin_status=available >+ eval 'PIDGIN_LOGGED_OUT_SESSIONS_USER_0='\''mrfree'\''' >++ PIDGIN_LOGGED_OUT_SESSIONS_USER_0=mrfree >+ eval 'PIDGIN_LOGGED_OUT_SESSIONS_DBUS_0='\''unix:abstract=/tmp/dbus-2HgbPa3kUV,guid=fc0722d39e3b460c03340c004729a2a1'\''' >++ PIDGIN_LOGGED_OUT_SESSIONS_DBUS_0=unix:abstract=/tmp/dbus-2HgbPa3kUV,guid=fc0722d39e3b460c03340c004729a2a1 >+ eval 'PIDGIN_LOGGED_OUT_SESSIONS_STATUS_0='\''available'\''' >++ PIDGIN_LOGGED_OUT_SESSIONS_STATUS_0=available >++ expr 0 + 1 >+ i=1 >+ purple_remote_cmd='setstatus?status=offline' >+ '[' -n '' ']' >+ vecho 2 'Logging out mrfree'\''s Pidgin using D-Bus session bus address unix:abstract=/tmp/dbus-2HgbPa3kUV,guid=fc0722d39e3b460c03340c004729a2a1' >+ local v >+ v=2 >+ shift >+ '[' x = x1 ']' >+ '[' 2 -le 4 ']' >+ echo Logging out 'mrfree'\''s' Pidgin using D-Bus session bus address unix:abstract=/tmp/dbus-2HgbPa3kUV,guid=fc0722d39e3b460c03340c004729a2a1 >+ DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-2HgbPa3kUV,guid=fc0722d39e3b460c03340c004729a2a1 >+ su mrfree -c '/usr/bin/purple-remote '\''setstatus?status=offline'\''' >Logging out mrfree's Pidgin using D-Bus session bus address unix:abstract=/tmp/dbus-2HgbPa3kUV,guid=fc0722d39e3b460c03340c004729a2a1 >+ 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 ... >+ '[' -n '' ']' >+ FBSplashProgress >+ '[' x1 = x1 ']' >+ FBSPLASH_PROGRESS=13106 >+ TimedFBSplashCtl 'progress 13106\nrepaint\n' >hibernate: [20] 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("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 ... >+ '[' -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)}' >hibernate: [30] Executing FBSplashProgress ... >+ 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 ... >+ '[' -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 >+ /etc/init.d/laptop_mode stop >hibernate: [30] Executing ServicesStop ... >Executing /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 ... >+ '[' -n '' ']' >+ FBSplashProgress >+ '[' x1 = x1 ']' >+ FBSPLASH_PROGRESS=26212 >+ TimedFBSplashCtl 'progress 26212\nrepaint\n' >hibernate: [40] 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("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 ... >+ '[' -n '' ']' >+ FSTypesUnmount >+ local fstype >+ local ret >+ '[' -z ' smbfs nfs vfat ntfs smbfs nfs vfat ntfs' ']' >+ ret=0 >+ for fstype in '$FS_TYPES' >+ local unmounts >++ sort -r >hibernate: [45] Executing FSTypesUnmount ... >++ awk '($3 == "smbfs") {print $2}' /proc/mounts >+ 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 >++ awk '($3 == "ntfs") {print $2}' /proc/mounts >++ sort -r >+ unmounts= >+ '[' -z '' ']' >+ continue >+ 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 >++ sort -r >++ awk '($3 == "nfs") {print $2}' /proc/mounts >+ 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 >++ awk '($3 == "ntfs") {print $2}' /proc/mounts >++ sort -r >+ 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("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 >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ 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) > } >} > ' >++ 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 >++ 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) > } >} > ' >++ 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 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 >++ 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 '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 emu10k1 >++ awk -v module=emu++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >{ > 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 forcedeth >++ Get26ModulesFile >++ 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) > } >} > ' >++ 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 >+ 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 >+ '[' -n '' ']' >+ local deps >Module version for ipw2100 is >++ 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 >+ '[' -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 >Module version for ipw2200 is 66050 >++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' >+ min_ver=0 >++ echo 0.20 >++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' >+ 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 >++ 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 natsemi >++ Get26ModulesFile >++ 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) > } >} > ' >++ 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' ']' >++ 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 rt2400 >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ 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) > } >} > ' >++ 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 >++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' >++ echo 2.6.14 >+ 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 >++ 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.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 >++ awk -v module=snd_ens1370 ' >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_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 >++ 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 >++ 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 en1370 >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ 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) > } >} > ' >++ 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' ']' >++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' >++ echo 2.6.0 >+ min_ver=132608 >++ echo 2.6.8 >++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' >+ 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 >++ 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) > } >} > ' >++ 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.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 >++ 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) > } >} > ' >++ 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 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 >++ modinfo ndiswrapper >++ 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 ndiswrapper is ' >+ local v >+ v=3 >+ shift >+ '[' x = x1 ']' >+ '[' 3 -le 4 ']' >+ echo Module version for ndiswrapper is >+ '[' -n '' ']' >+ local deps >Module version for ndiswrapper is >++ FindModuleDeps ndiswrapper >++ 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 >++ 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) > } >} > ' >++ 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 ipw3945 >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ 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) > } >} > ' >++ 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("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 ... >+ '[' -n '' ']' >+ ModulesUnloadBlacklist >+ '[' x1 = x1 ']' >+ CheckModuleSupport >+ '[' -f /proc/modules ']' >+ return 0 >+ '[' '!' -r /etc/hibernate/blacklisted-modules ']' >hibernate: [91] Executing ModulesUnloadBlacklist ... >++ 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 >+ 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 >Unloading blacklisted modules listed /etc/hibernate/blacklisted-modules >+ '[' 0 -ne 0 ']' >+ case $mod in >+ '[' -n '' ']' >+ local deps >++ FindModuleDeps nvidia >++ 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) > } >} > ' >++ 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 '' ']' >+ 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 >++ 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) > } >} > ' >++ 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.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 emu10k1 >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ 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) > } >} > ' >++ 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' ']' >++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' >++ echo 2.4.0 >+ 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 forcedeth >++ Get26ModulesFile >++ 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) > } >} > ' >++ 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 >+ 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 >+ '[' -n '' ']' >+ local deps >Module version for ipw2100 is >++ 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 >+ '[' -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 >Module version for ipw2200 is 66050 >++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' >+ min_ver=0 >++ echo 0.20 >++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' >+ 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 >++ 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 natsemi >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ 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) > } >} > ' >++ 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' ']' >++ 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 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' ']' >++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' >++ echo 2.6.0 >+ 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 >++ 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' ']' >++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' >++ echo 2.4.0 >+ 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' ']' >++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' >++ echo 2.4.0 >+ 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 >++ awk -v module=snd_ens1370 ' >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.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 >++ sed -e 's/^version:[ \t]\+[^0-9]*\(.*\)$/\1/;t;d' >++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' >++ modinfo snd_bt_sco >+ 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 >++ 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 >++ 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 en1370 >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ 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) > } >} > ' >++ 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 >++ echo 2.6.8 >++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' >+ 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 >++ 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) > } >} > ' >++ 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.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' ']' >++ 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 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' ']' >++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' >++ echo 2.6.12 >+ 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 >++ 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) > } >} > ' >++ 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 >+ mod=ndiswrapper >+ use_mod_ver=1 >+ '[' -n '0.10 0.11' ']' >+ '[' -z 1 ']' >+ local modver >++ modinfo ndiswrapper >++ 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 ndiswrapper is ' >+ local v >+ v=3 >+ shift >+ '[' x = x1 ']' >+ '[' 3 -le 4 ']' >+ echo Module version for ndiswrapper is >+ '[' -n '' ']' >+ local deps >Module version for ndiswrapper is >++ FindModuleDeps ndiswrapper >++ 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 >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ 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) > } >} > ' >++ 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 >++ 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) > } >} > ' >++ 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 '' ']' >+ 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 >++ 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) > } >} > ' >++ 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 >+ '[' 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 ... >+ '[' -n '' ']' >+ XHacksSuspendHook2 >+ '[' -z 1 ']' >+ return 0 >+ ret=0 >+ '[' 0 -ge 2 ']' >+ '[' 0 -gt 0 ']' >+ '[' -n '' ']' >+ for bit in '`SortSuspendBits`' >+ local new_CHAIN_UP_TO >hibernate: [95] Executing XHacksSuspendHook2 ... >++ 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 ... >+ '[' -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("99DoSysfsPowerStateSuspend", 1, 2)}' >hibernate: [98] Executing CheckRunlevel ... >+ new_CHAIN_UP_TO=99 >+ '[' -n 99 ']' >+ CHAIN_UP_TO=99 >+ bit=DoSysfsPowerStateSuspend >+ vecho 1 'hibernate: [99] Executing DoSysfsPowerStateSuspend ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate: '[99]' Executing DoSysfsPowerStateSuspend ... >+ '[' -n '' ']' >+ DoSysfsPowerStateSuspend >+ '[' -z '' ']' >+ vecho 1 'hibernate: Activating sysfs power state disk ...' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate: Activating sysfs power state disk ... >+ '[' -n '' ']' >+ /bin/echo -n disk >/bin/echo: write error: Device or resource busy >hibernate: [99] Executing DoSysfsPowerStateSuspend ... >hibernate: Activating sysfs power state disk ... >+ return 0 >+ ret=0 >+ '[' 0 -ge 2 ']' >+ '[' 0 -gt 0 ']' >+ '[' -n '' ']' >++ SortResumeBits >++ sort -rn >++ /bin/echo -ne '70ClockRestore\n19LoginPidgin\n30ServicesStart\n90ModulesLoad\n85XHacksResumeHook2\n11XHacksResumeHook1\n12FBSplashOff\n15FBSplashProgress\n20FBSplashProgress\n30FBSplashProgress\n40FBSplashProgress\n50FBSplashProgress\n60FBSplashProgress\n70FBSplashProgress\n80FBSplashProgress\n90FBSplashProgress\n95FBSplashStartResume\n70ClockRestore\n59RemountXFSBootRW\n89RestoreKernelModprobe\n01NoteLastResume\n01LockFilePut\n' >+ 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 ... >+ '[' -n '' ']' >+ FBSplashStartResume >+ TimedFBSplashCtl 'set tty silent 2\nset mode silent\nset theme suspend2\nrepaint\n' >hibernate: [95] Executing FBSplashStartResume ... >+ 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 ... >+ '[' -n '' ']' >+ ModulesLoad >+ '[' -z ' auto 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 >+ for mod in '$MOD_LOAD' >+ '[' auto = auto ']' >+ continue >+ return 0 >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("90FBSplashProgress", 1, 2)}' >hibernate: [90] Executing ModulesLoad ... >+ 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 ... >+ '[' -n '' ']' >+ FBSplashProgress >+ '[' x1 = x1 ']' >+ FBSPLASH_PROGRESS=13106 >+ TimedFBSplashCtl 'progress 13106\nrepaint\n' >hibernate: [90] Executing FBSplashProgress ... >+ 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 ... >+ '[' -n '' ']' >+ RestoreKernelModprobe >+ '[' -n '' ']' >+ '[' -n '' ']' >+ return 0 >+ for bit in '`SortResumeBits`' >hibernate: [89] Executing RestoreKernelModprobe ... >++ 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 ... >+ '[' -n '' ']' >+ XHacksResumeHook2 >+ '[' -z 1 ']' >+ return 0 >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("80FBSplashProgress", 1, 2)}' >hibernate: [85] Executing XHacksResumeHook2 ... >+ 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 ... >+ '[' -n '' ']' >+ FBSplashProgress >+ '[' x1 = x1 ']' >+ FBSPLASH_PROGRESS=19659 >+ TimedFBSplashCtl 'progress 19659\nrepaint\n' >hibernate: [80] Executing FBSplashProgress ... >+ 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 ... >+ '[' -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)}' >hibernate: [70] Executing FBSplashProgress ... >+ 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 ... >+ '[' -n '' ']' >+ ClockRestore >+ case "$DISTRIBUTION" in >+ /sbin/hwclock --hctosys >hibernate: [70] Executing ClockRestore ... >+ 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 ... >+ '[' -n '' ']' >+ ClockRestore >+ case "$DISTRIBUTION" in >+ /sbin/hwclock --hctosys >hibernate: [70] Executing ClockRestore ... >+ 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 ... >+ '[' -n '' ']' >+ FBSplashProgress >+ '[' x1 = x1 ']' >+ FBSPLASH_PROGRESS=32765 >+ TimedFBSplashCtl 'progress 32765\nrepaint\n' >hibernate: [60] Executing FBSplashProgress ... >+ 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 mrfree >+ user=mrfree >++ eval 'echo $PIDGIN_LOGGED_OUT_SESSIONS_DBUS_0' >+++ echo unix:abstract=/tmp/dbus-2HgbPa3kUV,guid=fc0722d39e3b460c03340c004729a2a1 >+ dbus_session_bus_address=unix:abstract=/tmp/dbus-2HgbPa3kUV,guid=fc0722d39e3b460c03340c004729a2a1 >++ eval 'echo $PIDGIN_LOGGED_OUT_SESSIONS_STATUS_0' >+++ echo available >+ pidgin_status=available >++ expr 0 + 1 >+ i=1 >+ '[' -z mrfree ']' >+ purple_remote_cmd='setstatus?status=available' >+ '[' -n '' ']' >+ vecho 2 'Logging back (to status available) mrfree'\''s Pidgin using D-Bus session bus address unix:abstract=/tmp/dbus-2HgbPa3kUV,guid=fc0722d39e3b460c03340c004729a2a1' >+ local v >+ v=2 >+ shift >+ '[' x = x1 ']' >+ '[' 2 -le 4 ']' >+ echo Logging back '(to' status 'available)' 'mrfree'\''s' Pidgin using D-Bus session bus address unix:abstract=/tmp/dbus-2HgbPa3kUV,guid=fc0722d39e3b460c03340c004729a2a1 >Logging back (to status available) mrfree's Pidgin using D-Bus session bus address unix:abstract=/tmp/dbus-2HgbPa3kUV,guid=fc0722d39e3b460c03340c004729a2a1 >+ DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-2HgbPa3kUV,guid=fc0722d39e3b460c03340c004729a2a1 >+ su mrfree -c '/usr/bin/purple-remote '\''setstatus?status=available'\''' >+ : >+ local user dbus_session_bus_address pidgin_status purple_remote_cmd >++ eval 'echo $PIDGIN_LOGGED_OUT_SESSIONS_USER_1' >+++ echo >+ user= >++ eval 'echo $PIDGIN_LOGGED_OUT_SESSIONS_DBUS_1' >+++ echo >+ dbus_session_bus_address= >++ eval 'echo $PIDGIN_LOGGED_OUT_SESSIONS_STATUS_1' >+++ echo >+ pidgin_status= >++ expr 1 + 1 >+ i=2 >+ '[' -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: no process killed >+ '[' -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 7 ']' >+ vecho 3 'xhacks: changing console back to 7' >+ local v >+ v=3 >+ shift >+ '[' x = x1 ']' >+ '[' 3 -le 4 ']' >+ echo xhacks: changing console back to 7 >xhacks: changing console back to 7 >+ chvt 7 >+ return 0 >+ 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 20324 >+ case "$1" in >+ return 0 >+ '[' 20324 -eq 20324 ']' >+ rm -f /var/run/hibernate-script.pid >+ 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 >+ echo 'Resumed at Thu' Nov 1 20:03:17 CET 2007 >+ tee -a -i /var/log/hibernate.log >+ exit 0
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