Page 1 of 2

Installed ver 11-0 NAS won't start

PostPosted: Sat Oct 27, 2012 6:15 pm
by ElectricSheep
Hi all!

After my nwsp2 lite stop working with original firmare I tried to user your fvdw-sl-11-0 instead. So I opened my box, check hard-disk (SEAGATE BARRACUDA ST2000DM001) with S.M.A.R.T tools to verify the drive (it's OK :thumbup ) and because of my disk was GPT formatted I follow the instruction posted here http://plugout.net/viewtopic.php?f=4&t=581 mixed with the install from scratch PDF.

So before updating my PT was:

GPT fdisk (gdisk) version 0.8.1

Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sdc: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): C55BBC8C-54F5-4814-91B9-2B75C9FA4D60
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 2048-sector boundaries
Total free space is 30642 sectors (15.0 MiB)

Number Start (sector) End (sector) Size Code Name
1 4036608 4038655 1024.0 KiB 0700 primary unknown
2 4048896 3907027215 1.8 TiB 0700 primary XFS
3 4040704 4042571 934.0 KiB 0700 primary unknown
4 4044800 4046848 1.0 MiB 0700 primary unknown
5 2048 514047 250.0 MiB 0700 primary SWAP
6 530432 546497 7.8 MiB 0700 primary unknown
7 546816 578945 15.7 MiB 0700 primary EXT3
8 579584 2266409 823.6 MiB 0700 primary EXT3
9 2267136 4018221 855.0 MiB 0700 primary EXT3
10 4020224 4036289 7.8 MiB 0700 primary unknown



And now it is:
Disk /dev/sdb: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): C55BBC8C-54F5-4814-91B9-2B75C9FA4D60
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 8-sector boundaries
Total free space is 5070 sectors (2.5 MiB)

Number Start (sector) End (sector) Size Code Name
1 34 1028159 502.0 MiB 0700
2 1028160 2056319 502.0 MiB 0700
3 2056320 3084479 502.0 MiB 0700
4 3084480 3100544 7.8 MiB 0700
5 3100545 4707044 784.4 MiB 0700
6 4707045 4723109 7.8 MiB 0700
7 4723110 6168959 706.0 MiB 0700
8 6168960 3907024064 1.8 TiB 0700


Dimesions are not quite the same of the previous post because i aligned partition to cylinders :thumbup

Of course i followed the pdf instruction to how to format partitions, install kernel (UIMAGE-26394-NWSP2CL-9 is it ok for gpt?) on sdb6 and firmware (fvdw-sl-11-0-nwsp2-6jan2012.img) on sdb1,2,7, copy the tarball into sdb5, create /public on sdb8.

The problem is that nwsp still doesn't work, it start and hangs after few second (1-3 no more) on solid blue light, i can't restart using power button and still i can't see it on the network :fists :fists

So COULD ANYBODY PLEASE HELP ME?? :please :please Does anybody has some good hint? maybe I have to re-partition it to standard fdisk disk?

Thanks in advance for your help and for what is worth I'm on LInux Ubuntu 12.04 Notebook so i can try any linux/unix command it is needed :thumbup

Re: Installed ver 11-0 NAS won't start

PostPosted: Sat Oct 27, 2012 7:15 pm
by fvdw
if it is GPT formatted disk then the kernel of fvdw-sl-11-0 will not be able to read it. You need a more recent one.
If the disk is partitioned with fdisk (ms-dos partition table) then it should be able to read).
From what you posted I conclude that it is not ms-dos partiton table As that can only have 4 primary partitions and as such partition 4 should be an extended partition. In your table its visible that this is not the case. So I assume it is a GPT partition table.
Then you will need a more recent kernel to be able to run it. I will sent you the one we use in 13-0. It should also run with 11-0 although some kernel modules might not load. But thats no problem. When the nwsp2-lite runs with this kernel then upgrade to 13-0 using the fvdw-sl web interface

--pm send with newer kernel

Re: Installed ver 11-0 NAS won't start

PostPosted: Sun Oct 28, 2012 3:09 pm
by ElectricSheep
Thank you guy for the new kernel. :thumbup
Unfortunately fwsp2 still doesn't work. I've tried to enable debug and this is the output from /tmp/var/log/messages:

Code: Select all
Nov 16 12:00:01 (none) syslog.info syslogd started: BusyBox v1.15.3
Nov 16 12:00:11 (none) local0.warn API[2011/11/16 12:00:11] userfunc_users_commit.finc(40)[666]: Error: cannot open rootpasswd file.
Nov 16 12:00:11 (none) auth.info passwd[681]: password for `dummy' changed by user `root'
Nov 16 12:00:12 (none) local0.warn API[2011/11/16 12:00:12] userfunc_users_commit.finc(102)[666]: userfunc_users_commit: no smb user for dummy.
Nov 16 12:00:12 (none) local0.warn API[2011/11/16 12:00:12] laniffunc_configure.finc(83)[666]: laniffunc_configure ifconfig -a  eth0 169.254.17.250 FAILED!
Nov 16 12:00:12 (none) local0.warn API[2011/11/16 12:00:12] laniffunc_configure.finc(104)[666]: laniffunc_configure ifconfig eth0 up FAILED!
Nov 16 12:00:12 (none) local0.warn API[2011/11/16 12:00:12] api_dhcpc.php(26)[695]: calling /etc/api/api_dhcpc.php deconfig
Nov 16 12:00:12 (none) local0.warn API[2011/11/16 12:00:12] dhcpcfunc_deconfig.finc(28)[695]: deconfig ifconfig eth0  FAILED!
Nov 16 12:00:12 (none) local0.warn API[2011/11/16 12:00:12] api_dhcpc.php(61)[695]: deconfig retcode: 1
Nov 16 12:00:21 (none) local0.warn API[2011/11/16 12:00:21] api_dhcpc.php(26)[698]: calling /etc/api/api_dhcpc.php leasefail
Nov 16 12:00:22 (none) local0.warn API[2011/11/16 12:00:22] dhcpcfunc_update_interface_default.finc(34)[698]: arping eth0 169.254.17.250 returned
Nov 16 12:00:22 (none) local0.warn API[2011/11/16 12:00:22] api_dhcpc.php(61)[698]: leasefail retcode: 0
Nov 16 12:00:22 (none) local0.warn API[2011/11/16 12:00:22] nasapi.inc(27)[666]: calling mrvlGetProtocolGUI
Nov 16 12:00:22 (none) local0.warn API[2011/11/16 12:00:22] nasapi.inc(491)[666]: mrvlGetProtocolGUI  Return Code: http
Nov 16 12:00:22 (none) local2.notice sudo:     root : TTY=console ; PWD=/ ; USER=root ; COMMAND=/bin/echo
Nov 16 12:00:33 (none) local2.notice sudo:     root : TTY=console ; PWD=/usr/htdocs ; USER=root ; COMMAND=/usr/bin/mrvlqosd
Nov 16 12:00:33 (none) local0.warn API[2011/11/16 12:00:33] nasapi.inc(27)[771]: calling mrvlDropbearStart
Nov 16 12:00:33 (none) local2.notice sudo:     root : TTY=console ; PWD=/ ; USER=root ; COMMAND=/bin/chmod 777 /rw_fs/.ssh
Nov 16 12:00:33 (none) local2.notice sudo:     root : TTY=console ; PWD=/ ; USER=root ; COMMAND=/bin/chmod 700 /rw_fs/.ssh
Nov 16 12:00:33 (none) authpriv.warn dropbear[777]: Failed reading '/etc/dropbear/dropbear_dss_host_key', disabling DSS
Nov 16 12:00:33 (none) authpriv.info dropbear[778]: Running in background
Nov 16 12:00:33 (none) local2.notice sudo:     root : TTY=console ; PWD=/ ; USER=root ; COMMAND=/bin/chmod 777 /etc/profile
Nov 16 12:00:33 (none) local2.notice sudo:     root : TTY=console ; PWD=/ ; USER=root ; COMMAND=/bin/chmod 644 /etc/profile
Nov 16 12:00:33 (none) local0.warn API[2011/11/16 12:00:33] nasapi.inc(491)[771]: mrvlDropbearStart  Return Code: 0
Nov 16 12:00:33 (none) local0.warn API[2011/11/16 12:00:33] nasapi.inc(27)[771]: calling mrvlCronRestart 0
Nov 16 12:00:33 (none) local0.warn API[2011/11/16 12:00:33] cronfunc_stop.finc(10)[771]:  Error: crontab -d -c [/share/1000/cronjobs] failed (1).
Nov 16 12:00:33 (none) local0.warn API[2011/11/16 12:00:33] cronfunc_stop.finc(15)[771]:  Error: killall -9 [crond] failed (1).
Nov 16 12:00:33 (none) local0.warn API[2011/11/16 12:00:33] nasapi.inc(491)[771]: mrvlCronRestart 0 Return Code:
Nov 16 12:00:33 (none) user.info hostd: host daemon started
Nov 16 12:00:33 (none) user.info hostd: updating hosts file, next update in 7200 seconds when disk remains active
Nov 16 12:00:43 (none) daemon.info init: starting pid 854, tty '': '/bin/sh'
Nov 16 12:00:52 (none) local0.warn API[2011/11/16 12:00:52] api_dhcpc.php(26)[855]: calling /etc/api/api_dhcpc.php leasefail
Nov 16 12:00:52 (none) local0.warn API[2011/11/16 12:00:52] dhcpcfunc_update_interface_default.finc(34)[855]: arping eth0 169.254.17.250 returned
Nov 16 12:00:52 (none) local2.notice sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/hostname fvdwsl-base.local
Nov 16 12:00:52 (none) local0.warn API[2011/11/16 12:00:52] api_dhcpc.php(61)[855]: leasefail retcode: 0
Nov 16 12:01:23 (none) local0.warn API[2011/11/16 12:01:23] api_dhcpc.php(26)[868]: calling /etc/api/api_dhcpc.php leasefail
Nov 16 12:01:23 (none) local0.warn API[2011/11/16 12:01:23] dhcpcfunc_update_interface_default.finc(34)[868]: arping eth0 169.254.17.250 returned
Nov 16 12:01:23 (none) local2.notice sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/hostname fvdwsl-base.local
Nov 16 12:01:23 (none) local0.warn API[2011/11/16 12:01:23] api_dhcpc.php(61)[868]: leasefail retcode: 0
Nov 16 12:01:54 (none) local0.warn API[2011/11/16 12:01:54] api_dhcpc.php(26)[881]: calling /etc/api/api_dhcpc.php leasefail
Nov 16 12:01:54 (none) local0.warn API[2011/11/16 12:01:54] dhcpcfunc_update_interface_default.finc(34)[881]: arping eth0 169.254.17.250 returned
Nov 16 12:01:54 (none) local2.notice sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/hostname fvdwsl-base.local
Nov 16 12:01:54 (none) local0.warn API[2011/11/16 12:01:54] api_dhcpc.php(61)[881]: leasefail retcode: 0
Nov 16 12:02:25 (none) local0.warn API[2011/11/16 12:02:25] api_dhcpc.php(26)[894]: calling /etc/api/api_dhcpc.php leasefail
Nov 16 12:02:25 (none) local0.warn API[2011/11/16 12:02:25] dhcpcfunc_update_interface_default.finc(34)[894]: arping eth0 169.254.17.250 returned
Nov 16 12:02:25 (none) local2.notice sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/hostname fvdwsl-base.local
Nov 16 12:02:25 (none) local0.warn API[2011/11/16 12:02:25] api_dhcpc.php(61)[894]: leasefail retcode: 0
Nov 16 12:02:55 (none) local0.warn API[2011/11/16 12:02:55] api_dhcpc.php(26)[907]: calling /etc/api/api_dhcpc.php leasefail
Nov 16 12:02:55 (none) local0.warn API[2011/11/16 12:02:55] dhcpcfunc_update_interface_default.finc(34)[907]: arping eth0 169.254.17.250 returned
Nov 16 12:02:55 (none) local2.notice sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/hostname fvdwsl-base.local
Nov 16 12:02:55 (none) local0.warn API[2011/11/16 12:02:55] api_dhcpc.php(61)[907]: leasefail retcode: 0
Nov 16 12:03:26 (none) local0.warn API[2011/11/16 12:03:26] api_dhcpc.php(26)[920]: calling /etc/api/api_dhcpc.php leasefail
Nov 16 12:03:26 (none) local0.warn API[2011/11/16 12:03:26] dhcpcfunc_update_interface_default.finc(34)[920]: arping eth0 169.254.17.250 returned
Nov 16 12:03:26 (none) local2.notice sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/hostname fvdwsl-base.local
Nov 16 12:03:26 (none) local0.warn API[2011/11/16 12:03:26] api_dhcpc.php(61)[920]: leasefail retcode: 0
Nov 16 12:03:57 (none) local0.warn API[2011/11/16 12:03:57] api_dhcpc.php(26)[933]: calling /etc/api/api_dhcpc.php leasefail
Nov 16 12:03:57 (none) local0.warn API[2011/11/16 12:03:57] dhcpcfunc_update_interface_default.finc(34)[933]: arping eth0 169.254.17.250 returned
Nov 16 12:03:57 (none) local2.notice sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/hostname fvdwsl-base.local
Nov 16 12:03:57 (none) local0.warn API[2011/11/16 12:03:57] api_dhcpc.php(61)[933]: leasefail retcode: 0
Nov 16 12:04:28 (none) local0.warn API[2011/11/16 12:04:28] api_dhcpc.php(26)[946]: calling /etc/api/api_dhcpc.php leasefail
Nov 16 12:04:28 (none) local0.warn API[2011/11/16 12:04:28] dhcpcfunc_update_interface_default.finc(34)[946]: arping eth0 169.254.17.250 returned
Nov 16 12:04:28 (none) local2.notice sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/hostname fvdwsl-base.local
Nov 16 12:04:28 (none) local0.warn API[2011/11/16 12:04:28] api_dhcpc.php(61)[946]: leasefail retcode: 0
Nov 16 12:04:58 (none) local0.warn API[2011/11/16 12:04:58] api_dhcpc.php(26)[959]: calling /etc/api/api_dhcpc.php leasefail
Nov 16 12:04:59 (none) local0.warn API[2011/11/16 12:04:59] dhcpcfunc_update_interface_default.finc(34)[959]: arping eth0 169.254.17.250 returned
Nov 16 12:04:59 (none) local2.notice sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/hostname fvdwsl-base.local
Nov 16 12:04:59 (none) local0.warn API[2011/11/16 12:04:59] api_dhcpc.php(61)[959]: leasefail retcode: 0
Nov 16 12:05:29 (none) local0.warn API[2011/11/16 12:05:29] api_dhcpc.php(26)[972]: calling /etc/api/api_dhcpc.php leasefail
Nov 16 12:05:29 (none) local0.warn API[2011/11/16 12:05:29] dhcpcfunc_update_interface_default.finc(34)[972]: arping eth0 169.254.17.250 returned
Nov 16 12:05:29 (none) local2.notice sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/hostname fvdwsl-base.local
Nov 16 12:05:29 (none) local0.warn API[2011/11/16 12:05:29] api_dhcpc.php(61)[972]: leasefail retcode: 0
Nov 16 12:06:00 (none) local0.warn API[2011/11/16 12:06:00] api_dhcpc.php(26)[985]: calling /etc/api/api_dhcpc.php leasefail
Nov 16 12:06:00 (none) local0.warn API[2011/11/16 12:06:00] dhcpcfunc_update_interface_default.finc(34)[985]: arping eth0 169.254.17.250 returned
Nov 16 12:06:00 (none) local2.notice sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/hostname fvdwsl-base.local
Nov 16 12:06:00 (none) local0.warn API[2011/11/16 12:06:00] api_dhcpc.php(61)[985]: leasefail retcode: 0
Nov 16 12:06:31 (none) local0.warn API[2011/11/16 12:06:31] api_dhcpc.php(26)[998]: calling /etc/api/api_dhcpc.php leasefail
Nov 16 12:06:31 (none) local0.warn API[2011/11/16 12:06:31] dhcpcfunc_update_interface_default.finc(34)[998]: arping eth0 169.254.17.250 returned
Nov 16 12:06:31 (none) local2.notice sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/hostname fvdwsl-base.local
Nov 16 12:06:31 (none) local0.warn API[2011/11/16 12:06:31] api_dhcpc.php(61)[998]: leasefail retcode: 0
Nov 16 12:07:02 (none) local0.warn API[2011/11/16 12:07:02] api_dhcpc.php(26)[1011]: calling /etc/api/api_dhcpc.php leasefail
Nov 16 12:07:02 (none) local0.warn API[2011/11/16 12:07:02] dhcpcfunc_update_interface_default.finc(34)[1011]: arping eth0 169.254.17.250 returned
Nov 16 12:07:02 (none) local2.notice sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/hostname fvdwsl-base.local
Nov 16 12:07:02 (none) local0.warn API[2011/11/16 12:07:02] api_dhcpc.php(61)[1011]: leasefail retcode: 0
Nov 16 12:07:10 (none) daemon.info init: starting pid 1039, tty '': '/usr/bin/smbcontrol smbd shutdown'
Nov 16 12:07:10 (none) daemon.info init: starting pid 1040, tty '': '/usr/bin/killall zfs'
Nov 16 12:07:10 (none) daemon.info init: starting pid 1041, tty '': '/usr/bin/killall zxtract'
Nov 16 12:07:10 (none) daemon.info init: starting pid 1042, tty '': '/usr/bin/killall zappdms'
Nov 16 12:07:10 (none) daemon.info init: starting pid 1043, tty '': '/usr/bin/killall httpd'
Nov 16 12:07:10 (none) daemon.info init: starting pid 1044, tty '': '/usr/bin/killall udhcpc'
Nov 16 12:07:10 (none) daemon.info init: starting pid 1045, tty '': '/usr/bin/killall noflushd'
Nov 16 12:07:11 (none) daemon.info init: starting pid 1046, tty '': '/usr/bin/killall syncawayd'
Nov 16 12:07:11 (none) daemon.info init: starting pid 1047, tty '': '/usr/bin/killall ntpd'
Nov 16 12:07:11 (none) daemon.info init: starting pid 1048, tty '': '/usr/bin/killall fanctld'
Nov 16 12:07:11 (none) daemon.info init: starting pid 1049, tty '': '/usr/bin/killall udevd'
Nov 16 12:07:11 (none) daemon.info init: starting pid 1050, tty '': '/bin/sleep 1'
Nov 16 12:07:12 (none) daemon.info init: starting pid 1051, tty '': '/bin/umount -r /'
Nov 16 12:07:12 (none) daemon.info init: The system is going down NOW!
Nov 16 12:07:12 (none) syslog.info syslogd exiting


First strange thin is the date Nov 16? it's Oct 28! but i think it's because it is not synchronized with ntp so maybe it's ok.
After that I see so many errors on getting IP address from DHCP router.. that's probably whiy I can't see it on my network.. do you have any idea? Seems it finally get an APIPA fallback addres, right? but how can I access this address from a 192.168.10.xxx network? :hammerhead

Hope it won't be an hardware problem.. :sob :sob

Re: Installed ver 11-0 NAS won't start

PostPosted: Sun Oct 28, 2012 4:13 pm
by fvdw
well the good news is that your nwsp2 is booting and it seems you managed to set debug to true to get this output.
So the new kernel seems to be able to read the disk and fire it up.
ps in the root directory there is also a file with name boot.log. You could also look to that output.

what is strange to this output is for example this part
Code: Select all
Nov 16 12:00:12 (none) local0.warn API[2011/11/16 12:00:12] laniffunc_configure.finc(83)[666]: laniffunc_configure ifconfig -a  eth0 169.254.17.250 FAILED!
Nov 16 12:00:12 (none) local0.warn API[2011/11/16 12:00:12] laniffunc_configure.finc(104)[666]: laniffunc_configure ifconfig eth0 up FAILED!
Nov 16 12:00:12 (none) local0.warn API[2011/11/16 12:00:12] api_dhcpc.php(26)[695]: calling /etc/api/api_dhcpc.php deconfig
Nov 16 12:00:12 (none) local0.warn API[2011/11/16 12:00:12] dhcpcfunc_deconfig.finc(28)[695]: deconfig ifconfig eth0  FAILED!
Nov 16 12:00:12 (none) local0.warn API[2011/11/16 12:00:12] api_dhcpc.php(61)[695]: deconfig retcode: 1
Nov 16 12:00:21 (none) local0.warn API[2011/11/16 12:00:21] api_dhcpc.php(26)[698]: calling /etc/api/api_dhcpc.php leasefail
Nov 16 12:00:22 (none) local0.warn API[2011/11/16 12:00:22] dhcpcfunc_update_interface_default.finc(34)[698]: arping eth0 169.254.17.250 returned
Nov 16 12:00:22 (none) local0.warn API[2011/11/16 12:00:22] api_dhcpc.php(61)[698]: leasefail retcode: 0


It means it is not able to get a IP address from you dhcp server. Is the cable that you use ok? and is there a a dhcp server at all. Its clear that without IP address you can not contact it via your LAN. This must be a problem of your LAN

this is the output from my nwsp2
Code: Select all
ct 28 17:47:03 (none) local0.warn API[2012/10/28 18:47:03] api_dhcpc.php(26)[755]: calling /etc/api/api_dhcpc.php deconfig
Oct 28 17:47:04 (none) local0.warn API[2012/10/28 18:47:04] dhcpcfunc_deconfig.finc(28)[755]: deconfig ifconfig eth0  FAILED!
Oct 28 17:47:04 (none) local0.warn API[2012/10/28 18:47:04] api_dhcpc.php(61)[755]: deconfig retcode: 1
Oct 28 17:47:07 (none) local0.warn API[2012/10/28 18:47:07] api_dhcpc.php(26)[758]: calling /etc/api/api_dhcpc.php bound
Oct 28 17:47:08 (none) local0.warn API[2012/10/28 18:47:08] api_dhcpc.php(61)[758]: bound retcode: 0
Oct 28 17:47:09 (none) local0.warn API[2012/10/28 18:47:09] nasapi.inc(27)[703]: calling mrvlGetProtocolGUI

Now the firmware seems to continue to try to get an IP address and do some other things but finally gives up and shutt down the nas
That last part is new for me...last part of your outpute
Code: Select all
Nov 16 12:07:02 (none) local2.notice sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/hostname fvdwsl-base.local
Nov 16 12:07:02 (none) local0.warn API[2011/11/16 12:07:02] api_dhcpc.php(61)[1011]: leasefail retcode: 0
Nov 16 12:07:10 (none) daemon.info init: starting pid 1039, tty '': '/usr/bin/smbcontrol smbd shutdown'
Nov 16 12:07:10 (none) daemon.info init: starting pid 1040, tty '': '/usr/bin/killall zfs'
Nov 16 12:07:10 (none) daemon.info init: starting pid 1041, tty '': '/usr/bin/killall zxtract'
Nov 16 12:07:10 (none) daemon.info init: starting pid 1042, tty '': '/usr/bin/killall zappdms'
Nov 16 12:07:10 (none) daemon.info init: starting pid 1043, tty '': '/usr/bin/killall httpd'
Nov 16 12:07:10 (none) daemon.info init: starting pid 1044, tty '': '/usr/bin/killall udhcpc'
Nov 16 12:07:10 (none) daemon.info init: starting pid 1045, tty '': '/usr/bin/killall noflushd'
Nov 16 12:07:11 (none) daemon.info init: starting pid 1046, tty '': '/usr/bin/killall syncawayd'
Nov 16 12:07:11 (none) daemon.info init: starting pid 1047, tty '': '/usr/bin/killall ntpd'
Nov 16 12:07:11 (none) daemon.info init: starting pid 1048, tty '': '/usr/bin/killall fanctld'
Nov 16 12:07:11 (none) daemon.info init: starting pid 1049, tty '': '/usr/bin/killall udevd'
Nov 16 12:07:11 (none) daemon.info init: starting pid 1050, tty '': '/bin/sleep 1'
Nov 16 12:07:12 (none) daemon.info init: starting pid 1051, tty '': '/bin/umount -r /'
Nov 16 12:07:12 (none) daemon.info init: The system is going down NOW!
Nov 16 12:07:12 (none) syslog.info syslogd exiting

Did you keep pressed the power button for more then 5 seconds or so to shut it down or did it decide by itself that after a while not getting an IP address assigned it shut down by itself. I never encountered this situation. I would expect that the boot would continue, which of course useless as long as there is no ip address....this part of the firmware is still form the original developers
This must be possible to solve, seems no hardware problem to me (unless your ethernet card in the nwsp is broken)

The first question to answer is why your dhcp server doesn't assign an IP address...(wrong or defective cable or is there no dhcp server ?)

Re: Installed ver 11-0 NAS won't start

PostPosted: Sun Oct 28, 2012 4:36 pm
by fvdw
ps
First strange thin is the date Nov 16? it's Oct 28! but i think it's because it is not synchronized with ntp so maybe it's ok.


this is not strange as the nwsp2-lite doesn't keep its time when switched off for some time. As it cannot reach nternet it can nto update the time and uses the default time which is indeed 16 nov.

Re: Installed ver 11-0 NAS won't start

PostPosted: Sun Oct 28, 2012 4:43 pm
by ElectricSheep
Well about the last point. Yes of course i pressed the button and manually shutdown all.

About DHCP I'm using my router DHCP which works perfectly with other devices ( 2 notebooks, 2 android phones, 1 smart tv, 1 wireless repeater) so I don't think that this could be the problem. I should try with another router maybe but i don't know...

About cables I switched 2 different cables, and 2 different Network ports still have the same problem.. :thinking :thinking well seems to be something serious.

and for the boot.log I can't find it anywhere in any partition.. could you please tell me the exact path and partition to look into?

Many thanks. :hail :hail

Re: Installed ver 11-0 NAS won't start

PostPosted: Sun Oct 28, 2012 4:45 pm
by fvdw
nd for the boot.log I can't find it anywhere in any partition.. could you please tell me the exact path and partition to look into?


as this is first time install it should be in sda7 in root folder (/)

Re: Installed ver 11-0 NAS won't start

PostPosted: Sun Oct 28, 2012 9:38 pm
by ElectricSheep
:thumbup
Here you are:
Code: Select all
start boot log
initializing date
Wed Nov 16 12:00:00 GMT+1 2011
booting using  root file system...
run udevstart to update dev nodes when necessary
inserting kernel modules:
make dev node for buttons...
configure loopback netwerk interface
starting php based setup routines step 1


 * Starting syslogd... mwexec(): /sbin/syslogd
             [ OK ]
mwexec(): chown 99:99 /tmp/etc/nas_conf_vltl.xml
 * Initial Orion-Nas XML configuration file...       [ OK ]
 * Configuring Disks... mwexec(): /usr/sbin/noflushd -n 15 /dev/sda
             [ OK ]
 * Configuring System Users...
Warning: fopen(/etc/rootpasswd): failed to open stream: No such file or directory in /etc/finc/userfunc_users_commit.finc on line 38
mwexec(): /usr/bin/passwd -P dummy dummy
mwexec(): /usr/bin/smbpasswd -e 'dummy'
             [ OK ]
 * Starting mount of volumes...
   - Mounting volume Default:
                      [ OK ]
 * Finishing mount of volumes...           [ OK ]
 * Generating Hosts File...              [ OK ]
 * Configuring System Hostname... mwexec(): /usr/bin/hostname 'fvdwsl-base.local'
          [ OK ] 
 * Configuring Samba...                [ OK ]
 * Configuring LAN interface... mwexec(): /sbin/ifconfig -a 'eth0' 169.254.241.165 netmask 255.255.0.0
mwexec(): /sbin/ifconfig 'eth0' up
mwexec(): /sbin/udhcpc -b -i 'eth0' -s /etc/api/api_dhcpc.php dhcpdCbScript
          [ OK ]
 * Starting udevd... mwexec(): /sbin/udevstart
mwexec(): /sbin/udevd
                [ OK ]
 * Starting web server... mwexec(): /usr/bin/httpd -f httpd.conf -d /etc
             [ OK ]
 * Initializing Timezone... mwexec(): ln -sf /usr/share/zoneinfo/Etc/GMT+1 /etc/localtime
             [ OK ]
mwexec(): /usr/bin/killall  smbd
mwexec(): /usr/bin/killall  nmbd
 * Configuring Samba...                [ OK ]
mwexec(): /usr/bin/killall  smbd
mwexec(): /usr/bin/killall  nmbd
mwexec(): /usr/sbin/nmbd -D -l /var/log/samba
mwexec(): /usr/sbin/smbd -D -l /var/log/samba
mwexec(): cat /etc/nas_services | grep TG | grep syncawayd
 * Starting syncawayd... mwexec(): /usr/bin/killall  syncawayd
mwexec(): /usr/sbin/syncawayd -n 3
             [ OK ]
 * Marvell mediaserver not started...mwexec(): /usr/bin/killall  zxtract
mwexec(): /usr/bin/killall  mrvldms
mwexec(): /usr/bin/killall  zfs
,QOSd... mwexec(): /usr/bin/killall  mrvlqosd

mwexec(): /usr/bin/killall -9 proftpd
mwexec(): /usr/bin/killall -QUIT ez-ipupdate
mwexec(): rm -f /var/cache/ez-ipupdate/default-cache
starting php based setup routines step 2
mwexec(): sudo chmod 777 '/rw_fs/.ssh'
mwexec(): sudo chmod 700 '/rw_fs/.ssh'
 * Starting dropbear... cmd : dropbear -p 22 -r '/rw_fs/etc/dropbear/dropbear_rsa_host_key'mwexec(): dropbear -p 22 -r '/rw_fs/etc/dropbear/dropbear_rsa_host_key'
             [ OK ]
mwexec(): sudo chmod 777 /etc/profile
mwexec(): sudo chmod 644 /etc/profile


mwexec(): crontab -d -c /share/1000/cronjobs
mwexec(): /usr/bin/killall -9 crond
 * Starting daemon update Hosts File... mwexec(): /usr/sbin/hostd 7200
          [ OK ]
starting php based setup routines step banner


*** fvdw-sl NAS firmware
    This is fvdw-sl version: fvdw-sl 11.0
    built on: Januari 3 2012

    LAN IP address: 169.254.241.165 (static - random)

    Port configuration:

    LAN   -> eth0
php based setup routines finished
start buttons control daemon
buttons-nwsp2 daemon started
web permission on resolv.conf
set device tuning for dms performance
move smbd en nmbd db files to ramdisk to enable disk spin down
rcS finished
ERROR: lacfg_init fail read version
ERROR: lacfg_load_key no map defined
write_byte_storage : error loading key=power
ERROR : writing into the storage
error setting power on
ERROR: lacfg_cleanup no map defined


It's seemes everything is OK. Even the ifconfig UP eth0 seems ok.

The only errors are:
ERROR: lacfg_init fail read version
ERROR: lacfg_load_key no map defined
write_byte_storage : error loading key=power
ERROR : writing into the storage
error setting power on
ERROR: lacfg_cleanup no map defined

Re: Installed ver 11-0 NAS won't start

PostPosted: Sun Oct 28, 2012 10:21 pm
by fvdw
it indicates again that it gets no IP address form the dhcp server and then it falls back on a random static address

These errors below I have never seen before,
Eeven on the internet I can not find info on those
It looks like an error related to RAM or EEPROM (when shutting down the firmware writes to an epprom to set power button in correct state, that seems to fail). Did yopu play with the EEPROM on you nwsp2 when using the Lacie firmware :tapfoot
Code: Select all
ERROR: lacfg_init fail read version
ERROR: lacfg_load_key no map defined
write_byte_storage : error loading key=power
ERROR : writing into the storage
error setting power on
ERROR: lacfg_cleanup no map defined


This looks to a hardware problem I am afraid
I still do not understand why the NAS shutdown automatically if it doesn't get an IP address. if we could prvent that and get it accisble via the ethernet port we could do more test when it is running to find the problem

What we could try is adapt the nas database to assign a static IP address which is in the range of your normal LAN when it is booting instead of automatic getting an IP address

The database is in sda 5 in the folder /etc
The name of the file is
Code: Select all
nas_conf_db.xml


you will need to edit this file on two places (do it carefully as if the syntax is not correct then the boot will fail because it can not read the file properly)

change this line
Code: Select all
      <dhcpenabled>true</dhcpenabled>

in this
Code: Select all
      <dhcpenabled>false</dhcpenabled>


change this part
Code: Select all
   <interfaces>
      <lan>
         <if>egiga0</if>
         <ipaddr/>
         <netmask>255.255.0.0</netmask>
         <subnet/>
         <gateway/>
         <mtu>1500</mtu>
         <media/>
         <mediaopt/>
         <hwaddr>00:D0:4B:8D:A9:74</hwaddr>
         <rand_ip>169.254.35.125</rand_ip>
      </lan>
   </interfaces>


in this
(I used as example the ip address 192.168.1.100 but of course you may use another one, be sure that the first three numbers match with the other ip's in your LAN
Code: Select all
   <interfaces>
      <lan>
         <if>eth0</if>
         <ipaddr>192.168.1.100</ipaddr>
         <netmask>255.255.0.0</netmask>
         <subnet/>
         <gateway/>
         <mtu>1500</mtu>
         <media/>
         <mediaopt/>
         <hwaddr>00:D0:4B:8D:A9:74</hwaddr>
         <rand_ip>169.254.35.125</rand_ip>
      </lan>
   </interfaces>

Re: Installed ver 11-0 NAS won't start

PostPosted: Sun Oct 28, 2012 11:23 pm
by ElectricSheep
No way man...

From Message log:

Code: Select all
Nov 16 12:00:12 (none) local0.warn API[2011/11/16 12:00:12] laniffunc_configure.finc(83)[666]: laniffunc_configure ifconfig -a  eth0 192.168.10.10 FAILED!
Nov 16 12:00:12 (none) local0.warn API[2011/11/16 12:00:12] laniffunc_configure.finc(104)[666]: laniffunc_configure ifconfig eth0 up FAILED!


And of course it's not reachable. :fists

So definetly I think that something in the network interface is broken :sob :sob ..and opening the box has invalidate my warranty... shit! :hairpull
So if no other things to try remains, the only thing i can do is buying another box (may not a Lacie this time) and save my 2 TB hard disk for it.. sad but true..

Thank you for your fast and really helpful support! :hail :hail