From owner-freebsd-stable@FreeBSD.ORG Wed Oct 3 20:43:16 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1BA31065676; Wed, 3 Oct 2012 20:43:16 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id A418F8FC16; Wed, 3 Oct 2012 20:43:16 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id E0103B986; Wed, 3 Oct 2012 16:43:15 -0400 (EDT) From: John Baldwin To: Sean Bruno Date: Wed, 3 Oct 2012 16:40:09 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p20; KDE/4.5.5; amd64; ; ) References: <1342197082.2664.4.camel@powernoodle.corp.yahoo.com> <201210021706.53942.jhb@freebsd.org> <1349219579.4246.13.camel@powernoodle.corp.yahoo.com> In-Reply-To: <1349219579.4246.13.camel@powernoodle.corp.yahoo.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201210031640.09417.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 03 Oct 2012 16:43:16 -0400 (EDT) Cc: "freebsd-stable@freebsd.org" , Andriy Gapon Subject: Re: stable/9 panic Bad tailq NEXT(0xffffffff80e52660->tqh_last) != NULL X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2012 20:43:16 -0000 On Tuesday, October 02, 2012 7:12:59 pm Sean Bruno wrote: > On Tue, 2012-10-02 at 14:06 -0700, John Baldwin wrote: > > On Tuesday, October 02, 2012 3:05:30 pm Sean Bruno wrote: > > > On Mon, 2012-10-01 at 05:47 -0700, John Baldwin wrote: > > > > Can you add extra printfs to see where exactly attach is failing? I > > > > would > > > > start with the attach routine in sys/dev/acpica/acpi_pcib_pci.c: > > > > > > > > > > > > > > hrm ... interesting side effects. After adding my printf's I don't hit > > > the panic any more. :-) > > > > > > I changed the ret val of acpi_pcib_pci_attach() and put in some > > > instrumentation in acpi_pcib_attach(). The key value is that > > > acpi_DeviceIsPresent() appears to be returning FALSE in this case. > > > > > > patch used -->http://people.freebsd.org/~sbruno/acpi_pcib.txt > > > > What happens if you just comment out the acpi_DeviceIsPresent() check? > > > > > wow, it booted up and seems to be fine. huh ... > pcib7: at device 28.0 on pci0 > pcib7: domain 0 > pcib7: secondary bus 7 > pcib7: subordinate bus 7 > pcib7: no prefetched decode > pci7: on pcib7 > pci7: domain=0, physical bus=7 Is there anything on the bus? -- John Baldwin