The ls-chl patch doesn't work with the most recent kernel.org git so I've uploaded a new one here
. This version has been submitted to the arm kernel maintainers so it should be appearing in the mainline kernel at some point. The devio stuff is, again, as follows:
devio > foo 'wl 0xe3a01c0B,4' 'wl 0xe3811061,4'
cat foo arch/arm/boot/zImage > zImage.new
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n 'linux' -d zImage.new uImage.new
This patch changes the fan interface, an updated fan script is:
# fan-temperature control daemon - fannydee
# this script checks the hdd temp on any LS-PPC that is running avr_evtd
# and has hddtemp installed. If the temperature is greater than the
# defined limit, it kicks the fan up to high speed.
# After the checkperiod elapses, it checks again. If the temperature is
# below that limit, then it drops it back to low speed.
# In /etc/fannyd.conf, mak sure you define your devices that you want to check the temperature on
# e.g. /dev/hda or /dev/sda , the temperature limit, time check, etc.
# You can declare more than one hard drive, but that is not a likely situation.
while : ; do
for A in $DEVICES ; do
TEMPERATURE=$($HDDT -n $A)
if [ $TEMPERATURE -gt $TEMPLIMITONE ]; then
if [ $TEMPERATURE -gt $TEMPLIMITTWO ]; then
if [ $TEMPERATURE -gt $TEMPLIMITTHREE ]; then
echo 5000 > /sys/class/hwmon/hwmon0/device/fan1_target
echo 3250 > /sys/class/hwmon/hwmon0/device/fan1_target
echo 1500 > /sys/class/hwmon/hwmon0/device/fan1_target
sleep 60 # overcompensate w/ 1 min of extra fan time
echo 0 > /sys/class/hwmon/hwmon0/device/fan1_target
The fan lock alarm is available in the /sys/class/hwmon/hwmon0/device/ folder, you can monitor it for fan failures. Remember that it interrupts when the fan is turned off, so you should ignore it then. Perhaps disabling the interrupt in certain fan states is a patch for the new gpio-fans driver?
A config file is here
I have gotten SMB file transfers back up to 10-15MB/s - the problem was the jumbo frames configuration not applying properly at startup.
Soon I will release some of the tools I've written for the box:
- switch monitor - not quite finished yet
- acp server daemon - listens for Nas Navigator packets and allows your debian box to show up there
- keep-alive server - listens for WoL packets and reboots into ram (to turn off disks) when none are received after a few minutes. Used with the acp tool, this enables the 'auto power' feature on our boxes
- nas_pwm - linux daemon to wake up network nas drives, same as Windows does.