Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 May 2026 10:12:43 +0000
From:      Ahmad Khalifa <vexeduxr@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 3aabec5c8c6a - stable/15 - vt_core: don't draw the splash if a panic occurred
Message-ID:  <69fb141b.26db0.3f13013c@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by vexeduxr:

URL: https://cgit.FreeBSD.org/src/commit/?id=3aabec5c8c6a74a4e50640b399a825d9f7adca9a

commit 3aabec5c8c6a74a4e50640b399a825d9f7adca9a
Author:     Ahmad Khalifa <vexeduxr@FreeBSD.org>
AuthorDate: 2026-05-03 13:18:38 +0000
Commit:     Ahmad Khalifa <vexeduxr@FreeBSD.org>
CommitDate: 2026-05-06 08:56:37 +0000

    vt_core: don't draw the splash if a panic occurred
    
    The shutdown splash draws over all the useful info if ddb(4) is
    disabled. Don't draw the splash screen if we're rebooting because of a
    panic.
    
    MFC after:      3 days
    
    (cherry picked from commit bc83f414583ccaf337ef3b7c019df7727d6a3aae)
---
 sys/dev/vt/vt_core.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c
index 2015d982a560..8360f0b80fb5 100644
--- a/sys/dev/vt/vt_core.c
+++ b/sys/dev/vt/vt_core.c
@@ -1682,6 +1682,9 @@ vtterm_splash(struct vt_device *vd)
 	uintptr_t image;
 	vt_axis_t top, left;
 
+	if (KERNEL_PANICKED())
+		return;
+
 	if ((vd->vd_flags & VDF_TEXTMODE) != 0 || (boothowto & RB_MUTE) == 0)
 		return;
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69fb141b.26db0.3f13013c>