void-packages icon indicating copy to clipboard operation
void-packages copied to clipboard

rpi400 no longer boots after kernel update 5.10 -> 5.15

Open TwinkleToes777 opened this issue 1 year ago • 15 comments

Is this a new report?

Yes

System Info

Void 5.15.something glibc, rpi400

Package(s) Affected

rpi4-kernel I think

Does a report exist for this bug with the project's home (upstream) and/or another distro?

Not that I am aware of.

Expected behaviour

To boot as usual and show something on the monitor.

Actual behaviour

Does not boot, monitor stays black, it doesn't even get to the part of connecting to the monitor.

Steps to reproduce

All I did is sudo xbps-install -Su, it installed 5.15 kernel, I rebooted and I got this problem.

Sorry for little information, as it cannot boot, I cannot execute any commands on it.

Another thing that may matter is I boot from SSD.

TwinkleToes777 avatar Sep 06 '22 20:09 TwinkleToes777

Downloading rpi4 rootfs glibc and replacing my /boot content with its /boot content made it able to boot again, but back to kernel 5.10

TwinkleToes777 avatar Sep 06 '22 20:09 TwinkleToes777

could you test booting from an SD card?

classabbyamp avatar Sep 06 '22 21:09 classabbyamp

Probably related:

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

Anachron avatar Sep 07 '22 06:09 Anachron

maybe, but the revert that should fix that issue is in the current rpi4-kernel release

classabbyamp avatar Sep 07 '22 07:09 classabbyamp

True, I guess we need to wait for OP to give us some more information and provide us with some error logs, /boot/config.txt and alike.

Anachron avatar Sep 07 '22 07:09 Anachron

I have not tried booting from sd card, as it is not my desired storage solution. my /boot/cmdline.txt is:

usb-storage.quirks=152d:1576:u root=/dev/sda2 rw rootwait console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 loglevel=4 elevator=noop usbhid.mousepoll=0

TwinkleToes777 avatar Sep 07 '22 08:09 TwinkleToes777

@TwinkleToes777 , can you test #39442 ? just xbps-install -R https://devspace.voidlinux.org/abby/rpi-merge -Su

classabbyamp avatar Sep 25 '22 10:09 classabbyamp

@TwinkleToes777 , can you test #39442 ? just xbps-install -R https://devspace.voidlinux.org/abby/rpi-merge -Su

Thank you! It works. :)

TwinkleToes777 avatar Sep 25 '22 11:09 TwinkleToes777

I had the same issue as @TwinkleToes777 but on my RPi4B. @classabbyamp's PR fixed it for me as well

enjewneer avatar Sep 25 '22 22:09 enjewneer

I had the same issue as @TwinkleToes777 but on my RPi4B. @classabbyamp's PR fixed it for me as well

I spoke too soon. Rebooting leads to the same issue as I was having before - black screen

enjewneer avatar Sep 26 '22 01:09 enjewneer

are you booting from an sd card or usb?

classabbyamp avatar Sep 26 '22 01:09 classabbyamp

are you booting from an sd card or usb?

Booting from USB. Works fine with the 20210930 void-rpi4 image so long as I change the root argument to /dev/sda2 in /boot/cmdline.txt. When I xbps-install -Su either from default repo or from yours, it does not boot. If I place /boot back on a SD card, I can then boot while / is on /dev/sda2.

enjewneer avatar Sep 26 '22 14:09 enjewneer

does this work? https://github.com/raspberrypi/linux/issues/5123#issuecomment-1216350165

classabbyamp avatar Sep 26 '22 20:09 classabbyamp

does this work? raspberrypi/linux#5123 (comment)

No, this doesn't work. I've substituted the VID/PID for my SATA-USB3 bridge. Same boot to black. I've tried it with a number of different bridges and storage media as well. I also tried using the RPi's USB2 ports and still no boot.

For now it's usable if I boot first from the SD card and keep / on the SSD. But something changed (in the firmware package, I believe) from the Void image from last year and now that makes it impossible for me to boot fully off an SSD.

enjewneer avatar Sep 28 '22 15:09 enjewneer

hmm. I think it would be best to make a bug report upstream (and please link it here so I can track it too), because I don't know what's up.

classabbyamp avatar Sep 30 '22 03:09 classabbyamp

Is my PR related to this? #43600

kenrap avatar May 05 '23 22:05 kenrap

is this still an issue?

classabbyamp avatar Jun 14 '24 06:06 classabbyamp