Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2010 12:57:54 +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:  <20100730115753.GA9578@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <4C50663B.7030203@icyb.net.ua>
References:  <20100727172021.GA47859@mech-cluster241.men.bris.ac.uk> <4C502902.8000806@icyb.net.ua> <20100728160152.GA91835@mech-cluster241.men.bris.ac.uk> <4C5055C6.5050208@icyb.net.ua> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 28, 2010 at 08:17:47PM +0300, Andriy Gapon wrote:
> on 28/07/2010 20:13 Anton Shterenlikht said the following:
> > On Wed, Jul 28, 2010 at 07:51:08PM +0300, Andriy Gapon wrote:
> >> on 28/07/2010 19:44 Anton Shterenlikht said the following:
> >>  > But I just rebooted again, and reset
> >>> to defaults in BIOS, now I get:
> >>>
> >>> % 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: [ITHREAD]
> >>> hdac0: hdac_get_capabilities: Invalid corb size (1)
> >>> device_attach: hdac0 attach returned 6
> >>>
> >> This gets even stranger.
> >> Ultimate attempt - can you drop the size == 0 condition, so that reset is always
> >> tried when initial value is not correct?
> > 
> > you mean drop both
> >                 if (corbsize == 0) {}
> > 
> > and
> >                 if (rirbsize == 0) {}
> > 
> > ?
> 
> Change it to if (1) { ...}.

did that, and did a cold reboot:

% 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: [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
%

I don't think the device attached.

many 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?20100730115753.GA9578>