Re: amd64 panic snd_hda - hdac_get_capabilities: Invalid corb size (0)

From: Andriy Gapon <avg_at_icyb.net.ua>
Date: Fri, 30 Jul 2010 16:31:44 +0300
on 30/07/2010 16:02 Anton Shterenlikht said the following:
> % dmesg | fgrep -i hda
> hdac0: <ATI SB600 High Definition Audio Controller> irq 16 at device 20.2 on pci0
> hdac0: HDA Driver Revision: 20100226_0142
> hdac0: Lazy allocation of 0x4000 bytes rid 0x10 type 3 at 0xb7fb0000
> hdac0: [MPSAFE]
> hdac0: [ITHREAD]
> hdac0: hdac_get_capabilities: Invalid corb size (0)
> hdac0: Resetting corb size to 256
> hdac0: hdac_get_capabilities: Invalid rirb size (0)
> hdac0: Resetting rirb size to 256
> hdac0: Caps: OSS 0, ISS 0, BSS 0, NSDO 1, CORB 256, RIRB 256
> hdac0: 
> %

Oh, zero OSS + ISS is bad too.
Need to think about it, but no time now...

Just a one thing to try - can you please add hdac_reset(sc, 1) call in
hdac_attach() right before hdac_get_capabilities() call?
The idea is to reset the controller before trying to get its capabilities.

-- 
Andriy Gapon
Received on Fri Jul 30 2010 - 11:31:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC