Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 108901 Details for
Bug 164773
sys-power/hibernate-script-1.94-r3 - vbetool broken
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
hibernate-ram stderr (reverted vbetool scriptlet)
hibernate.err (text/plain), 62.67 KB, created by
Raymond Lewis Rebbeck
on 2007-02-02 00:05:38 UTC
(
hide
)
Description:
hibernate-ram stderr (reverted vbetool scriptlet)
Filename:
MIME Type:
Creator:
Raymond Lewis Rebbeck
Created:
2007-02-02 00:05:38 UTC
Size:
62.67 KB
patch
obsolete
>++ date >+ echo 'Starting suspend at Fri' Feb 2 10:31:33 CST 2007 >+ tee -a -i /var/log/hibernate.log >+ EXIT_CODE=0 >+ '[' 'tee -a -i /var/log/hibernate.log' = cat ']' >+ '[' -n 1 ']' >+ DoWork >+ trap ctrlc_handler INT HUP >+ local ret >+ local CHAIN_UP_TO >+ local bit >+ CHAIN_UP_TO=0 >++ SortSuspendBits >++ /bin/echo -ne '97VbetoolSaveState\n95XHacksSuspendHook2\n11XHacksSuspendHook1\n91ModulesUnloadBlacklist\n99DoSysfsPowerStateSuspend\n10EnsureSysfsPowerStateCapable\n59RemountXFSBootRO\n01NewKernelFileCheck\n89SaveKernelModprobe\n98CheckRunlevel\n01CheckRunlevel\n01CheckLastResume\n01LockFileGet\n' >++ sort -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-ram: [01] Executing CheckLastResume ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[01]' Executing CheckLastResume ... >+ '[' -n '' ']' >+ CheckLastResume >+ '[' -f /var/run/hibernate-last-resume ']' >+ local last_resume now >+ read last_resume >++ date +%s >+ now=1170374493 >+ '[' 1170374493 -gt 1170374453 ']' >+ 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-ram: [01] Executing CheckRunlevel ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[01]' Executing CheckRunlevel ... >+ '[' -n '' ']' >+ CheckRunlevel >+ '[' -z '' ']' >++ /sbin/runlevel >+ tee -a -i /var/log/hibernate.log >++ 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-ram: [01] Executing LockFileGet ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[01]' Executing LockFileGet ... >+ '[' -n '' ']' >+ LockFileGet >+ local other_pid >+ '[' -f /var/run/hibernate-script.pid ']' >+ echo 28826 >+ 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-ram: [01] Executing NewKernelFileCheck ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[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-ram: [10] Executing EnsureSysfsPowerStateCapable ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[10]' Executing EnsureSysfsPowerStateCapable ... >+ '[' -n '' ']' >+ EnsureSysfsPowerStateCapable >+ test -f /sys/power/state >+ grep -q mem /sys/power/state >+ IsBadPPCKernel mem >+ '[' mem '!=' mem ']' >+ case `arch` in >++ arch >+ 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-ram: [11] Executing XHacksSuspendHook1 ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[11]' Executing XHacksSuspendHook1 ... >+ '[' -n '' ']' >+ XHacksSuspendHook1 >+ '[' x = x1 ']' >+ '[' x = x1 ']' >+ '[' -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-ram: [59] Executing RemountXFSBootRO ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[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("89SaveKernelModprobe", 1, 2)}' >+ new_CHAIN_UP_TO=89 >+ '[' -n 89 ']' >+ CHAIN_UP_TO=89 >+ bit=SaveKernelModprobe >+ vecho 1 'hibernate-ram: [89] Executing SaveKernelModprobe ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[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 >+ 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("91ModulesUnloadBlacklist", 1, 2)}' >+ new_CHAIN_UP_TO=91 >+ '[' -n 91 ']' >+ CHAIN_UP_TO=91 >+ bit=ModulesUnloadBlacklist >+ vecho 1 'hibernate-ram: [91] Executing ModulesUnloadBlacklist ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[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=132626 >+ 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 >+ '[' 0 -ne 0 ']' >+ case $mod in >+ '[' -n '' ']' >+ local deps >++ FindModuleDeps nvidia >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ cat /proc/modules >++ 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) > } >} > ' >+ 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 >++ cat /proc/modules >++ 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) > } >} > ' >+ 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 >++ cat /proc/modules >++ 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) > } >} > ' >+ 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 >++ cat /proc/modules >++ 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) > } >} > ' >+ 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 >++ cat /proc/modules >++ 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) > } >} > ' >+ 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 132626 2.6.0 2.6.99 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132608 ']' >+ '[' 132626 -le 132707 ']' >+ return 0 >+ local deps >++ FindModuleDeps bcm4400 >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ cat /proc/modules >++ 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) > } >} > ' >+ 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 132626 2.4.0 2.4.99 2.6.0 2.6.99 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132096 ']' >+ '[' 132626 -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 >+ '[' 132626 -ge 132608 ']' >+ '[' 132626 -le 132707 ']' >+ return 0 >+ local deps >++ FindModuleDeps emu10k1 >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ cat /proc/modules >++ awk -v module=emu10k1 ' >function find_related_modules(mod, i, a) { > modules[mod] = deps[mod] > split(deps[mod], a, ",") > for (i in a) { > if (a[i] == "") continue > if (!modules[a[i]]) { > modules[a[i]] = deps[a[i]] > find_related_modules(a[i]) > } > } >} > >function top_sort(modules, i, j) { > changed = 1 > while (changed) { > changed = 0 > for(i in modules) { > if (modules[i] == "") { > print i > delete modules[i] > for (j in modules) { > sub("^"i",", "", modules[j]) > sub(","i",", ",", modules[j]) > } > changed = 1 > } > } > } >} > >BEGIN { > have_module = 0 >} > >{ > if ($4 != "-") deps[$1] = $4 > if ($1 == module) have_module = 1 >} > >END { > if (have_module == 1) { > find_related_modules(module) # puts results into "modules" array > top_sort(modules) > } >} > ' >+ deps= >+ '[' -z '' ']' >+ continue >+ true >+ local mod vers use_mod_ver >+ use_mod_ver= >+ read mod vers >+ '[' 0 -ne 0 ']' >+ case $mod in >+ '[' -n '2.4.0 2.4.99 2.6.0 2.6.99' ']' >+ '[' -z '' ']' >+ IsInVersionRange 132626 2.4.0 2.4.99 2.6.0 2.6.99 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132096 ']' >+ '[' 132626 -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 >+ '[' 132626 -ge 132608 ']' >+ '[' 132626 -le 132707 ']' >+ return 0 >+ local deps >++ FindModuleDeps forcedeth >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ cat /proc/modules >++ 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) > } >} > ' >+ 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 >++ FindModuleDeps ipw2100 >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ cat /proc/modules >++ 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) > } >} > ' >+ 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=65794 >+ vecho 3 'Module version for ipw2200 is 65794' >+ local v >+ v=3 >+ shift >+ '[' x = x1 ']' >+ '[' 3 -le 4 ']' >+ echo Module version for ipw2200 is 65794 >+ '[' -n 65794 ']' >+ IsInVersionRange 65794 0.0 0.20 >+ local kver >+ kver=65794 >+ shift >+ local min_ver >+ local max_ver >+ '[' -n '0.0 0.20' ']' >++ echo 0.0 >++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' >+ min_ver=0 >++ echo 0.20 >++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' >+ max_ver=5120 >+ shift 2 >+ '[' 65794 -ge 0 ']' >+ '[' 65794 -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 132626 2.6.0 2.6.99 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132608 ']' >+ '[' 132626 -le 132707 ']' >+ return 0 >+ local deps >++ FindModuleDeps natsemi >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ cat /proc/modules >++ 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) > } >} > ' >+ 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 132626 2.6.0 2.6.99 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132608 ']' >+ '[' 132626 -le 132707 ']' >+ return 0 >+ local deps >++ FindModuleDeps psmouse >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ cat /proc/modules >++ awk -v module=psmouse ' >function find_related_modules(mod, i, a) { > modules[mod] = deps[mod] > split(deps[mod], a, ",") > for (i in a) { > if (a[i] == "") continue > if (!modules[a[i]]) { > modules[a[i]] = deps[a[i]] > find_related_modules(a[i]) > } > } >} > >function top_sort(modules, i, j) { > changed = 1 > while (changed) { > changed = 0 > for(i in modules) { > if (modules[i] == "") { > print i > delete modules[i] > for (j in modules) { > sub("^"i",", "", modules[j]) > sub(","i",", ",", modules[j]) > } > changed = 1 > } > } > } >} > >BEGIN { > have_module = 0 >} > >{ > if ($4 != "-") deps[$1] = $4 > if ($1 == module) have_module = 1 >} > >END { > if (have_module == 1) { > find_related_modules(module) # puts results into "modules" array > top_sort(modules) > } >} > ' >+ deps= >+ '[' -z '' ']' >+ continue >+ true >+ local mod vers use_mod_ver >+ use_mod_ver= >+ read mod vers >+ '[' 0 -ne 0 ']' >+ case $mod in >+ '[' -n '2.4.0 2.4.99 2.6.0 2.6.99' ']' >+ '[' -z '' ']' >+ IsInVersionRange 132626 2.4.0 2.4.99 2.6.0 2.6.99 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132096 ']' >+ '[' 132626 -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 >+ '[' 132626 -ge 132608 ']' >+ '[' 132626 -le 132707 ']' >+ return 0 >+ local deps >++ FindModuleDeps rt2400 >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ cat /proc/modules >++ 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) > } >} > ' >+ 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 132626 2.6.0 2.6.14 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132608 ']' >+ '[' 132626 -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 132626 2.6.0 2.6.14 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132608 ']' >+ '[' 132626 -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 132626 2.6.0 2.6.14 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132608 ']' >+ '[' 132626 -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 132626 2.4.0 2.4.99 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132096 ']' >+ '[' 132626 -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 132626 2.4.0 2.4.99 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132096 ']' >+ '[' 132626 -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 132626 2.4.0 2.4.99 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132096 ']' >+ '[' 132626 -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 132626 2.6.0 2.6.99 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132608 ']' >+ '[' 132626 -le 132707 ']' >+ return 0 >+ local deps >++ FindModuleDeps snd_ens1370 >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ cat /proc/modules >++ 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) > } >} > ' >+ 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 132626 2.6.0 2.6.99 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132608 ']' >+ '[' 132626 -le 132707 ']' >+ return 0 >+ local deps >++ FindModuleDeps snd_ens1371 >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ cat /proc/modules >++ 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) > } >} > ' >+ 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 132626 2.6.0 2.6.99 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132608 ']' >+ '[' 132626 -le 132707 ']' >+ return 0 >+ local deps >++ FindModuleDeps snd_maestro3 >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ cat /proc/modules >++ 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) > } >} > ' >+ 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 132626 2.6.0 2.6.99 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132608 ']' >+ '[' 132626 -le 132707 ']' >+ return 0 >+ local deps >++ FindModuleDeps snd_bt_sco >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ awk -v module=snd_bt_sco ' >function find_related_modules(mod, i, a) { > modules[mod] = deps[mod] > split(deps[mod], a, ",") > for (i in a) { > if (a[i] == "") continue > if (!modules[a[i]]) { > modules[a[i]] = deps[a[i]] > find_related_modules(a[i]) > } > } >} > >function top_sort(modules, i, j) { > changed = 1 > while (changed) { > changed = 0 > for(i in modules) { > if (modules[i] == "") { > print i > delete modules[i] > for (j in modules) { > sub("^"i",", "", modules[j]) > sub(","i",", ",", modules[j]) > } > changed = 1 > } > } > } >} > >BEGIN { > have_module = 0 >} > >{ > if ($4 != "-") deps[$1] = $4 > if ($1 == module) have_module = 1 >} > >END { > if (have_module == 1) { > find_related_modules(module) # puts results into "modules" array > top_sort(modules) > } >} > ' >++ 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 132626 2.6.0 2.6.99 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132608 ']' >+ '[' 132626 -le 132707 ']' >+ return 0 >+ local deps >++ FindModuleDeps en1370 >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ cat /proc/modules >++ 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) > } >} > ' >+ 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 132626 2.6.0 2.6.99 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132608 ']' >+ '[' 132626 -le 132707 ']' >+ return 0 >+ local deps >++ FindModuleDeps en1371 >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ cat /proc/modules >++ 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) > } >} > ' >+ 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 132626 2.6.0 2.6.8 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132608 ']' >+ '[' 132626 -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 132626 2.6.0 2.6.99 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132608 ']' >+ '[' 132626 -le 132707 ']' >+ return 0 >+ local deps >++ FindModuleDeps via_rhine >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ cat /proc/modules >++ 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) > } >} > ' >+ 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 132626 2.6.10 2.6.99 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132618 ']' >+ '[' 132626 -le 132707 ']' >+ return 0 >+ local deps >++ FindModuleDeps i8042 >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ cat /proc/modules >++ 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) > } >} > ' >+ 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 132626 2.6.0 2.6.99 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132608 ']' >+ '[' 132626 -le 132707 ']' >+ return 0 >+ local deps >++ FindModuleDeps intel_mch_agp >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ cat /proc/modules >++ 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) > } >} > ' >+ 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 132626 2.6.0 2.6.14 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132608 ']' >+ '[' 132626 -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.99' ']' >+ '[' -z '' ']' >+ IsInVersionRange 132626 2.6.9 2.6.99 >+ local kver >+ kver=132626 >+ shift >+ local min_ver >+ local max_ver >+ '[' -n '2.6.9 2.6.99' ']' >++ echo 2.6.9 >++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' >+ min_ver=132617 >++ echo 2.6.99 >++ awk 'BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}' >+ max_ver=132707 >+ shift 2 >+ '[' 132626 -ge 132617 ']' >+ '[' 132626 -le 132707 ']' >+ return 0 >+ local deps >++ FindModuleDeps button >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ cat /proc/modules >++ awk -v module=button ' >function find_related_modules(mod, i, a) { > modules[mod] = deps[mod] > split(deps[mod], a, ",") > for (i in a) { > if (a[i] == "") continue > if (!modules[a[i]]) { > modules[a[i]] = deps[a[i]] > find_related_modules(a[i]) > } > } >} > >function top_sort(modules, i, j) { > changed = 1 > while (changed) { > changed = 0 > for(i in modules) { > if (modules[i] == "") { > print i > delete modules[i] > for (j in modules) { > sub("^"i",", "", modules[j]) > sub(","i",", ",", modules[j]) > } > changed = 1 > } > } > } >} > >BEGIN { > have_module = 0 >} > >{ > if ($4 != "-") deps[$1] = $4 > if ($1 == module) have_module = 1 >} > >END { > if (have_module == 1) { > find_related_modules(module) # puts results into "modules" array > top_sort(modules) > } >} > ' >+ deps= >+ '[' -z '' ']' >+ continue >+ true >+ local mod vers use_mod_ver >+ use_mod_ver= >+ read mod vers >+ '[' 0 -ne 0 ']' >+ case $mod in >+ '[' -n '2.6.12 2.6.99' ']' >+ '[' -z '' ']' >+ IsInVersionRange 132626 2.6.12 2.6.99 >+ local kver >+ kver=132626 >+ 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 >+ '[' 132626 -ge 132620 ']' >+ '[' 132626 -le 132707 ']' >+ return 0 >+ local deps >++ FindModuleDeps speedstep_smi >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ cat /proc/modules >++ 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) > } >} > ' >+ 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 >++ FindModuleDeps ndiswrapper >++ Get26ModulesFile >++ grep -q '^2\.4\.' /proc/sys/kernel/osrelease >++ cat /proc/modules >++ 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) > } >} > ' >+ 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 >++ cat /proc/modules >++ 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) > } >} > ' >+ 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("95XHacksSuspendHook2", 1, 2)}' >+ new_CHAIN_UP_TO=95 >+ '[' -n 95 ']' >+ CHAIN_UP_TO=95 >+ bit=XHacksSuspendHook2 >+ vecho 1 'hibernate-ram: [95] Executing XHacksSuspendHook2 ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[95]' Executing XHacksSuspendHook2 ... >+ '[' -n '' ']' >+ XHacksSuspendHook2 >+ '[' -z '' ']' >+ XHacksSuspend >+ '[' x1 = x1 ']' >+ local dest_vt >+ command -v fgconsole >++ fgconsole >+ XHACKS_ORIGINAL_VT=7 >+ '[' -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 >+ 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("97VbetoolSaveState", 1, 2)}' >+ new_CHAIN_UP_TO=97 >+ '[' -n 97 ']' >+ CHAIN_UP_TO=97 >+ bit=VbetoolSaveState >+ vecho 1 'hibernate-ram: [97] Executing VbetoolSaveState ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[97]' Executing VbetoolSaveState ... >+ '[' -n '' ']' >+ VbetoolSaveState >+ '[' x = x1 ']' >+ '[' x1 = x1 ']' >+ command -v vbetool >+ '[' -n '' ']' >++ fgconsole >+ VBETOOL_ORIG_VT=15 >+ chvt 61 >+ TERM=linux >+ tput clear >++ mktemp /tmp/tmp.hibernate.XXXXXX >+ VBETOOL_FILE=/tmp/tmp.hibernate.UYIvvD >+ vbetool vbestate save >Allocated buffer at 0x20000 (base is 0x0) >ES: 0x2000 EBX: 0x0000 >Save video state failed >+ return 0 >+ ret=0 >+ '[' 0 -ge 2 ']' >+ '[' 0 -gt 0 ']' >+ '[' -n '' ']' >+ for bit in '`SortSuspendBits`' >+ local new_CHAIN_UP_TO >++ awk 'BEGIN{print substr("98CheckRunlevel", 1, 2)}' >+ new_CHAIN_UP_TO=98 >+ '[' -n 98 ']' >+ CHAIN_UP_TO=98 >+ bit=CheckRunlevel >+ vecho 1 'hibernate-ram: [98] Executing CheckRunlevel ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[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)}' >+ new_CHAIN_UP_TO=99 >+ '[' -n 99 ']' >+ CHAIN_UP_TO=99 >+ bit=DoSysfsPowerStateSuspend >+ vecho 1 'hibernate-ram: [99] Executing DoSysfsPowerStateSuspend ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[99]' Executing DoSysfsPowerStateSuspend ... >+ '[' -n '' ']' >+ DoSysfsPowerStateSuspend >+ '[' -z '' ']' >+ vecho 1 'hibernate-ram: Activating sysfs power state mem ...' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: Activating sysfs power state mem ... >+ '[' -n '' ']' >+ /bin/echo -n mem >+ return 0 >+ ret=0 >+ '[' 0 -ge 2 ']' >+ '[' 0 -gt 0 ']' >+ '[' -n '' ']' >++ SortResumeBits >++ /bin/echo -ne '97VbetoolRestoreState\n85XHacksResumeHook2\n11XHacksResumeHook1\n90ModulesLoad\n70ClockRestore\n59RemountXFSBootRW\n89RestoreKernelModprobe\n01NoteLastResume\n01LockFilePut\n' >++ sort -rn >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("97VbetoolRestoreState", 1, 2)}' >+ THIS_POS=97 >+ '[' -z 97 ']' >+ bit=VbetoolRestoreState >+ '[' 97 -gt 99 ']' >+ vecho 1 'hibernate-ram: [97] Executing VbetoolRestoreState ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[97]' Executing VbetoolRestoreState ... >+ '[' -n '' ']' >+ VbetoolRestoreState >+ '[' x = x1 ']' >+ '[' x1 = x1 ']' >+ '[' x1 = x1 ']' >+ vbetool post >Calling INT 0x15 (F000:F859) > EAX is 5F20 >Leaving interrupt call. >Calling INT 0x15 (F000:F859) > EAX is 5F14 >Leaving interrupt call. >Calling INT 0x15 (F000:F859) > EAX is 30005F00 >Leaving interrupt call. >Calling INT 0x10 (C000:0014) > EAX is 3 >Leaving interrupt call. >+ '[' -n '' ']' >+ '[' -n /tmp/tmp.hibernate.UYIvvD ']' >+ vbetool vbestate restore >Function not supported >Restore video state failed >+ rm -f /tmp/tmp.hibernate.UYIvvD >+ vbetool dpms on >+ chvt 15 >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("90ModulesLoad", 1, 2)}' >+ THIS_POS=90 >+ '[' -z 90 ']' >+ bit=ModulesLoad >+ '[' 90 -gt 99 ']' >+ vecho 1 'hibernate-ram: [90] Executing ModulesLoad ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[90]' Executing ModulesLoad ... >+ '[' -n '' ']' >+ ModulesLoad >+ '[' -z ' auto' ']' >+ CheckModuleSupport >+ '[' -f /proc/modules ']' >+ return 0 >+ RestoreKernelModprobe >+ '[' -n /sbin/modprobe ']' >+ echo /sbin/modprobe >+ unset KERNEL_MODPROBE >+ '[' -n '' ']' >+ return 0 >+ local mod >+ for mod in '$MOD_LOAD' >+ '[' auto = auto ']' >+ continue >+ return 0 >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("89RestoreKernelModprobe", 1, 2)}' >+ THIS_POS=89 >+ '[' -z 89 ']' >+ bit=RestoreKernelModprobe >+ '[' 89 -gt 99 ']' >+ vecho 1 'hibernate-ram: [89] Executing RestoreKernelModprobe ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[89]' Executing RestoreKernelModprobe ... >+ '[' -n '' ']' >+ RestoreKernelModprobe >+ '[' -n '' ']' >+ '[' -n '' ']' >+ return 0 >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("85XHacksResumeHook2", 1, 2)}' >+ THIS_POS=85 >+ '[' -z 85 ']' >+ bit=XHacksResumeHook2 >+ '[' 85 -gt 99 ']' >+ vecho 1 'hibernate-ram: [85] Executing XHacksResumeHook2 ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[85]' Executing XHacksResumeHook2 ... >+ '[' -n '' ']' >+ XHacksResumeHook2 >+ '[' -z '' ']' >+ XHacksResume >+ '[' x = x1 ']' >+ '[' -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 >+ chvt 7 >+ return 0 >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("70ClockRestore", 1, 2)}' >+ THIS_POS=70 >+ '[' -z 70 ']' >+ bit=ClockRestore >+ '[' 70 -gt 99 ']' >+ vecho 1 'hibernate-ram: [70] Executing ClockRestore ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[70]' Executing ClockRestore ... >+ '[' -n '' ']' >+ ClockRestore >+ '[' xgentoo = xdebian ']' >+ /sbin/hwclock --hctosys >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("59RemountXFSBootRW", 1, 2)}' >+ THIS_POS=59 >+ '[' -z 59 ']' >+ bit=RemountXFSBootRW >+ '[' 59 -gt 99 ']' >+ vecho 1 'hibernate-ram: [59] Executing RemountXFSBootRW ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[59]' Executing RemountXFSBootRW ... >+ '[' -n '' ']' >+ RemountXFSBootRW >+ '[' '' = 1 ']' >+ for bit in '`SortResumeBits`' >++ awk 'BEGIN{print substr("11XHacksResumeHook1", 1, 2)}' >+ THIS_POS=11 >+ '[' -z 11 ']' >+ bit=XHacksResumeHook1 >+ '[' 11 -gt 99 ']' >+ vecho 1 'hibernate-ram: [11] Executing XHacksResumeHook1 ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[11]' Executing XHacksResumeHook1 ... >+ '[' -n '' ']' >+ XHacksResumeHook1 >+ '[' -n '' ']' >+ 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-ram: [01] Executing NoteLastResume ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[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-ram: [01] Executing LockFilePut ... ' >+ local v >+ v=1 >+ shift >+ '[' x = x1 ']' >+ '[' 1 -le 4 ']' >+ echo hibernate-ram: '[01]' Executing LockFilePut ... >+ '[' -n '' ']' >+ LockFilePut >+ '[' -z 1 ']' >+ local lockfile_pid >+ read lockfile_pid >+ IsANumber 28826 >+ case "$1" in >+ return 0 >+ '[' 28826 -eq 28826 ']' >+ rm -f /var/run/hibernate-script.pid >+ return 0 >+ return 0 >+ eval 'EXIT_CODE=${PIPESTATUS[0]}' >++ EXIT_CODE=0 >++ date >+ echo 'Resumed at Fri' Feb 2 10:32:12 CST 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 164773
:
108857
|
108861
|
108900
| 108901 |
109682