diff options
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/init.d/vyatta-ofr | 16 | ||||
-rw-r--r-- | etc/modprobe.d/vyatta_nocopybreak | 3 |
2 files changed, 18 insertions, 1 deletions
diff --git a/etc/init.d/vyatta-ofr b/etc/init.d/vyatta-ofr index 4fb4c1e..45333ac 100755 --- a/etc/init.d/vyatta-ofr +++ b/etc/init.d/vyatta-ofr @@ -125,7 +125,20 @@ cleanup_raid() rmmod $MD_MODULES > /tmp/vyatta_raid_cleanup_log 2>&1 } - +# +# Load the acpi_cpufreq kernel module, but only for certain processors. +# Some Intel CPUs need to have it loaded in order to initialize +# properly. +# +load_acpi_cpufreq() +{ + manuf=`dmidecode -s system-manufacturer` + prod=`dmidecode -s system-product-name` + if [ "$manuf" = "Vyatta" -a "$prod" = "Series 2500" ]; then + logger -t "$progname" -p user.notice "loading acpi_cpufreq module" + modprobe acpi_cpufreq + fi +} start () { @@ -141,6 +154,7 @@ start () ${vyatta_sbindir}/${s}.init start || (log_end_msg $? && return) done load_bootfile + load_acpi_cpufreq cleanup_raid chmod g-w,o-w / diff --git a/etc/modprobe.d/vyatta_nocopybreak b/etc/modprobe.d/vyatta_nocopybreak index deb962f..0ac3052 100644 --- a/etc/modprobe.d/vyatta_nocopybreak +++ b/etc/modprobe.d/vyatta_nocopybreak @@ -40,6 +40,9 @@ options e1000 copybreak=0 options e1000e copybreak=0 +options sky2 copybreak=0 +options via-rhine rx_copybreak=0 +options via-velocity rx_copybreak=0 |