From owner-freebsd-current@FreeBSD.ORG Wed May 16 00:25:59 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D844816A400 for ; Wed, 16 May 2007 00:25:59 +0000 (UTC) (envelope-from davidch@broadcom.com) Received: from mms1.broadcom.com (mms1.broadcom.com [216.31.210.17]) by mx1.freebsd.org (Postfix) with ESMTP id A6B5713C448 for ; Wed, 16 May 2007 00:25:59 +0000 (UTC) (envelope-from davidch@broadcom.com) Received: from [10.10.64.154] by mms1.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.3.1)); Tue, 15 May 2007 17:25:49 -0700 X-Server-Uuid: 6B5CFB92-F616-4477-B110-55F967A57302 Received: by mail-irva-10.broadcom.com (Postfix, from userid 47) id 4E9A62B0; Tue, 15 May 2007 17:25:49 -0700 (PDT) Received: from mail-irva-8.broadcom.com (mail-irva-8 [10.10.64.221]) by mail-irva-10.broadcom.com (Postfix) with ESMTP id 3538F2AE; Tue, 15 May 2007 17:25:49 -0700 (PDT) Received: from mail-irva-12.broadcom.com (mail-irva-12.broadcom.com [10.10.64.146]) by mail-irva-8.broadcom.com (MOS 3.7.5a-GA) with ESMTP id FHJ72089; Tue, 15 May 2007 17:25:45 -0700 (PDT) Received: from NT-IRVA-0750.brcm.ad.broadcom.com (nt-irva-0750 [10.8.194.64]) by mail-irva-12.broadcom.com (Postfix) with ESMTP id 5ABDF69CA7; Tue, 15 May 2007 17:25:45 -0700 (PDT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Tue, 15 May 2007 17:25:14 -0700 Message-ID: <09BFF2FA5EAB4A45B6655E151BBDD90303ECF26B@NT-IRVA-0750.brcm.ad.broadcom.com> In-Reply-To: <200705151914.56433.jhb@freebsd.org> Thread-Topic: Releasing MSI Resources in a Module Causes Kernel Panic on -CURRENT Thread-Index: AceXTUVLBSdU+zkTRCuxucG46YX6sgAAvW5Q References: <09BFF2FA5EAB4A45B6655E151BBDD90303DE3A51@NT-IRVA-0750.brcm.ad.broadcom.com> <200705151914.56433.jhb@freebsd.org> From: "David Christensen" To: "John Baldwin" , freebsd-current@freebsd.org X-WSS-ID: 6A54900737029697993-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Cc: Subject: RE: Releasing MSI Resources in a Module Causes Kernel Panic on -CURRENT 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: Wed, 16 May 2007 00:25:59 -0000 >=20 > Can you print out the rid being passed to=20 > bus_release_resource()? Also,=20 > having 'debug.bootverbose' on (sysctl) during the=20 > kldload/kldunload would be=20 > helpful. >=20 Thanks John but I finally found the problem. An internal flag I use to track the rid was being cleared incorrectly, so I was trying to release an IRQ rather than the MSI vectors, thus the error. Dave=20