linux-raspberrypi4 broken?

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

linux-raspberrypi4 broken?

Postby Amphitryon » Sat Jun 19, 2021 11:11 pm

After a routine pacman -Syu which included a kernel upgrade from linux-raspberrypi4 5.10.43-2 => 5.10.44-1 my Pi 4B 8G became unusable. I have gdm (GNOME deskop manager) installed as a graphical login and, while it would draw the screen, the keyboard and mouse were then unresponsive with the green LED continuously lit. Powering off and on again did not seem to fix the issue. ANyone else seen that?

I do have a copy of the root partition from when it was unusable so it would be interesting to know if it is easy to extract information from the system journal. I'll check out the documentation for journalctl.

I have got back to a workable state again but this did not seem to be straightforward. Is there a recognised way to roll back to a previous version of a package when the SD card is mounted on another system? I did look at pacman --sysroot but this mentions doing a chroot which would, I suspect, run into problems as the other system I had available was an X86 PC.

For this non-booting case, would it simply be better to backup the /boot partition from time to time?
Amphitryon
 
Posts: 19
Joined: Fri Apr 30, 2021 7:17 pm

Re: linux-raspberrypi4 broken?

Postby NotEinstein » Sun Jun 20, 2021 1:22 am

Yes, I found the same issue rebooting following upgrade.

I usually make a copy of the boot sd card to a partition on my usb drive, but downgrading by copying the files back can result in an unusable system due to the conflict between the different versions of linux kernel.

It was simple to use arch-chroot on another pi4 to downgrade.
NotEinstein
 
Posts: 22
Joined: Mon Jul 22, 2019 2:05 am

Re: linux-raspberrypi4 broken?

Postby dk23 » Sun Jun 20, 2021 12:40 pm

I posted in a different thread a problem I had with linux-raspberry4:

[url]
viewtopic.php?f=65&t=15398
[/url]


Fred
dk23
 
Posts: 17
Joined: Wed Feb 04, 2015 4:18 pm

Re: linux-raspberrypi4 broken?

Postby robg » Sun Jun 20, 2021 4:33 pm

I can confirm that the 5.10.44-1 raspberrypi4 kernel works without issues on my RPI 4B 8G running LXQt and LightDM.

To troubleshoot:

1. Is your EEPROM up-to-date (`rpi-eeprom-update`)?
2. If booting without a display manager / X works, it might be a temporary issue due to the graphics stack packages being updated while you ran `pacman -Syu`. Does running `pacman -Syu` now resolve your issue?
3. Have you installed xf86-video-fbdev (not sure if strictly necessary, but I never had any issues with it)?
4. Have you any special settings in /boot/config.txt? Mine reads

Code: Select all
# See /boot/overlays/README for all available options

over_voltage=6
arm_freq=2100
gpu_freq=750

#force_turbo=1

gpu_mem=256
dtoverlay=vc4-kms-v3d

hdmi_drive=2
hdmi_group=2
disable_overscan=1

initramfs initramfs-linux.img followkernel
robg
 
Posts: 61
Joined: Tue Jan 05, 2021 8:22 am

Re: linux-raspberrypi4 broken?

Postby dk23 » Sun Jun 20, 2021 5:22 pm

installed linux-raspberry4 from the official builds. (had built my own with no changes to config)
installed fx86-video-fbdev

not using a display manager starting via startlxqt

updated with pacman

EEPROM up to date

config.txt
Code: Select all
# See /boot/overlays/README for all available options

dtoverlay=vc4-kms-v3d
initramfs initramfs-linux.img followkernel


# added
gpu_mem=256



same error on startlxqt

Thanks
Fred
dk23
 
Posts: 17
Joined: Wed Feb 04, 2015 4:18 pm

Re: linux-raspberrypi4 broken?

Postby graysky » Sun Jun 20, 2021 5:39 pm

Do not use gpu_mem=256
graysky
 
Posts: 1021
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: linux-raspberrypi4 broken?

Postby bamboo » Mon Jun 21, 2021 9:24 am

New istalation on my rpi4, probably same problem:

* ARMv7 crashdumps in graphene
https://github.com/ebassi/graphene/issues/215

* aarch64 mainline works with terrible performance

* aarch64 with linux-raspberrypi4 freezes in gdm without crashdump

I was so dissapointed from this so I went to sleep. I will wait a few days before trying again :)
bamboo
 
Posts: 2
Joined: Mon Jun 21, 2021 9:19 am

Re: linux-raspberrypi4 broken?

Postby robg » Mon Jun 21, 2021 9:36 am

Is it possible to SSH into the machine when GDM is frozen? Does `journalctl -b=-1` produce anything useful? Since the problem seems related to the graphical environment, can you isolate it further, e.g., can you run openbox via startx?
robg
 
Posts: 61
Joined: Tue Jan 05, 2021 8:22 am

Re: linux-raspberrypi4 broken?

Postby bamboo » Mon Jun 21, 2021 9:39 am

Yes it is. Only graphics stack seems frozen. CPU does nothing, everything else works.

I will post the log when I arrive home.
bamboo
 
Posts: 2
Joined: Mon Jun 21, 2021 9:19 am

Re: linux-raspberrypi4 broken?

Postby graysky » Mon Jun 21, 2021 10:18 am

If you have indeed narrowed the issue down to the raspberrypi4 kernel, that points to something in the RPi Foundation's code. You can of course continue the discussion here but recommend you report it upstream after first searching to see if someone else already did: https://github.com/raspberrypi/linux/issues

You will need output from journalctl or from dmesg or from a log generated by whatever is breaking to help troubleshoot.

EDIT: related/same --> viewtopic.php?f=65&t=15398&p=66785#p66785
??
graysky
 
Posts: 1021
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Next

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 4 guests