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

#26 2008-10-15 17:00:13

rolfsky
Member
From: sunny California
Registered: 2008-10-14
Posts: 19
Website

Re: Temperature reading problem!

for what it's worth:  a full shutdown and reboot of my DNS-323 cleared up my dns323-temp and dns323-rtc values.

(that, after reinstalling the fw, resetting to factory defaults, and uninstalling fun_plug, all with no change)

Last edited by rolfsky (2008-10-25 00:45:43)

Offline

 

#27 2008-10-15 18:04:45

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

Re: Temperature reading problem!

skydreamer wrote:

You need to install ipkg and smartctl for this to work.

or http://www.inreto.de/dns323/fun-plug/0. … rtmontools (didn't see it?)

Offline

 

#28 2008-10-15 22:22:39

skydreamer
Member
From: At the Atlantic Coast
Registered: 2007-01-06
Posts: 232

Re: Temperature reading problem!

Thanks Fonz- I actually missed that, headed straight for your ftp directory of the ffp packages and as I could not find it there opted for ipkg.

Anyway I have a problem with the script as it prevents the disks from spinning down. So I had to modify it a bit to fix this and will give it another go.


  Ta=`/mnt/HD_a2/ipkg/opt/sbin/smartctl -n standby -d marvell -A /dev/sda | awk '/194 Temperature_Celsius/{print $10}' | sed 's/^[0]
  Tb=`/mnt/HD_a2/ipkg/opt/sbin/smartctl -n standby -d marvell -A /dev/sdb | awk '/194 Temperature_Celsius/{print $10}' | sed 's/^[0]

  if [ -z "$Ta"]; then
    Ta=0
  fi
  if [ -z "$Tb"]; then
    Tb=0
  fi

  if [ $Ta -gt $Tb ]; then
  # Assign the higher temperature
    T=$Ta                       
  else   
    T=$Tb
  fi

Offline

 

#29 2008-10-22 22:09:13

perssinaasappel
Member
From: Europe
Registered: 2008-10-22
Posts: 59

Re: Temperature reading problem!

Oh no, today I've got the same problem.
Temp reading was 0 deg. and when I tried to reboot, the ch3snas was stuck in a reboot loop.
(Flashing blue boot LED, NIC not responding to ping.)
Only way to "fix" was power cycle the box. :-(

Running 1.04RC5, ffp 0.5, nzbget, nzbgetweb, lighttpd and ntpd. (NO fan ctrl script stuff.)

I don't have a very good feeling about this when trusting the device all my precious data.

Any info available on the root cause?
Can I be of any help with logs or so? (If any.)

Thx!

Last edited by perssinaasappel (2008-10-22 22:11:22)


CH3SNAS • 1.05b5 • ffp 0.5 • 2x WD Caviar Green WD5000AACS • nzbget(web)

Offline

 

#30 2008-10-22 22:16:08

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

Re: Temperature reading problem!

Just discovered the same problem yesterday.  Posted in a separate thread (sorry): http://dns323.kood.org/forum/t3154-cont … vior..html


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

 

#31 2008-10-22 23:08:07

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

Re: Temperature reading problem!

When you have problems with the fan, please check output of 'dmesg' (/var/log/messages if you have syslogd running) for TWSI errors.

Offline

 

#32 2008-10-22 23:20:02

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

Re: Temperature reading problem!

fonz wrote:

When you have problems with the fan, please check output of 'dmesg' (/var/log/messages if you have syslogd running) for TWSI errors.

You mean like: "TWSI: twsiDataTransmit ERROR - Read Data Int TimeOut."

Sounds nasty. smile

Will use of your "fanctl" binary as opposed to shell script with "temperature" and "fanspeed" resolve the issue?  Seems to me it would not if you rely on the same mechanismsin the binary for temperature and fan management. I'm open to suggestions. smile


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

 

#33 2008-10-22 23:29:48

perssinaasappel
Member
From: Europe
Registered: 2008-10-22
Posts: 59

Re: Temperature reading problem!

fonz wrote:

When you have problems with the fan, please check output of 'dmesg' (/var/log/messages if you have syslogd running) for TWSI errors.

The fan was, lucky me, still running @ low speed.
Confirmed this by looking at, and hearing the fan.

There is no messages file in /var/log because syslogd isn't running.
Can this be usefull to you fonz?
If so, I'll run this deamon for a while.


CH3SNAS • 1.05b5 • ffp 0.5 • 2x WD Caviar Green WD5000AACS • nzbget(web)

Offline

 

#34 2008-10-23 00:15:48

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

Re: Temperature reading problem!

perssinaasappel wrote:

If so, I'll run this deamon for a while.

If you don't run syslogd, type 'dmesg', as I said.

Offline

 

#35 2008-10-23 00:18:23

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

Re: Temperature reading problem!

jesbo wrote:

Will use of your "fanctl" binary as opposed to shell script with "temperature" and "fanspeed" resolve the issue?

No, it won't.

Offline

 

#36 2008-10-24 00:09:43

perssinaasappel
Member
From: Europe
Registered: 2008-10-22
Posts: 59

Re: Temperature reading problem!

OK, didn't realized dmesg was a command to type. (me=*nix n00b)
In my case the output of dmesg is not very exciting.
Lots of HDD awake/sleep messages.
I guess dmesg keeps a limited number of messages in memory and then drops stuff.
So nothing left from the temp reading error. :-(

If this happens more often I'll start syslogd to capture messages in a logfile.

Last edited by perssinaasappel (2008-10-24 00:10:41)


CH3SNAS • 1.05b5 • ffp 0.5 • 2x WD Caviar Green WD5000AACS • nzbget(web)

Offline

 

#37 2008-10-24 00:35:30

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

Re: Temperature reading problem!

If there is a problem, it would persist. So if there are no messages (except the ones with "wakeup" and "sleep"), then there is no problem wink

Offline

 

#38 2008-10-26 13:07:17

perssinaasappel
Member
From: Europe
Registered: 2008-10-22
Posts: 59

Re: Temperature reading problem!

DeLaCroix wrote:

If there is a problem, it would persist. So if there are no messages (except the ones with "wakeup" and "sleep"), then there is no problem wink

I don't know how to reproduce the problem, sometimes it's just there.
dmesg doesn't store information very long.
For this purpose I turned on syslogd, let's wait and see what happens.


CH3SNAS • 1.05b5 • ffp 0.5 • 2x WD Caviar Green WD5000AACS • nzbget(web)

Offline

 

#39 2008-10-26 13:41:40

knireis
Member
Registered: 2007-12-10
Posts: 231

Re: Temperature reading problem!

I have the temp reading problem, it reads 0 or 32. After a reboot it is ok again but usually after a day it is back to 0 or 32.

My dmesg responds:

TWSI: mvTwsiStopBitSet ERROR - Stop bit TimeOut .
TWSI: mvTwsiStartBitSet ERROR - Start Clear bit TimeOut .
TWSI: mvTwsiStopBitSet ERROR - Stop bit TimeOut .
TWSI: mvTwsiStartBitSet ERROR - Start Clear bit TimeOut .
TWSI: mvTwsiStopBitSet ERROR - Stop bit TimeOut .
TWSI: mvTwsiStartBitSet ERROR - Start Clear bit TimeOut .
TWSI: mvTwsiStopBitSet ERROR - Stop bit TimeOut .
TWSI: mvTwsiStartBitSet ERROR - Start Clear bit TimeOut .
TWSI: mvTwsiStopBitSet ERROR - Stop bit TimeOut .
TWSI: mvTwsiStartBitSet ERROR - Start Clear bit TimeOut .
TWSI: mvTwsiStopBitSet ERROR - Stop bit TimeOut .
TWSI: mvTwsiStartBitSet ERROR - Start Clear bit TimeOut .
TWSI: mvTwsiStopBitSet ERROR - Stop bit TimeOut .
TWSI: mvTwsiStartBitSet ERROR - Start Clear bit TimeOut .
TWSI: mvTwsiStopBitSet ERROR - Stop bit TimeOut .
TWSI: mvTwsiStartBitSet ERROR - Start Clear bit TimeOut .
TWSI: mvTwsiStopBitSet ERROR - Stop bit TimeOut .
TWSI: mvTwsiStartBitSet ERROR - Start Clear bit TimeOut .
TWSI: mvTwsiStopBitSet ERROR - Stop bit TimeOut .
TWSI: mvTwsiStartBitSet ERROR - Start Clear bit TimeOut .
TWSI: mvTwsiStopBitSet ERROR - Stop bit TimeOut .
root@CH3SNAS:~#

It is just a few of them, there are many more lines like this. Is this a problem?

Offline

 

#40 2008-10-26 13:50:01

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

Re: Temperature reading problem!

knireis wrote:

It is just a few of them, there are many more lines like this. Is this a problem?

Yes, it is. It means that your fan is no longer temperature controlled, but continues at the speed it had when the errors first appeared, no matter what the temperature is now. If your fan was turned off, it'll never start again.

Offline

 

#41 2008-10-26 14:33:53

knireis
Member
Registered: 2007-12-10
Posts: 231

Re: Temperature reading problem!

fonz wrote:

knireis wrote:

It is just a few of them, there are many more lines like this. Is this a problem?

Yes, it is. It means that your fan is no longer temperature controlled, but continues at the speed it had when the errors first appeared, no matter what the temperature is now. If your fan was turned off, it'll never start again.

Some posts back i read about using the smartmontools to control the fanspeed. Is that an option and how do i implement it?
I use the fancontrol script from the http://nas-tweaks.net/CH3SNAS site, should i remove it?

Offline

 

#42 2008-10-26 23:28:20

perssinaasappel
Member
From: Europe
Registered: 2008-10-22
Posts: 59

Re: Temperature reading problem!

Sh*t, it happend again, lots of messages like below.

Oct 26 22:15:37 CH3SNAS user.warn kernel: TWSI: mvTwsiStartBitSet ERROR - Start Clear bit TimeOut .
Oct 26 22:15:37 CH3SNAS user.warn kernel: TWSI: mvTwsiStopBitSet ERROR - Stop bit TimeOut .

It seems to happen when nzbget v0.5.1 is downloading for some time.
Is it possible that nzbget is the cause of the problem?
nzbget hits 98% cpu usage when verifying .rar files, can this be a problem?

Last edited by perssinaasappel (2008-10-27 00:14:54)


Attachments:
Attachment Icon top.jpg, Size: 81,889 bytes, Downloads: 266

CH3SNAS • 1.05b5 • ffp 0.5 • 2x WD Caviar Green WD5000AACS • nzbget(web)

Offline

 

#43 2008-10-27 08:52:32

knireis
Member
Registered: 2007-12-10
Posts: 231

Re: Temperature reading problem!

perssinaasappel wrote:

Sh*t, it happend again, lots of messages like below.

Oct 26 22:15:37 CH3SNAS user.warn kernel: TWSI: mvTwsiStartBitSet ERROR - Start Clear bit TimeOut .
Oct 26 22:15:37 CH3SNAS user.warn kernel: TWSI: mvTwsiStopBitSet ERROR - Stop bit TimeOut .

It seems to happen when nzbget v0.5.1 is downloading for some time.
Is it possible that nzbget is the cause of the problem?
nzbget hits 98% cpu usage when verifying .rar files, can this be a problem?

I dont use nzbget and have the pronlem as well, so i think it is not nzbget what causes the problem.

Offline

 

#44 2008-10-27 18:00:05

perssinaasappel
Member
From: Europe
Registered: 2008-10-22
Posts: 59

Re: Temperature reading problem!

@knireis, do you have something running which sometimes is very CPU intensive?
(Like, in my case, nzbget.)


CH3SNAS • 1.05b5 • ffp 0.5 • 2x WD Caviar Green WD5000AACS • nzbget(web)

Offline

 

#45 2008-10-27 18:02:30

knireis
Member
Registered: 2007-12-10
Posts: 231

Re: Temperature reading problem!

perssinaasappel wrote:

@knireis, do you have something running which sometimes is very CPU intensive?
(Like, in my case, nzbget.)

no nothing special, just twonky, rsync and lighttpd with a simple website

Offline

 

#46 2008-10-27 22:47:32

perssinaasappel
Member
From: Europe
Registered: 2008-10-22
Posts: 59

Re: Temperature reading problem!

To see if high CPU load has something to do with it I want to run nzbget with "nice".

Starting nzbget manually works with:

nice -n 19 /ffp/bin/nzbget -D -c /ffp/etc/nzbget.conf

Let's wait and see.

[edit] Still looking good, no errors yet. :-) [/edit]
[edit2] TWSI errors seen, so in my case not CPU load related. :-( [/edit2]

Last edited by perssinaasappel (2008-10-31 15:30:24)


Attachments:
Attachment Icon nice_top.jpg, Size: 75,299 bytes, Downloads: 287

CH3SNAS • 1.05b5 • ffp 0.5 • 2x WD Caviar Green WD5000AACS • nzbget(web)

Offline

 

#47 2008-10-28 08:03:20

noodle
Member
Registered: 2007-07-13
Posts: 62

Re: Temperature reading problem!

I'm sure CPU load is not the reason. I get this issue sometime even nothing is running. It's just concurrent issue (reading process and writing process happened at same time).

Offline

 

#48 2008-10-28 13:35:38

perssinaasappel
Member
From: Europe
Registered: 2008-10-22
Posts: 59

Re: Temperature reading problem!

Well maybe you'r right but I don't want to jump to conclusions.
All setups are different and to my understanding the root cause is still unknown.

After a few days I'll see how my setup works.


CH3SNAS • 1.05b5 • ffp 0.5 • 2x WD Caviar Green WD5000AACS • nzbget(web)

Offline

 

#49 2008-10-28 13:37:10

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

Re: Temperature reading problem!

perssinaasappel wrote:

All setups are different and to my understanding the root cause is still unknown.

I think it's a kernel bug. While I see the TWSI errors within hours/days on 2.6.12.6, I've never seen it (or any of the symptoms) on 2.6.25.

Offline

 

#50 2008-10-28 15:53:26

skydreamer
Member
From: At the Atlantic Coast
Registered: 2007-01-06
Posts: 232

Re: Temperature reading problem!

fonz wrote:

I think it's a kernel bug. While I see the TWSI errors within hours/days on 2.6.12.6, I've never seen it (or any of the symptoms) on 2.6.25.

Hi Fonz, What is the best way to upgrade to the new kernel? I am a bit concerned about the whole temperature issue.

BTW: I have a circuit for auto power on of DNS-323 after power loss consisting of one transistor, two diodes, three resistors and two caps. Need to do final testing before releasing it. Probably next week.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB