From owner-freebsd-current@FreeBSD.ORG Sat May 17 12:14:22 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 241B1CB5 for ; Sat, 17 May 2014 12:14:22 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F21322BC4 for ; Sat, 17 May 2014 12:14:21 +0000 (UTC) Received: from John-Baldwins-MacBook-Pro.local (unknown [137.122.78.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id F33BDB943; Sat, 17 May 2014 08:14:20 -0400 (EDT) Message-ID: <5377529C.3000508@FreeBSD.org> Date: Sat, 17 May 2014 08:14:20 -0400 From: John Baldwin User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Hans Petter Selasky , freebsd-current Subject: Re: panic: resource_list_add: resource entry is busy References: <53763B0F.4040003@selasky.org> In-Reply-To: <53763B0F.4040003@selasky.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Sat, 17 May 2014 08:14:21 -0400 (EDT) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 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: Sat, 17 May 2014 12:14:22 -0000 On 5/16/14, 12:21 PM, Hans Petter Selasky wrote: > Hi, > > I see the following panic: > > panic: resource_list_add: resource entry is busy > > When trying to kldload an older pccard driver. The call comes from the > driver_added bus method somewhere down the tree. Loading the module > before the kernel boots fixes the problem temporarily. > > Any bells ringing or patch suggestions? > > Seeing this on 9-stable, also believed that the same issue exists with > 10-current. Something is doing a duplicate resource_list_add() for the same RID. The trace will tell you where the second resource_list_add() is occurring. Some tracing should let you see where the first one occurs. -- John Baldwin