Bug 236984 - hdac0: Command timeout on address 0
Summary: hdac0: Command timeout on address 0
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.0-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-03 10:00 UTC by Juan J. Romero
Modified: 2024-10-13 16:18 UTC (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juan J. Romero 2019-04-03 10:00:57 UTC
Hi:

This could be a duplicate of 229190 but the Intel audio controller in my case is  a different one,

HP ProBook 430 G2:
=====================
# uname -a
FreeBSD juan-laptop 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC  amd64

=====================

# pciconf -lv

hdac0@pci0:0:3:0:       class=0x040300 card=0x2246103c chip=0x0a0c8086 rev=0x0b hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Haswell-ULT HD Audio Controller'
    class      = multimedia
    subclass   = HDA

========================

# dmesg -a
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
hdac0: Unexpected unsolicited response from address 0: 00000000
.........................

Starting background file system checks in 60 seconds.

Wed Apr  3 20:39:14 AEDT 2019
Unclaimed write to register 0x4400c
Apr  3 20:39:45 juan-laptop kernel: Unclaimed write to register 0x4400c
hdac0: Command timeout on address 0
hdac0: Command timeout on address 0
hdac0: Command timeout on address 0
Comment 1 Maurizio 2020-03-20 21:17:29 UTC
The same on a Lenovo ThinkPad T450.

$ uname -a
FreeBSD NomadBSD 12.1-RELEASE-p3 FreeBSD 12.1-RELEASE-p3 GENERIC  amd64

===============

$ pciconf -lv |  grep -A 4 hdac0
hdac0@pci0:0:3:0:	class=0x040300 card=0x503417aa chip=0x160c8086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Broadwell-U Audio Controller'
    class      = multimedia
    subclass   = HDA

===============

$ dmesg -a | grep hdac0: | uniq -c 
   1 hdac0: <Intel Broadwell HDA Controller> mem 0xf1230000-0xf1233fff at device 3.0 on pci0
 222 hdac0: Unexpected unsolicited response from address 0: 00000000
   1 hdac0: <Intel Broadwell HDA Controller> mem 0xf1230000-0xf1233fff at device 3.0 on pci0
 222 hdac0: Unexpected unsolicited response from address 0: 00000000
   1 hdac0: Command timeout on address 0
   1 hdac0: Device stuck in reset
  70 hdac0: Command timeout on address 0
   1 hdac0: Reset setting timeout
   2 hdac0: Command timeout on address 0
Comment 2 Lyubomir 2021-04-05 08:42:37 UTC
Hi one more lenovo t450. audio works anyway.

FreeBSD 12.2-RELEASE-p4 GENERIC  amd64

dmesg -a | grep hdac | uniq -c
   1 hdac0: <Intel Broadwell HDA Controller> mem 0xf1230000-0xf1233fff irq 16 at device 3.0 on pci0
   1 hdac1: <Intel Broadwell HDA Controller> mem 0xf1234000-0xf1237fff irq 22 at device 27.0 on pci0
   1 hdacc0: <Intel Broadwell HDA CODEC> at cad 0 on hdac0
   1 hdaa0: <Intel Broadwell Audio Function Group> at nid 1 on hdacc0
   1 hdacc1: <Realtek ALC292 HDA CODEC> at cad 0 on hdac1
   1 hdaa1: <Realtek ALC292 Audio Function Group> at nid 1 on hdacc1
 222 hdac0: Unexpected unsolicited response from address 0: 00000000
   1 hdac0: Command 0x00220011 timeout on address 0
   1 hdac0: Command 0x00270d01 timeout on address 0
   1 hdac0: Command 0x00270610 timeout on address 0
   1 hdac0: Command 0x00272d01 timeout on address 0
   1 hdac0: Command 0x00373400 timeout on address 0
   1 hdac0: Command 0x00373411 timeout on address 0
   1 hdac0: Command 0x003734f2 timeout on address 0
   1 hdac0: Command 0x003734f3 timeout on address 0
   1 hdac0: Command 0x003734f4 timeout on address 0
   1 hdac0: Command 0x003734f5 timeout on address 0
   1 hdac0: Command 0x003734f6 timeout on address 0
   1 hdac0: Command 0x003734f7 timeout on address 0
   1 hdac0: Command 0x00370740 timeout on address 0
   1 hdac0: Command 0x00373000 timeout on address 0
   1 hdac0: Command 0x00373200 timeout on address 0
   1 hdac0: Command 0x00373000 timeout on address 0
  32 hdac0: Command 0x00373100 timeout on address 0
   1 hdac0: Command 0x00373000 timeout on address 0
   1 hdac0: Command 0x00373184 timeout on address 0
   1 hdac0: Command 0x00373101 timeout on address 0
   1 hdac0: Command 0x0037310a timeout on address 0
   1 hdac0: Command 0x00373170 timeout on address 0
   1 hdac0: Command 0x00373101 timeout on address 0
   3 hdac0: Command 0x00373100 timeout on address 0
   1 hdac0: Command 0x00373000 timeout on address 0
   1 hdac0: Command 0x003732c0 timeout on address 0
   1 hdac0: Reset setting timeout
   1 hdac0: Command 0x00270d00 timeout on address 0
   1 hdac0: Command 0x00270600 timeout on address 0
   1 hdac0: Command 0x00220011 timeout on address 0
   1 hdac0: Command 0x00270d01 timeout on address 0
   1 hdac0: Command 0x00270610 timeout on address 0
   1 hdac0: Command 0x00272d01 timeout on address 0
   1 hdac0: Command 0x00373400 timeout on address 0
   1 hdac0: Command 0x00373411 timeout on address 0
   1 hdac0: Command 0x003734f2 timeout on address 0
   1 hdac0: Command 0x003734f3 timeout on address 0
   1 hdac0: Command 0x003734f4 timeout on address 0
   1 hdac0: Command 0x003734f5 timeout on address 0
   1 hdac0: Command 0x003734f6 timeout on address 0
   1 hdac0: Command 0x003734f7 timeout on address 0
   1 hdac0: Command 0x00370740 timeout on address 0
   1 hdac0: Command 0x00373000 timeout on address 0
   1 hdac0: Command 0x00373200 timeout on address 0
   1 hdac0: Command 0x00373000 timeout on address 0
  32 hdac0: Command 0x00373100 timeout on address 0
   1 hdac0: Command 0x00373000 timeout on address 0
   1 hdac0: Command 0x00373184 timeout on address 0
   1 hdac0: Command 0x00373101 timeout on address 0
   1 hdac0: Command 0x0037310a timeout on address 0
   1 hdac0: Command 0x00373170 timeout on address 0
   1 hdac0: Command 0x00373101 timeout on address 0
   3 hdac0: Command 0x00373100 timeout on address 0
   1 hdac0: Command 0x00373000 timeout on address 0
   1 hdac0: Command 0x003732c0 timeout on address 0
   1 hdac0: Reset setting timeout
   1 hdac0: Command 0x00270d00 timeout on address 0
   1 hdac0: Command 0x00270600 timeout on address 0
Comment 3 Ed Maste freebsd_committer freebsd_triage 2024-07-26 12:42:23 UTC
With a kernel as of f2055611fe5624017bd7769c8dc6419c348806ff I had a second or two of audio stuttering during a zoom call, with a bunch of console spam:

[333865.512692] hdac0: Command 0x20320011 timeout on address 2
[333865.716187] hdac0: Command 0x20370d01 timeout on address 2
[333865.919470] hdac0: Command 0x20370620 timeout on address 2
...
[333877.999360] hdac0: Command 0x20473100 timeout on address 2
[333878.204263] hdac0: Command 0x20473000 timeout on address 2
[333878.444309] hdac0: Command 0x204732c0 timeout on address 2
[333878.448701] pid 2224 (pulseaudio), jid 0, uid 1001: exited on signal 6 (no c
ore dump - other error)
[333878.893879] hdac0: Command 0x20370d00 timeout on address 2
[333879.160006] hdac0: Command 0x20370600 timeout on address 2
[334092.282243] hdac0: Command 0x20320011 timeout on address 2
...
[334100.002478] hdac0: Command 0x204732c0 timeout on address 2
[334105.297228] hdac0: Command 0x20370d00 timeout on address 2
[334105.493652] hdac0: Command 0x20370600 timeout on address 2
Comment 4 Pedro A. Aranda 2024-10-13 16:18:02 UTC
uname -a
FreeBSD  14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64

dmesg -a
hdac0: Command 0x00373000 timeout on address 0
hdac0: Command 0x003732c0 timeout on address 0
hdac0: Reset setting timeout
hdac0: Command 0x00270d00 timeout on address 0
hdac0: Command 0x00270600 timeout on address 0

➜  ~ pciconf -lv |  grep -A 4 hdac0
hdac0@pci0:0:3:0:       class=0x040300 rev=0x09 hdr=0x00 vendor=0x8086 device=0x160c subvendor=0x103c subdevice=0x2216
    vendor     = 'Intel Corporation'
    device     = 'Broadwell-U Audio Controller'
    class      = multimedia
    subclass   = HDA

Device is an HP840G2 laptop