Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2010 18:20:21 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        Gavin Atkinson <gavin@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org, Anton Shterenlikht <mexas@bristol.ac.uk>
Subject:   Re: amd64 panic snd_hda - hdac_get_capabilities: Invalid corb size (0)
Message-ID:  <20100727172021.GA47859@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <1280249605.78791.36.camel@buffy.york.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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 27, 2010 at 05:53:25PM +0100, Gavin Atkinson wrote:
> On Tue, 2010-07-27 at 15:47 +0100, Anton Shterenlikht wrote:
> > On Tue, Jul 27, 2010 at 02:52:17PM +0100, Gavin Atkinson wrote:
> > > On Tue, 2010-07-27 at 12:58 +0100, Anton Shterenlikht wrote:
> > > > On Tue, Jul 27, 2010 at 11:23:24AM +0100, Gavin Atkinson wrote:
> > > > > On Mon, 2010-07-26 at 14:24 +0100, Anton Shterenlikht wrote:
> >  > > > 
> > > > > > hdac0: <ATI SB600 High Definition Audion 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)
> > > > > > device_attach: hdac0 attach returned 6
> > > > > > Slab at 0xffffff000261eb18, freei 3 = 0
> > > > > > panic: Duplicate free of item 0xffffff0002661c00 from zone 0xffffff00b7f9a500(1024)
> > > > > 
> > > > > Can you give us this output please?  At least the "panic()" line and the
> > > > > next six or so lines?
> > 
> > here it is:
> > 
> > db> bt
> > Tracing pid 0 tid 100000 td 0xffffffff80b40de0
> > kdb_enter() at kdb_enter+0x3d
> > panic() at panic+0x17b
> > uma_dbg_free() at uma_zfree_arg+0x62
> > free() at free+0xcd
> > device_set_driver() at device_set_driver+0x7c
> > device_attach() at device_attach+0x1a3
> 
> Thanks.  Can you try
> http://people.freebsd.org/~gavin/mexas-hda-panic.diff
> 
> and see if that solves things for you?
> 
> (Credit goes to avg@ for looking into this before me :)

yes, thanks, the panic has gone away.
There still seems to be a problem with this device:


hdac0@pci0:0:20:2:	class=0x040300 card=0x30c2103c chip=0x43831002 rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    device     = 'IXP SB600 High Definition Audio Controller'
    class      = multimedia
    subclass   = 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 rirb size (0)
device_attach: hdac0 attach returned 6


I understand from the manual, there should 
be devices /dev/pcmX and /dev/dsp, but I have neither.

I'll ask in @questions.

many thanks for a quick fix!

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?20100727172021.GA47859>