New Setup with Pi4 8GB - Will not seem to boot

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

New Setup with Pi4 8GB - Will not seem to boot

Postby fsociety3765 » Fri Oct 21, 2022 1:15 am

Hi all,

I am attempting to get up and running with a new Pi4 8GB and Arch.

I am a long-time Arch user and after looking over the instructions in the docs I didn't anticipate any issues getting this going.

Alas, I can't seem to get the Pi to boot.

Just out of interest, what should my fstab look like?

Currently it looks like this:
$this->bbcode_second_pass_code('', '
# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
/dev/mmcblk0p1 /boot vfat defaults 0 0
/dev/mmcblk0p2 / ext4 rw,relatime 0 1
')

After following the docs initially, the mount point for the root partition was not present in the fstab. I had to add that. Is this correct?

I did also follow the last set of instructions on the bottom that uses sed to replace mmcblk0 for mmcblk1 in the fstab. I have actually tried it with mmcblk0 and mmcblk1 now and I cannot get the device to boot.

Is there something silly I could be missing or doing wrong?

Any help would be greatly appreciated.

Thanks,

FS
fsociety3765
 
Posts: 21
Joined: Fri Oct 21, 2022 1:03 am

Re: New Setup with Pi4 8GB - Will not seem to boot

Postby graysky » Fri Oct 21, 2022 11:19 am

You do not define root in /etc/fstab, just boot:
$this->bbcode_second_pass_code('', '# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>

/dev/mmcblk0p1 /boot vfat defaults 0 0
')

What error are you seeing on screen? Recommend that you use the latest image and follow the instructions to the letter.
graysky
Developer
 
Posts: 1880
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: New Setup with Pi4 8GB - Will not seem to boot

Postby fsociety3765 » Fri Oct 21, 2022 6:06 pm

Thanks.

Yeah, I might just re-run through it all.
fsociety3765
 
Posts: 21
Joined: Fri Oct 21, 2022 1:03 am

Re: New Setup with Pi4 8GB - Will not seem to boot

Postby fsociety3765 » Fri Oct 21, 2022 6:41 pm

Same thing.

Did the whole thing from scratch following the instructions exactly.

Same issue. Fails to boot and restarts. Goes round in a loop.

Took note of the exact message this time. This is what is output on the monitor...

$this->bbcode_second_pass_code('', '
Net: eth0: ethernet@7d580000
PCIe BRCM: link up, 5.0 Gbps x1 (SSC)
Starting USB...
Bus xhci_pci: Register 5000420 NbrPorts 5
Starting the controller
USB XHCI 1.00
scanning bus xhci_pci for devices... Unexpected XHCI event TRB, skipping... (3afe86a0 00000004 01000000 01008401)
')

Then there is a slight delay before this last message appears at the bottom for about 0.5s. Then it restarts.

$this->bbcode_second_pass_code('', '
BUG at drivers/usb/host/xhci-ring.c:503/abort_td()!
BUG!
')

Could it be missing a driver somehow? As stated I re-ran the steps exactly to the letter.
fsociety3765
 
Posts: 21
Joined: Fri Oct 21, 2022 1:03 am

Re: New Setup with Pi4 8GB - Will not seem to boot

Postby fsociety3765 » Fri Oct 21, 2022 6:49 pm

Looks like a problem with U-Boot?

Did a search on that bug message and found this GitHub issue...

https://github.com/raspberrypi/linux/issues/4963

Not the exact same message but similar.
fsociety3765
 
Posts: 21
Joined: Fri Oct 21, 2022 1:03 am

Re: New Setup with Pi4 8GB - Will not seem to boot

Postby graysky » Fri Oct 21, 2022 7:23 pm

Post the output of journalctl -b
graysky
Developer
 
Posts: 1880
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: New Setup with Pi4 8GB - Will not seem to boot

Postby fsociety3765 » Fri Oct 21, 2022 9:07 pm

The device will not boot so I am unable to post the output of any terminal commands.
fsociety3765
 
Posts: 21
Joined: Fri Oct 21, 2022 1:03 am

Re: New Setup with Pi4 8GB - Will not seem to boot

Postby graysky » Fri Oct 21, 2022 9:42 pm

If systemd is active you can access the logs on the uSD card from another Linux box. See the --help of journalctl. It might be the -D switch I can't remember.
graysky
Developer
 
Posts: 1880
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: New Setup with Pi4 8GB - Will not seem to boot

Postby fsociety3765 » Fri Oct 21, 2022 10:17 pm

$this->bbcode_second_pass_code('', '
journalctl -b -D root
')
$this->bbcode_second_pass_code('', '
No journal files were found.
Data from the specified boot (+0) is not available: No such boot ID in journal
')

$this->bbcode_second_pass_code('', '
journalctl -D root
')
$this->bbcode_second_pass_code('', '
No journal files were found.
-- No entries --
')

$this->bbcode_second_pass_code('', '
journalctl --root=root
')
$this->bbcode_second_pass_code('', '
No journal files were found.
-- No entries --
')

$this->bbcode_second_pass_code('', '
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 48M 1 loop /var/lib/snapd/snap/snapd/17336
loop1 7:1 0 128.2M 1 loop /var/lib/snapd/snap/multipass/7967
loop2 7:2 0 63.2M 1 loop /var/lib/snapd/snap/core20/1623
loop3 7:3 0 48M 1 loop /var/lib/snapd/snap/snapd/17029
loop4 7:4 0 62M 1 loop /var/lib/snapd/snap/core20/1611
loop5 7:5 0 128.2M 1 loop /var/lib/snapd/snap/multipass/7861
sda 8:0 1 59.5G 0 disk
├─sda1 8:1 1 300M 0 part /root/boot
└─sda2 8:2 1 59.2G 0 part /root/root
sdb 8:16 1 0B 0 disk
sr0 11:0 1 1024M 0 rom
zram0 253:0 0 1G 0 disk [SWAP]
nvme0n1 259:0 0 256G 0 disk
├─nvme0n1p1 259:1 0 260M 0 part /boot/efi
└─nvme0n1p2 259:2 0 255.7G 0 part
└─cryptroot 254:0 0 255.7G 0 crypt /var/lib/docker/btrfs
/home
/var/log
/var/cache
/swap
/.snapshots
/
')

SD card is `sda`.
fsociety3765
 
Posts: 21
Joined: Fri Oct 21, 2022 1:03 am

Re: New Setup with Pi4 8GB - Will not seem to boot

Postby fsociety3765 » Sat Oct 22, 2022 1:05 am

Are there any known issues with the latest 64bit image or official docs?

Can't really see where else it could be going wrong.
fsociety3765
 
Posts: 21
Joined: Fri Oct 21, 2022 1:03 am

Next

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 9 guests