Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Nov 2006 02:27:51 +0200 (EET)
From:      Vladimir Kushnir <vkushnir@i.kiev.ua>
To:        Ian Dowse <iedowse@iedowse.com>
Cc:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>, current@freebsd.org
Subject:   Fixed! Was:Re: Asus A8V hangs during pci probe on fresh -CURRENT 
Message-ID:  <20061109022154.O1179@kushnir1.kiev.ua>
In-Reply-To: <200611082152.aa94781@nowhere.iedowse.com>
References:  <200611082152.aa94781@nowhere.iedowse.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 8 Nov 2006, Ian Dowse wrote:

> In message <20061106015245.R1183@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
.......



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061109022154.O1179>