Skip to content

RPi 2 doesn't boot on linux-raspberrypi 5.10.31-2 when connected with HDMI #4299

Closed

Description

@nightBulb

Describe the bug
Raspberry Pi 2 fails to boot when using linux-raspberrypi 5.10.31-2 with HDMI connected.

Good Kernel : Linux 5.10.31-1 

Bad Kernel: Linux 5.10.31-2  and Linux 5.10.31-3

To reproduce
Reboot R Pi 2 after update to linux-raspberrypi 5.10.31-2
with the the RPi 2 connected via HDMI to a screen

Expected behaviour
System to boot

Actual behaviour
Raspberry Pi 2 fails to boot when using linux-raspberrypi 5.10.31-2 with RPi 2 connected to a screen with HDMI.

System

Arch Linux ARM (latest)

 (Don't have rpi-issue file)
  • Which firmware version (vcgencmd version)?
Apr 12 2021 15:54:06 
Copyright (c) 2012 Broadcom
version 0227a0840ee8c94294cf3b2c4b2d42031a58f05a (clean) (release) (start)
  • Which kernel version (uname -a)?
Linux rpi 5.10.31-1-ARCH #1 SMP Mon Apr 19 13:33:01 UTC 2021 armv7l GNU/Linux

Logs
(Unable to get dmesg when boot fails)
dmesg log when system boots -> #4299 (comment)

photo of boot screen when boot fails -> #4299 (comment)

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. )

Activity

  1. nightBulb commented on Apr 20, 2021

    @nightBulb
    Author

    dmesg output:

    1. When boot succeeds with bad kernel ( DISCONNECTED HDMI ) linux 5.10.31-2
      dmesg-2021-04-21-bad-kernel-log.txt

    2. When boot succeeds with good kernel Linux ( CONNECTED HDMI ) 5.10.31-1
      dmesg-2021-04-21-good-kernel-log.txt

    3. Couldn't get the failure ( linux 5.10.31-2, HDMI Connected) dmesg output as no login prompt


    Colored variants of above logs
    $ dmesg --color=always
    

    dmesg-2021-04-21-bad-kernel-log-colored.txt

    dmesg-2021-04-21-good-kernel-log-colored.txt

  2. nightBulb commented on Apr 21, 2021

    @nightBulb
    Author

    This is the last thing that happens when booting with Linux 5.10.31-2
    (bad kernel) connected via HDMI to the screen.

    IMG_20210421_042256462_BURST073

  3. henkv1 commented on Apr 21, 2021

    @henkv1

    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.

  4. pelwell commented on Apr 21, 2021

    @pelwell
    Contributor

    Can one of you provide a dmesg log for the good kernel in the disconnected state?

  5. popcornmix commented on Apr 21, 2021

    @popcornmix
    Collaborator

    I can reproduce this (on Pi3+). No panic out of uart when it hangs. Presumably related to clock changes.

  6. popcornmix commented on Apr 21, 2021

    @popcornmix
    Collaborator

    Yes, 9e081a7 seems to be first commit which hangs. It's okay on Pi4.

  7. nightBulb commented on Apr 21, 2021

    @nightBulb
    Author

    @pelwell This is the dmesg for good kernel (Linux 5.10.31-1 ) in HDMI disconnected state
    dmesg-2021-04-21-3-good-kernel-disconnected.txt


    Same dmesg with dmesg --color=always

    dmesg-2021-04-21-3-good-kernel-disconnected-colored.txt

  8. pelwell commented on Apr 21, 2021

    @pelwell
    Contributor

    Thanks. Now that popcornmix has reproduced the problem we shouldn't need any more info.

  9. popcornmix commented on Apr 21, 2021

    @popcornmix
    Collaborator

    I've pushed a new kernel to rpi-update that should hopefully resolve this. Can you test?

  10. nightBulb commented on Apr 21, 2021

    @nightBulb
    Author

    @popcornmix Problem still persists.

    Unable to complete boot with linux 5.10.31-3 while HDMI is connected.

    Boot only succeeds with it disconnected.

  11. popcornmix commented on Apr 21, 2021

    @popcornmix
    Collaborator

    With hdmi disconnected what does uname -a report?

  12. 45 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions