Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hibernate-disk: Using implicit configuration file /etc/hibernate/disk.conf
- hibernate-disk:Warning: Tuxonice binary signature file not found.
- hibernate-disk: Trying method in ususpend-disk.conf...
- hibernate-disk: Including configuration from common.conf
- + tee -a -i /var/log/hibernate.log
- + date
- + echo Starting suspend at Fri Oct 17 21:15:21 PDT 2014
- + EXIT_CODE=0
- + [ tee -a -i /var/log/hibernate.log = cat ]
- + [ -n ]
- + trap INT
- + exec
- + exec
- + DoWork
- + trap ctrlc_handler INT HUP
- + local rett+ -a -i /var/log/hibernate.log
- + CHAIN_UP_TO=0
- + SortSuspendBits
- + /bin/echo+ ne 95XHacksSuspendHook2\n11XHacksSuspendHook1\n91ModulesUnloadBlacklist\n99DoUSuspend\n10EnsureUSuspendCapable\n59RemountXFSBootRO\n01NewKernelFileCheck\n89SaveKernelModprobe\n98CheckRunlevel\n01CheckRunlevel\n01CheckLastResume\n01LockFileGet\nsort -n
- + local new_CHAIN_UP_TO
- + awk BEGIN{print substr("01CheckLastResume", 1, 2)}
- + new_CHAIN_UP_TO=01
- + [ -n 01 ]
- + CHAIN_UP_TO=01
- + bit=CheckLastResume
- + vecho 1 hibernate-disk: [01] Executing CheckLastResume ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [01] Executing CheckLastResume ...
- + hiber ]
- + CheckLastResume
- + [ -f /var/run/hibernate-last-resume ]
- + local last_resume now
- + read last_resume
- + date +%s
- + now=1413605721
- + [ 1413605721 -gt 1413605589 ]
- + rm -f /var/run/hibernate-last-resume
- + return 0
- + ret=0
- + [ 0 -ge 2 ]
- + [ 0 -gt 0 ]
- + [ -n ]
- + local new_CHAIN_UP_TO
- + awk BEGIN{print substr("01CheckRunlevel", 1, 2)}
- + new_CHAIN_UP_TO=01
- + [ -n 01 ]
- + CHAIN_UP_TO=01
- + bit=CheckRunlevel
- + vecho 1 hibernate-disk: [01] Executing CheckRunlevel ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [01] Executing CheckRunlevel ...
- hib -n ]
- + CheckRunlevel
- + [ -z ]
- + /sbin/runlevel
- + awk {print $2}
- + RUNLEVEL=2
- + return 0
- + ret=0
- + [ 0 -ge 2 ]
- + [ 0 -gt 0 ]
- + [ -n ]
- + local new_CHAIN_UP_TO
- + awk BEGIN{print substr("01LockFileGet", 1, 2)}
- + new_CHAIN_UP_TO=01
- + [ -n 01 ]
- + CHAIN_UP_TO=01
- + bit=LockFileGet
- + vecho 1 hibernate-disk: [01] Executing LockFileGet ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [01] Executing LockFileGet ...
- hib -n ]
- + LockFileGet
- + local other_pid
- + [ -f /var/run/hibernate-script.pid ]
- + echo 27751
- + LOCKFILE_IN_USE=1
- + return 0
- + ret=0
- + [ 0 -ge 2 ]
- + [ 0 -gt 0 ]
- + [ -n ]
- + local new_CHAIN_UP_TO
- + awk BEGIN{print substr("01NewKernelFileCheck", 1, 2)}
- + new_CHAIN_UP_TO=01
- + [ -n 01 ]
- + CHAIN_UP_TO=01
- + bit=NewKernelFileCheck
- + vecho 1 hibernate-disk: [01] Executing NewKernelFileCheck ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [01] Executing NewKernelFileCheck ...
- hibern ]
- + NewKernelFileCheck
- + [ -f /var/run/tuxonice-new-kernel ]
- + return 0
- + ret=0
- + [ 0 -ge 2 ]
- + [ 0 -gt 0 ]
- + [ -n ]
- + local new_CHAIN_UP_TO
- + awk BEGIN{print substr("10EnsureUSuspendCapable", 1, 2)}
- + new_CHAIN_UP_TO=10
- + [ -n 10 ]
- + CHAIN_UP_TO=10
- + bit=EnsureUSuspendCapable
- + vecho 1 hibernate-disk: [10] Executing EnsureUSuspendCapable ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [10] Executing EnsureUSuspendCapable ...
- hib -n ]
- + EnsureUSuspendCapable
- + command -v s2disk
- + USUSPEND_PROG_PATH=/usr/sbin/s2disk
- + [ s2disk = s2ram ]
- + test -f /sys/power/state
- + test -c /dev/snapshot
- + return 0
- + ret=0
- + [ 0 -ge 2 ]
- + [ 0 -gt 0 ]
- + [ -n ]
- + local new_CHAIN_UP_TO
- + awk BEGIN{print substr("11XHacksSuspendHook1", 1, 2)}
- + new_CHAIN_UP_TO=11
- + [ -n 11 ]
- + CHAIN_UP_TO=11
- + bit=XHacksSuspendHook1
- + vecho 1 hibernate-disk: [11] Executing XHacksSuspendHook1 ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [11] Executing XHacksSuspendHook1 ...
- hib -n ]
- + XHacksSuspendHook1
- + [ x = x1 ]
- + [ x = x1 ]
- + [ -n ]
- + return 0
- + ret=0
- + [ 0 -ge 2 ]
- + [ 0 -gt 0 ]
- + [ -n ]
- + local new_CHAIN_UP_TO
- + awk BEGIN{print substr("59RemountXFSBootRO", 1, 2)}
- + new_CHAIN_UP_TO=59
- + [ -n 59 ]
- + CHAIN_UP_TO=59
- + bit=RemountXFSBootRO
- + vecho 1 hibernate-disk: [59] Executing RemountXFSBootRO ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [59] Executing RemountXFSBootRO ...
- hi[ -n ]
- + RemountXFSBootRO
- + [ = 1 ]
- + ret=0
- + [ 0 -ge 2 ]
- + [ 0 -gt 0 ]
- + [ -n ]
- + local new_CHAIN_UP_TO
- + awk BEGIN{print substr("89SaveKernelModprobe", 1, 2)}
- + new_CHAIN_UP_TO=89
- + [ -n 89 ]
- + CHAIN_UP_TO=89
- + bit=SaveKernelModprobe
- + vecho 1 hibernate-disk: [89] Executing SaveKernelModprobe ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [89] Executing SaveKernelModprobe ...
- hi[ -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 ]
- + 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-disk: [91] Executing ModulesUnloadBlacklist ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [91] Executing ModulesUnloadBlacklist ...
- hi[ -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=0
- + 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
- Unlocal failedmods=
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + [ -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 ]
- + [ -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 ]
- + [ -n ]
- + local deps
- + FindModuleDeps hsfmodem
- + Get26ModulesFile
- + grepawk -v module=hsfmodemkernel/osrelease
- 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 ]
- + [ -n ]
- + local deps
- + FindModuleDeps prism54
- + Get26ModulesFile
- + grepawk -v module=prism54/kernel/osrelease
- 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 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + [ -n 2.6.0 3.99.0 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.0 3.99.0
- + local kver
- + kver=0
- + shift
- + local min_ver
- + local max_ver
- + [ -n 2.6.0 3.99.0 ]
- + echo 2.6.0
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + min_ver=0
- + echo 3.99.0
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=0
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 0 ]
- + 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 ]
- + [ -n 2.4.0 2.4.99 2.6.0 3.99.0 ]
- + [ -z ]
- + IsInVersionRange 0 2.4.0 2.4.99 2.6.0 3.99.0
- + local kver
- + kver=0
- + shift
- + local min_ver
- + local max_ver
- + [ -n 2.4.0 2.4.99 2.6.0 3.99.0 ]
- + echo 2.4.0
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + min_ver=0
- + + ho 2.4.99
- wk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=99
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 99 ]
- + return 0
- + local deps
- + FindModuleDeps emu10k1
- + + awk -v+ 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 ]
- + [ -n 2.4.0 2.4.99 2.6.0 3.99.0 ]
- + [ -z ]
- + IsInVersionRange 0 2.4.0 2.4.99 2.6.0 3.99.0
- + local kver
- + kver=0
- + shift
- + local min_ver
- + local max_ver
- + [ -n 2.4.0 2.4.99 2.6.0 3.99.0 ]
- + + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + min_ver=0
- + + ho 2.4.99
- wk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=99
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 99 ]
- + return 0
- + local deps
- + FindModuleDeps forcedeth
- + Get26ModulesFile
- + grep -q ^2\.4\. /proc/sys/kernel/osrelease
- + awk -v module=forcedeth
- function find_related_modules(mod, i, a) {
- modules[mod] = deps[mod]
- split(deps[mod], a, ",")
- for (i in a) {
- if (a[i] == "") continue
- if (!modules[a[i]]) {
- modules[a[i]] = deps[a[i]]
- find_related_modules(a[i])
- }
- }
- }
- function top_sort(modules, i, j) {
- changed = 1
- while (changed) {
- changed = 0
- for(i in modules) {
- if (modules[i] == "") {
- print i
- delete modules[i]
- for (j in modules) {
- sub("^"i",", "", modules[j])
- sub(","i",", ",", modules[j])
- }
- changed = 1
- }
- }
- }
- }
- BEGIN {
- have_module = 0
- }
- {
- if ($4 != "-") deps[$1] = $4
- if ($1 == module) have_module = 1
- }
- END {
- if (have_module == 1) {
- find_related_modules(module) # puts results into "modules" array
- top_sort(modules)
- }
- }
- + cat /proc/modules
- + deps=
- + [ -z ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + 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
- + modver=2
- + vecho 3 Module version for ipw2100 is 2
- + local v
- + v=3
- + shift
- + [ x = x1 ]
- + [ 3 -le 4 ]
- + echo Module version for ipw2100 is 2
- Mo[ -n 2 ]
- + IsInVersionRange 2 0.0 1.0.2
- + local kver
- + kver=2
- + shift
- + local min_ver
- + local max_ver
- + [ -n 0.0 1.0.2 ]
- + echo 0.0
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + min_ver=0
- + echo 1.0.2
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=2
- + shift 2
- + [ 2 -ge 0 ]
- + [ 2 -le 2 ]
- + return 0
- + local deps
- + FindModuleDeps ipw2100
- + Get26ModulesFile
- + awk -v module=i /proc
- function find_relat
- d_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 ]
- + 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=2
- + vecho 3 Module version for ipw2200 is 2
- + local v
- + v=3
- + shift
- + [ x = x1 ]
- + [ 3 -le 4 ]
- + echo Module version for ipw2200 is 2
- Mo[ -n 2 ]
- + IsInVersionRange 2 0.0 0.20
- + local kver
- + kver=2
- + shift
- + local min_ver
- + local max_ver
- + [ -n 0.0 0.20 ]
- + + 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=0
- + shift 2
- + [ 2 -ge 0 ]
- + [ 2 -le 0 ]
- + [ -n ]
- + return 1
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + [ -n 2.6.0 3.99.0 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.0 3.99.0
- + local kver
- + kver=0
- + shift
- + local min_ver
- + local max_ver
- + [ -n 2.6.0 3.99.0 ]
- + echo 2.6.0
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + min_ver=0
- + echo 3.99.0
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=0
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 0 ]
- + return 0
- + local deps
- + FindModuleDeps natsemi
- + Get26ModulesFile
- + grep+ q ^2\.4\.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 ]
- + [ -n 2.6.0 2.6.19 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.0 2.6.19
- + local kver
- + kver=0
- + shift
- + local min_ver
- + local max_ver
- + [ -n 2.6.0 2.6.19 ]
- + + ho 2.6.0
- wk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + min_ver=0
- + + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=19
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 19 ]
- + return 0
- + local deps
- + FindModuleDeps psmouse
- + Get26ModulesFile
- + grep -q ^2\.4\. /proc/sys/kernel/osrelease
- + 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)
- }
- }
- + cat /proc/modules
- + deps=
- + [ -z ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + [ -n 2.4.0 2.4.99 2.6.0 3.99.0 ]
- + [ -z ]
- + IsInVersionRange 0 2.4.0 2.4.99 2.6.0 3.99.0
- + local kver
- + kver=0
- + shift
- + local min_ver
- + local max_ver
- + [ -n 2.4.0 2.4.99 2.6.0 3.99.0 ]
- + echo 2.4.0
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + min_ver=0
- + echo 2.4.99
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=99
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 99 ]
- + 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 ]
- + [ -n 2.6.0 2.6.14 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.0 2.6.14
- + local kver
- + kver=0
- + 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=0
- + echo 2.6.14awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=14
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 14 ]
- + return 0
- + local deps
- + FindModuleDeps ehci_hcd
- + Get26ModulesFile
- + grep -q+ 2\.4\. /proc/sys/kernel/osrelease
- wk -v module=ehci_hcd
- 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 ]
- + [ -n 2.6.0 2.6.14 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.0 2.6.14
- + local kver
- + kver=0
- + 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=0
- + echo 2.6.14
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=14
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 14 ]
- + return 0
- + local deps
- + FindModuleDeps ohci_hcd
- + Get26ModulesFile
- + gre - ^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 ]
- + [ -n 2.6.0 2.6.14 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.0 2.6.14
- + local kver
- + kver=0
- + 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=0
- + echo 2.6.14
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=14
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 14 ]
- + return 0
- + local deps
- + FindModuleDeps uhci_hcd
- + Get26ModulesFile
- + grep -q ^2\.4\. /proc/sys/kernel/osrelease
- + awk -v module=uhci_hcd
- 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 ]
- + [ -n 2.4.0 2.4.99 ]
- + [ -z ]
- + IsInVersionRange 0 2.4.0 2.4.99
- + local kver
- + kver=0
- + 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=0
- + echo 2.4.99
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=99
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 99 ]
- + return 0
- + local deps
- + FindModuleDeps ehci-hcd
- + Get26ModulesFile
- + grep -q ^2\.4\. /proc/sys/kernel/osrelease
- + awk -v module=ehci-hcd
- 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 ]
- + [ -n 2.4.0 2.4.99 ]
- + [ -z ]
- + IsInVersionRange 0 2.4.0 2.4.99
- + local kver
- + kver=0
- + 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=0
- + echo 2.4.99
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=99
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 99 ]
- + return 0
- + local deps
- + FindModuleDeps usb-ohci
- + Get26ModulesFile
- + grep -q ^2\.4\. /proc/sys/kernel/osrelease
- + awk -v module=usb-ohci
- 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 ]
- + [ -n 2.4.0 2.4.99 ]
- + [ -z ]
- + IsInVersionRange 0 2.4.0 2.4.99
- + local kver
- + kver=0
- + 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=0
- + echo 2awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=99
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 99 ]
- + return 0
- + local deps
- + FindModuleDeps usb-uhci
- + Get26ModulesFile
- + gre - ^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 ]
- + [ -n 2.6.0 2.6.19 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.0 2.6.19
- + local kver
- + kver=0
- + 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=0
- + echo 2.6.19
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=19
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 19 ]
- + 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 ]
- + [ -n 2.6.0 2.6.19 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.0 2.6.19
- + local kver
- + kver=0
- + 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=0
- + echo 2.6.19
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=19
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 19 ]
- + return 0
- + local deps
- + FindModuleDeps snd_ens1371
- + Get26ModulesFile
- + grepawk -v module=snd_ens1371nel/osrelease
- 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 ]
- + [ -n 2.6.0 2.6.19 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.0 2.6.19
- + local kver
- + kver=0
- + 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=0
- + echo 2.6.19+ awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=19
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 19 ]
- + return 0
- + local deps
- + FindModuleDeps snd_maestro3
- + Get26ModulesFile
- + + ep -qawk -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 ]
- + 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
- Mo[ -n ]
- + local deps
- + FindModuleDeps snd_bt_sco
- + Get26ModulesFile
- + awk -v module=s /proc/sy
- function find_re
- ated_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 ]
- + [ -n 2.6.0 3.99.0 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.0 3.99.0
- + local kver
- + kver=0
- + shift
- + local min_ver
- + local max_ver
- + [ -n 2.6.0 3.99.0 ]
- + + ho 2.6.0
- wk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + min_ver=0
- + + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=0
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 0 ]
- + return 0
- + local deps
- + FindModuleDeps en1370
- + Get26ModulesFile+ awg -v mo ^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 ]
- + [ -n 2.6.0 3.99.0 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.0 3.99.0
- + local kver
- + kver=0
- + shift
- + local min_ver
- + local max_ver
- + [ -n 2.6.0 3.99.0 ]
- + + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + min_ver=0
- + + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=0
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 0 ]
- + return 0
- + local deps
- + FindModuleDeps en1371
- + Get26ModulesFile+ awg -v mo ^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 ]
- + [ -n 2.6.0 2.6.8 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.0 2.6.8
- + local kver
- + kver=0
- + 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=0
- + + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=8
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 8 ]
- + return 0
- + local deps
- + FindModuleDeps via_agp
- + Get26ModulesFile
- + awk -v module=v /proc/sys/kernel/osrelease
- 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 ]
- + [ -n 2.6.0 3.99.0 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.0 3.99.0
- + local kver
- + kver=0
- + shift
- + local min_ver
- + local max_ver
- + [ -n 2.6.0 3.99.0 ]
- + echo 2.6.0
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + min_ver=0
- + echo 3.99.0
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=0
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 0 ]
- + return 0
- + local deps
- + FindModuleDeps via_rhine
- + Get26ModulesFile
- + grep -q ^2\.4\. /proc/sys/kernel/osrelease
- + awk -v module=via_rhine
- function find_related_modules(mod, i, a) {
- modules[mod] = deps[mod]
- split(deps[mod], a, ",")
- for (i in a) {
- if (a[i] == "") continue
- if (!modules[a[i]]) {
- modules[a[i]] = deps[a[i]]
- find_related_modules(a[i])
- }
- }
- }
- function top_sort(modules, i, j) {
- changed = 1
- while (changed) {
- changed = 0
- for(i in modules) {
- if (modules[i] == "") {
- print i
- delete modules[i]
- for (j in modules) {
- sub("^"i",", "", modules[j])
- sub(","i",", ",", modules[j])
- }
- changed = 1
- }
- }
- }
- }
- BEGIN {
- have_module = 0
- }
- {
- if ($4 != "-") deps[$1] = $4
- if ($1 == module) have_module = 1
- }
- END {
- if (have_module == 1) {
- find_related_modules(module) # puts results into "modules" array
- top_sort(modules)
- }
- }
- + cat /proc/modules
- + deps=
- + [ -z ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + [ -n 2.6.10 3.99.0 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.10 3.99.0
- + local kver
- + kver=0
- + shift
- + local min_ver
- + local max_ver
- + [ -n 2.6.10 3.99.0 ]
- + echo 2.6.10
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + min_ver=10
- + echo 3.99.0
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=0
- + shift 2
- + [ 0 -ge 10 ]
- + [ -n ]
- + return 1
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + [ -n 2.6.0 3.99.0 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.0 3.99.0
- + local kver
- + kver=0
- + shift
- + local min_ver
- + local max_ver
- + [ -n 2.6.0 3.99.0 ]
- + echo 2.6.0
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + min_ver=0
- + echo 3.99.0
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=0
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 0 ]
- + 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 ]
- + [ -n 2.6.0 2.6.14 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.0 2.6.14
- + local kver
- + kver=0
- + 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=0
- + echo 2.6.14
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=14
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 14 ]
- + return 0
- + local deps
- + FindModuleDeps rt2500
- + Get26ModulesFile
- + grep -q ^2\.4\. /proc/sys/kernel/osrelease
- + awk -v module=rt2500
- 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 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + [ -n 2.6.9 2.6.22 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.9 2.6.22
- + local kver
- + kver=0
- + 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=9
- + echo+ .6.22
- awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=22
- + shift 2
- + [ 0 -ge 9 ]
- + [ -n ]
- + return 1
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + [ -n 2.6.12 3.99.0 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.12 3.99.0
- + local kver
- + kver=0
- + shift
- + local min_ver
- + local max_ver
- + [ -n 2.6.12 3.99.0 ]
- + echo 2.6.12
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + min_ver=12
- + echo 3.99.0+ awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=0
- + shift 2
- + [ 0 -ge 12 ]
- + [ -n ]
- + return 1
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + mod=ndiswrapper
- + use_mod_ver=1
- + [ -n 0.10 0.11 ]
- + [ -z 1 ]
- + local modver
- + modinfo nsed -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
- + M -n ]
- + local deps
- + 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 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + [ -n 0.0 2.6.25 ]
- + [ -z ]
- + IsInVersionRange 0 0.0 2.6.25
- + local kver
- + kver=0
- + shift
- + local min_ver
- + local max_ver
- + [ -n 0.0 2.6.25 ]
- + echo 0.0
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + min_ver=0
- + + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=25
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 25 ]
- + return 0
- + local deps
- + FindModuleDeps nvidia
- + Get26ModulesFile
- + + ep -qawk -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 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + [ -n ]
- + local deps
- + FindModuleDeps ath_pci
- + Get26ModulesFile
- + grep+ q ^2\.4\.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 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + [ -n ]
- + local deps
- + FindModuleDeps ipw3945
- + Get26ModulesFile
- + + ep -qawk -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 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + [ -n 2.6.0 2.6.27 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.0 2.6.27
- + local kver
- + kver=0
- + shift
- + local min_ver
- + local max_ver
- + [ -n 2.6.0 2.6.27 ]
- + echo 2.6.0
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + min_ver=0
- + echo 2.6.27
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=27
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 27 ]
- + return 0
- + 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 ]
- + [ -n 2.6.0 2.6.27 ]
- + [ -z ]
- + IsInVersionRange 0 2.6.0 2.6.27
- + local kver
- + kver=0
- + shift
- + local min_ver
- + local max_ver
- + [ -n 2.6.0 2.6.27 ]
- + + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + min_ver=0
- + echo 2.6.27
- + awk BEGIN{FS="[^0-9]"}{print($1*0x10000)+($2*0x100)+$3}
- + max_ver=27
- + shift 2
- + [ 0 -ge 0 ]
- + [ 0 -le 27 ]
- + return 0
- + 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=rtl8723ae
- rtl_pci
- rtlwifi
- mac80211
- + [ -z rtl8723ae
- rtl_pci
- rtlwifi
- mac80211 ]
- + vecho 2 Unloading blacklisted module mac80211 (and dependencies)
- + local v
- + v=2
- + shift
- + [ x = x1 ]
- + [ 2 -le 4 ]
- + echo Unloading blacklisted module mac80211 (and dependencies)
- Unlocal i
- + vecho 3 Unloading rtl8723ae ...
- + local v
- + v=3
- + shift
- + [ x = x1 ]
- + [ 3 -le 4 ]
- + echo Unloading rtl8723ae ...
- Unxrmmod rtl8723ae
- + [ -n ]
- + modprobe -r -N
- + NON_RECURSIVE_MODPROBE=rmmod
- + vecho 3 Removing modules with rmmod.
- + local v
- + v=3
- + shift
- + [ x = x1 ]
- + [ 3 -le 4 ]
- + echo Removing modules with rmmod.
- + rmmod rtl8723ae
- + MOD_UNLOADED= rtl8723ae
- + vecho 3 Unloading rtl_pci ...
- + local v
- + v=3
- + shift
- + [ x = x1 ]
- + [ 3 -le 4 ]
- + echo Unloading rtl_pci ...
- + xrmmod rtl_pci
- + [ -nUnload ]
- + rmmod rtl_pci
- + return 0
- + MOD_UNLOADED= rtl8723ae rtl_pci
- + vecho 3 Unloading rtlwifi ...
- + local v
- + v=3
- + shift
- + [ x = x1 ]
- + [ 3 -le 4 ]
- + echo Unloading rtlwifi ...
- + xrmmod rtlwifi
- + [ -n rmmod ]
- + rmmod rtlwifi
- Unloading rtlwifi ...
- + return 0
- + MOD_UNLOADED= rtl8723ae rtl_pci rtlwifi
- + vecho 3 Unloading mac80211 ...
- + local v
- + v=3
- + shift
- + [ x = x1 ]
- + [ 3 -le 4 ]
- + echo Unloading mac80211 ...
- + xrmmod mac80211
- + [ -n rmmod ]
- + rmmod mac80211
- Unloading mac80211 ...
- + return 0
- + MOD_UNLOADED= rtl8723ae rtl_pci rtlwifi mac80211
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + [ -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
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + [ -n ]
- + local deps
- + FindModuleDeps uvcvideo
- + Get26ModulesFile
- + grep -q ^2\.4\. /proc/sys/kernel/osreleaseawk -v module=uvcvideo
- 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 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + [ -n ]
- + local deps
- + FindModuleDeps snd_ice1712
- + Get26ModulesFile
- + grep -q ^2\.4\. /proc/sys/kernel/osrelease
- + awk -v module=snd_ice1712
- 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 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + continue
- + true
- + local mod vers use_mod_ver
- + use_mod_ver=
- + read mod vers
- + [ 0 -ne 0 ]
- + [ -n ]
- + local deps
- + FindModuleDeps firewire-core
- + Get26ModulesFile
- + grep -q ^2\.4\. /proc/sys/kernel/osrelease
- + awk -v module=firewire-core
- 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 ]
- + [ -n ]
- + local deps
- + FindModuleDeps firewire-sbp2
- + Get26ModulesFile
- + grep -q ^2\.4\. /proc/sys/kernel/osrelease
- + awk -v module=firewire-sbp2
- 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 ]
- + [ -n ]
- + local deps
- + FindModuleDeps firewire-ohci
- + Get26ModulesFile
- + grep -q ^2\.4\. /proc/sys/kernel/osrelease
- + awk -v module=firewire-ohci
- 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 ]
- + 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-disk: [95] Executing XHacksSuspendHook2 ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [95] Executing XHacksSuspendHook2 ...
- hi[ -n ]
- + XHacksSuspendHook2
- + [ -z ]
- + 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
- xhchvt 15
- + return 0
- + return 0
- + ret=0
- + [ 0 -ge 2 ]
- + [ 0 -gt 0 ]
- + [ -n ]
- + local new_CHAIN_UP_TO
- + awk BEGIN{print substr("98CheckRunlevel", 1, 2)}
- + new_CHAIN_UP_TO=98
- + [ -n 98 ]
- + CHAIN_UP_TO=98
- + bit=CheckRunlevel
- + vecho 1 hibernate-disk: [98] Executing CheckRunlevel ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [98] Executing CheckRunlevel ...
- + [ -n ]
- + CheckRunlevel
- + [ -z 2 ]
- + return 0
- + ret=0
- + [ 0 -ge 2 ]
- + [ 0 -gt 0 ]
- + [ -n ]
- + local new_CHAIN_UP_TO
- + awk BEGIN{print substr("99DoUSuspend", 1, 2)}
- + new_CHAIN_UP_TO=99
- + [ -n 99 ]
- + CHAIN_UP_TO=99
- + bit=DoUSuspend
- + vecho 1 hibernate-disk: [99] Executing DoUSuspend ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [99] Executing DoUSuspend ...
- hi[ -n ]
- + DoUSuspend
- + [ -z ]
- + ARGS=
- + [ s2disk = s2ram -o s2disk = s2both ]
- + vecho 1 hibernate-disk: Running /usr/sbin/s2disk ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: Running /usr/sbin/s2disk ...
- hibernate-disk: Running /usr/sbin/s2disk ...
- + vcat 2
- + local v
- + v=2
- + shift
- + [ 2 -le 4 ]
- + cat
- + /usr/sbin/s2disk
- + return 0
- + ret=0
- + [ 0 -ge 2 ]
- + [ 0 -gt 0 ]
- + [ -n ]
- + SortResumeBits
- + /bin/echo -ne+ 5XHacksResumeHook2\n11XHacksResumeHook1\n90ModulesLoad\n70ClockRestore\n59RemountXFSBootRW\n89RestoreKernelModprobe\n01NoteLastResume\n01LockFilePut\n
- sort -rn
- + awk BEGIN{print substr("90ModulesLoad", 1, 2)}
- + THIS_POS=90
- + [ -z 90 ]
- + bit=ModulesLoad
- + [ 90 -gt 99 ]
- + vecho 1 hibernate-disk: [90] Executing ModulesLoad ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [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
- hi[ auto = auto ]
- + vecho 2 Loading module rtl8723ae (from auto)...
- + local v
- + v=2
- + shift
- + [ x = x1 ]
- + [ 2 -le 4 ]
- + echo Loading module rtl8723ae (from auto)...
- + modprobe rtl8723ae
- Loading module rtl8723ae (from auto)...
- + vecho 2 Loading module rtl_pci (from auto)...
- + local v
- + v=2
- + shift
- + [ x = x1 ]
- + [ 2 -le 4 ]
- + echo Loading module rtl_pci (from auto)...
- Lomodprobe rtl_pci
- + vecho 2 Loading module rtlwifi (from auto)...
- + local v
- + v=2
- + shift
- + [ x = x1 ]
- + [ 2 -le 4 ]
- + echo Loading module rtlwifi (from auto)...
- Lomodprobe rtlwifi
- + vecho 2 Loading module mac80211 (from auto)...
- + local v
- + v=2
- + shift
- + [ x = x1 ]
- + [ 2 -le 4 ]
- + echo Loading module mac80211 (from auto)...
- Lomodprobe mac80211
- + continue
- + return 0
- + awk BEGIN{print substr("89RestoreKernelModprobe", 1, 2)}
- + THIS_POS=89
- + [ -z 89 ]
- + bit=RestoreKernelModprobe
- + [ 89 -gt 99 ]
- + vecho 1 hibernate-disk: [89] Executing RestoreKernelModprobe ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [89] Executing RestoreKernelModprobe ...
- + [ -n ]
- + RestoreKernelModprobe
- + [ -n ]
- + [ -n ]
- + return 0
- + awk BEGIN{print substr("85XHacksResumeHook2", 1, 2)}
- + THIS_POS=85
- + [ -z 85 ]
- + bit=XHacksResumeHook2
- + [ 85 -gt 99 ]
- + vecho 1 hibernate-disk: [85] Executing XHacksResumeHook2 ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [85] Executing XHacksResumeHook2 ...
- hi[ -n ]
- + XHacksResumeHook2
- + [ -z ]
- + 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
- + awk BEGIN{print substr("70ClockRestore", 1, 2)}
- + THIS_POS=70
- + [ -z 70 ]
- + bit=ClockRestore
- + [ 70 -gt 99 ]
- + vecho 1 hibernate-disk: [70] Executing ClockRestore ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [70] Executing ClockRestore ...
- + [ -n ]
- + ClockRestore
- + /etc/init.d/hwclock.sh start
- hibernate-disk: [70] Executing ClockRestore ...
- + awk BEGIN{print substr("59RemountXFSBootRW", 1, 2)}
- + THIS_POS=59
- + [ -z 59 ]
- + bit=RemountXFSBootRW
- + [ 59 -gt 99 ]
- + vecho 1 hibernate-disk: [59] Executing RemountXFSBootRW ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [59] Executing RemountXFSBootRW ...
- hibernate-disk: [59] Executing RemountXFSBootRW ...
- + [ -n ]
- + RemountXFSBootRW
- + [ = 1 ]
- + awk BEGIN{print substr("11XHacksResumeHook1", 1, 2)}
- + THIS_POS=11
- + [ -z 11 ]
- + bit=XHacksResumeHook1
- + [ 11 -gt 99 ]
- + vecho 1 hibernate-disk: [11] Executing XHacksResumeHook1 ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [11] Executing XHacksResumeHook1 ...
- hibernate-disk: [11] Executing XHacksResumeHook1 ...
- + [ -n ]
- + XHacksResumeHook1
- + [ -n ]
- + return 0
- + awk BEGIN{print substr("01NoteLastResume", 1, 2)}
- + THIS_POS=01
- + [ -z 01 ]
- + bit=NoteLastResume
- + [ 01 -gt 99 ]
- + vecho 1 hibernate-disk: [01] Executing NoteLastResume ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [01] Executing NoteLastResume ...
- hi[ -n ]
- + NoteLastResume
- + [ -f /var/run/hibernate-last-resume ]
- + date +%s
- + return 0
- + awk BEGIN{print substr("01LockFilePut", 1, 2)}
- + THIS_POS=01
- + [ -z 01 ]
- + bit=LockFilePut
- + [ 01 -gt 99 ]
- + vecho 1 hibernate-disk: [01] Executing LockFilePut ...
- + local v
- + v=1
- + shift
- + [ x = x1 ]
- + [ 1 -le 4 ]
- + echo hibernate-disk: [01] Executing LockFilePut ...
- + [ -n ]
- + LockFilePut
- + [ -z 1 ]
- + local lockfile_pid
- + read lockfile_pid
- + IsANumber 27751
- + return 0
- + [ 27751 -eq 27751 ]
- + rm -f /var/run/hibernate-script.pid
- + return 0
- + return 0
- + echo EXIT_CODE=0
- + eval EXIT_CODE=0
- + EXIT_CODE=0
- + PluginTermination
- + local i
- + TuxOnIceTermination
- + return 0
- + return 0
- + tee -a -i /var/log/hibernate.log
- + date
- + echo Resumed at Fri Oct 17 21:15:35 PDT 2014
- + exit 0
Advertisement
Add Comment
Please, Sign In to add comment