usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Failed to update E320 to UHD 4.0

JP
Jeffrey P Long
Wed, May 12, 2021 4:21 PM

I have a E320 that I wanted to update to UHD 4.0. I am currently at 3.15. I downloaded the mender artifact and image from files.ettus.com.

I first tried to mend it. I scp'd it and attempted it. The following is the result from that.

root@ni-e320-31DCD15:~# mender -rootfs /home/root/usrp_e320_fs.mender
INFO[0000] Configuration file does not exist: /var/lib/mender/mender.conf  module=config
INFO[0000] Loaded configuration file: /etc/mender/mender.conf  module=config
INFO[0000] Mender running on partition: /dev/mmcblk0p3  module=main
INFO[0000] Start updating from local image file: [/home/root/usrp_e320_fs.mender]  module=rootfs
Installing update from the artifact of size 89829376
INFO[0000] no public key was provided for authenticating the artifact  module=installer
ERRO[0000] Installation failed: installer: failed to read and install update: will not install artifact with state-scripts when installing from cmd-line. Use -f to override  module=rootfs
ERRO[0000] installer: failed to read and install update: will not install artifact with state-scripts when installing from cmd-line. Use -f to override  module=main
root@ni-e320-31DCD15:~#

During this process, during the scp I noticed that it complained about the disk being full. I am using a 16 GB sd card (actually the one that came with it) and there is nothing extra on it other than the standard UHD 3.15 etc. Thinking that might be an issue I decided to try popping the cover and building a new 16 GB card from scratch using the image I downloaded.

After doing:

jplong@mm241897-pc:~/proj/ettus_e320/e3xx_e320_sdimg_default-v4.0.0.0$mailto:jplong@mm241897-pc:~/proj/ettus_e320/e3xx_e320_sdimg_default-v4.0.0.0$ sudo dd if=usrp_e320_fs.sdimg of=/dev/sda bs=1M
dd: error writing '/dev/sda': No space left on device
14773+0 records in
14772+0 records out
15489564672 bytes (15 GB, 14 GiB) copied, 1904.36 s, 8.1 MB/s
jplong@mm241897-pc:~/proj/ettus_e320/e3xx_e320_sdimg_default-v4.0.0.0$mailto:jplong@mm241897-pc:~/proj/ettus_e320/e3xx_e320_sdimg_default-v4.0.0.0$

When I tried to boot this popped up so that is probably no good based on it running out of space:
[FAILED] Failed to start File System Check on /dev/mmcblk0p4.
Then it went into emergency mode.

Does UHD 4.0 require a bigger disk?

Thanks
Jeff Long

I have a E320 that I wanted to update to UHD 4.0. I am currently at 3.15. I downloaded the mender artifact and image from files.ettus.com. I first tried to mend it. I scp'd it and attempted it. The following is the result from that. root@ni-e320-31DCD15:~# mender -rootfs /home/root/usrp_e320_fs.mender INFO[0000] Configuration file does not exist: /var/lib/mender/mender.conf module=config INFO[0000] Loaded configuration file: /etc/mender/mender.conf module=config INFO[0000] Mender running on partition: /dev/mmcblk0p3 module=main INFO[0000] Start updating from local image file: [/home/root/usrp_e320_fs.mender] module=rootfs Installing update from the artifact of size 89829376 INFO[0000] no public key was provided for authenticating the artifact module=installer ERRO[0000] Installation failed: installer: failed to read and install update: will not install artifact with state-scripts when installing from cmd-line. Use -f to override module=rootfs ERRO[0000] installer: failed to read and install update: will not install artifact with state-scripts when installing from cmd-line. Use -f to override module=main root@ni-e320-31DCD15:~# During this process, during the scp I noticed that it complained about the disk being full. I am using a 16 GB sd card (actually the one that came with it) and there is nothing extra on it other than the standard UHD 3.15 etc. Thinking that might be an issue I decided to try popping the cover and building a new 16 GB card from scratch using the image I downloaded. After doing: jplong@mm241897-pc:~/proj/ettus_e320/e3xx_e320_sdimg_default-v4.0.0.0$<mailto:jplong@mm241897-pc:~/proj/ettus_e320/e3xx_e320_sdimg_default-v4.0.0.0$> sudo dd if=usrp_e320_fs.sdimg of=/dev/sda bs=1M dd: error writing '/dev/sda': No space left on device 14773+0 records in 14772+0 records out 15489564672 bytes (15 GB, 14 GiB) copied, 1904.36 s, 8.1 MB/s jplong@mm241897-pc:~/proj/ettus_e320/e3xx_e320_sdimg_default-v4.0.0.0$<mailto:jplong@mm241897-pc:~/proj/ettus_e320/e3xx_e320_sdimg_default-v4.0.0.0$> When I tried to boot this popped up so that is probably no good based on it running out of space: [FAILED] Failed to start File System Check on /dev/mmcblk0p4. Then it went into emergency mode. Does UHD 4.0 require a bigger disk? Thanks Jeff Long
RK
Rob Kossler
Thu, May 13, 2021 12:52 PM

Hi Jeff,
I don't have an E320, but I did not experience any space issue using 16GB
cards with either N310 or N321. BTW, I used bmaptool for the writing which
is super fast compared to the other methods.
Rob

On Wed, May 12, 2021 at 12:24 PM Jeffrey P Long jplong@mitre.org wrote:

I have a E320 that I wanted to update to UHD 4.0. I am currently at 3.15.
I downloaded the mender artifact and image from files.ettus.com.

I first tried to mend it. I scp’d it and attempted it. The following is
the result from that.

root@ni-e320-31DCD15:~# mender -rootfs /home/root/usrp_e320_fs.mender

INFO[0000] Configuration file does not exist: /var/lib/mender/mender.conf
module=config

INFO[0000] Loaded configuration file: /etc/mender/mender.conf
module=config

INFO[0000] Mender running on partition: /dev/mmcblk0p3  module=main

INFO[0000] Start updating from local image file:
[/home/root/usrp_e320_fs.mender]  module=rootfs

Installing update from the artifact of size 89829376

INFO[0000] no public key was provided for authenticating the artifact
module=installer

ERRO[0000] Installation failed: installer: failed to read and install
update: will not install artifact with state-scripts when installing from
cmd-line. Use -f to override  module=rootfs

ERRO[0000] installer: failed to read and install update: will not install
artifact with state-scripts when installing from cmd-line. Use -f to
override  module=main

root@ni-e320-31DCD15:~#

During this process, during the scp I noticed that it complained about the
disk being full. I am using a 16 GB sd card (actually the one that came
with it) and there is nothing extra on it other than the standard UHD 3.15
etc. Thinking that might be an issue I decided to try popping the cover and
building a new 16 GB card from scratch using the image I downloaded.

After doing:

jplong@mm241897-pc:~/proj/ettus_e320/e3xx_e320_sdimg_default-v4.0.0.0$
sudo dd if=usrp_e320_fs.sdimg of=/dev/sda bs=1M

dd: error writing '/dev/sda': No space left on device

14773+0 records in

14772+0 records out

15489564672 bytes (15 GB, 14 GiB) copied, 1904.36 s, 8.1 MB/s

jplong@mm241897-pc:~/proj/ettus_e320/e3xx_e320_sdimg_default-v4.0.0.0$

When I tried to boot this popped up so that is probably no good based on
it running out of space:

[FAILED] Failed to start File System Check on /dev/mmcblk0p4.

Then it went into emergency mode.

Does UHD 4.0 require a bigger disk?

Thanks

Jeff Long


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

Hi Jeff, I don't have an E320, but I did not experience any space issue using 16GB cards with either N310 or N321. BTW, I used bmaptool for the writing which is super fast compared to the other methods. Rob On Wed, May 12, 2021 at 12:24 PM Jeffrey P Long <jplong@mitre.org> wrote: > I have a E320 that I wanted to update to UHD 4.0. I am currently at 3.15. > I downloaded the mender artifact and image from files.ettus.com. > > > > I first tried to mend it. I scp’d it and attempted it. The following is > the result from that. > > > > root@ni-e320-31DCD15:~# mender -rootfs /home/root/usrp_e320_fs.mender > > INFO[0000] Configuration file does not exist: /var/lib/mender/mender.conf > module=config > > INFO[0000] Loaded configuration file: /etc/mender/mender.conf > module=config > > INFO[0000] Mender running on partition: /dev/mmcblk0p3 module=main > > INFO[0000] Start updating from local image file: > [/home/root/usrp_e320_fs.mender] module=rootfs > > Installing update from the artifact of size 89829376 > > INFO[0000] no public key was provided for authenticating the artifact > module=installer > > ERRO[0000] Installation failed: installer: failed to read and install > update: will not install artifact with state-scripts when installing from > cmd-line. Use -f to override module=rootfs > > ERRO[0000] installer: failed to read and install update: will not install > artifact with state-scripts when installing from cmd-line. Use -f to > override module=main > > root@ni-e320-31DCD15:~# > > > > During this process, during the scp I noticed that it complained about the > disk being full. I am using a 16 GB sd card (actually the one that came > with it) and there is nothing extra on it other than the standard UHD 3.15 > etc. Thinking that might be an issue I decided to try popping the cover and > building a new 16 GB card from scratch using the image I downloaded. > > > > After doing: > > > > jplong@mm241897-pc:~/proj/ettus_e320/e3xx_e320_sdimg_default-v4.0.0.0$ > sudo dd if=usrp_e320_fs.sdimg of=/dev/sda bs=1M > > dd: error writing '/dev/sda': No space left on device > > 14773+0 records in > > 14772+0 records out > > 15489564672 bytes (15 GB, 14 GiB) copied, 1904.36 s, 8.1 MB/s > > jplong@mm241897-pc:~/proj/ettus_e320/e3xx_e320_sdimg_default-v4.0.0.0$ > > > > When I tried to boot this popped up so that is probably no good based on > it running out of space: > > [FAILED] Failed to start File System Check on /dev/mmcblk0p4. > > Then it went into emergency mode. > > > > Does UHD 4.0 require a bigger disk? > > > > Thanks > > Jeff Long > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com >