[DragonFlyBSD - Bug #3465] syscons/drm: no console when the display is connected after boot
sigttou
bugtracker-admin at leaf.dragonflybsd.org
Tue Nov 17 23:40:13 PST 2026
Issue #3465 has been updated by sigttou.
The userland half of this is a separate series for init(8) and devd: init only looked at the @ifexists@ lines of ttys(5) when it read the file, and @init q@ did nothing when it had no session at all, so even after the console devices appear nothing starts a getty. The series rescans ttys(5) in that case and adds a devd rule that runs @init q@ when a @ttyv*@ or @ttyU*@ node comes or goes (DragonFly PR #67).
----------------------------------------
Bug #3465: syscons/drm: no console when the display is connected after boot
http://bugs.dragonflybsd.org/issues/3465#change-14961
* Author: sigttou
* Status: New
* Priority: Normal
* Category: Driver
* Target version: 6.6
* Start date: 2026-11-08
----------------------------------------
If no display is detected when the machine boots (e.g. the monitor is on another input after a cold boot, so the firmware sets up no
GOP framebuffer), the VGA adapter cannot be verified, vga0 fails to attach and syscons never attaches. i915 then defers its fbdev setup.
When the display appears later, hotplug, connector probing and the modeset all work, but @register_framebuffer()@ finds no syscons softc
and returns 0. drm considers the console registered and never retries. The screen stays black, with no kms console and no ttyv* devices,
until the next reboot.
1. syscons: when @register_framebuffer()@ finds no softc, attach syscons late as the kernel console on the DRM framebuffer, allocating
the console buffers that @scmeminit()@ skipped. If that fails, return an error instead of 0.
2. drm_fb_helper: re-arm @deferred_setup@ when framebuffer registration fails, so the next hotplug retries.
3. vga: fail the probe when the adapter cannot be verified, instead of failing later at attach.
---Files--------------------------------
0001-syscons-late-attach-syscons-when-register_framebuffe.patch (5.53 KB)
0002-drm-fb_helper-re-arm-deferred_setup-when-fb-registra.patch (1.07 KB)
0003-vga-fail-the-probe-when-the-adapter-could-not-be-ver.patch (1.53 KB)
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list