NetBSD Problem Report #59788

From jkoshy@netbsd.org  Mon Nov 24 13:36:34 2025
Return-Path: <jkoshy@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 379321A9239
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 24 Nov 2025 13:36:34 +0000 (UTC)
Message-Id: <20251124133632.B6CC41A923A@mollari.NetBSD.org>
Date: Mon, 24 Nov 2025 13:36:32 +0000 (UTC)
From: jkoshy@netbsd.org
Reply-To: jkoshy@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: [nouveau] boot-time freeze without a physical monitor
X-Send-Pr-Version: 3.95

>Number:         59788
>Category:       kern
>Synopsis:       [nouveau] boot-time freeze without a physical monitor
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 24 13:40:00 +0000 2025
>Last-Modified:  Thu Nov 27 14:55:01 +0000 2025
>Originator:     Joseph Koshy
>Release:        NetBSD 10.99.4 (GENERIC) #0: Sat Nov 22 13:14:18 GMT 2025
>Organization:
	The NetBSD Project.
>Environment:
System: NetBSD nbc1 11.99.4 NetBSD 11.99.4 (GENERIC) #0: Sat Nov 22 13:14:18 GMT 2025  jkoshy@nbc1:/home/jkoshy/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	Recent -CURRENT kernels freeze on boot if a physical monitor is
	not connected to the graphics card on the system.

	The relevant dmesg(1) lines, from a boot with a monitor attached
	are as below:

	Nov 22 16:30:58 nbc1 /netbsd: [   1.0325254] nouveau0 at pci1 dev 0 function 0: NVIDIA GeForce GTX 750 Ti (rev. 0xa2)
	[...]
	Nov 22 16:30:58 nbc1 /netbsd: [   2.9063901] nouveau0: NVIDIA GM107 (117000a2)
	Nov 22 16:30:58 nbc1 /netbsd: [   3.0158186] nouveau0: bios: version 82.07.32.00.26
	Nov 22 16:30:58 nbc1 /netbsd: [   3.0158186] nouveau0: interrupting at msi5 vec 0 (nouveau0)
	Nov 22 16:30:58 nbc1 /netbsd: [   3.0158186] nouveau0: fb: 2048 MiB GDDR5
	Nov 22 16:30:58 nbc1 /netbsd: [   3.2258159] nouveau0: autoconfiguration error: error: bus: MMIO read of 00000000 FAULT at 3e6684 [ IBUS ]
	Nov 22 16:30:58 nbc1 /netbsd: [   3.2258159] Zone  kernel: Available graphics memory: 9007199252881432 KiB
	Nov 22 16:30:58 nbc1 /netbsd: [   3.2258159] Zone   dma32: Available graphics memory: 2097152 KiB
	Nov 22 16:30:58 nbc1 /netbsd: [   3.2258159] nouveau0: DRM: VRAM: 2048 MiB
	Nov 22 16:30:58 nbc1 /netbsd: [   3.2258159] nouveau0: DRM: GART: 1048576 MiB
	Nov 22 16:30:58 nbc1 /netbsd: [   3.2258159] nouveau0: DRM: TMDS table version 2.0
	Nov 22 16:30:58 nbc1 /netbsd: [   3.2258159] nouveau0: DRM: DCB version 4.0
	Nov 22 16:30:58 nbc1 /netbsd: [   3.2258159] nouveau0: DRM: DCB outp 00: 01000f02 00020030
	Nov 22 16:30:58 nbc1 /netbsd: [   3.2258159] nouveau0: DRM: DCB outp 01: 02000f00 00000000
	Nov 22 16:30:58 nbc1 /netbsd: [   3.2258159] nouveau0: DRM: DCB outp 02: 08011f82 00020030
	Nov 22 16:30:58 nbc1 /netbsd: [   3.2258159] nouveau0: DRM: DCB outp 03: 02022f62 0f420010
	Nov 22 16:30:58 nbc1 /netbsd: [   3.2258159] nouveau0: DRM: DCB conn 00: 00001030
	Nov 22 16:30:58 nbc1 /netbsd: [   3.2258159] nouveau0: DRM: DCB conn 01: 00010131
	Nov 22 16:30:58 nbc1 /netbsd: [   3.2258159] nouveau0: DRM: DCB conn 02: 00002263
	Nov 22 16:30:58 nbc1 /netbsd: [   3.2258159] nouveau0: DRM: MM: using COPY for buffer copies
	Nov 22 16:30:58 nbc1 /netbsd: [   3.2258159] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
	Nov 22 16:30:58 nbc1 /netbsd: [   3.2258159] [drm] Driver supports precise vblank timestamp query.
	Nov 22 16:30:58 nbc1 /netbsd: [   3.3058158] nouveaufb0 at nouveau0
	Nov 22 16:30:58 nbc1 /netbsd: [   3.3058158] [drm] Initialized nouveau 1.3.1 20120801 for nouveau0 on minor 0
	Nov 22 16:30:58 nbc1 /netbsd: [   3.3058158] nouveaufb0: framebuffer at 0xe0140000, size 1920x1080, depth 32, stride 7680
	Nov 22 16:30:58 nbc1 /netbsd: [   5.3058121] nouveau0: autoconfiguration error: error: DRM: core notifier timeout
	Nov 22 16:30:58 nbc1 /netbsd: [   7.3058074] nouveau0: autoconfiguration error: error: DRM: base-0: timeout
	Nov 22 16:30:58 nbc1 /netbsd: [   7.3958074] wsdisplay0 at nouveaufb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
	Nov 22 16:30:58 nbc1 /netbsd: [   7.4058072] wsmux1: connecting to wsdisplay0
	Nov 22 16:30:58 nbc1 /netbsd: [  21.6659504] wsdisplay0: screen 1 added (default, vt100 emulation)
	Nov 22 16:30:58 nbc1 /netbsd: [  21.6758235] wsdisplay0: screen 2 added (default, vt100 emulation)
	Nov 22 16:30:58 nbc1 /netbsd: [  21.6758235] wsdisplay0: screen 3 added (default, vt100 emulation)
	Nov 22 16:30:58 nbc1 /netbsd: [  21.6758235] wsdisplay0: screen 4 added (default, vt100 emulation)

>How-To-Repeat:
	1. Build and install a recent -CURRENT kernel on a system with an
	   NVIDIA GTX 750 graphics display card.
	2. Disconnect the physical monitor.
	3. Reboot the system.

>Fix:
	Disabling the 'nouveau' driver in /boot.cfg allows the kernel to boot
	without an attached monitor.

	--- /usr/obj/destdir.amd64/boot.cfg      2019-12-05 22:02:29.000000000 +0000
	+++ /boot.cfg   2025-11-22 17:29:44.661802937 +0000
	@@ -4,3 +4,4 @@
	 default=1
	 timeout=5
	 clear=1
	+userconf=disable nouveau*

>Audit-Trail:
From: Valery Ushakov <uwe@stderr.spb.ru>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/59788: [nouveau] boot-time freeze without a physical monitor
Date: Mon, 24 Nov 2025 17:20:31 +0300

 Same problem here with

   i915drmkms0 at pci0 dev 2 function 0: Intel Iris Graphics 5100 (rev. 0x09)

 on intel mac mini (7,1 - late 2014).

 https://mail-index.netbsd.org/tech-kern/2025/09/29/msg030722.html
 https://dmesgd.nycbug.org/dmesgd?do=view&id=8565

 -uwe

From: "Joseph Koshy" <jkoshy@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/59788 CVS commit: src/sys/arch/aarch64/include
Date: Thu, 27 Nov 2025 14:51:27 +0000

 Module Name:	src
 Committed By:	jkoshy
 Date:		Thu Nov 27 14:51:27 UTC 2025

 Modified Files:
 	src/sys/arch/aarch64/include: elf_machdep.h

 Log Message:
 aarch64/elf_machdep.h: keep local and psABI definitions in separate groups.

 The content of the file is otherwise unchanged.

 PR lib/59788


 To generate a diff of this commit:
 cvs rdiff -u -r1.6 -r1.7 src/sys/arch/aarch64/include/elf_machdep.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.