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-12-12 12:27:05

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

Settings lost after restart or shutdown

I'm new here, sorry if this has been discussed before, I've tried the forum search but I haven't found anything on this subject.

I recently (yesterday!) bought a CH3SNAS and two 1TB Seagate disks.

The problem I'm experiencing is that the settings are lost if I restart or shutdown the system. I turn on the system, enter the web administration GUI (admin/no password), configure everything (always applying/saving settings from individual sections) and everything seems ok (network name, new admin password, power administration,...) until I do a restart or I shutdown the system. Once I boot it again, everything is gone and I have to configure the whole thing again (argh!) just to watch in despair that the settings get trashed after the next restart... Over and over again...

I'm going to install fun_plug so I can debug it better through SSH, but if someone knows what might be the problem, I'd appreciate any help or hints.


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 2008-12-12 13:23:58

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Settings lost after restart or shutdown

I believe there's a CR3032 battery in there, at least, there is on a DNS-323 - however - I am not certain if that battery simply powers a real time clock or also some amount of NVRAM.

Since your unit should be under warranty, I would have it replaced - rather than futz around with it.

Offline

 

#3 2008-12-12 13:58:46

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

Re: Settings lost after restart or shutdown

fordem wrote:

I believe there's a CR3032 battery in there, at least, there is on a DNS-323 - however - I am not certain if that battery simply powers a real time clock or also some amount of NVRAM.

Since your unit should be under warranty, I would have it replaced - rather than futz around with it.

I don't think it's the battery, since the date and time does survive a restart or shutdown hmm

The strangest thing is that the settings where saved with the original firmware that came installed (1.03) and the first times I used the box after upgrading it to the latest 1.04 RC hmm hmm

It's more like the settings are not properly written to /dev/mtdblock0 and /dev/mtdblock1, in fact while I was following the fun_plug installation steps:

Code:

root@CH3SNAS:~# store-passwd.sh
Copying files to mtd1...
mount: mounting /dev/mtdblock0 on /sys/mtd1 failed: Device or resource busy
Copying files to mtd2...
Done.
root@CH3SNAS:~# store-passwd.sh
Copying files to mtd1...
Copying files to mtd2...
Done.
root@CH3SNAS:~#

I don't know if it could also be a problem with the sda4 and sdb4 data partitions, perhaps the box is messing up the files between the disk partitions and the mtdblock contents?

Right now I'm wiping both hard disks completely (dd if=/dev/zero of=/dev/sdX). Should it be safe to do an rm -f * of the /dev/mtdblock0 and /dev/mtdblock1 contents (rm -f /sys/mtd1/* /sys/mtd2/*)? Are these files recreated when the box is restarted without hard disks plugged in? Should I downgrade to an older firmware in order to "clean" those contents? I would like to make the box forget everything about the hard disks (hd_magic_num, raidtab2web, raidtab,...) in order to do a fresh start, like it's being used just out of the box smile

Thanks for your help!


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

 

#4 2008-12-13 18:17:52

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

Re: Settings lost after restart or shutdown

Fixed! Will post a detailed explanation soon just in case someone has a similar problem wink


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 2008-12-13 18:26:53

LenoX
New member
From: Legnica, Poland
Registered: 2008-12-13
Posts: 4

Re: Settings lost after restart or shutdown

please do....

Offline

 

#6 2011-04-11 18:55:30

sdancer75
New member
Registered: 2011-04-11
Posts: 3

Re: Settings lost after restart or shutdown

hi,

Would you be kind enough to describe the solution you found, because I have the same problem.

Regards,
George
sdancer75@yahoo.gr

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB