kernel linux-raspberrypi4-5.10.{48,50} freezes

Discussion about U-Boot and the kernel.

kernel linux-raspberrypi4-5.10.{48,50} freezes

Postby minus » Thu Jul 15, 2021 7:05 pm

Hello, I hope this is the right place to ask.

I'm using a Raspberry Pi 4 Model B Rev 1.2 with linux-raspberrypi4 as a desktop. If I use the .48 and .50 versions of the kernel and I open a sway session and any graphical application then my system freezes: I get a frozen image out of the hdmi and if I try to connect via ssh it says no route. In the journal I don't see anything out of the ordinary. Version .46 works fine:

$this->bbcode_second_pass_code('', '
$ uname -a
Linux pi.lan 5.10.46-2-ARCH #1 SMP PREEMPT Fri Jul 9 14:26:51 UTC 2021 aarch64 GNU/Linux
')

$this->bbcode_second_pass_code('', '
$ pacman -Q | grep raspberry
firmware-raspberrypi 20210224-1
linux-raspberrypi4 5.10.46-2
linux-raspberrypi4-headers 5.10.46-2
raspberrypi-bootloader 20210714-1
raspberrypi-bootloader-x 20210714-1
raspberrypi-firmware 20210623-1
')

$this->bbcode_second_pass_code('', '
$ cat /boot/cmdline.txt
usb-storage.quirks=0080:a001:u root=UUID=1bdde16e-b98a-49c5-8e41-9fcb8650014c rw rootwait console=serial0,115200 console=tty1 quiet selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=serial0,115200
')

$this->bbcode_second_pass_code('', '
$ cat /boot/config.txt
# See /boot/overlays/README for all available options

# memory
gpu_mem=128

# video
hdmi_drive=1
disable_overscan=1

# unique hdmi output
max_framebuffers=1

# boot
initramfs initramfs-linux.img followkernel
disable_splash=1

# device tree
dtparam=audio=on
dtoverlay=disable-bt
dtoverlay=disable-wifi
dtoverlay=vc4-kms-v3d
')

Edit: I forgot to thank you for your work :D
minus
 
Posts: 4
Joined: Thu Jul 15, 2021 6:41 pm

Re: kernel linux-raspberrypi4-5.10.{48,50} freezes

Postby graysky » Thu Jul 15, 2021 8:06 pm

Not sure why the freezes. Likely unrelated but remove the gpu_mem line when using vc4-kms-v3d. Define memory with the ,cma=xxx option like:

dtoverlay=vc4-kms-v3d,cma-256
graysky
Developer
 
Posts: 1723
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: kernel linux-raspberrypi4-5.10.{48,50} freezes

Postby minus » Thu Jul 15, 2021 9:54 pm

Thanks, I changed that option.

Edit: asked on github.
minus
 
Posts: 4
Joined: Thu Jul 15, 2021 6:41 pm


Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 1 guest