[SOLVED] Nonstop EDID block 0 is all zeroes on console

utkonos

Well-Known Member
Apr 11, 2022
159
54
48
The following two lines were on the console hundreds of times:

Code:
EDID block 0 is all zeroes
i2c i2c-4: sendbytes: NAK bailout.

This is on a ASRockRack E3C246D4U2-2T bios version L2.44A

i2c-4 is: /sys/bus/i2c/devices/i2c-4: i915 gmbus dpb

Using this command:

Bash:
readlink -f /sys/class/drm/card[0-9]/device
for c in /sys/class/drm/card[0-9]-*; do printf '%-22s %-14s %s\n' "${c##*/}" "$(cat "$c/status")" "edid=$(stat -c%s "$c/edid" 2>/dev/null) bytes"; done

I get this output:

Code:
/sys/devices/pci0000:00/0000:00:1c.0/0000:05:00.0/0000:06:00.0
/sys/devices/pci0000:00/0000:00:02.0
card0-VGA-1            connected      edid=0 bytes
card1-DP-1             disconnected   edid=0 bytes
card1-DP-2             disconnected   edid=0 bytes
card1-HDMI-A-1         disconnected   edid=0 bytes
card1-HDMI-A-2         disconnected   edid=0 bytes
card1-HDMI-A-3         disconnected   edid=0 bytes

Then in separate ssh connections, I ran dmesg -W in one and the following list of commands, one by one, in the other:

Bash:
echo detect > /sys/class/drm/card0-VGA-1/status
echo detect > /sys/class/drm/card1-HDMI-A-1/status
echo detect > /sys/class/drm/card1-DP-1/status
echo detect > /sys/class/drm/card1-HDMI-A-2/status
echo detect > /sys/class/drm/card1-DP-2/status
echo detect > /sys/class/drm/card1-HDMI-A-3/status

This revealed the following to be the culprit: echo detect > /sys/class/drm/card1-HDMI-A-1/status

Then just for good measure, I ran this: echo off > /sys/class/drm/card1-HDMI-A-1/status

And after a few minutes of the log messages being totally quiet, this was identified as the culprit.

For my system, I am running ZFS, so the solution to quiet this permanently was to edit /etc/kernel/cmdline

First make a backup: cp /etc/kernel/cmdline /root/cmdline.bak
Then change old command line: root=ZFS=rpool/ROOT/pve-1 boot=zfs
To new command line: root=ZFS=rpool/ROOT/pve-1 boot=zfs video=HDMI-A-1:d
Then run proxmox-boot-tool: proxmox-boot-tool refresh
And reboot.

After reboot the flood of both of those messages is gone.
 
  • Like
Reactions: Onslow