NetBSD Problem Report #60555
From www@netbsd.org Fri Aug 7 22:48:03 2026
Return-Path: <www@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) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.netbsd.org", Issuer "YR2" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id DE79F1A9239
for <gnats-bugs@gnats.NetBSD.org>; Fri, 7 Aug 2026 22:48:02 +0000 (UTC)
Message-Id: <20260807224801.90EE31A923B@mollari.NetBSD.org>
Date: Fri, 7 Aug 2026 22:48:01 +0000 (UTC)
From: so@neutralite.org
Reply-To: so@neutralite.org
To: gnats-bugs@NetBSD.org
Subject: hdaudio(4) regression: RIRB timeout prevents attachment on Intel 300 Series HDA
X-Send-Pr-Version: www-1.0
X-From4GNATS: "so@neutralite.org via gnats" <gnats-admin@NetBSD.org>
>Number: 60555
>Category: kern
>Synopsis: hdaudio(4) regression: RIRB timeout prevents attachment on Intel 300 Series HDA
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 07 22:50:01 +0000 2026
>Last-Modified: Sat Aug 29 10:05:01 +0000 2026
>Originator: Stéphane Ortega
>Release: NetBSD-current (HEAD), built 2026-08-07
>Organization:
>Environment:
NetBSD phoenix 11.99.7 NetBSD 11.99.7 (GENERIC) #0: Fri Aug 7 00:46:52 CEST 2026 src/netbsd-src/sys/arch/amd64/compile/obj/GENERIC amd64
>Description:
On the same Dell laptop, the internal audio works correctly with NetBSD 11.0 but fails with NetBSD-current (HEAD).
The PCI audio controller is:
Intel 300 Series HD Audio Controller
PCI address: pci0 dev 31 function 3
With NetBSD 11.0, hdaudio attaches successfully:
hdaudio0 at pci0 dev 31 function 3: HD Audio Controller
hdafg0 at hdaudio0: Realtek product 0236
hdafg0:
DAC00 2ch: Speaker [Built-In]
DAC01 2ch: HP Out [Jack]
ADC02 2ch: Mic In [Built-In]
audio0 at hdafg0: playback, capture, full duplex, independent
With NetBSD-current (HEAD), the same hardware fails during hdaudio initialization:
hdaudio0 at pci0 dev 31 function 3: HD Audio Controller
hdaudio0: autoconfiguration error: timeout stopping RIRB
hdaudio0: autoconfiguration error: couldn't reset because RIRB is busy
hdaudio0: autoconfiguration error: device driver failed to attach
As a result, no hdafg0 and no audio device are created.
The hardware, BIOS and codec are unchanged between the two tests. Only the NetBSD version differs.
Hardware:
- Dell Latitude 5400 laptop
- Intel Core i5-8265U CPU
- Intel 300 Series chipset
- Realtek HD Audio codec (product 0236)
This appears to be a regression in the hdaudio(4) driver between NetBSD 11.0 and -current.
The same Dell Latitude 5400 boots NetBSD 11.0 with working audio.
>How-To-Repeat:
1. Build or install NetBSD-current (HEAD) on a Dell Latitude 5400 laptop with:
- Intel Core i5-8265U CPU
- Intel 300 Series chipset
- Realtek HD Audio codec (product 0236)
2. Boot the GENERIC amd64 kernel.
3. Check the kernel messages with dmesg.
The hdaudio driver fails to attach and reports:
hdaudio0: autoconfiguration error: timeout stopping RIRB
hdaudio0: autoconfiguration error: couldn't reset because RIRB is busy
hdaudio0: autoconfiguration error: device driver failed to attach
No audio device is created.
The same hardware boots NetBSD 11.0 with working audio.
>Fix:
Unknown
>Audit-Trail:
From: abs@absd.org
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/60555: hdaudio(4) regression: RIRB timeout prevents attachment on Intel 300 Series HDA
Date: Sun, 09 Aug 2026 09:29:34 +0000
I'm seeing a possibly related issue on a ThinkPad T14 Gen1
NetBSD 11.99.7:
hdaudio0: interrupting at msi4 vec 0
hdaudio0: HDA ver. 0.0, OSS 0, ISS 0, BSS 0, SDO 1
hdaudio0: autoconfiguration error: no codecs found
hdaudio0: autoconfiguration error: device driver failed to attach
NetBSD 11
hdaudio0 at pci0 dev 31 function 3: HD Audio Controller
hdaudio0: interrupting at msi4 vec 0
hdaudio0: HDA ver. 1.0, OSS 9, ISS 7, BSS 0, SDO 1, 64-bit
From: RVP <rvp@SDF.ORG>
To: gnats-bugs@netbsd.org
Cc: abs@absd.org
Subject: Re: kern/60555: hdaudio(4) regression: RIRB timeout prevents attachment
on Intel 300 Series HDA
Date: Sun, 9 Aug 2026 09:37:21 +0000 (UTC)
On Sun, 9 Aug 2026, abs@absd.org via gnats wrote:
> I'm seeing a possibly related issue on a ThinkPad T14 Gen1
>
> NetBSD 11.99.7:
> hdaudio0: interrupting at msi4 vec 0
> hdaudio0: HDA ver. 0.0, OSS 0, ISS 0, BSS 0, SDO 1
> hdaudio0: autoconfiguration error: no codecs found
> hdaudio0: autoconfiguration error: device driver failed to attach
>
> NetBSD 11
> hdaudio0 at pci0 dev 31 function 3: HD Audio Controller
> hdaudio0: interrupting at msi4 vec 0
> hdaudio0: HDA ver. 1.0, OSS 9, ISS 7, BSS 0, SDO 1, 64-bit
>
Possibly related to `option PCI_RESOURCE' being turned on in 11.99.7.
See kern/60463. Try a new kernel without that option.
-RVP
From: abs@absd.org
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, so@neutralite.org
Subject: Re: kern/60555: hdaudio(4) regression: RIRB timeout prevents attachment on Intel 300 Series HDA
Date: Sun, 09 Aug 2026 17:16:14 +0000
On Sunday, 9 August 2026 at 10:40, RVP via gnats <gnats-admin@NetBSD.org> w=
rote:
> Possibly related to `option PCI_RESOURCE' being turned on in 11.99.7.
> See kern/60463. Try a new kernel without that option.
Confirmed - thanks. Will add details to kern/60463
From: =?utf-8?B?U3TDqXBoYW5l?= ORTEGA <so@neutralite.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/60555: hdaudio(4) regression: RIRB timeout prevents
attachment on Intel 300 Series HDA
Date: Sun, 9 Aug 2026 20:21:32 +0200
Hi RVP,
I tested this on my system. With PCI_RESOURCE enabled, hdaudio fails to attach.
After rebuilding the kernel without PCI_RESOURCE, hdaudio attaches correctly
and sound works again.
This confirms that the hdaudio problem on my system is related to PCI_RESOURCE.
Thanks for the suggestion and investigation.
Best regards,
SO
Le Sun, Aug 09, 2026 at 09:40:01AM +0000, RVP via gnats a écrit :
> The following reply was made to PR kern/60555; it has been noted by GNATS.
>
> From: RVP <rvp@SDF.ORG>
> To: gnats-bugs@netbsd.org
> Cc: abs@absd.org
> Subject: Re: kern/60555: hdaudio(4) regression: RIRB timeout prevents attachment
> on Intel 300 Series HDA
> Date: Sun, 9 Aug 2026 09:37:21 +0000 (UTC)
>
> On Sun, 9 Aug 2026, abs@absd.org via gnats wrote:
>
> > I'm seeing a possibly related issue on a ThinkPad T14 Gen1
> >
> > NetBSD 11.99.7:
> > hdaudio0: interrupting at msi4 vec 0
> > hdaudio0: HDA ver. 0.0, OSS 0, ISS 0, BSS 0, SDO 1
> > hdaudio0: autoconfiguration error: no codecs found
> > hdaudio0: autoconfiguration error: device driver failed to attach
> >
> > NetBSD 11
> > hdaudio0 at pci0 dev 31 function 3: HD Audio Controller
> > hdaudio0: interrupting at msi4 vec 0
> > hdaudio0: HDA ver. 1.0, OSS 9, ISS 7, BSS 0, SDO 1, 64-bit
> >
>
> Possibly related to `option PCI_RESOURCE' being turned on in 11.99.7.
> See kern/60463. Try a new kernel without that option.
>
> -RVP
>
--
Stéphane ORTEGA https://stephaneortega.fr/ +33 (0)684.041.350
GPG Key ID: 0x56F6CF155AB3B3BF/2048R IRC: Well@{libera,oftc}
From: Patrick Welche <prlw1@welche.eu>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/60555: hdaudio(4) regression: RIRB timeout prevents
attachment on Intel 300 Series HDA
Date: Sat, 29 Aug 2026 10:40:02 +0100
On Sun, Aug 09, 2026 at 09:40:01AM +0000, RVP via gnats wrote:
> Possibly related to `option PCI_RESOURCE' being turned on in 11.99.7.
> See kern/60463. Try a new kernel without that option.
Or kern/60427 for the original hdaudio bug report.
(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.