usb boot pi4, can't reboot

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

usb boot pi4, can't reboot

Postby jal » Fri Nov 26, 2021 11:38 am

Hi,

I have to physically remove / apply power to achieve boot. So, it must get stuck in the shutdown process.

I'm looking for a bit of help diagnosing why.

It's a headless server, attaching to a screen didn't help, as when attempting reboot the screen blanks (similarly to it properly powering off).

journalctl -xe didn't show anything useful, fstab looks OK. Anything else to check?
jal
 
Posts: 13
Joined: Tue May 26, 2015 9:22 am

Re: usb boot pi4, can't reboot

Postby graysky » Fri Nov 26, 2021 12:46 pm

Connect a monitor. If something is hanging after journald stops you have no other way to know.
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: usb boot pi4, can't reboot

Postby jal » Mon Nov 29, 2021 11:30 am

Hi graysky.

Unfortunately, attaching to a screen didn't help, as when attempting reboot the screen blanks (similarly to it properly powering off).

I do have a separate USB that reboots a pi4 correctly, I will just clone that.

All the best,
Ben
jal
 
Posts: 13
Joined: Tue May 26, 2015 9:22 am

Re: usb boot pi4, can't reboot

Postby jal » Mon Nov 29, 2021 12:11 pm

Well, I decided to update my working pi4 (USB boot) system before cloning.

The main update was
linux-raspberrypi4
replaced with
rpi-ARCH

Then.. it didn't boot (btw this rpi kernel -did- boot on my pi02w).

Looking at /boot/cmdline.txt on the pi4 USB I see it's been updated:
root=/dev/mmcblk0p2

This breaks USB booting, as the root partition isn't on a microsd. Not good.

I've changed it back to use PARTUUID and will report back - edit, yup, now boots.

We need to stop the update modifying /boot/cmdline.txt, possibly file a bug report?
jal
 
Posts: 13
Joined: Tue May 26, 2015 9:22 am

Re: usb boot pi4, can't reboot

Postby graysky » Mon Nov 29, 2021 12:22 pm

$this->bbcode_second_pass_quote('jal', 'L')ooking at /boot/cmdline.txt on the pi4 USB I see it's been updated:
root=/dev/mmcblk0p2

This breaks USB booting, as the root partition isn't on a microsd. Not good.

I've changed it back to use PARTUUID and will report back - edit, yup, now boots.

We need to stop the update modifying /boot/cmdline.txt, possibly file a bug report?


Not a bug. It's up to users to diff key files like /boot/cmdline.txt against .pacsave ones (guessing linux-rpi did this since it removed the old one). The rename of a package like this assuming it caused your issue is rare but you need to read your pacman output when you update looking for these sorts of things.
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: usb boot pi4, can't reboot

Postby jal » Mon Nov 29, 2021 2:17 pm

Understood, I'll keep an eye out for that. Thanks for the explanation.
jal
 
Posts: 13
Joined: Tue May 26, 2015 9:22 am


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 4 guests