Date: Fri, 30 Jul 2010 15:36:49 +0100 From: Anton Shterenlikht <mexas@bristol.ac.uk> To: Andriy Gapon <avg@icyb.net.ua> Cc: lstewart@freebsd.org, Gavin Atkinson <gavin@freebsd.org>, Anton Shterenlikht <mexas@bristol.ac.uk>, freebsd-current@freebsd.org Subject: Re: amd64 panic snd_hda - hdac_get_capabilities: Invalid corb size (0) Message-ID: <20100730143648.GA10259@mech-cluster241.men.bris.ac.uk> In-Reply-To: <4C52D440.1070908@icyb.net.ua> References: <20100728161715.GA91906@mech-cluster241.men.bris.ac.uk> <4C505BE8.1050308@icyb.net.ua> <20100728164449.GA92092@mech-cluster241.men.bris.ac.uk> <4C505FFC.6000601@icyb.net.ua> <20100728171324.GB92206@mech-cluster241.men.bris.ac.uk> <4C50663B.7030203@icyb.net.ua> <20100730115753.GA9578@mech-cluster241.men.bris.ac.uk> <4C52C00E.3050400@icyb.net.ua> <20100730130237.GA9853@mech-cluster241.men.bris.ac.uk> <4C52D440.1070908@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 30, 2010 at 04:31:44PM +0300, Andriy Gapon wrote: > 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. OSS became 1, no other change: % 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 1, ISS 0, BSS 0, NSDO 1, CORB 256, RIRB 256 hdac0: thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100730143648.GA10259>