NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Bullfrog2's avatar
Bullfrog2
Aspirant
Sep 15, 2020

ReadyData 5200 running OS 6.10.3 with Sys fan control on the motherboard.

Hi

I know this is an unsupported configuration, thought  I'd let others know my experiences of attempting to run OS6 on a ReadyData5200 unit.

 

I followed some instructions online which bizarrely I can't find now which showed how to extract the OS6 firmware manually and put it on the internal stick.

 

Unit seems to work but the fans were incredibly noisy and I would occasionally get errors on the unit relating to 3VSB and Vbat.

 

I stumbled across this post relating to fan controls on the 4200 - 

https://community.netgear.com/t5/Using-your-ReadyNAS-in-Business/ReadyNAS-4200V2-OS6-6-1-fan-control... 

 

And thought to myself I see if I can modify the provided RD5200.conf file located in /etc/frontview/sensors and attached  the 3 sys fans on the back of the backplane to the motherboard, I also noticed that although the original conf file has reference to "CPU Temperature" this wasn't appearing in the GUI front end.

 

The top part of the original RD5200.conf file looks like this

chip "coretemp-isa-0000"
	label temp1 "CPU Temperature"
	compute temp1 @%35, @%35
	ignore temp2
	ignore temp3
	ignore temp4
	ignore temp5
	ignore temp6
	ignore temp7
	ignore temp8
	ignore temp9

I attached the cabling for the fans as such.

MB Header Fan1 = CPU (This wasn't altered)

MB Header Fan2 = SysFan3

MB Header Fan3 = SysFan2

MB Header Fan4 = SysFan1

 

Through various attempts of trial & error, disconnecting various fans while the system was running to determine what label in the conf file related to which fan, I came up with this conf file.

chip "coretemp-isa-0000"
	ignore temp1
	label temp2 "CPU"
	compute temp2 @%35, @%35
	label temp3 "CPU-2"
	compute temp3 @%35, @%35
	label temp4 "CPU-3"
	compute temp4 @%35, @%35
	label temp5 "CPU-4"
	compute temp5 @%35, @%35
	ignore temp6
	ignore temp7
	ignore temp8
	ignore temp9
	ignore temp10

chip "w83627dhg-isa-0a10"
	label in0 "CPUVCore"
	label in1 "in1 (VIN0)"
	label in2 "AVcc"
	label in3 "3.3Vcc"
	label in4 "VDimm (VIN1)"
	set in4_max 1.75
	label in5 "in5 (VIN2)"
	label in6 "in6 (VIN3)"
	label in7 "3.3Vsb"
	label in8 "Vbat"
	set in8_max 3.63
	label in9 "in9"
	label in10 "in10"
	label in11 "in11"
	label in12 "in12"
	label in13 "in13"
	label in14 "in14"
	ignore fan3
	label fan2 "CPU"
	set fan2_min 500
	compute fan2 @*0.965,@/0.965
	label fan1 "Sys2"
	set fan1_min 800
	compute fan1 @*0.965,@/0.965
	label fan4 "Sys1"
	set fan4_min 800
	compute fan4 @*0.965,@/0.965
	label fan5 "Sys3"
	set fan5_min 800
	compute fan5 @*0.965,@/0.965
	label temp1 "Sys1"
	set temp1_offset 0
	set temp1_max 80
	label temp2 "Sys2"
	set temp2_offset 0
	set temp2_max 80
	label temp3 "Sys3"
	set temp3_offset 0
	set temp3_max 80
	ignore temp4
	ignore temp5
	ignore temp6
	ignore temp7
	ignore temp8
	ignore temp9
	ignore temp10
	ignore intrusion0
	ignore intrusion1
	ignore beep_enable
	ignore cpu0_vid

For the most part the unit works fine, but after several hours for no apparent reason at all the fans will suddenly ramp up to 7500rpm or more causing a total racket. I've come across various online documents suggesting to change the fan settings in the Bios, the best setting so far being "Balanced" , but the problem continued. 

 

Anyway after some persistance and some private messages between myself and Sandshark  I now have control of the 3 System fans.

 

Without any alterations, the system seems to be running the super io chip in smart fan III mode. I can find no info on how that actually works.

 

You can change this so you have manual control or under temperature control.

I'll probably turn this into a startup script however in the meantime if you can get to a ssh command prompt 

cd into /sys/devices/platform/w83627ehf.2576

for Manual mode

echo "1" > pwm2_enable

echo "value" > pwm2 where value is 0 for slowest 1500rpm 255 is for fastest around 7000rpm

 

for temperature controlled mode which is what i'm going to use

echo "2" > pwm2_enable

echo "34000" > pwm2_target  which is 34 degrees in millidegrees or your target temperature.

I have the setting in BIOS set to balanced at the moment, I don't think that makes any difference.

 

Data Integrity seems to be fine, copied several terabytes on/off the unit and used various utilities to compare what's copied with the  original data, and it's all been good so far. Just wish I could sort the fan problem.

 

I'd post a picture of my Gui here but can't see how to post pictures. They are now in my profile though

 

Hope this helps others. Remember this is all unsupported so shouldn't be used in a business critical scenario.

 

Thanks

 

Bullfrog2

8 Replies

Replies have been turned off for this discussion
  • Hi 

     

    I've since settled for 40 degrees as my target temperature otherwise as soon as the machine ceases to idle the fans start ramping up. Essentially with the mode I've selected , the sensor connected to temp2 controls the three fans. The readynasd process still controls the CPU fan. 

     

    These datasheets/documents were my source of info on the fan/temp chip.  

    https://www.kernel.org/doc/Documentation/hwmon/w83627ehf 

     

    http://read.pudn.com/downloads649/doc/2643726/W83627DHG-Programming-Guide.pdf 

     

    https://www.nuvoton.com/resource-files/DA00-WW83627DHG-P.pdf 

     

    Bullfrog2

     

    • Sandshark's avatar
      Sandshark
      Sensei - Experienced User

      I've had problems with OS6 controlling the fans on my converted RD5200 and had turned to using the BIOS for it (which just sets a set percentage of full speed).  I'm now testing the pwm2_enable = 1 change (mine was set to 4) and will post more.  I'm using a copy of the RD4200V2.conf as my RN5200conf.

       

      Note that both of us moved the fans from the SAS backplane, where they always run full blast, to the motherboard, with the connections as Bullfrog2 described.  That's the same as in an RN4200V2, which has the same motherboard (sans IPMI hardware).

      • Bullfrog2's avatar
        Bullfrog2
        Aspirant

        Hi

         

        With pwm_enable set to 1 you have to set the speed yourself. I suspect the BIOS is taking over once the temperature gets to a critical value, it's hard to tell as I believe I'm fighting a hardware fault too.

        My pwm_enable was also originally set to 4.

         

        Anyway here is some more info i've discovered while researching this.

         

        Chip is capable of controlling 4 seperate fan outputs using either DC or PWM.
        Controlled by pwm1 to pwm4, not sure what order these are in but this is the names of the 4 pins on the chip for fans.

        SYSFANOUT
        CPUFANOUT0
        CPUFANOUT1
        AUXFANOUT

        On the supermicro board all fan headers including CPU are wired to the same pwm2 output, so they all go up and down together. I don't have anything plugged into header 5 at the back of the motherboard so this connector isn't verified.

         

        Chip is capable of monitoring 5 Fans ,showing their speed, or setting triggers for alerts if they fail.

        Some fans generate 4 pulses per revolution others 2 per revolution, so settings need to be tweeked to accomodate this. Nothing to do with divisor which is more to do with showing and having better control between min and max speed.

         

        The Netgear conf file monitors temp1 which doesn't budge much to control the cpu fan, the other fans we've added to the motherboard just tag along for fun.

         

        The chip is also capable of controlling fan speed via the southbridge, so our fan pcb headers may not be connected directly to the w83627 chip at all, also it appears the IPMI can override stuff too. 

         

        I've also discovered that temp2 rather than temp1 on the w83627 is the cpu temp diode, so perhaps all that is needed on a properly functioning machine is for the RD5200.conf file to check temp2 rather than temp1.

         

        Bullfrog2

         

         

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More