NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
glem
May 22, 2013Aspirant
Easy fix fan/temp OS6 issues on x86 legacy #no support
>> EDIT - 2014-04-12 <<
Before to hack your system, update first to 6.1.7. Built-in fancontrol support is there!
6.1.7 has been released: http://www.readynas.com/forum/viewtopic.php?f=1&t=76000
>> EDIT <<
Here is how to fix fan and temperature issues on legacy x86 systems running OS 6.x, until built-in support is there.
I'd previously created this post http://www.readynas.com/forum/viewtopic.php?f=51&t=70133&start=255#p393886 but it will be easier for community to have fancontrol file examples for all models in a dedicated post.
It's a very easy and reliable method to monitor fan and temperature with lm-sensors and fancontrol standard packages.
No change on GUI reports.
NO WARRANTY / NO SUPPORT !!!
with root access, execute the following commands:
edit /etc/fancontrol file and copy the following file example corresponding to your model http://www.readynas.com/forum/viewtopic.php?f=51&t=71155#p395324
or create your own /etc/fancontrol file using pwmconfig command http://www.readynas.com/forum/viewtopic.php?f=51&t=71155&p=395324#p395318
fancontrol daemon start automaticaly when you install it.
restart fancontrol daemon for changes in file /etc/fancontrol take effect
to interact with fancontrol daemon, use
You can display sensors values with sensors command
Before to hack your system, update first to 6.1.7. Built-in fancontrol support is there!
6.1.7 has been released: http://www.readynas.com/forum/viewtopic.php?f=1&t=76000
>> EDIT <<
Here is how to fix fan and temperature issues on legacy x86 systems running OS 6.x, until built-in support is there.
I'd previously created this post http://www.readynas.com/forum/viewtopic.php?f=51&t=70133&start=255#p393886 but it will be easier for community to have fancontrol file examples for all models in a dedicated post.
It's a very easy and reliable method to monitor fan and temperature with lm-sensors and fancontrol standard packages.
No change on GUI reports.
NO WARRANTY / NO SUPPORT !!!
with root access, execute the following commands:
apt-get update && apt-get upgrade
apt-get install lm-sensors fancontrol
echo "#fancontrol" > /etc/fancontrol
edit /etc/fancontrol file and copy the following file example corresponding to your model http://www.readynas.com/forum/viewtopic.php?f=51&t=71155#p395324
or create your own /etc/fancontrol file using pwmconfig command http://www.readynas.com/forum/viewtopic.php?f=51&t=71155&p=395324#p395318
fancontrol daemon start automaticaly when you install it.
restart fancontrol daemon for changes in file /etc/fancontrol take effect
/etc/init.d/fancontrol restart
to interact with fancontrol daemon, use
/etc/init.d/fancontrol stop
/etc/init.d/fancontrol start
/etc/init.d/fancontrol restart
You can display sensors values with sensors command
root@nas-xx-xx-xx:~# sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +43.0°C (high = +80.0°C, crit = +100.0°C)
Core 1: +49.0°C (high = +80.0°C, crit = +100.0°C)
it8721-isa-0a10
Adapter: ISA adapter
in0: +12.19 V (min = +8.06 V, max = +10.66 V) ALARM
in1: +4.98 V (min = +2.20 V, max = +3.51 V) ALARM
in2: +3.28 V (min = +0.02 V, max = +0.18 V) ALARM
in3: +0.00 V (min = +0.00 V, max = +0.00 V) ALARM
in4: +1.02 V (min = +1.42 V, max = +2.21 V) ALARM
in5: +1.80 V (min = +1.66 V, max = +0.54 V) ALARM
in6: -12.10 V (min = -25.78 V, max = -0.01 V)
in7: +3.24 V (min = +0.00 V, max = +2.86 V) ALARM
in8: +3.34 V
fan1: 0 RPM (min = 10 RPM) ALARM
fan2: 0 RPM (min = 44 RPM) ALARM
fan3: 851 RPM (min = 11 RPM)
temp1: +0.0°C (low = +57.0°C, high = -25.0°C) ALARM sensor = thermistor
temp2: +0.1°C (low = -16.0°C, high = -123.0°C) ALARM sensor = thermal diode
temp3: +0.1°C (low = +37.0°C, high = -44.0°C) ALARM sensor = thermal diode
cpu0_vid: +2.050 V
173 Replies
Replies have been turned off for this discussion
- revinAspirantI've installed OS6 on a pro2. As I don't have fan speed and CPU temp, I've made a small script to generate my own RRD.
First, we have to generate the cpu RRD and Temp RRD. I've created on /dashboard/frontview/stats/rrdtool create fan.rrd --step 60 \
DS:rpm:GAUGE:120:0:5000 \
RRA:AVERAGE:0,5:1:2880 \
RRA:AVERAGE:0,5:30:384 \
RRA:AVERAGE:0,5:120:384 \
RRA:AVERAGE:0,5:1440:365 \
RRA:MAX:0,5:1:2880 \
RRA:MAX:0,5:30:384 \
RRA:MAX:0,5:120:384 \
RRA:MAX:0,5:1440:365 \
RRA:MIN:0,5:1:2880 \
RRA:MIN:0,5:30:384 \
RRA:MIN:0,5:120:384 \
and now CPU RRD:rrdtool create temp_sys.rrd --step 60 \
DS:core0:GAUGE:120:0:100 \
DS:core1:GAUGE:120:0:100 \
DS:system:GAUGE:120:0:100 \
RRA:AVERAGE:0,5:1:2880 \
RRA:AVERAGE:0,5:30:384 \
RRA:AVERAGE:0,5:120:384 \
RRA:AVERAGE:0,5:1440:365 \
RRA:MAX:0,5:1:2880 \
RRA:MAX:0,5:30:384 \
RRA:MAX:0,5:120:384 \
RRA:MAX:0,5:1440:365 \
RRA:MIN:0,5:1:2880 \
RRA:MIN:0,5:30:384 \
RRA:MIN:0,5:120:384 \
Now it's time to create a script (update_rdd). This script gets temperature from CPU Core 0, CPU Core 1, System temperature and fan speed and updates de RRDs
#!/bin/sh
#####################################################
Coretemp1="/sys/devices/platform/coretemp.0/temp2_input"
Coretemp2="/sys/devices/platform/coretemp.0/temp3_input"
Systemp="/sys/devices/platform/it87.2576/temp2_input"
fan="/sys/devices/platform/it87.2576/fan1_input"
F=`cat $fan`
C1t=`cat $Coretemp1`
C1=`expr $C1t / 1000`
C2t=`cat $Coretemp2`
C2=`expr $C2t / 1000`
S=`cat $Systemp`
rrdtool update /frontview/dashboard/stats/temp_sys.rrd N:$C1:$C2:$S
rrdtool update /frontview/dashboard/stats/fan.rrd N:$F
##echo " CPU1=$C1 CPU2=$C2 SYS=$S "
So, We have the data on RRD. Now It's time to draw!. This example creates 2 simple PNGs from "now - 4 hours"rrdtool graph /frontview/dashboard/stats/tempsys.png --title="Temperature" --start end-4h \
--imgformat=PNG \
--width=500 \
--base=1000 \
--height=120 \
--interlaced \
DEF:a=/frontview/dashboard/stats/temp_sys.rrd:core0:AVERAGE \
DEF:b=/frontview/dashboard/stats/temp_sys.rrd:core1:AVERAGE \
DEF:c=/frontview/dashboard/stats/temp_sys.rrd:system:AVERAGE \
LINE1:a#800000:core0 \
LINE1:b#00FF00:core1 \
LINE1:c#FF0000:system \
COMMENT:"Comments"
rrdtool graph /frontview/dashboard/stats/fan.png --title="Fan" --start end-4h \
--imgformat=PNG \
--width=500 \
--base=1000 \
--height=120 \
--interlaced \
DEF:a=/frontview/dashboard/stats/fan.rrd:rpm:AVERAGE \
LINE1:a#800000:rpm \
COMMENT:"Comments"
The last step it's call those scripts from crontab:*/1 * * * * root /root/scripts/update_rrd
*/2 * * * * root /root/scripts/print_rrd
I've tried to change the images from original dashboard with this ones but it was much easier to generate a simple HTML and call this PNGs 8) - ATCISTutor
revin wrote: I've installed OS6 on a pro2. As I don't have fan speed and CPU temp, I've made a small script to generate my own RRD.
First, we have to generate the cpu RRD and Temp RRD. I've created on /dashboard/frontview/stats/
and now CPU RRD:
Now it's time to create a script (update_rdd). This script gets temperature from CPU Core 0, CPU Core 1, System temperature and fan speed and updates de RRDs
So, We have the data on RRD. Now It's time to draw!. This example creates 2 simple PNGs from "now - 4 hours"
The last step it's call those scripts from crontab:
I've tried to change the images from original dashboard with this ones but it was much easier to generate a simple HTML and call this PNGs 8)
WOW revin! Your post above looks pretty cool. Any chance we could get a glimpse of your "Performance Tab" after you performed this hack? I'd be interested to see if I could do something similar on a Pro 6. . . - revinAspirantATCIS,
My images are really crapy :D. Here are an example:

But you really can make them as you want, simply playing a bit with rddtool graph (http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html)
Here you have a few examples about what can you do with rrdtool : http://oss.oetiker.ch/rrdtool/gallery/ - F_L_TutorIs this fix still needed for the Ultra series?
I just upgraded and my fans/temp seems be ok. At least they are recognized in the dashboard.
Fan running a bit slow atm though (820 rpm)
CPU is 59/138 and System 44/111
System is idle except for re-sync - vin021079AspirantHi all,
I've just upgraded my Ultra 6 to 6.1.4. & having fan issues. i've followed all the instruction in the threads, but it doesn't work at all for me.
i've installed the lm-sensors & fancontrol, but giving me this error
Setting up fancontrol (1:3.3.4-1) ...
ln -s '/lib/systemd/system/fancontrol.service' '/etc/systemd/system/multi-user.target.wants/fancontrol.service'
[....] Restarting fancontrol (via systemctl): fancontrol.serviceJob failed. See system journal and 'systemctl status' for details.
failed!
invoke-rc.d: initscript fancontrol, action "restart" failed.
dpkg: error processing fancontrol (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up lm-sensors (1:3.3.4-1) ...
ln -s '/lib/systemd/system/lm-sensors.service' '/etc/systemd/system/multi-user.target.wants/lm-sensors.service'
Errors were encountered while processing:
fancontrol
E: Sub-process /usr/bin/dpkg returned an error code (1)
& tried to setup the config using pwmconfig & got this error:
Current temperature readings are as follows:
cat: hwmon0/device/temp2_input: Resource temporarily unavailable
/usr/sbin/pwmconfig: line 892: let: S= / 1000: syntax error: operand expected (error token is "/ 1000")
hwmon0/device/temp2_input
cat: hwmon0/device/temp3_input: Resource temporarily unavailable
/usr/sbin/pwmconfig: line 892: let: S= / 1000: syntax error: operand expected (error token is "/ 1000")
hwmon0/device/temp3_input
hwmon1/device/temp1_input 0
hwmon1/device/temp2_input 0
hwmon1/device/temp3_input 0
Any idea guys? i'm very desperate & my Ultra 6 fan now running on max 2300rpm. :(
Please help me. Thanks in advance - MueRAspirantI'll post my fancontrol config tonight (if I remember, I'm terrible at those things). It should work for you, but if the device is idle, frontview will report the CPU at -1°C / 30°F.
- sventunusAspirant
F.L. wrote: Is this fix still needed for the Ultra series?
I just upgraded and my fans/temp seems be ok. At least they are recognized in the dashboard.
Fan running a bit slow atm though (820 rpm)
CPU is 59/138 and System 44/111
System is idle except for re-sync
F.L.: which Ultra do you own? I own an Ultra 6 and my fan still isn't recognized in the web UI ("fan dead" message). - F_L_Tutor
sventunus wrote: F.L. wrote: Is this fix still needed for the Ultra series?
I just upgraded and my fans/temp seems be ok. At least they are recognized in the dashboard.
Fan running a bit slow atm though (820 rpm)
CPU is 59/138 and System 44/111
System is idle except for re-sync
F.L.: which Ultra do you own? I own an Ultra 6 and my fan still isn't recognized in the web UI ("fan dead" message).
I own an Ultra 4. Fan is still working here without any modification - sventunusAspirantAre you running a custom fancontrol/lm-sensors config? Would you care to post it here?
Curious about the difference between an Ultra 4 & an Ultra 6 concerning fans.
Thanks! - F_L_TutorNothing custom. I just upgraded to 6.1.4 and it was working out of the box.
If you still want any config please let me know where they are located.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!