[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#366680: linux-image: snd_intel8x0 module randomly fails to initialize sound hardware



Package: linux-image
Version: /linux-2.6.16.1
Severity: normal


Normally, I would not report this kind of problem using the BTS - audio
problems are common enough, and not what I consider critical problems -
but this one has persisted through a long series of kernel changes, all
the way from the early ones in the 2.4 series until now (2.6.16.1).
After this long, it's earned the status of Bug Emeritus, and I figure
you folks deserve a chance at shooting it down. :)

Over the last two years, I've experimented with a number of possible
solutions to this problem, including trying to tweak the code in
snd_intel8x0.c (unfortunately, it seems that my C-fu is not quite up to
kernel hacking.) I'm hoping that you can offer some suggestions; you're
also welcome to ask me to test out any patches or experimental code
you'd care to try.

The problem is that when I boot this laptop (Acer 2012, see included
'lspci' report), the sound hardware often fails to initialize and
reports the following error:

``
codec_ready: codec is not ready [0x8700000]
''

and, of course, ALSA follows that up with a 'no soundcards found' error.
'/var/log/kern.log' has the following to say at those times:

``
Apr 22 19:40:53 Fenrir kernel: ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 21
Apr 22 19:40:53 Fenrir kernel: PCI: Setting latency timer of device 0000:00:1f.5 to 64
Apr 22 19:40:53 Fenrir kernel: codec_ready: codec is not ready [0x8700000]
Apr 22 19:40:53 Fenrir kernel: ACPI: PCI interrupt for device 0000:00:1f.5 disabled
Apr 22 19:40:53 Fenrir kernel: Intel ICH: probe of 0000:00:1f.5 failed with error -5
''

and

``
Apr 22 07:40:59 Fenrir kernel: Advanced Linux Sound Architecture Driver Version 1.0.11rc2 (Wed Jan 04 08:57:20 2006 UTC).
Apr 22 07:40:59 Fenrir kernel: ALSA device list:
Apr 22 07:40:59 Fenrir kernel:   No soundcards found.
''

The frequency of how often this happens varies: sometimes, it's every
single boot until I remove the laptop battery; at other times, it's only
about one boot out of every five. It seems to be related to IRQ problems
(booting the laptop without its battery, and inserting it after the
boot, results in the problem nearly disappearing - it only happens in ~1
of every 20 boots.)

I've tried setting the module options -

``
options snd-intel8x0 buggy_irq=1 buggy_semaphore=1
''

but this does not help. Also, once the hardware has failed to be
detected, nothing will fix the problem other than rebooting - unloading
and reloading all the relevant modules has no effect.

Any help at this point would be greatly appreciated.

lspci output:

'''
0000:00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
0000:00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
0000:00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
0000:00:01.0 PCI bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to AGP Controller (rev 02)
0000:00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
0000:00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
0000:00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
0000:00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
0000:00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
0000:00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
0000:00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
0000:00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
0000:02:00.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
0000:02:01.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
0000:02:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)
0000:02:04.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
0000:03:00.0 USB Controller: NEC Corporation USB (rev 43)
0000:03:00.1 USB Controller: NEC Corporation USB (rev 43)
'''


Sincerely,
Ben Okopnik, Editor-in-Chief, Linux Gazette
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

-- System Information: Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)



Reply to: