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

From: John-Mark Gurney <gurney_j_at_resnet.uoregon.edu>
Date: Sat, 4 Nov 2006 12:12:50 -0800
Vladimir Kushnir wrote this message on Sat, Nov 04, 2006 at 05:30 +0200:
> 
> 
> On Fri, 3 Nov 2006, John-Mark Gurney wrote:
> 
> >Vladimir Kushnir wrote this message on Sat, Nov 04, 2006 at 00:49 +0200:
> >>
> >>
> >>On Thu, 2 Nov 2006, John-Mark Gurney wrote:
> >>
> >>>Vladimir Kushnir wrote this message on Thu, Oct 26, 2006 at 02:27 +0300:
> >>>>Is there anything I could do to help fixing this?
> >>>
> >>>This is likely related to the vpd work that I've done recently...
> >>>
> >>>Attached is a patch that may fix your troubles.  (I'll commit it shortly
> >>>once I've tested it on my own systems.)
> >>>
> >>
> >>Unfortunately, it does not help at all - system hangs at precisely the
> >>same point :-(
> >
> >in src/sys/dev/pci.c, at about line 583, in the function pci_read_vpd,
> >there is #if 0, change it to #if 1, and send me the first few hundred
> >lines of what it prints...
> >
> >That'll help me figure out where it's hanging..
> >
> 
> Sorry I'v no serial console so the only lines I can provide are the very 
> last ones; and they don't seem to relate to vpd (they are the same for 
> ANY changes - with or without patch, with "#if 0" or "#if 1", for GENERIC 
> or my custom kernel etc):
> 
> pcib1: <ACPI PCI-PCI bridge> at device 9.0 on pci0
> pcib1:		secondary bus		5
> pcib1:		subordinate bus		5
> pcib1:		I/O decode		0xf0000-0xfff
> pcib1:		memory decode		0xca000000-0xca0fffff
> pcib1:		prefetched decode	0xca100000-0xca1fffff
> pcib1:		Subtractively decoded bridge
> pci5:  <ACPI PCI bus> on pcib1
> pci5:  physical bus=5
> 
> and here system hangs.

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/
if 1 won't run unless it gets data from this function...  If you're
hanging in this function, then I'll have to do something else... :(  or
you could return the card/mobo as not PCI compliant...  but I doubt
you'd want to do the last one..

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."
Received on Sat Nov 04 2006 - 19:14:23 UTC

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