DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-10-22 22:09:43

jesbo
Member
From: Falls Church, VA
Registered: 2008-08-28
Posts: 101

ffp fan control script - bizarre behavior.

I implemented a fan_ctrl.sh script as part of my ffp enhancement. It had been working flawlessly for several days, shutting off the fan when "temperature g 0" returned temps below 100F, and varying speeds as needed when the temp was above 100F. I even have the script logging each reading to a log file on my USB flash disk where ffp resides.

Well, yesterday I came home and found the DNS-323 very warm to touch, the drives spinning, and the fan OFF (physically not spinning).  I telneted in and checked the log and ps - the script was still running and logging readings.  The log was showing fan speed set to "0" and temperature at 32F.  I ran a "temperature g 0" and it reported 32F (thus the fan was legitimately stopped based on that reading).  I ran a "fanspeed g" and the speed was reported back at something like 3400 (not 0) even though the fan was not actually spinning.  I then ran "fanspeed w 4000" to turn the fan on...  No response. The fan did not start.

I changed the fan_ctrl.sh script to non-execute and rebooted the DNS (so as to use the built in fancontrol program).  Upon reboot, the fan started normally.  I immediately ran "temperature g 0" and got a reading of 122F and the fan was spinning at around 4K RPM. The unit quickly cooled down.

I am now back to running the Dlink fancontrol as opposed to my script.

Any thoughts?

BTW. I see in the v 1.06 firmware that fancontrol is being modified to shut the fan off now if temps get low enough to do so.  That is a welcome addition as it makes the fan_ctrl.sh script unnecessary.

Last edited by jesbo (2008-10-22 22:11:52)


DNS-323 (H/W ver. B1) |  2 x 1 TB WD Caviar Black (Raid 1) | Corsair Flash Voyager - 16 GB USB | FW 1.08 | fun_plug 0.5

Offline

 

#2 2008-10-22 22:36:19

DeLaCroix
Member
Registered: 2007-08-18
Posts: 91
Website

Re: ffp fan control script - bizarre behavior.

Offline

 

#3 2008-10-22 23:41:17

rcblackwell
Member
From: Pickering, ON
Registered: 2008-05-19
Posts: 204
Website

Re: ffp fan control script - bizarre behavior.

I installed the script a few weeks back then ran into the same problem as jesbo.  Any ideas why?


Bob Blackwell
Pickering, ON

Offline

 

#4 2008-10-23 00:25:21

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: ffp fan control script - bizarre behavior.

jesbo wrote:

I am now back to running the Dlink fancontrol as opposed to my script.

Any thoughts?

Have you checked for TWSI errors in the output of 'dmesg'?

Offline

 

#5 2008-10-23 00:42:32

jesbo
Member
From: Falls Church, VA
Registered: 2008-08-28
Posts: 101

Re: ffp fan control script - bizarre behavior.

fonz wrote:

jesbo wrote:

I am now back to running the Dlink fancontrol as opposed to my script.

Any thoughts?

Have you checked for TWSI errors in the output of 'dmesg'?

Yep.. I saw the TWSI error.

I have just installed the fanctl binary (which as you mention in the other thread may not resolve the issue).  However, fanctl does a nicer job of controlling the fan than the simple shell script or fancontrol, so I'll just monitor it and see what happens.

Thanks for all the help!

J.


DNS-323 (H/W ver. B1) |  2 x 1 TB WD Caviar Black (Raid 1) | Corsair Flash Voyager - 16 GB USB | FW 1.08 | fun_plug 0.5

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB