You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RPi 2 doesn't boot on linux-raspberrypi 5.10.31-2 when connected with HDMI #4299
dmesg with good kernel in disconnected state -> #4299 (comment)
Additional context
Note 1:
Linux 5.10.31-1 boots successfully with and without HDMI connected.
Linux 5.10.31-2 boot fails when HDMI screen is connected.
Linux 5.10.31-2 boot succeeds when HDMI is **disconnected**.
--------------------
Note 2:
The Bootloader manages to switch to systemd (I think)
It is during systemD initialization that HDMI screen goes blank.
It feels like the boot gets stuck right before the login prompt is supposed to appear.
(No network, although I think I am able to see [ ok ] for network service. )
Same issue here on RPi3.
The system crashes when kms refreshes the screen. The issue does not occur when fkms is used. So this is probably a bug in the new vc4 code.
Activity
nightBulb commentedon Apr 20, 2021
dmesg output:
When boot succeeds with bad kernel ( DISCONNECTED HDMI ) linux 5.10.31-2
dmesg-2021-04-21-bad-kernel-log.txt
When boot succeeds with good kernel Linux ( CONNECTED HDMI ) 5.10.31-1
dmesg-2021-04-21-good-kernel-log.txt
Couldn't get the failure ( linux 5.10.31-2, HDMI Connected)
dmesgoutput as no login promptColored variants of above logs
dmesg-2021-04-21-bad-kernel-log-colored.txt
dmesg-2021-04-21-good-kernel-log-colored.txt
nightBulb commentedon Apr 21, 2021
This is the last thing that happens when booting with Linux 5.10.31-2
(bad kernel) connected via HDMI to the screen.
henkv1 commentedon Apr 21, 2021
Same issue here on RPi3.
The system crashes when kms refreshes the screen. The issue does not occur when fkms is used. So this is probably a bug in the new vc4 code.
pelwell commentedon Apr 21, 2021
Can one of you provide a dmesg log for the good kernel in the disconnected state?
popcornmix commentedon Apr 21, 2021
I can reproduce this (on Pi3+). No panic out of uart when it hangs. Presumably related to clock changes.
popcornmix commentedon Apr 21, 2021
Yes, 9e081a7 seems to be first commit which hangs. It's okay on Pi4.
nightBulb commentedon Apr 21, 2021
@pelwell This is the
dmesgfor good kernel (Linux 5.10.31-1 ) in HDMI disconnected statedmesg-2021-04-21-3-good-kernel-disconnected.txt
Same dmesg with
dmesg --color=alwaysdmesg-2021-04-21-3-good-kernel-disconnected-colored.txt
pelwell commentedon Apr 21, 2021
Thanks. Now that popcornmix has reproduced the problem we shouldn't need any more info.
vc4/drm: hdmi: Handle case when bvb clock is null
vc4/drm: hdmi: Handle case when bvb clock is null
popcornmix commentedon Apr 21, 2021
I've pushed a new kernel to rpi-update that should hopefully resolve this. Can you test?
vc4/drm: hdmi: Handle case when bvb clock is null
vc4/drm: hdmi: Handle case when bvb clock is null
nightBulb commentedon Apr 21, 2021
@popcornmix Problem still persists.
Unable to complete boot with linux 5.10.31-3 while HDMI is connected.
Boot only succeeds with it disconnected.
popcornmix commentedon Apr 21, 2021
With hdmi disconnected what does
uname -areport?45 remaining items
vc4/drm: hdmi: Handle case when bvb clock is null
vc4/drm: hdmi: Handle case when bvb clock is null
vc4/drm: hdmi: Handle case when bvb clock is null
vc4/drm: hdmi: Handle case when bvb clock is null
vc4/drm: hdmi: Handle case when bvb clock is null
vc4/drm: hdmi: Handle case when bvb clock is null
vc4/drm: hdmi: Handle case when bvb clock is null
vc4/drm: hdmi: Handle case when bvb clock is null
vc4/drm: hdmi: Handle case when bvb clock is null
vc4/drm: hdmi: Handle case when bvb clock is null
vc4/drm: hdmi: Handle case when bvb clock is null
vc4/drm: hdmi: Handle case when bvb clock is null
vc4/drm: hdmi: Handle case when bvb clock is null
vc4/drm: hdmi: Handle case when bvb clock is null
vc4/drm: hdmi: Handle case when bvb clock is null