lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 28 Feb 2009 21:44:12 +0300
From:	Alexey Dobriyan <adobriyan@...il.com>
To:	tiwai@...e.de
Cc:	linux-kernel@...r.kernel.org, akpm@...l.org, torvalds@...l.org
Subject: No more Intel HDA soundcard

The following commit results in soundcard detection failing with -EBUSY

commit 34c25350acfc792747e861d1e36874abf7e73255
Author: Takashi Iwai <tiwai@...e.de>
Date:   Tue Oct 28 11:38:58 2008 +0100

    ALSA: hda - Remove old codec-probe limitation
    
    Removed the old workaround to avoid the non-existing codec slot.
    The current code should work without that workaround.  If any,
    we can add a quirk table.
    
    Signed-off-by: Takashi Iwai <tiwai@...e.de>

I fixed up this (and got sound back) but suspect the following is not right.

--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -1224,6 +1224,7 @@ static void azx_stop_chip(struct azx *chip);
 
 /* number of codec slots for each chipset: 0 = default slots (i.e. 4) */
 static unsigned int azx_max_codecs[AZX_NUM_DRIVERS] __devinitdata = {
+	[AZX_DRIVER_ICH] = 3,
 	[AZX_DRIVER_TERA] = 1,
 };
 

dmesg from fixed up kernel:

[    5.362853] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[    5.362963] HDA Intel 0000:00:1b.0: setting latency timer to 64
[    5.395164] hda_codec: Unknown model for ALC268, trying auto-probe from BIOS...
[    5.464685] ALSA device list:
[    5.464756]   #0: HDA Intel at 0xf6700000 irq 22

dmesg from broken kernel:

Advanced Linux Sound Architecture Driver Version 1.0.18a.
HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
hda_codec: Unknown model for ALC268, trying auto-probe from BIOS...
hda_codec: Unknown model for ALC268, trying auto-probe from BIOS...
hda_codec: Cannot set up configuration from BIOS.  Using base mode...
SPDIF already defined
HDA Intel 0000:00:1b.0: PCI INT A disabled
HDA Intel: probe of 0000:00:1b.0 failed with error -16
ALSA device list:
  No soundcards found.


00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 03)
	Subsystem: Toshiba America Info Systems Device [1179:ff00]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 22
	Region 0: Memory at f6700000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ