AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20070926215722.158d3b39@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<brian.stark@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
X-Sylpheed-End-Special-Headers: 1
Date: Wed, 26 Sep 2007 21:57:33 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: Brian Stark <brian.stark@onstor.com>
Subject: system freezes/hangs when scanning PCI bus
Message-ID: <20070926215733.3fc928ba@ripper.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Here's the relevant kernel debug output that might even speak for
itself:


PCI: Scanning bus 0000:00
scanning device bus:  ; devfn: 0
preparing to read PCI_VENDOR_ID config keyword for devfn 0
pci_scan_device: vendor id = 0x1166d
PCI: Found 0000:00:00.0 [166d/0001] 000600 00
PCI: Calling quirk ffffffff832bb468 for 0000:00:00.0
scanning device bus: 0 ; devfn: 8
preparing to read PCI_VENDOR_ID config keyword for devfn 8
pci_scan_device: vendor id = 0xffffffff
scanning device bus: 0 ; devfn: 16
preparing to read PCI_VENDOR_ID config keyword for devfn 16
pci_scan_device: vendor id = 0xffffffff
scanning device bus: 0 ; devfn: 24
preparing to read PCI_VENDOR_ID config keyword for devfn 24
pci_scan_device: vendor id = 0xffffffff
scanning device bus: 0 ; devfn: 32
preparing to read PCI_VENDOR_ID config keyword for devfn 32
pci_scan_device: vendor id = 0xffffffff
scanning device bus: 0 ; devfn: 40
preparing to read PCI_VENDOR_ID config keyword for devfn 40
pci_scan_device: vendor id = 0xffffffff
scanning device bus: 0 ; devfn: 48
preparing to read PCI_VENDOR_ID config keyword for devfn 48

And here it hangs until the watchdog kicks.

This is the first line of code after the last print:

pci_bus_read_config_dword(bus, devfn, PCI_VENDOR_ID, &l);

devfn being 48, PCI_VENDOR_ID being 0, bus being the bus, and l being
where to put the result of the read.

it never returns.

Any ideas?

Thanks,

a

