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 2010-07-27 23:31:46

gasman
Member
From: Swansea,UK
Registered: 2009-06-23
Posts: 94

TWSI: messages in dmesg ??

I noticed that on a reboot the DNS323 takes quite a while to be up and running and using the very little I know about Linux see from the dmesg output a lot of the following messages.

TWSI: mvTwsiStartBitSet ERROR - Start Clear bit TimeOut .
TWSI: mvTwsiStopBitSet ERROR - Stop bit TimeOut .

I ggogled that text and found a link to ntpd at http://nas-tweaks.net/CH3SNAS:Tutorials/ntp and have changed to using the CRON option as described.

Using ps I have checked that ntpd is not running and I've taken the execute attribute off the script file.

Yet I still have plenty of these messages. Unfortunately they do not give a time value with the message.

Is this anything to be concerned about.?

TIA


DNS-323 FW 1.08 (05/15/2009) HW:B1
2 * Seagate    ST3500630AS (500GB)  Fun_plug 0.5
DNS-323 FW 1.08  (12/18/2009) HW:B1
2 * Hitachi    HDS5C3020ALA632 (2TB)  Fun_plug 0.5

Offline

 

#2 2010-07-28 09:01:48

nogi
Member
From: Heddesheim, Germany
Registered: 2010-03-31
Posts: 28

Re: TWSI: messages in dmesg ??

gasman wrote:

I noticed that on a reboot the DNS323 takes quite a while to be up and running and using the very little I know about Linux see from the dmesg output a lot of the following messages.

TWSI: mvTwsiStartBitSet ERROR - Start Clear bit TimeOut .
TWSI: mvTwsiStopBitSet ERROR - Stop bit TimeOut .

I ggogled that text and found a link to ntpd at http://nas-tweaks.net/CH3SNAS:Tutorials/ntp and have changed to using the CRON option as described.

Using ps I have checked that ntpd is not running and I've taken the execute attribute off the script file.

Yet I still have plenty of these messages. Unfortunately they do not give a time value with the message.

Is this anything to be concerned about.?

TIA

Did you see the thread :

http://dns323.kood.org/forum/t1506-Anyo … og%3F.html

and "atx32"s solution?

NoGi

Offline

 

#3 2010-07-28 11:11:46

gasman
Member
From: Swansea,UK
Registered: 2009-06-23
Posts: 94

Re: TWSI: messages in dmesg ??

Well I saw the thread, but stopped when it started going on about flashing firmware and orion.?
I am only using what comes with the DNS323 and the brilliant fun_plug.

I reached the part about crontab and that matched the link I posted.

I'll try atx32's idea and see if that works for me.

Thanks very much.

I'll post back the result.

nogi wrote:

gasman wrote:

I noticed that on a reboot the DNS323 takes quite a while to be up and running and using the very little I know about Linux see from the dmesg output a lot of the following messages.

TWSI: mvTwsiStartBitSet ERROR - Start Clear bit TimeOut .
TWSI: mvTwsiStopBitSet ERROR - Stop bit TimeOut .

I ggogled that text and found a link to ntpd at http://nas-tweaks.net/CH3SNAS:Tutorials/ntp and have changed to using the CRON option as described.

Using ps I have checked that ntpd is not running and I've taken the execute attribute off the script file.

Yet I still have plenty of these messages. Unfortunately they do not give a time value with the message.

Is this anything to be concerned about.?

TIA

Did you see the thread :

http://dns323.kood.org/forum/t1506-Anyo … og%3F.html

and "atx32"s solution?

NoGi


DNS-323 FW 1.08 (05/15/2009) HW:B1
2 * Seagate    ST3500630AS (500GB)  Fun_plug 0.5
DNS-323 FW 1.08  (12/18/2009) HW:B1
2 * Hitachi    HDS5C3020ALA632 (2TB)  Fun_plug 0.5

Offline

 

#4 2010-07-28 12:06:18

gasman
Member
From: Swansea,UK
Registered: 2009-06-23
Posts: 94

Re: TWSI: messages in dmesg ??

Ok, little confused now (and that is not hard to do :-) )

My ntpd.sh appears to be the same, I already have the -x option.

I'm in the UK so *think* I need the following for fun_plug.local ?

Code:

# UK Time
echo 'UTC/GMT' >/etc/TZ
# fix /etc/services
if ! grep -w ntp /etc/services >/dev/null; then
        echo "ntp 123/udp" >>/etc/services
fi
ntpdate -b uk.pool.ntp.org

but I already have the following in my fun_plug.local ??

Code:

echo 'GMT+1BST-1,M3.5.0/01:00:00,M10.5.0/02:00:00' >/etc/TZ

I have a ntp.conf file in /ffp/etc  and none in /etc. The file contains

Code:

# UK time servers, iburst to speed up synchronization on startup
server 0.uk.pool.ntp.org iburst
server 1.uk.pool.ntp.org iburst
server 2.uk.pool.ntp.org iburst
server 3.uk.pool.ntp.org iburst

# drift file path is passed on command line in ntpd.sh (-f)
# driftfile /etc/ntp.drift

# add local clock with stratum 10 as last resort
server 127.127.1.0
fudge  127.127.1.0 stratum 10

# detailed logging
#logconfig =all

yet if I try ntpupdate -n uk.pool.ntp.org or 0.uk.ntp.pool.org I get

Code:

/mnt/HD_a2/ffp/start # ntpdate -b uk.pool.ntp.org
Error : Servname not supported for ai_socktype
28 Jul 10:05:56 ntpdate[11823]: can't find host uk.pool.ntp.org

28 Jul 10:05:56 ntpdate[11823]: no servers can be used, exiting

Last edited by gasman (2010-07-28 16:02:21)


DNS-323 FW 1.08 (05/15/2009) HW:B1
2 * Seagate    ST3500630AS (500GB)  Fun_plug 0.5
DNS-323 FW 1.08  (12/18/2009) HW:B1
2 * Hitachi    HDS5C3020ALA632 (2TB)  Fun_plug 0.5

Offline

 

#5 2010-07-30 10:36:50

gasman
Member
From: Swansea,UK
Registered: 2009-06-23
Posts: 94

Re: TWSI: messages in dmesg ??

Ok, I discovered that I had the ntp server checked in the web gui, so disabled that.
That appears to have stopped the messages.

I have

Code:

/usr/sbin/sntp -r -P no uk.pool.ntp.org

in my crontab and executing that from the command line works fine. date and time are correct.

Not sure as what to put in fun_plug.local as per the link posted, so have left well alone, as it appears to be working, no more TWSI messages. smile


DNS-323 FW 1.08 (05/15/2009) HW:B1
2 * Seagate    ST3500630AS (500GB)  Fun_plug 0.5
DNS-323 FW 1.08  (12/18/2009) HW:B1
2 * Hitachi    HDS5C3020ALA632 (2TB)  Fun_plug 0.5

Offline

 

#6 2010-07-30 17:13:12

wortelsoft
Member
From: Netherlands
Registered: 2009-06-08
Posts: 52

Re: TWSI: messages in dmesg ??

Well done!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB