new install fvdv trouble

Re: new install fvdv trouble

Postby Jocko » Sun Jan 31, 2021 3:11 pm

The update menu displays the trace log on all the step (1 to 3) but later you can also get it with
Code: Select all
cat /etc/install-firmware.log
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: new install fvdv trouble

Postby araldo60 » Sun Jan 31, 2021 4:27 pm

Jocko wrote:The update menu displays the trace log on all the step (1 to 3) but later you can also get it with
Code: Select all
cat /etc/install-firmware.log



i dont find the console access
araldo60
Donator VIP
Donator VIP
 
Posts: 121
Joined: Wed Apr 29, 2020 7:36 pm

Re: new install fvdv trouble

Postby Jocko » Sun Jan 31, 2021 5:19 pm

Hi

It seems you are a Mac user. So from your Mac, open a terminal session and run the command
Code: Select all
root@nasip
where nasip is the current ip of the nas

if you do not yet change it the default password is 'giveit2me'
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: new install fvdv trouble

Postby araldo60 » Sun Jan 31, 2021 6:06 pm

Jocko wrote:Hi

It seems you are a Mac user. So from your Mac, open a terminal session and run the command
Code: Select all
root@nasip
where nasip is the current ip of the nas

if you do not yet change it the default password is 'giveit2me'


open terminal and digit command

try it root@nasip where nasip is the nas ip address the mac reply unknown command
araldo60
Donator VIP
Donator VIP
 
Posts: 121
Joined: Wed Apr 29, 2020 7:36 pm

Re: new install fvdv trouble

Postby Jocko » Sun Jan 31, 2021 6:34 pm

ouups!

I forgot the ssh client command. So the right command is
Code: Select all
ssh root@nasip
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: new install fvdv trouble

Postby araldo60 » Sun Jan 31, 2021 6:37 pm

araldo60 wrote:
Jocko wrote:Hi

It seems you are a Mac user. So from your Mac, open a terminal session and run the command
Code: Select all
root@nasip
where nasip is the current ip of the nas

if you do not yet change it the default password is 'giveit2me'


open terminal and digit command

try it root@nasip where nasip is the nas ip address the mac reply unknown command


The authenticity of host '192.168.1.XXX (192.168.1.XXX)' can't be established.
RSA key fingerprint is SHA256:L4g0epfFglAvxgNNLrEu6XY8Fh8as0xg0weiRZg/S9U.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added '192.168.1.XXX' (RSA) to the list of known hosts.
root@192.168.1.XXX's password:
root@fvdwsl-base:/ # cat /etc/install-firmware.log
<B>Firmware upgrade step 1 started:</B><br>
Search firmware version information for 2big2 ...<br>
The latest version available from http://plugout.net is: fvdw-sl 18.2<br><br>
Check free space on system partition ... OK<br>
Get the bound upgrade files list<br>
Retrieve the firmware package<br>
Try to download part 1 on 5...<br>
Attempt 1: OK, got successful the firmware package part1 file<br>
Try to download part 2 on 5...<br>
Attempt 1: OK, got successful the firmware package part2 file<br>
Try to download part 3 on 5...<br>
Attempt 1: OK, got successful the firmware package part3 file<br>
Try to download part 4 on 5...<br>
Attempt 1: OK, got successful the firmware package part4 file<br>
Try to download part 5 on 5...<br>
Attempt 1: OK, got successful the firmware package part5 file<br>
Extract firmware package...<br>
OK, extract successful the firmware package<br>
Retrieve kernel image file for kirkwood...<br>
Attempt 1: OK, got successful the kernel image file<br>
<br>OK: Retrieve the latest firmware image file successful<br><br>
<br>=> <B>Firmware upgrade step 2 started:</B><br>
Firmware package uploaded via fvdw-sl server<br>
package type: new configuration (version > 16.1)<br>
firmware image type: extended file system (version > 17.0)<br>
Check firmware files archive ...
OK<br>
Detect family type...
OK<br>
Check kernel version...
OK<br>

Check DATABASE file...
OK<br>
Check active partition...
OK<br>
Install new common firmware files on /dev/sda1, ...
<span style='color:red;'>Fail<br>some common files are missing or corrupted on the new firmware partition</span>
araldo60
Donator VIP
Donator VIP
 
Posts: 121
Joined: Wed Apr 29, 2020 7:36 pm

Re: new install fvdv trouble

Postby Jocko » Sun Jan 31, 2021 6:46 pm

Thank you
So there is an issue on sda1 partition. The error message "some common files are missing or corrupted on the new firmware partition" occurs when the upgrade script checks if all new files are really present on the next system partition after uncompressing them.

We need to investigate this point. Please to post the outputs of
Code: Select all
mount
file -bs /dev/sda1
mkdir /tmp/sda1
mount /dev/sda1 /tmp/sda1
df -h /tmp/sda1
ls -al /tmp/sda1
umount /tmp/sda1
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: new install fvdv trouble

Postby araldo60 » Sun Jan 31, 2021 7:45 pm

Jocko wrote:Thank you
So there is an issue on sda1 partition. The error message "some common files are missing or corrupted on the new firmware partition" occurs when the upgrade script checks if all new files are really present on the next system partition after uncompressing them.

We need to investigate this point. Please to post the outputs of
Code: Select all
mount
file -bs /dev/sda1
mkdir /tmp/sda1
mount /dev/sda1 /tmp/sda1
df -h /tmp/sda1
ls -al /tmp/sda1
umount /tmp/sda1


Code: Select all
Last login: Sun Jan 31 19:27:31 on ttys000
MBP-di-Mario:~ mario$ ssh root@192.168.1.XXX
root@192.168.1.XXX s password:
root@fvdwsl-base:/ # mount
/dev/sda7 on / type ext3 (rw,relatime,data=ordered)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
none on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
/dev/sda5 on /rw_fs type ext3 (rw,noatime,data=ordered)
tmpfs on /rw_fs/tmp/usr/var type tmpfs (rw,relatime,size=5000k)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
/dev/sda8 on /share/1000 type ext4 (rw,noatime,nodelalloc,data=ordered)
/dev/sdb8 on /share/1001 type ext3 (rw,noatime,data=ordered)
/dev/sda1 on /rw_fs/tmp/upgrade/img type ext3 (rw,relatime,data=ordered)
root@fvdwsl-base:/ # file -bs /dev/sda1
Linux rev 1.0 ext3 filesystem data, UUID=8024dddd-57bc-4a12-b0d3-680d1bb5cd26 (needs journal recovery) (large files)
root@fvdwsl-base:/ # ,kdir /tmp/sda1
-sh: ,kdir: not found
root@fvdwsl-base:/ # mkdir /tmp/sda1
root@fvdwsl-base:/ # mount /dev/sda1/tmp/sda1
mount: /dev/sda1/tmp/sda1: can't find in /etc/fstab.
root@fvdwsl-base:/ # mount /dev/sda1 /tmp/sda1
root@fvdwsl-base:/ # df -h /tmp/sda1
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       488M  139M  345M  29% /rw_fs/tmp/sda1
root@fvdwsl-base:/ # ls -al /tmp/sda1
total 100
drwxr-xr-x  20 root root  4096 2021-01-31 16:04 .
drwxrwxrwx   8 root root  4096 2021-01-31 20:40 ..
drwxr-xr-x   2 root root  4096 2019-06-28 16:05 bin
drwxr-xr-x   2 root root  4096 2019-10-08 11:49 bin_cab
drwxr-xr-x   2 root root  4096 2013-09-25 22:49 boot
drwxrwxr-x   2 root sys   4096 2017-05-27 19:41 clunc
lrwxrwxrwx   1 root root    14 2018-05-21 22:56 .config -> /rw_fs/.config
drwxr-xr-x   4 root root 12288 2017-05-27 19:41 dev
lrwxrwxrwx   1 root root    11 2019-10-08 12:31 direct-usb -> /share/1000
drwxrwxr-x  18 root sys   4096 2019-10-14 23:48 etc
drwxr-xr-x   4 root root  4096 2019-06-28 15:25 lib
lrwxrwxrwx   1 root root    11 2017-05-27 19:41 linuxrc -> bin/busybox
drwx------   2 root root 16384 2008-01-03 22:21 lost+found
drwxr-xr-x   3 root root  4096 2017-05-27 19:41 mail
lrwxrwxrwx   1 root root    20 2017-05-27 19:41 .mldonkey -> /share/1000/mldonkey
lrwxrwxrwx   1 root root    15 2018-05-21 22:56 .mpd -> /direct-usb/mpd
drwxr-xr-x   2 root root  4096 2008-08-27 23:46 nowhere
drwxr-xr-x   7 root root  4096 2019-01-30 12:01 opt
drwxrwxrwx   2 root root  4096 2011-03-05 11:08 proc
drwxr-xr-x   2 root root  4096 2008-01-03 21:06 root
drwxr-xr-x   2 root root  4096 2017-05-27 19:42 sbin
drwxrwxr-x   2 root sys   4096 2011-03-05 14:38 share
drwxrwxrwx   2 root root  4096 2014-12-30 10:47 sys
drwxrwxr-x  21 root sys   4096 2019-10-14 23:48 usr
drwxr-xr-x   2 root root  4096 2012-03-09 19:50 var
oot@fvdwsl-base:/ # unmount /tmp/sda1
araldo60
Donator VIP
Donator VIP
 
Posts: 121
Joined: Wed Apr 29, 2020 7:36 pm

Re: new install fvdv trouble

Postby Jocko » Sun Jan 31, 2021 8:24 pm

So nothing wrong with your outputs.

Please to note the right command to unmount a partition is really "umount" and not "unmount" so you have to run
Code: Select all
 umount /tmp/sda1


It seems you did not reboot the nas since the upgrade error. Please keep the nas is this state (do not reboot the nas), it allows to deepen where is the issue.

Please to post the outputs of
Code: Select all
ls -l /rw_fs/tmp/upgrade
gnutar --compare --file=/rw_fs/tmp/upgrade/fvdw-sl-18-2-base-18oct19.files.tar.gz -C /rw_fs/tmp/upgrade/img
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: new install fvdv trouble

Postby araldo60 » Sun Jan 31, 2021 9:08 pm

Jocko wrote:So nothing wrong with your outputs.

Please to note the right command to unmount a partition is really "umount" and not "unmount" so you have to run
Code: Select all
 umount /tmp/sda1


It seems you did not reboot the nas since the upgrade error. Please keep the nas is this state (do not reboot the nas), it allows to deepen where is the issue.

Please to post the outputs of
Code: Select all
ls -l /rw_fs/tmp/upgrade
gnutar --compare --file=/rw_fs/tmp/upgrade/fvdw-sl-18-2-base-18oct19.files.tar.gz -C /rw_fs/tmp/upgrade/img


Code: Select all
root@fvdwsl-base:/ # umount /tmp/sda1
root@fvdwsl-base:/ # ls -l /rw_fs/tmp/upgrade
total 77276
-rw-rw-rw-   1 root root  3803997 2017-05-27 13:06 2big1.tar.gz
-rw-rw-rw-   1 root root  3783338 2017-05-27 13:05 5big1.tar.gz
-rw-rw-rw-   1 root root      359 2021-01-31 16:03 cookjar.txt
-rw-rw-rw-   1 root root  4021227 2019-06-28 10:34 d2nw1.tar.gz
-rw-rw-rw-   1 root root      151 2019-01-19 14:42 DATABASE
-rw-rw-rw-   1 root root 52213259 2019-10-18 23:12 fvdw-sl-18-2-base-18oct19.files.tar.gz
-rw-rw-rw-   1 root root     1063 2021-01-31 16:03 fvdwsl_board_aaVIcS
drwxr-xr-x  20 root root     4096 2021-01-31 16:04 img
-rw-rw-rw-   1 root root     1601 2021-01-31 16:04 install-firmware
-rw-rw-rw-   1 root root  1466523 2017-05-27 13:08 isp1.tar.gz
drwxrwxrwx   2 root root     4096 2021-01-31 16:03 kirkwood
-rw-rw-rw-   1 root root  2450673 2019-07-28 22:52 kirkwood.tar.gz
-rw-rw-rw-   1 root root       32 2019-10-18 23:13 MD5
-rw-rw-rw-   1 root root       32 2019-01-19 14:42 MD5DATABASE
-rw-rw-rw-   1 root root       38 2019-10-18 10:38 NAME
-rw-rw-rw-   1 root root  2141275 2017-05-29 23:21 nwsp1.tar.gz
-rw-rw-rw-   1 root root  4052460 2017-05-30 21:28 phn.tar.gz
-rw-rw-rw-   1 root root   573081 2019-10-05 20:37 rspb1.tar.gz
-rw-rw-rw-   1 root root   572625 2019-10-06 11:00 rspb2.tar.gz
-rw-rw-rw-   1 root root   572621 2019-10-06 11:01 rspb3.tar.gz
-rw-rw-rw-   1 root root   572622 2019-10-06 11:02 rspb4.tar.gz
-rw-rw-rw-   1 root root  2741709 2019-07-28 22:56 srn21c.tar.gz
-rw-rw-rw-   1 root root        0 2021-01-31 16:03 step2
root@fvdwsl-base:/ # gnutar --compare --file=/rw_fs/tmp/upgrade/fvdw-sl-18-2-bas
e-18oct19.files.tar.gz -C /rw_fs/tmp/upgrade/img
usr/share/nzbget/webui/config.js: Contents differ

root@fvdwsl-base:/ #
root@fvdwsl-base:/ # gnutar --compare --file=/rw_fs/tmp/upgrade/fvdw-sl-18-2-bas
e-18oct19.files.tar.gz -C /rw_fs/tmp/upgrade/img
usr/share/nzbget/webui/config.js: Contents differ
root@fvdwsl-base:/ #
araldo60
Donator VIP
Donator VIP
 
Posts: 121
Joined: Wed Apr 29, 2020 7:36 pm

PreviousNext

Return to Lacie 2Big Network vs2

Who is online

Users browsing this forum: No registered users and 3 guests

cron