From owner-freebsd-current@FreeBSD.ORG Tue Jul 27 14:47:06 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA1EF1065670; Tue, 27 Jul 2010 14:47:05 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id A51E08FC1C; Tue, 27 Jul 2010 14:47:05 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1OdlQu-0002gd-7r; Tue, 27 Jul 2010 15:47:04 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1OdlQu-0005iA-23; Tue, 27 Jul 2010 15:47:04 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id o6REl3Rm046950; Tue, 27 Jul 2010 15:47:03 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id o6REl3OM046949; Tue, 27 Jul 2010 15:47:03 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Tue, 27 Jul 2010 15:47:03 +0100 From: Anton Shterenlikht To: Gavin Atkinson Message-ID: <20100727144703.GA46905@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1280238737.78791.20.camel@buffy.york.ac.uk> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-current@FreeBSD.org, Anton Shterenlikht Subject: Re: amd64 panic snd_hda - hdac_get_capabilities: Invalid corb size (0) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2010 14:47:06 -0000 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: > > > > On amd64 r210496 I get this panic when booting a kernel > > > > with snd_hda(4). I haven't used this driver before, so > > > > can't say if this is a regression. > > > > > > > > (copied by hand) > > > > > > > > hdac0: 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) > > > > > > > > cpuid = 0 > > > > KDB: enter: panic > > > > [ thread pid 0 tid 100000 ] > > > > Stopped at kdb_enter+0x3d: movq $0,0x74f360(%rip) > > > > db>bt > > > > > > > > (very long output.. ending in) > > > > > > 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 bus_generic_attach() at bus_generic_attach+0x1a acpi_pci_attach() at acpi_pci_attach+0x14f device_attach() at dvice_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_pcib_attach() at acpi_pcib_attach+0x1a7 acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x1fd device_attach() at dvice_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_attach() at acpi_attach+0xa28 device_attach() at dvice_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a nexus_acpi_attach() at nexus_acpi_attach+0x69 device_attach() at dvice_attach+0x69 bus_generic_new_pass() at bus_generic_new_pass+0xd6 bus_set_pass() at bus_set_pass+0x7a configure() at configure+0xa mi_startup() at mi_startup+0x59 btext() at btext+0x2c db> 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