From owner-freebsd-current@FreeBSD.ORG Mon Aug 17 18:30:54 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12B1A106568B for ; Mon, 17 Aug 2009 18:30:54 +0000 (UTC) (envelope-from esbjerg@gustav.anc.dk) Received: from gustav.anc.dk (gustav.anc.dk [194.255.112.205]) by mx1.freebsd.org (Postfix) with ESMTP id CFB828FC55 for ; Mon, 17 Aug 2009 18:30:53 +0000 (UTC) Received: by gustav.anc.dk (Postfix, from userid 1000) id C20B91BE67; Mon, 17 Aug 2009 19:57:45 +0200 (CEST) Date: Mon, 17 Aug 2009 19:57:45 +0200 From: Sven Esbjerg To: current@freebsd.org Message-ID: <20090817175745.GA697@esbjerg.name> References: <20090816185930.49144213.ubm.freebsd@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Cc: Subject: Re: panic: _sx_xlock_hard: recursed on non-recursive sx newbus 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: Mon, 17 Aug 2009 18:30:54 -0000 On Sun, Aug 16, 2009 at 07:50:03PM +0100, Robert Watson wrote: > > On Sun, 16 Aug 2009, Marc UBM wrote: > > >While loading snd_hda for fun on my fileserver, I got the following panic > >(crashdump available for poking around): > > > >panic: _sx_xlock_hard: recursed on non-recursive sx newbus @ > >/usr/src/sys/kern/subr_bus.c:219 > > > >Backtrace is attached. > > Hi Marc-- > > This is most likely associated with the known "newbus" locking issues from > late-break MPSAFEty work on newbus for 8.0. I understand that Attilio is > working actively on fixing this (CC'd). You could try Attilio's patch: http://people.freebsd.org/~attilio/hdac.diff It fixed the panic I was having while loading the sound driver. -Sven