From owner-freebsd-current@FreeBSD.ORG Sun Mar 29 12:25:45 2009 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 4F9A81065678 for ; Sun, 29 Mar 2009 12:25:45 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id CAF978FC17 for ; Sun, 29 Mar 2009 12:25:44 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 238762858; Sun, 29 Mar 2009 15:25:43 +0300 Message-ID: <49CF68C4.8020806@FreeBSD.org> Date: Sun, 29 Mar 2009 15:25:40 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.19 (X11/20090118) MIME-Version: 1.0 To: Lawrence Stewart References: <49CF0754.9070907@room52.net> <49CF2B0C.7050301@FreeBSD.org> <49CF6551.4080301@room52.net> In-Reply-To: <49CF6551.4080301@room52.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: kernel panic with snd_hda "panic: Duplicate free of item 0xffffff00025f8c00 from zone 0xffffff00b697d400(1024)" 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: Sun, 29 Mar 2009 12:25:45 -0000 Lawrence Stewart wrote: > Alexander Motin wrote: >> I can't reproduce neither "Invalid corb size (0)" error, nor the crash >> in case of it. I have tried to simulate that error, but system handled >> it correctly. But I have INVARIANTS disabled on my system. >> >> Can you try to disable MSI? > > Setting hw.pci.enable_msix=0 and hw.pci.enable_msi=0 at the loader > prompt made no difference. It could also be done with hint.hdac.0.msi=0. >> Can you try to move hdac_irq_alloc() call after hdac_rirb_init() in >> hdac_attach()? May be interrupt shots while something is not yet >> initialized? > > Running with the following patch made no difference either. > > Any other ideas I could try? I have none. I haven't changed anything significant last time, except enabling MSI. You can try to investigate both problems: original "Invalid corb size (0)" and the consequent crash. As I have said, I can't reproduce none of them. Try to put some debug printfs inside hdac_get_capabilities(), may be it give some new clues. -- Alexander Motin