From owner-freebsd-acpi@FreeBSD.ORG Tue Jun 7 18:07:02 2011 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 738B91065674 for ; Tue, 7 Jun 2011 18:07:02 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4A76F8FC13 for ; Tue, 7 Jun 2011 18:07:02 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 022F246B03; Tue, 7 Jun 2011 14:07:02 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 7AA398A01F; Tue, 7 Jun 2011 14:07:01 -0400 (EDT) From: John Baldwin To: freebsd-acpi@freebsd.org, Rudolf Polzer Date: Tue, 7 Jun 2011 14:07:00 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <201106071420.p57EK8ln074297@freefall.freebsd.org> In-Reply-To: <201106071420.p57EK8ln074297@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201106071407.00955.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Tue, 07 Jun 2011 14:07:01 -0400 (EDT) Cc: Subject: Re: kern/91594: [em] FreeBSD > 5.4 w/ACPI fails to detect Intel Pro/1000 MT 4-port NIC in PCI slot 3 of DL380 G4 [regression] X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2011 18:07:02 -0000 On Tuesday, June 07, 2011 10:20:08 am Rudolf Polzer wrote: > The following reply was made to PR kern/91594; it has been noted by GNATS. > > From: Rudolf Polzer > To: "bug-followup@FreeBSD.org" , "bad@bsd.de" > > Cc: > Subject: Re: kern/91594: [em] FreeBSD > 5.4 w/ACPI fails to detect Intel > Pro/1000 MT 4-port NIC in PCI slot 3 of DL380 G4 [regression] > Date: Tue, 7 Jun 2011 16:10:44 +0200 > > Hi, > > I just tried this on a such a server, and get the same issue even with the = > snapshot of 8-STABLE on the freebsd ftp server. However, 9-CURRENT kernel p= > anics from a possibly related, possibly unrelated issue: > > The trace is: > > kdb_enter() at kdb_enter+0x3b > panic() at panic+0x180 > rman_init() at rman_init+0x17c > pcib_alloc_window() at pcib_allow_window+0x9f > pcib_attach_common() at pcib_attach_common+0x457 > acpi_pcib_pci_attach() at acpi_pcib_pci_attach+0x1c > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a Can you get the panic message? This seems really odd as rman_init() will only panic if rm_type is set to an invalid setting, but it should always be correct in this case: w->rman.rm_type = RMAN_ARRAY; snprintf(buf, sizeof(buf), "%s %s window", device_get_nameunit(sc->dev), w->name); w->rman.rm_descr = strdup(buf, M_DEVBUF); error = rman_init(&w->rman); -- John Baldwin