From nobody Mon Jan 5 20:42:54 2026 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dlR7y3f1hz6N2Yr for ; Mon, 05 Jan 2026 20:42:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dlR7y336fz3cs0 for ; Mon, 05 Jan 2026 20:42:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767645774; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dPZRBrG+kKpQWIoc3VzIR4xKZAKhyfLlNcHunXlPp7w=; b=DGvZ7H5F9R+7yURYDty1Bgurfj/qh2WHn2RhhbCCPBlHCXFlSGL7Jlvs0UWe+544T/pAfO GsPLNxDt/k9pttLxzb45tk7KnkmqAOgxo5hHoRV1IGqpUgvhuapMFkAcjqMY3X1U38+fH6 aQTAv6/y7kJwmvfgsSV755DB/YLyNcecA0pY0dd1J0N91exvD3Gj5iDPstqbyqRUlL8ezs KIWwS+WekBLi5FzfMB3do47hYlqRyDUy+/P2CsqN715oV9Zr4/WbacYZps/RerRqf789QX KFzPeEf+ClgBRiTiPnq/qGFU5j35gX5BDKemsb8AnwU3PHJboqGENDp55rSW4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767645774; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dPZRBrG+kKpQWIoc3VzIR4xKZAKhyfLlNcHunXlPp7w=; b=VZOQCWBSJ1+5fvUdn+h5hoVeR1Xchq+g6KblBJGX69Y/DGDkOSUu79YVYJLV6ZgrS4unPK assrkxA2U4vZbV8DsJUER951vMkhydL8aOVW3nmg0SXMx5yggYK0fPhtuBRRbG7me8ue5p Z7V5iG7kTRq46XtuPeuJWOvW0n8opKZhfnl4/+e4iypqgt8wi2mXjjIcOegdnKB+UzN7Oa ThPzNCauH3vT4xwLga3Ytosc6Gje6LCZNeKfejkvBDI2nRJWBpfa6EyF40RtiWfj+wb/n7 y6woqJFhhmWNeO4eDkxRAF9GK0N2M93SvjncBKxHpAutktTheftoGHBnML9psg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1767645774; a=rsa-sha256; cv=none; b=Cw4UdnND+GMvS4rcBqalUO/T9Tuv7T6x15WBKfEBlWXS0fTWobn/vcFiZfXinGmb56uu9p 4kRTmgSzla8cKpfAbjPI+zr/B57PiPeVT1gW5AGEMBcFWzoqb6C8KyG1y9siasTrL14xRw 18X69Du0qy361vuQAIE3AavZase7ARGnXARWCDvC8yNLkHQPx6ViExvUFpasMqshE3efYW JT8eZ+Nq+bDi13Rc95eELyO9AMdxJV0Yvf9joFIJ+BJKfrSh2a7ghGDTgDxOYA1DE/uZBJ 57q9rO4CKW0ziXHNLo5vOcRBaYK8J2ZbuZO2cpAk5mb+LuJTlbPnitT2bMENMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dlR7y2Wxnzcrb for ; Mon, 05 Jan 2026 20:42:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 605Kgs24011499 for ; Mon, 5 Jan 2026 20:42:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 605Kgs92011498 for bugs@FreeBSD.org; Mon, 5 Jan 2026 20:42:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 292206] loader generates invalid hw.uart.console value when serial console redirection is disabled, preventing system from booting Date: Mon, 05 Jan 2026 20:42:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 15.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jarmo.jaakkola@roskakori.fi X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D292206 Bug ID: 292206 Summary: loader generates invalid hw.uart.console value when serial console redirection is disabled, preventing system from booting Product: Base System Version: 15.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: jarmo.jaakkola@roskakori.fi FreeBSD 15.0 fails to boot with UEFI on a Dell PowerEdge T310 when serial console redirection is off. EFI framebuffer information is printed and the system them reboots before any kernel messages are printed. When serial console redirection is off on this system, loader sets hw.uart.console to OK show hw.uart.console db:8,dt:ns8250,mm:0,rs:-4,rw:1,pa:none,br:0,xo=3D0 Notice mm of 0 and rs of -4. This value causes system to reboot. For comparison, when serial console redirection to COM1 is on, the value is OK show hw.uart.console db:8,dt:ns8250,io:0x3f8,pa:none,br=3D115200,xo=3D0 Unsetting the invalid value or setting it to a valid one (e.g. COM1 one) al= lows the system to boot. The problem is that check_acpi_spcr() fails to account for an ACPI SPCR ent= ry for disabled serial console redirection, i.e. one where the "Base Address" field (SerialPort in the struct) is zero. The invalid value is set if the table of disabled redircetion presents a non-PCI device (vendor ID and devi= ce ID are 0xffff). https://learn.microsoft.com/en-us/windows-hardware/drivers/bringup/serial-p= ort-console-redirection-table Here is what ACPI SPCR contains on the system when serial console redirecti= on is off: # acpidump -T SPCR /* SPCR: Length=3D80, Revision=3D1, Checksum=3D235, OEMID=3DDELL, OEM Table ID=3DPE_SC3, OEM Revision=3D0x1, Creator ID=3DDELL, Creator Revision=3D0x1 InterfaceType=3D0 (Fully 16550-compatible) SerialPort=3D0x0000000000000000:0[0] (Memory) InterruptType=3D0x3 (PC/AT IRQ,I/O APIC) PcInterrupt=3D4 (Valid) Interrupt=3D4 BaudRate=3D0 (0) Parity=3D0 StopBits=3D1 FlowControl=3D2 TerminalType=3D1 (Extended VT100) PciDeviceId=3D0xffff PciVendorId=3D0xffff PciBus=3D0 PciDevice=3D0 PciFunction=3D0 PciFlags=3D0 PciSegment=3D0 */ Note that on some systems disabling console redirection removes the ACPI SP= CR table instead of presenting a disabled one (e.g. Lenovo ThinkStation P500). I have prepared a patch, for which I will shortly create a GitHub pull requ= est and link it here. --=20 You are receiving this mail because: You are the assignee for the bug.=