michalpolkowski / alt-f

Automatically exported from code.google.com/p/alt-f
0 stars 0 forks source link

Fan pulses every 60 seconds with 0.1RC1 firmware #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. turn on dns-323 with 0.1RC1 firmware, and wait. It seems most noticable when 
the drives are at idle.

What is the expected output? Fan speed to be proportional to activity
What do you see instead? Every 60 seconds exactly, the fan spins up to a fast 
RPM and then back down in the span of about 1.5 seconds.

What version of the product are you using? On what operating system? DNS 323, 
firmware 0.1RC1

Please provide any additional information below.
This did not occur with the last version of firmware. I have the DNS 323 on my 
desk, and I use a laptop - so my office isn't full of spinning fans - which is 
why I notice it. The fan may be responding to another process that is running 
every 60 seconds, but I don't know how to discover what that is. My setup is 
pretty plain vanilla. I use it for backup only - so, for services, I'm using 
Samba.

Original issue reported on code.google.com by s...@coolbean.com on 2 Feb 2012 at 4:29

GoogleCodeExporter commented 9 years ago
-What hardware board are you using? A1, B1 or C1? (look at the label at the box 
bottom)

-What is the system temperature in the Status page when that happens?

-Have you used Services->System->sysctrl->Configure and change anything?

-Does a /etc/sysctrl.conf file exists? Can you please post it?

Original comment by whoami.j...@gmail.com on 2 Feb 2012 at 5:52

GoogleCodeExporter commented 9 years ago
-Can you please post the System Log? (System->Utilities->View Logs->System Log 
(please use "sysctrl" as a filter and use Refresh)

Original comment by whoami.j...@gmail.com on 2 Feb 2012 at 5:56

GoogleCodeExporter commented 9 years ago
Hi jcard,

I experiance the same thing after I clear the settings and do a reboot..

Here is my log from 0.1RC2 after a reboot.

Feb 25 11:52:09 DNS-323 daemon.info sysctrl: Starting
Feb 25 11:52:09 DNS-323 daemon.info sysctrl: reading /etc/sysctrl.conf
Feb 25 11:52:09 DNS-323 daemon.info sysctrl: cant open /etc/sysctrl.conf: No 
such file or directory Using defaults
Feb 25 11:52:09 DNS-323 daemon.info sysctrl: args.lo_fan=2000
Feb 25 11:52:09 DNS-323 daemon.info sysctrl: args.hi_fan=5000
Feb 25 11:52:09 DNS-323 daemon.info sysctrl: args.lo_temp=40
Feb 25 11:52:09 DNS-323 daemon.info sysctrl: args.hi_temp=50
Feb 25 11:52:09 DNS-323 daemon.info sysctrl: args.mail=1
Feb 25 11:52:09 DNS-323 daemon.info sysctrl: args.recovery=1
Feb 25 11:52:09 DNS-323 daemon.info sysctrl: args.fan_off_temp=38
Feb 25 11:52:09 DNS-323 daemon.info sysctrl: args.max_fan_speed=5500
Feb 25 11:52:09 DNS-323 daemon.info sysctrl: args.crit_temp=54
Feb 25 11:52:09 DNS-323 daemon.info sysctrl: args.warn_temp=52
Feb 25 11:52:09 DNS-323 daemon.info sysctrl: 
args.crit_temp_command="/sbin/poweroff"
Feb 25 11:52:09 DNS-323 daemon.info sysctrl: args.warn_temp_command="(null)"
Feb 25 11:52:09 DNS-323 daemon.info sysctrl: args.front_button_command1="(null)"
Feb 25 11:52:09 DNS-323 daemon.info sysctrl: args.front_button_command2="(null)"
Feb 25 11:52:09 DNS-323 daemon.info sysctrl: args.back_button_command="(null)"
Feb 25 11:52:09 DNS-323 user.notice root: Starting sysctrl: OK.
Feb 25 11:52:09 DNS-323 daemon.info sysctrl: left_dev disk (sda) wakeup
Feb 25 11:53:11 DNS-323 daemon.info sysctrl: temp=39.3   fan=4468
Feb 25 11:53:41 DNS-323 daemon.info sysctrl: temp=38.9   fan=4593
Feb 25 11:54:41 DNS-323 daemon.info sysctrl: temp=38.4   fan=4964
Feb 25 11:55:12 DNS-323 daemon.info sysctrl: temp=38.2   fan=4636

When I do some changes and save them and then do a reboot the pulsing stops..
I noticed that my DNS-323(B1) can't find the /etc/sysctrl.conf.

Original comment by KPScha...@gmail.com on 25 Feb 2012 at 11:01

GoogleCodeExporter commented 9 years ago
> When I do some changes and save them and then do a reboot the pulsing stops..

What changes? can you post your current settings?

> I noticed that my DNS-323(B1) can't find the /etc/sysctrl.conf

That is normal, thus the "Using defaults" message.
The defaults are:

lo_fan=2000
hi_fan=5000
lo_temp=40
hi_temp=50
fan_off_temp=38
max_fan_speed=5500
crit_temp=54
warn_temp=52

Original comment by whoami.j...@gmail.com on 28 Feb 2012 at 4:59

GoogleCodeExporter commented 9 years ago
The pulsing stops when I make any setting changes.

I didn't make any chages under the sysctrl tab.

Still using the default settings for sysctrl.

I noticed that somtimes after a reboot the pulsing starts but when I notice the 
pulsing I reboot te device again and it stops.

Original comment by KPScha...@gmail.com on 10 Mar 2012 at 11:21

GoogleCodeExporter commented 9 years ago
Had the pulsing again after a reboot.

My log: May 15 09:14:13 DNS-323 daemon.info sysctrl: Starting
May 15 09:14:13 DNS-323 daemon.info sysctrl: reading /etc/sysctrl.conf
May 15 09:14:13 DNS-323 daemon.info sysctrl: cant open /etc/sysctrl.conf: No 
such file or directory Using defaults
May 15 09:14:13 DNS-323 daemon.info sysctrl: args.lo_fan=2000
May 15 09:14:13 DNS-323 daemon.info sysctrl: args.hi_fan=5000
May 15 09:14:13 DNS-323 daemon.info sysctrl: args.lo_temp=40
May 15 09:14:13 DNS-323 daemon.info sysctrl: args.hi_temp=50
May 15 09:14:13 DNS-323 daemon.info sysctrl: args.mail=1
May 15 09:14:13 DNS-323 daemon.info sysctrl: args.recovery=1
May 15 09:14:13 DNS-323 daemon.info sysctrl: args.fan_off_temp=38
May 15 09:14:13 DNS-323 daemon.info sysctrl: args.max_fan_speed=5500
May 15 09:14:13 DNS-323 daemon.info sysctrl: args.crit_temp=54
May 15 09:14:13 DNS-323 daemon.info sysctrl: args.warn_temp=52
May 15 09:14:13 DNS-323 daemon.info sysctrl: 
args.crit_temp_command="/sbin/poweroff"
May 15 09:14:13 DNS-323 user.notice root: Starting sysctrl: OK.
May 15 09:14:13 DNS-323 daemon.info sysctrl: args.warn_temp_command="(null)"
May 15 09:14:13 DNS-323 daemon.info sysctrl: args.front_button_command1="(null)"
May 15 09:14:13 DNS-323 daemon.info sysctrl: args.front_button_command2="(null)"
May 15 09:14:13 DNS-323 daemon.info sysctrl: args.back_button_command="(null)"
May 15 09:14:13 DNS-323 daemon.info sysctrl: left_dev disk (sda) wakeup
May 15 09:14:44 DNS-323 daemon.info sysctrl: temp=39.3   fan=4509
May 15 09:15:14 DNS-323 daemon.info sysctrl: temp=38.9   fan=4593
May 15 09:16:15 DNS-323 daemon.info sysctrl: temp=38.4   fan=5015
May 15 09:16:45 DNS-323 daemon.info sysctrl: temp=38.0   fan=4388
May 15 09:17:15 DNS-323 daemon.info sysctrl: temp=37.7   fan=4915
May 15 09:17:45 DNS-323 daemon.info sysctrl: temp=37.4   fan=4866
May 15 09:18:46 DNS-323 daemon.info sysctrl: temp=36.9   fan=4772
May 15 09:19:47 DNS-323 daemon.info sysctrl: temp=37.2   fan=0
May 15 09:20:17 DNS-323 daemon.info sysctrl: temp=37.6   fan=0
May 15 09:20:47 DNS-323 daemon.info sysctrl: temp=38.1   fan=0

The pulsing is every 30 seconds so I think it has somthing to do with the 
slight change in temp that changes the fanspeed just a little..

Like from 5015 to 4388.

Maybe some sort of triggerwindow for the fanspeed can prevent this pulsing from 
happening..

Original comment by KPScha...@gmail.com on 15 May 2012 at 7:33

GoogleCodeExporter commented 9 years ago
-Thanks again for your report, but I still don't know what hardware board you 
have, is it A1, B1 or C1? Please look at the label at the box bottom.

-when you say:
   "The pulsing stops when I make any setting changes."

You mean changing anything (and submitting it) in other web pages, not in the 
sysctrl web page?

   "I didn't make any chages under the sysctrl tab."
   "Still using the default settings for sysctrl."

you mean that you hit the Submit button in the sysctrl page, without making any 
modification on its fields, and the fan pulsing stops?

-sysctrl already has a one degree Celsius "temperature trigger window" feature, 
but it is implemented different for each board hardware revision. A1 and B1 
boards work differently then C1 boards.

As I can't reproduce this issue myself I rely completely on your precise 
indications in order to start looking at the code and fix it.

Thanks

Original comment by whoami.j...@gmail.com on 15 May 2012 at 2:14

GoogleCodeExporter commented 9 years ago
I might have detected a similar situation on my B1 board:

After a reboot the fan was working with a speed higher than the needed for the 
current box 38ºC temperature.

What was happening?
At boot, the fan is set to a high speed, independent of the current 
temperature. Latter, when the temperature controller program starts executing, 
it sees that the current temperature is lower than the fan_off temperature plus 
1ºC (40ºC) but higher than the fan_off temperature less 1ºC (37ºC), and 
takes no action, keeping the current fan speed.
Eventually, after I opened the box front panel to increasing the air flow but 
without doing anything else, the temperature dropped bellow the fan_off 
temperature - 1ºC (37º) and the fan stopped.
I believe that if I start using the disks instead, the temperature would rise 
above the 40ºC and the fan would start spinning at a low speed.

Original comment by whoami.j...@gmail.com on 19 Jan 2013 at 5:23

GoogleCodeExporter commented 9 years ago
Seems to be fixed, not sure as it is not reproducible

Original comment by whoami.j...@gmail.com on 16 Mar 2013 at 6:09