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 2009-01-23 23:04:12

devotee
Member
From: Valencia, Spain
Registered: 2008-12-12
Posts: 43

Pink leds: (one possible) cause and solution

Hello,

After having pink leds for some time (after I updated to the last CH3SNAS firmware), I've made some tests.

It seems that the blue leds become pink when the root filesystem is full. One test I did was:

Code:

(leds were blue and stable)
# cd /home/root
# dd if=/dev/zero of=file
dd: writing 'file': No space left on device
(leds went pink-stable)

As I use Twonky, I think that it starts on boot, and tries to write everything (config, database,...) in /home/root/.Twonkymediaserver, and it fills the whole filesystem.

As a side note, several things in the web configuration don't work. For example, the temperature report. As the filesystem is full and the values are read from /tmp/temp*, and those files are zero bytes (they can't be created correctly), weird characters are reported instead of the correct temperature.

Since the led status/disk status/fail state might also be stored in a file inside /tmp, that would explain why the leds go blue-pink, pink, or directly mad.

So, if you have the pink leds problem check if your filesystem is full.

To fix Twonky, just add an "ln -s /mnt/HD_a2/twonky/.Twonkymediaserver /home/root" at the start of the twonky startup script.

On the other hand, please note that not only Twonky might be the cause of this problem. The root filesystem can be filled by other installed programs that are configured to write to $HOME (/home/root) or in the /tmp, /var directories.

Last edited by devotee (2009-01-23 23:04:54)


CH3SNAS • 2x Seagate Barracuda ES 7200.11 ST31000340AS 1TB SATAII (3.0Gb/s) 7200RPM 32MB (Rev: SD1A) • Individual volumes • FW1.05 (Firmware Date: 12/31/2008) • ext2

Offline

 

#2 2009-01-24 19:03:13

lament
Member
Registered: 2008-12-25
Posts: 15

Re: Pink leds: (one possible) cause and solution

thanks for the post. I am having the solid pink LED problem after upgrading from Twonky 4.4.9 to 5.0.46. After the LEDs go pink, I can't access the drive anymore - it gets unmapped.

So i have to turn off and turn on the 323 again.

There is about a 3 minute window where I can remap the drive and access the contents. I opened starttwonky.sh with a text editor, edited it, tried to save but it said it was read-only.

can you walk me through how to save it?

I can telnet in.. can I access the files somehow? I'm poking around but don't see starttwonky.sh.

thanks!

Last edited by lament (2009-01-24 19:13:18)

Offline

 

#3 2009-01-24 19:59:02

lament
Member
Registered: 2008-12-25
Posts: 15

Re: Pink leds: (one possible) cause and solution

OK I was able to telnet in and edit and save the file, but I'm still having the pink LED issue. I only have the modified 1.05 firmware with telnet access and Twonky. no other programs on there.

any ideas?

thanks!

Last edited by lament (2009-01-24 19:59:24)

Offline

 

#4 2009-01-25 17:22:34

devotee
Member
From: Valencia, Spain
Registered: 2008-12-12
Posts: 43

Re: Pink leds: (one possible) cause and solution

I'll try to do my best to help... Let's see...

My starttwonky.sh script:

Code:

#!/bin/sh
route add -net 224.0.0.0 netmask 240.0.0.0 dev egiga0

# Let's get rid of the full rootfs problem
ln -s /mnt/HD_a2/.TwonkyMediaServer /home/root

cd /mnt/HD_a2/twonky
/mnt/HD_a2/twonky/twonkymedia &

Of course, don't forget to do a "mkdir /mnt/HD_a2/.TwonkyMediaServer"

Also remember that the Twonky media server might not be the only program filling up the root filesystem, watch the disk usage:

Code:

# df
Filesystem           1k-blocks      Used Available Use% Mounted on
rootfs                    9911      7317      2082  78% /
/dev/root                 9911      7317      2082  78% /
/dev/loop0                5632      5632         0 100% /sys/crfs
[...]

(mmm... not sure if having /sys/crfs at 100% is a good thing, but that would be another subject)

And also watch which directories might be filled up:

Code:

# cd /
# du -ks bin dev sbin tmp var default etc home lib root usr web
413     bin
6       dev
4       sbin
166     tmp
25      var
32      default
281     etc
4       home
562     lib
1       root
102     usr
75      web

(tmp, var, home and root specially)

I'm only running twonky, so I'm safe right now (steady blue leds even after several hours).

Hope this helps you, if you need anything else, just let me know.


CH3SNAS • 2x Seagate Barracuda ES 7200.11 ST31000340AS 1TB SATAII (3.0Gb/s) 7200RPM 32MB (Rev: SD1A) • Individual volumes • FW1.05 (Firmware Date: 12/31/2008) • ext2

Offline

 

#5 2009-01-26 19:07:37

snater
New member
Registered: 2009-01-22
Posts: 2

Re: Pink leds: (one possible) cause and solution

it isnt work for me it still go purple it will stuck

Offline

 

#6 2009-01-26 21:39:54

lament
Member
Registered: 2008-12-25
Posts: 15

Re: Pink leds: (one possible) cause and solution

devotee,

thanks for the info. I did not do mkdir /mnt/HD_a2/.TwonkyMediaServer so that's maybe why it didn't work.

i went back to Twonky 4.4.9 and I'm not having a problem anymore (with the exception of video times not showing up properly on the PS3), but I still want to try out your fix.

Also, with Twonky 5.0.46 installed, I'm not able to telnet in like I could with 4.4.9. Why would that be? I still have the FrodoII modified firmware 1.05 with telnet.

Last edited by lament (2009-01-26 21:40:10)

Offline

 

#7 2009-01-26 22:17:35

Papaloewe
Member
From: Germany / Leverkusen
Registered: 2008-10-30
Posts: 7

Re: Pink leds: (one possible) cause and solution

Hi devotee,

That's it. Thank you for this hint.

You also can edit the file: "twonkymedia-server-default.ini" before you start twonky the first time like this:

Code:

cachedir=/mnt/HD_a2/usbstorage/twonky5/db/cache
dbdir=/mnt/HD_a2/usbstorage/twonky5/db
uploadmusicdir=/mnt/HD_a2/usbstorage/twonky5/twonkymedia-server-uploaded-music
uploadpicturedir=/mnt/HD_a2/usbstorage/twonky5/twonkymedia-server-uploaded-pictures
uploadvideodir=/mnt/HD_a2/usbstorage/twonky5/twonkymedia-server-uploaded-videos
onlinedir=/mnt/HD_a2/usbstorage/twonky5/twonkymedia-server-online-data
mediastatisticsdir=/mnt/HD_a2/usbstorage/twonky5/media-statistics/

There is no need for setting the symbolic link anymore.


Conceptronics CH3SNAS, FW: 1.04 RC6, fun_plug 0.5 on USB-Stick

Offline

 

#8 2009-01-27 06:47:54

lament
Member
Registered: 2008-12-25
Posts: 15

Re: Pink leds: (one possible) cause and solution

ok here's the df command..

Code:

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/ram0                 9911      7746      1653  82% /
/dev/md0             958846504  91875744 866970760  10% /mnt/HD_a2
/dev/sda4               497861        65    497796   0% /mnt/HD_a4
/dev/sdb4               497861         8    497853   0% /mnt/HD_b4

i'm still getting the pink LEDs, and i can't execute the du command..

Code:

# du -ks bin dev sbin tmp var default etc home lib root usr web
/alt/sh: du: not found

@Papaloewe - my default ini shows:

Code:

contentbase=/mnt
contentdir=+A|/
friendlyname=Twonky DNS-232
httpport=9000
enableweb=2
scantime=60
maxmem=15000
startupmb=0
norescale=1
platform=DNS323

i'm not sure about all those directories you posted. am i supposed to create those? are those specific to your NAS? remember I'm a linux newb.. go easy on me. smile

Last edited by lament (2009-01-27 06:52:02)

Offline

 

#9 2009-01-27 14:26:10

Papaloewe
Member
From: Germany / Leverkusen
Registered: 2008-10-30
Posts: 7

Re: Pink leds: (one possible) cause and solution

Hi lament,

You don't have to create these dirs manually. They are created from the twonky-process automaticaly.
In my post are the pathes of my installation. This is not the standard.
I think the standard-path of the twonky directory is: /mnt/HD_a2/twonky.
The lines have to be added at the end. Do not delete any one.

Last edited by Papaloewe (2009-01-27 14:26:58)


Conceptronics CH3SNAS, FW: 1.04 RC6, fun_plug 0.5 on USB-Stick

Offline

 

#10 2009-01-27 18:39:42

lament
Member
Registered: 2008-12-25
Posts: 15

Re: Pink leds: (one possible) cause and solution

Papaloewe wrote:

Hi lament,

You don't have to create these dirs manually. They are created from the twonky-process automaticaly.
In my post are the pathes of my installation. This is not the standard.
I think the standard-path of the twonky directory is: /mnt/HD_a2/twonky.
The lines have to be added at the end. Do not delete any one.

OK sorry.. I'm still not understanding what you edited here then:

Code:

cachedir=/mnt/HD_a2/usbstorage/twonky5/db/cache
dbdir=/mnt/HD_a2/usbstorage/twonky5/db
uploadmusicdir=/mnt/HD_a2/usbstorage/twonky5/twonkymedia-server-uploaded-music
uploadpicturedir=/mnt/HD_a2/usbstorage/twonky5/twonkymedia-server-uploaded-pictures
uploadvideodir=/mnt/HD_a2/usbstorage/twonky5/twonkymedia-server-uploaded-videos
onlinedir=/mnt/HD_a2/usbstorage/twonky5/twonkymedia-server-online-data
mediastatisticsdir=/mnt/HD_a2/usbstorage/twonky5/media-statistics/

what do I need to add to my .ini file?

Offline

 

#11 2009-01-27 19:46:08

Papaloewe
Member
From: Germany / Leverkusen
Registered: 2008-10-30
Posts: 7

Re: Pink leds: (one possible) cause and solution

cachedir=/mnt/HD_a2/twonky/db/cache
dbdir=/mnt/HD_a2/twonky/db
uploadmusicdir=/mnt/HD_a2/twonky/twonkymedia-server-uploaded-music
uploadpicturedir=/mnt/HD_a2/twonky/twonkymedia-server-uploaded-pictures
uploadvideodir=/mnt/HD_a2/twonky/twonkymedia-server-uploaded-videos
onlinedir=/mnt/HD_a2/twonky/twonkymedia-server-online-data
mediastatisticsdir=/mnt/HD_a2/twonky/media-statistics/

Think this should work.


Conceptronics CH3SNAS, FW: 1.04 RC6, fun_plug 0.5 on USB-Stick

Offline

 

#12 2009-01-27 19:51:40

lament
Member
Registered: 2008-12-25
Posts: 15

Re: Pink leds: (one possible) cause and solution

OK great I will try that out tonight when I get home from work. Thanks!

Offline

 

#13 2009-01-28 06:29:08

lament
Member
Registered: 2008-12-25
Posts: 15

Re: Pink leds: (one possible) cause and solution

after a little drive activity for a few minutes, it appears I'm all good. thanks guys!

Offline

 

#14 2009-02-02 19:54:45

snater
New member
Registered: 2009-01-22
Posts: 2

Re: Pink leds: (one possible) cause and solution

is there a solution already or what???

tnx

Offline

 

#15 2009-02-02 21:33:44

lament
Member
Registered: 2008-12-25
Posts: 15

Re: Pink leds: (one possible) cause and solution

Yes, it's posted in the thread already.

add this to twonkymedia-server-default.ini

Code:

cachedir=/mnt/HD_a2/twonky/db/cache
dbdir=/mnt/HD_a2/twonky/db
uploadmusicdir=/mnt/HD_a2/twonky/twonkymedia-server-uploaded-music
uploadpicturedir=/mnt/HD_a2/twonky/twonkymedia-server-uploaded-pictures
uploadvideodir=/mnt/HD_a2/twonky/twonkymedia-server-uploaded-videos
onlinedir=/mnt/HD_a2/twonky/twonkymedia-server-online-data
mediastatisticsdir=/mnt/HD_a2/twonky/media-statistics/

Offline

 

#16 2009-02-14 13:35:17

dinom
Member
Registered: 2009-02-13
Posts: 5

Re: Pink leds: (one possible) cause and solution

Just to update this thread.  I tried both suggestions above on my DNS-323 with Twonky 5 and only the symbolic link suggestion fixed all my Twonky issues.  The fix to add the extra lines to the *.ini file only fixes the pink LED issue and the issue where the box loses its mind after 2 minutes or so.  It did not fix my problem where the box would lose its configuration settings (share path, license key, etc.) after a NAS reboot.

The symbolic link fix, which is very easy to add, did the trick.

Thanks devotee!!!

Offline

 

#17 2009-04-26 22:23:07

arunbav
Member
Registered: 2009-04-20
Posts: 15

Re: Pink leds: (one possible) cause and solution

Devotee (or any one else)
In your posts above you mention a sym link
in one post you indicate the link should be

ln -s /mnt/HD_a2/twonky/.Twonkymediaserver /home/root

in the other place (your starttwonky.sh file) you indicate it to be

ln - s /mnt/HD_a2/.TwonkyMediaServer /home/root

Which would be the right one? Thanks for your help.

Offline

 

#18 2009-05-13 05:41:05

devotee
Member
From: Valencia, Spain
Registered: 2008-12-12
Posts: 43

Re: Pink leds: (one possible) cause and solution

arunbav, it really doesn't matter, just be sure that the ".TwonkyMediaServer" folder exists and the path is correct in your script. If you don't mind having a ".TwonkyMediaServer" folder lying around in your main directory, you can keep it there. If you prefer to have things more organized, you might want to put ".TwonkyMediaServer" inside the twonky directory.

Sorry for my slow reply sad


CH3SNAS • 2x Seagate Barracuda ES 7200.11 ST31000340AS 1TB SATAII (3.0Gb/s) 7200RPM 32MB (Rev: SD1A) • Individual volumes • FW1.05 (Firmware Date: 12/31/2008) • ext2

Offline

 

#19 2009-11-16 15:53:20

zuluwalker
Member
Registered: 2009-11-09
Posts: 27

Re: Pink leds: (one possible) cause and solution

devotee's symbolic link fix worked for me (no more purple/pink leds) with TwonkyMedia 5.0.68, however...

devotee wrote:

(mmm... not sure if having /sys/crfs at 100% is a good thing, but that would be another subject)

... I also don't know if that's a good thing since mine is also at 100%. tongue

Offline

 

#20 2010-04-11 01:07:13

CubanDonkeyMeat
New member
Registered: 2010-04-11
Posts: 1

Re: Pink leds: (one possible) cause and solution

Hi guys. Great posts here.

I've had the exact problem ever since installing Twonky 5.1.3 (also tried 5.1.2) with rootfs going to 100% and both HDD LEDs going pink/orange.  I tried editing the starttwonky.sh script via PuTTY/vi, but still no luck.  Perhaps there is a sequence.  Here's what I have been doing:

1.  Install Twonky Media Server, but uncheck the box for "start server".

2.  After install is complete, edit starttwonky.sh script so that my script looks like:

#!/bin/sh
route add -net 224.0.0.0 netmask 240.0.0.0 dev egiga0

ln -s /mnt/HD_a2/.TwonkyMediaServer /home/root

cd /mnt/HD_a2/twonky
/mnt/HD_a2/twonky/twonkymedia &

save file and quit vi.

(Note: .TwonkyMediaServer directory already exists.)

3. Run Twonky Media Server installation, but only select the "start server" option.

I add media to the library and rescan directories.  I use df to monitor the rootfs in PuTTY and watch the rootfs fill up.  I usually uninstall Twonky before it fills up.

Is there something I'm doing wrong?

Offline

 

#21 2010-05-10 04:29:04

archie1810
Member
Registered: 2010-03-26
Posts: 7

Re: Pink leds: (one possible) cause and solution

Papaloewe wrote:

cachedir=/mnt/HD_a2/twonky/db/cache
dbdir=/mnt/HD_a2/twonky/db
uploadmusicdir=/mnt/HD_a2/twonky/twonkymedia-server-uploaded-music
uploadpicturedir=/mnt/HD_a2/twonky/twonkymedia-server-uploaded-pictures
uploadvideodir=/mnt/HD_a2/twonky/twonkymedia-server-uploaded-videos
onlinedir=/mnt/HD_a2/twonky/twonkymedia-server-online-data
mediastatisticsdir=/mnt/HD_a2/twonky/media-statistics/

Think this should work.

This one so far solved my problem on pink/purple light on DNS-323 Drive-Lights.
My DNS-323 is running on 1.07 Firmware Date: 03/27/2009 - No, I didnt upgrade to any hack-modified firmware.
I have Fun_Plug install just to get to the Telnet session.

Thanks a millions, guys... you've done a great job here smile

BR, Arc.

Offline

 

#22 2010-05-10 05:26:05

archie1810
Member
Registered: 2010-03-26
Posts: 7

Re: Pink leds: (one possible) cause and solution

archie1810 wrote:

Papaloewe wrote:

cachedir=/mnt/HD_a2/twonky/db/cache
dbdir=/mnt/HD_a2/twonky/db
uploadmusicdir=/mnt/HD_a2/twonky/twonkymedia-server-uploaded-music
uploadpicturedir=/mnt/HD_a2/twonky/twonkymedia-server-uploaded-pictures
uploadvideodir=/mnt/HD_a2/twonky/twonkymedia-server-uploaded-videos
onlinedir=/mnt/HD_a2/twonky/twonkymedia-server-online-data
mediastatisticsdir=/mnt/HD_a2/twonky/media-statistics/

Think this should work.

This one so far solved my problem on pink/purple light on DNS-323 Drive-Lights.
My DNS-323 is running on 1.07 Firmware Date: 03/27/2009 - No, I didnt upgrade to any hack-modified firmware.
I have Fun_Plug install just to get to the Telnet session.

Thanks a millions, guys... you've done a great job here smile

BR, Arc.

Ooppss... too fast replying.
Nope, it doesn't work for me... my drives' lights still pink/purple colored both.
I've entered both method the soft-link and the twonkymedia-server.ini modification.
Any suggestion please?
Thanks.

BR - Arc.

Offline

 

#23 2010-05-10 05:28:41

archie1810
Member
Registered: 2010-03-26
Posts: 7

Re: Pink leds: (one possible) cause and solution

CubanDonkeyMeat wrote:

Hi guys. Great posts here.

I've had the exact problem ever since installing Twonky 5.1.3 (also tried 5.1.2) with rootfs going to 100% and both HDD LEDs going pink/orange.  I tried editing the starttwonky.sh script via PuTTY/vi, but still no luck.  Perhaps there is a sequence.  Here's what I have been doing:

1.  Install Twonky Media Server, but uncheck the box for "start server".

2.  After install is complete, edit starttwonky.sh script so that my script looks like:

#!/bin/sh
route add -net 224.0.0.0 netmask 240.0.0.0 dev egiga0

ln -s /mnt/HD_a2/.TwonkyMediaServer /home/root

cd /mnt/HD_a2/twonky
/mnt/HD_a2/twonky/twonkymedia &

save file and quit vi.

(Note: .TwonkyMediaServer directory already exists.)

3. Run Twonky Media Server installation, but only select the "start server" option.

I add media to the library and rescan directories.  I use df to monitor the rootfs in PuTTY and watch the rootfs fill up.  I usually uninstall Twonky before it fills up.

Is there something I'm doing wrong?

After you run point #3 above, are you sure that the starttwonky.sh is not "refreshed" by the 'reinstallation' ??
I've got the same problem, let's see whether we can have some hands here...

Offline

 

#24 2010-05-10 11:14:47

sorna
Member
Registered: 2010-03-02
Posts: 9

Re: Pink leds: (one possible) cause and solution

archie1810 wrote:

CubanDonkeyMeat wrote:

Hi guys. Great posts here.

I've had the exact problem ever since installing Twonky 5.1.3 (also tried 5.1.2) with rootfs going to 100% and both HDD LEDs going pink/orange.  I tried editing the starttwonky.sh script via PuTTY/vi, but still no luck.  Perhaps there is a sequence.  Here's what I have been doing:

1.  Install Twonky Media Server, but uncheck the box for "start server".

2.  After install is complete, edit starttwonky.sh script so that my script looks like:

#!/bin/sh
route add -net 224.0.0.0 netmask 240.0.0.0 dev egiga0

ln -s /mnt/HD_a2/.TwonkyMediaServer /home/root

cd /mnt/HD_a2/twonky
/mnt/HD_a2/twonky/twonkymedia &

save file and quit vi.

(Note: .TwonkyMediaServer directory already exists.)

3. Run Twonky Media Server installation, but only select the "start server" option.

I add media to the library and rescan directories.  I use df to monitor the rootfs in PuTTY and watch the rootfs fill up.  I usually uninstall Twonky before it fills up.

Is there something I'm doing wrong?

After you run point #3 above, are you sure that the starttwonky.sh is not "refreshed" by the 'reinstallation' ??
I've got the same problem, let's see whether we can have some hands here...

Have you specified appdata switch. The following starttwonky.sh  works for me

#!/bin/sh
route add -net 224.0.0.0 netmask 240.0.0.0 dev egiga0

ln -s /mnt/HD_a2/.TwonkyMediaServer /home/root

cd /mnt/HD_a2/twonky
/mnt/HD_a2/twonky/twonkymedia -appdata /mnt/HD_a2/twonkydata &

Offline

 

#25 2010-05-10 11:20:14

archie1810
Member
Registered: 2010-03-26
Posts: 7

Re: Pink leds: (one possible) cause and solution

sorna wrote:

Have you specified appdata switch. The following starttwonky.sh  works for me

#!/bin/sh
route add -net 224.0.0.0 netmask 240.0.0.0 dev egiga0

ln -s /mnt/HD_a2/.TwonkyMediaServer /home/root

cd /mnt/HD_a2/twonky
/mnt/HD_a2/twonky/twonkymedia -appdata /mnt/HD_a2/twonkydata &

Hello,

I've added this line below into starttwonky.sh together with the twonkymedia-server-default.ini configuration as above guided in this topic-thread both into my twonky in DNS-323:

"ln -s /mnt/HD_a2/.TwonkyMediaServer /home/root"

Both solution failed to work for me.
In my DNS-323 which has 2 x 1.5 TB has more than 11k+ MP3, 8k+ Photos, and almost 3k Videos.

I have to solve this pink/purple leds problem before I decide to purchase the license.
So now, yes I'm still on 30-days trial license - hope this is not the problem source? smile

Thanks again for any advice please?

BR, Arc.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB