Massive error during Rasberry Pi 3 installation with bsdtar

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

Massive error during Rasberry Pi 3 installation with bsdtar

Postby justinnoor » Tue May 22, 2018 12:14 pm

I am trying to format an SD card for ArchARM from a laptop that runs an up-to-date version of Ubuntu 16.04. ArchARM will then be installed on a Rasberry Pi 3. I am using the corresponding instructions:
https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3


After creating the required partitions and downloading the image:
$this->bbcode_second_pass_code('', '$ sudo su
# wget http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-2-latest.tar.gz')

the extraction step throws a massive error (massive because it populates the entire screen):
$this->bbcode_second_pass_code('', '# cd ~/Downloads
# bsdtar -xpf ArchLinuxARM-rpi-2-latest.tar.gz -C /mnt/root')
Error:
bsdtar: Ignoring malformed pax extended attribute
bsdtar: Error exit delayed from previous errors.


Using tar also throws a massive error:
$this->bbcode_second_pass_code('', '# tar -xvzf ArchLinuxARM-rpi-2-latest.tar.gz -C /mnt/root')
Error
tar: Ignoring unknown extended header keyword 'SCHILY.fflags'
...
...
... for every file

With tar the installation finishes but does not work.

Additional information:
Ubuntu 16.04 uses:
bsdtar 3.1.2
libarchive 3.1.2
GNU tar 1.28

Any thoughts?
Also, out of curiosity, why is bsdtar specified instead of GNU tar? Thank you.
justinnoor
 
Posts: 5
Joined: Tue May 22, 2018 11:48 am

Re: Massive error during Rasberry Pi 3 installation with bsd

Postby bobmon » Mon May 28, 2018 10:37 pm

I saw the same errors with bsdtar, but went ahead and tried the result anyway. It has successfully booted into a serial console for me. This is on a Raspberry Pi 3.

No idea what the difference between bsdtar and tar is....
bobmon
 
Posts: 3
Joined: Mon May 28, 2018 10:34 pm

Re: Massive error during Rasberry Pi 3 installation with bsd

Postby justinnoor » Mon Jun 11, 2018 1:50 am

Thank you for taking the time to respond. The installation is finally working, however, it is not entirely clear as to what went wrong. There are two prime suspects, both of which are permissions related issues.

First off, on the computer from where the first installation attempt was performed, it was discovered that the user performing the installation was somehow not added to the user privilege specification on the /etc/sudoers.tmp file (i.e., myuser ALL=(ALL:ALL) ALL). Secondly, on the first installation attempt, the sync command (after extracting the image with tar -xzvf) was not executed from root, it was executed in userland. Again, there's no way to be 100% sure that these were the failure points.

There is also a strange message at the serial console, which another post will be created for ASAP. It is something about a [14.953249] Bluetooth: hci0: BCM (001.002.009) build 0360.

Anyways thanks again
justinnoor
 
Posts: 5
Joined: Tue May 22, 2018 11:48 am

Re: Massive error during Rasberry Pi 3 installation with bsd

Postby dboat » Wed Jul 04, 2018 4:58 am

Faced similar situation with bsdtar (on Centos7) before.

What I did is I just built a minimal Archlinux vm and use Archlinux's bsdtar to do the job. In fact, build the iso inside vm. 0.00% hiccup then.

I don't use docker. If you do, that could be more handy.
dboat
 
Posts: 1
Joined: Thu Jun 07, 2018 5:20 pm


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 4 guests