Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Sep 2009 13:25:12 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Nick Hilliard <nick-lists@netability.ie>
Cc:        freebsd-current@freebsd.org
Subject:   Re: 8.0-beta3 does not detect several ata channels
Message-ID:  <200909081325.13149.jhb@freebsd.org>
In-Reply-To: <4AA52BE4.3070708@netability.ie>
References:  <4A9BF23F.6070801@netability.ie> <200909011002.59592.jhb@freebsd.org> <4AA52BE4.3070708@netability.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 07 September 2009 11:51:00 am Nick Hilliard wrote:
> On 01/09/2009 15:02, John Baldwin wrote:
> > Hmm, so an idea I had just now.. can you grab a dump of the PCI config 
space
> > for the disk controller in the MCFG vs non-MCFG cases?  That is, find the
> > device's address using pciconf -lv (e.g. pci0:0:30:0 or some such) and 
then
> > run this command under both configurations and save the output:
> >
> > pciconf -r pci0:0:30:0 0:0xfc
> 
> Ok, got this working on the beta4 livefs.  If hw.pci.mcfg=0, then all disks 
> are detected correctly.
> 
> I've attached the pciconf output for each case.

So as with the other pciconf output I got, it seems that it is reading the 
registers ok in both cases.  Can you add some printfs to the ata driver to 
figure out when it starts behaving differently (e.g. reading a value from a 
register) between the mcfg=0 and mcfg=1 cases on 8?

-- 
John Baldwin



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