stable/9 panic Bad tailq NEXT(0xffffffff80e52660->tqh_last)
!= NULL
Sean Bruno
seanbru at yahoo-inc.com
Tue Oct 2 19:05:51 UTC 2012
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
Resulted in the following relevant output:
pcib7: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pcib7: domain 0
pcib7: secondary bus 7
pcib7: subordinate bus 7
pcib7: no prefetched decode
pcib7: This device is not present
pcib7: acpi_pcib_pci_attach: err_attach(6)
device_attach: pcib7 attach returned 6
pcib7: <ACPI PCI-PCI bridge> irq 19 at device 28.7 on pci0
pcib0: allocated type 3 (0xde000000-0xdf7fffff) for rid 20 of pcib7
pcib0: allocated type 3 (0xd8000000-0xd8ffffff) for rid 24 of pcib7
pcib7: domain 0
pcib7: secondary bus 8
pcib7: subordinate bus 12
pcib7: memory decode 0xde000000-0xdf7fffff
pcib7: prefetched decode 0xd8000000-0xd8ffffff
pci8: <ACPI PCI bus> on pcib7
pci8: domain=0, physical bus=8
found-> vendor=0x1912, dev=0x0013, revid=0x00
domain=0, bus=8, slot=0, func=0
class=06-04-00, hdrtype=0x01, mfdev=0
cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x0b (2750 ns), maxlat=0x00 (0 ns)
powerspec 3 supports D0 D3 current D0
MSI supports 1 message, 64 bit
pcib8: <PCI-PCI bridge> at device 0.0 on pci8
pcib7: allocated memory range (0xde000000-0xdf7fffff) for rid 20 of
pcib8
pcib7: allocated prefetch range (0xd8000000-0xd8ffffff) for rid 24 of
pcib8
pcib8: domain 0
pcib8: secondary bus 9
pcib8: subordinate bus 12
pcib8: memory decode 0xde000000-0xdf7fffff
pcib8: prefetched decode 0xd8000000-0xd8ffffff
pci9: <PCI bus> on pcib8
pci9: domain=0, physical bus=9
More information about the freebsd-stable
mailing list