hda-codec: out of range cmd 0:0:20:400:ffff7fff on Dell Mini 10

Bug #521775 reported by mikewhatever
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Well, as title says, it's a Dell mini 10 with Karmic, fully updated. Sound works as expected for some time after startup, then dies with the following messages in syslog.

ALSA hda_intel.c:647: spurious response 0x0:0x0, last cmd=0x87060

At this point, nothing but rebooting brings the sound back. I tried reloading alsa with <sudo alsa force-reload> or logging out and in. I've installed linux-backports-modules-alsa-2.6.31-19-generic 2.6.31-19.21, but that didn't solve it.

ProblemType: Bug
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: MID [HDA Intel MID], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: mini 2803 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'MID'/'HDA Intel MID at 0xd83a0000 irq 22'
   Mixer name : 'Silicon Image SiI1392 HDMI'
   Components : 'HDA:10ec0269,102802c6,00100004 HDA:10951392,ffffffff,00100000'
   Controls : 16
   Simple ctrls : 8
Date: Sun Feb 14 18:02:07 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: wl
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
SourcePackage: alsa-driver
Uname: Linux 2.6.31-19-generic i686
---
AlsaVersion:
 Advanced Linux Sound Architecture Driver Version 1.0.23.
 Compiled on Jan 3 2012 for kernel 2.6.32-38-generic (SMP).
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: MID [HDA Intel MID], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: mini 1463 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'MID'/'HDA Intel MID at 0xd83a0000 irq 22'
   Mixer name : 'Silicon Image SiI1392 HDMI'
   Components : 'HDA:10ec0269,102802c6,00100004 HDA:10951392,ffffffff,00100000'
   Controls : 14
   Simple ctrls : 7
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release i386 (20110720.1)
NonfreeKernelModules: wl
Package: alsa-driver (not installed)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-38.83-generic 2.6.32.52+drm33.21
Tags: ubuntu-une lucid
Uname: Linux 2.6.32-38-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 05/12/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A04
dmi.board.name: 0R990K
dmi.board.vendor: Dell Inc.
dmi.board.version: A04
dmi.chassis.asset.tag: **********
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A04
dmi.modalias: dmi:bvnDellInc.:bvrA04:bd05/12/2009:svnDellInc.:pnInspiron1010:pvrA04:rvnDellInc.:rn0R990K:rvrA04:cvnDellInc.:ct8:cvrA04:
dmi.product.name: Inspiron 1010
dmi.product.version: A04
dmi.sys.vendor: Dell Inc.

Revision history for this message
mikewhatever (mikewhatever) wrote :
Revision history for this message
Daniel T Chen (crimsun) wrote :

This looks like a hardware issue, actually.

Changed in alsa-driver (Ubuntu):
status: New → Incomplete
summary: - Sound dies on Karmic - Dell mini 10 with lasa related errors.
+ hda-codec: out of range cmd 0:0:20:400:ffff7fff on Dell Mini 10
Revision history for this message
Luke Yelavich (themuso) wrote : Re: [Bug 521775] Re: Sound dies on Karmic - Dell mini 10 with lasa related errors.

Please try installing the latest ALSA snapshot from the ubuntu-audio-dev PPA, ppa:ubuntu-audio-dev/ppa. The package you want is linux-alsa-driver-modules-2.6.31-19-generic. Once installed, please reboot and report back with the results as to whether audio crashes like it has been for you.

Revision history for this message
mikewhatever (mikewhatever) wrote :

I installed linux-alsa-driver-modules-2.6.31-19-generic, but as before, sound worked after rebooting, and disappeared with different messages:

ALSA hda_intel.c:709: azx_get_response timeout, switching to polling mode: last cmd=0x01170700

Not sure if it's relevant, but just as before, I also get pulsaudio related messages:

pulseaudio[3008]: ratelimit.c: 74 events suppressed

Revision history for this message
mikewhatever (mikewhatever) wrote :

Well, more error messages, and no sound again.

Feb 19 09:35:58 mini kernel: [44538.865022] ALSA hda_intel.c:709: azx_get_response timeout, switching to polling mode: last cmd=0x020c0000
Feb 19 09:35:59 mini kernel: [44539.869020] ALSA hda_intel.c:748: hda_intel: azx_get_response timeout, switching to single_cmd mode: last cmd=0x020c0000

Revision history for this message
mikewhatever (mikewhatever) wrote :

Well, here are some more errors from Karmic

Feb 22 11:10:14 mini-laptop pulseaudio[2103]: ratelimit.c: 262 events suppressed
Feb 22 11:10:14 mini-laptop kernel: [85247.597134] hda-intel: spurious response 0x0:0x0, last cmd=0x224011
Feb 22 11:10:20 mini-laptop pulseaudio[2103]: ratelimit.c: 79 events suppressed

This is a fresh reinstall, and I would have said it was a hardware issue, but I have none of those running Jaunty.

It also took 24 hours till 'hda-intel: spurious response' appeared and sound stopped working.

Revision history for this message
mikewhatever (mikewhatever) wrote :

I am cautiously optimistic. As said in the previous update, I reinstalled the Ubuntu Desktop from the same iso, and then added the netbook-remix metapackage. Then followed the tweaks:

/etc/modprobe.d/alsa-base.cof
# Power down HDA controllers after 10 idle seconds
#options snd-hda-intel power_save=10 power_save_controller=N
options snd-hda-intel model=dell

/etc/pulse/daemon.conf
resample-method = src-linear

Odd as it is, I haven't experienced the issue for almost three weeks; not the slightest idea what caused it.
I keep getting a lot of pulseaudio related log messages:

Mar 14 23:41:21 mini-laptop pulseaudio[1905]: ratelimit.c: 2 events suppressed
Mar 14 23:42:05 mini-laptop pulseaudio[1905]: ratelimit.c: 1 events suppressed
Mar 14 23:45:53 mini-laptop pulseaudio[1905]: ratelimit.c: 1 events suppressed
Mar 14 23:46:46 mini-laptop pulseaudio[1905]: ratelimit.c: 1 events suppressed
Mar 15 01:11:51 mini-laptop pulseaudio[1905]: ratelimit.c: 2 events suppressed
Mar 15 01:11:56 mini-laptop pulseaudio[1905]: ratelimit.c: 2 events suppressed
Mar 15 01:13:12 mini-laptop pulseaudio[1905]: ratelimit.c: 3 events suppressed
Mar 15 02:24:30 mini-laptop pulseaudio[1905]: ratelimit.c: 1 events suppressed
Mar 15 02:56:22 mini-laptop pulseaudio[1905]: ratelimit.c: 114 events suppressed
Mar 15 04:07:14 mini-laptop pulseaudio[1905]: ratelimit.c: 3 events suppressed

Brad Figg (brad-figg)
tags: removed: 10 dell mini
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for alsa-driver (Ubuntu) because there has been no activity for 60 days.]

Changed in alsa-driver (Ubuntu):
status: Incomplete → Expired
Revision history for this message
mikewhatever (mikewhatever) wrote :

I'd like to update this bug report with more info from Lucid. The sound mostly works, but still dies sometimes, and there are still problems with codec probing.

~$ less /var/log/syslog | grep -i hda
Feb 25 08:34:00 mini-laptop kernel: [ 13.945774] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
Feb 25 08:34:00 mini-laptop kernel: [ 13.945867] HDA Intel 0000:00:1b.0: setting latency timer to 64
Feb 25 08:34:01 mini-laptop kernel: [ 14.279358] hda_codec: ALC269: BIOS auto-probing.
Feb 25 08:34:01 mini-laptop kernel: [ 14.280048] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input7
Feb 25 08:34:02 mini-laptop kernel: [ 15.632017] hda-intel: azx_get_response timeout, switching to polling mode: last cmd=0x015f000c
Feb 25 08:34:03 mini-laptop kernel: [ 16.636020] hda_intel: azx_get_response timeout, switching to single_cmd mode: last cmd=0x015f000c
Feb 25 08:34:26 mini-laptop kernel: [ 39.438348] hda-intel: Invalid position buffer, using LPIB read method instead.
Feb 25 08:34:26 mini-laptop kernel: [ 39.438403] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
Feb 25 09:08:03 mini-laptop kernel: [ 13.796402] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
Feb 25 09:08:03 mini-laptop kernel: [ 13.796502] HDA Intel 0000:00:1b.0: setting latency timer to 64
Feb 25 09:08:04 mini-laptop kernel: [ 14.166113] hda_codec: ALC269: BIOS auto-probing.
Feb 25 09:08:04 mini-laptop kernel: [ 14.167527] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input7
Feb 25 09:08:27 mini-laptop kernel: [ 38.055402] hda-intel: Invalid position buffer, using LPIB read method instead.
Feb 25 09:08:27 mini-laptop kernel: [ 38.055453] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.

tags: added: apport-collected
description: updated
Revision history for this message
mikewhatever (mikewhatever) wrote : AlsaDevices.txt

apport information

Revision history for this message
mikewhatever (mikewhatever) wrote : AplayDevices.txt

apport information

Revision history for this message
mikewhatever (mikewhatever) wrote : BootDmesg.txt

apport information

Revision history for this message
mikewhatever (mikewhatever) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
mikewhatever (mikewhatever) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
mikewhatever (mikewhatever) wrote : Card0.Codecs.codec.1.txt

apport information

Revision history for this message
mikewhatever (mikewhatever) wrote : CurrentDmesg.txt

apport information

Revision history for this message
mikewhatever (mikewhatever) wrote : PciMultimedia.txt

apport information

Revision history for this message
mikewhatever (mikewhatever) wrote : ProcCpuinfo.txt

apport information

Changed in alsa-driver (Ubuntu):
status: Expired → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for alsa-driver (Ubuntu) because there has been no activity for 60 days.]

Changed in alsa-driver (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Tim Brooks (morphit2k) wrote :
Download full text (3.2 KiB)

I seem to be getting a related issue on a HP EliteBook 2540p. After resuming from suspend, I frequently have no sound at all. The hardware mute button sets and unsets mute for the Gnome widget, but remains amber (it normally turns blue when unmuted). Restarting alsa and pulse-audio seems to have no effect.

From dmesg, I see the following (snipped relevent lines):
[11143.568127] snd_hda_intel 0000:00:1b.0: power state changed by ACPI to D0
[11143.568132] snd_hda_intel 0000:00:1b.0: power state changed by ACPI to D0
[11143.568137] snd_hda_intel 0000:00:1b.0: power state changed by ACPI to D0
[11143.568141] snd_hda_intel 0000:00:1b.0: power state changed by ACPI to D0
[11143.568148] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[11143.568155] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[11143.568197] snd_hda_intel 0000:00:1b.0: irq 48 for MSI/MSI-X
... then ~100 lines like the following:
[11144.570346] hda-intel: spurious response 0x24:0x0, last cmd=0x1f1500
[11144.570351] hda-intel: spurious response 0x24:0x0, last cmd=0x1f1500
[11144.570354] hda-intel: spurious response 0x0:0x0, last cmd=0x1f1500
[11144.570357] hda-intel: spurious response 0x1:0x0, last cmd=0x1f1500
[11144.570360] hda-intel: spurious response 0x9:0x0, last cmd=0x1f1500
...
[11145.777815] PM: resume of drv:i915 dev:0000:00:02.0 complete after 2219.825 msecs
[11146.581485] hda-intel: azx_get_response timeout, switching to polling mode: last cmd=0x00bf0900
[11147.589043] hda-intel: No response from codec, disabling MSI: last cmd=0x00bf0900
[11148.596601] hda_intel: azx_get_response timeout, switching to single_cmd mode: last cmd=0x00bf0900
[11148.596740] azx_single_wait_for_response: 60 callbacks suppressed
[11148.597457] hda-codec: out of range cmd 0:0:1:716:ffffffff
[11148.597459] hda-codec: out of range cmd 0:0:1:717:ffffffff
[11148.604725] PM: resume of drv:snd_hda_intel dev:0000:00:1b.0 complete after 5047.794 msecs
[11148.604781] PM: resume of drv:sound dev:card0 complete after 2820.039 msecs
...
[11148.644630] PM: resume of devices complete after 5087.928 msecs
[11148.644772] PM: resume devices took 5.088 seconds
[11148.686283] PM: Finishing wakeup.
... this next section then repeats the hda-codec messages interspersed with azx_single_wait_for_response:
[12154.260709] hda-codec: out of range cmd 0:0:1:716:ffffffff
[12154.260714] hda-codec: out of range cmd 0:0:1:717:ffffffff
[12154.267155] hda-codec: out of range cmd 0:0:1:715:ffffffff
[12154.267678] hda-codec: out of range cmd 0:0:1:716:ffffffff
[12154.267681] hda-codec: out of range cmd 0:0:1:717:ffffffff
[12154.275168] hda-codec: out of range cmd 0:0:1:715:ffffffff
[12154.275865] hda-codec: out of range cmd 0:0:1:716:ffffffff
[12154.275870] hda-codec: out of range cmd 0:0:1:717:ffffffff
[12154.283208] hda-codec: out of range cmd 0:0:1:715:fffffff7
[12154.283871] hda-codec: out of range cmd 0:0:1:716:ffffffff
[12154.283872] hda-codec: out of range cmd 0:0:1:717:ffffffff
[12154.291185] hda-codec: out of range cmd 0:0:1:715:fffffff7
[12164.376590] azx_single_wait_for_response: 8 callbacks suppressed

Only restarting seems to fix this and restore audio.

I'd be interested in fixing thi...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.