Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 2010 19:33:44 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-current@FreeBSD.org, Gavin Atkinson <gavin@FreeBSD.org>, lstewart@FreeBSD.org
Subject:   Re: amd64 panic snd_hda - hdac_get_capabilities: Invalid corb size (0)
Message-ID:  <4C505BE8.1050308@icyb.net.ua>
In-Reply-To: <20100728161715.GA91906@mech-cluster241.men.bris.ac.uk>
References:  <20100726132451.GA18443@mech-cluster241.men.bris.ac.uk> <1280226205.78791.0.camel@buffy.york.ac.uk> <20100727115831.GA46325@mech-cluster241.men.bris.ac.uk> <1280238737.78791.20.camel@buffy.york.ac.uk> <20100727144703.GA46905@mech-cluster241.men.bris.ac.uk> <1280249605.78791.36.camel@buffy.york.ac.uk> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
on 28/07/2010 19:17 Anton Shterenlikht said the following:
> On Wed, Jul 28, 2010 at 07:07:34PM +0300, Andriy Gapon wrote:
>> on 28/07/2010 19:01 Anton Shterenlikht said the following:
>>> here it is:
>> So did it work? :)
> 
> not as far as I can tell
> 
>>> % dmesg|fgrep -i hda
>>> pci0: <multimedia, HDA> at device 20.2 (no driver attached)
>>> pci0: <multimedia, HDA> at device 20.2 (no driver attached)
>>> 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 rirb size (0)
>>> device_attach: hdac0 attach returned 6
>> I presume the above is from previous load attempt?
> 
> yes, probably. I think /var/run/dmesg used
> to contain only the current boot, but some
> time ago I noticed that quite a few previous
> boots are stored. Or maybe it's my misconfiguration..

Did you just kldload the module?
Or do you have hda in your kernel and you performed a reboot?
If you didn't reboot, can you do it now?

>>> 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 rirb size (0)
>>> hdac0: Resetting rirb size to 256
>> Hmm, so no message about corb, just rirb?

So no corb message?
This seems very strange, especially given the subject line.

>> Also, no codec and pcm output lines?  Did the driver get attached?
> 
> As far as I can (cannot) see, the driver didn't attach.
> There's no /dev/dsp or /dev/pcm.

What is output of the following command?
kldstat -v | egrep 'sound|snd'

> % cat /dev/sndstat 
> FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
> Installed devices:
> %
> 
> I also get (probably not related)
> 
> % dmesg|grep dead
> Event timer "i8254" is dead.
> %

You can try to use a different timer.
See sysctl kern.eventtimer, you can override timer1 and timer2 in your loader.conf.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C505BE8.1050308>