Fixed! Was:Re: Asus A8V hangs during pci probe on fresh -CURRENT

From: Vladimir Kushnir <vkushnir_at_i.kiev.ua>
Date: Thu, 9 Nov 2006 02:27:51 +0200 (EET)
On Wed, 8 Nov 2006, Ian Dowse wrote:

> In message <20061106015245.R1183_at_kushnir1.kiev.ua>, Vladimir Kushnir writes:
>> On Sat, 4 Nov 2006, John-Mark Gurney wrote:
>>> Ok, then add a couple printfs to the pci_read_vpd_reg line...  one before
>>> the WREG line, and another before the return... I have a feeling that
>>> your card isn't setting the correct bit, as the printf you enabled w/
>>
>> Your feeling was absolutely right - system hangs exactly here.
>
> Maybe something like the following would help? This adds a timeout
> to pci_read_vpd_reg() so it might prevent the complete hang.
>
> Ian
>

<patch skipped>

Thanks! That worked:

......
pcib1:   Subtractively decoded bridge.
pci5: <ACPI PCI bus> on pcib1
pci5: physical bus=5
~~~~~~~~~~~~~~~~~~~~
Here's where it hanged before.

pci5:6:0: read VPD reg 0 timed out
pci5:6:0: invalid vpd data, remain 0xffff
found-> vendor=0x109e, dev=0x036e, revid=0x11
         bus=5, slot=6, func=0
         class=04-00-00, hdrtype=0x00, mfdev=1
         cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords)
         lattimer=0x20 (960 ns), mingnt=0x10 (4000 ns), maxlat=0x28 (10000 
ns)
         intpin=a, irq=255
         powerspec 2  supports D0 D3  current D0
         VPD Ident: (null)
         map[10]: type 3, range 32, base 0xca100000, size 12, enabled
pcib1: (null) requested memory range 0xca100000-0xca100fff: good
pci5:6:1: read VPD reg 0 timed out
pci5:6:1: invalid vpd data, remain 0xffff
.......
Received on Wed Nov 08 2006 - 23:28:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:02 UTC