Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Nov 2006 12:12:50 -0800
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        Vladimir Kushnir <vkushnir@i.kiev.ua>
Cc:        current@freebsd.org
Subject:   Re: Asus A8V hangs during pci probe on fresh -CURRENT
Message-ID:  <20061104201250.GO25511@funkthat.com>
In-Reply-To: <20061104051417.U1182@kushnir1.kiev.ua>
References:  <20061026015618.E1706@kushnir1.kiev.ua> <20061102220454.GK25511@funkthat.com> <20061103183548.T60893@kushnir1.kiev.ua> <20061104005738.GN25511@funkthat.com> <20061104051417.U1182@kushnir1.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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."



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