Blank screen on reboot (x86_64, UEFI, Dell Wyse 3040)

Required Information

  • DietPi version | cat /boot/dietpi/.version
    cat /boot/dietpi/.version
    G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=4
    G_DIETPI_VERSION_RC=2
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
    G_LIVE_PATCH_STATUS[0]=‘not applicable’

  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
    echo $G_DISTRO_NAME $G_RASPBIAN
    bookworm

  • Kernel version | uname --all
    uname --all
    Linux DietPi 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux

  • Architecture | dpkg --print-architecture
    dpkg --print-architecture
    amd64

  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
    Dell Wyse 3040 Thin Client (amd64, UEFI)

  • Power supply used | (EG: 5V 1A RAVpower)
    5V 3A

  • SD card used | (EG: SanDisk ultra)
    N/A, internal eMMC.

Additional Information (if applicable)

  • Can this issue be replicated on a fresh installation of DietPi?
    Yes

Steps to reproduce

  1. Fresh-install DietPi Bookworm UEFI with Secure Boot enabled on a Wyse 3040 Thin Client
  2. Attempt to reboot (command, as root: reboot)

Expected behaviour

  • Device should reboot.

Actual behaviour

  • systems initiates a graceful reboot, then the display goes blank, while the power LED stays on.
  • System starts up fine if I hold the power button for a few seconds.

Extra details

  • Does not happen when live-booting Parted Magic (another linux distro) and initiating a system restart.

Update:
It appears that the issue does not occur when rebooting through an SSH session. But it happens consistently when executing reboot in person on the tty (there is no graphical env installed on this machine).

Update:
I replicated the install on an identical system. When I try to reboot, it starts the process, then stops right after it stops the networking service. Nothing happens after. If I then hit Ctrl+Alt+Del, it finishes the rest of the tasks pertaining to a reboot sequence, and reboots fine, then boots fine.

I’ve also done a test install of Ubuntu 24.04. The issue does not happen there.

Update: This does not happen on a clean install of vanilla Debian 12 either.

You probably need to install dbus :thinking:

Appreciate the response but nope, dbus is installed already.

this is happening to me on my 3b+, i need some help fixing it, it is my third install

@Bread if possible, connect a screen to see where it stuck

a hat screen?

a monitor connected via HDMI should do it

If he has the same problem as OP then he has already connected one, which also stays blank after reboot?

Hi, this is a working solution:

Hang on shutdown or reboot

There is an issue related to the HSUART DMA support in the kernel that will hang on reboot or shutdown. To prevent this, add those lines to /etc/modprobe.d/blacklist.conf:

blacklist dw_dmac_core 
install dw_dmac /bin/true 
install dw_dmac_core /bin/true

Then, update initramfs:

sudo update-initramfs -u

https://wiki.debian.org/InstallingDebianOn/Dell/Wyse%203040

This seems to do the trick on an identical Wyse unit with the latest DietPi installed (as of July 22 2024). Thank you.