Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2009 10:02:59 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Nick Hilliard <nick-lists@netability.ie>
Subject:   Re: 8.0-beta3 does not detect several ata channels
Message-ID:  <200909011002.59592.jhb@freebsd.org>
In-Reply-To: <4A9BF438.1000006@smeets.im>
References:  <4A9BF23F.6070801@netability.ie> <4A9BF438.1000006@smeets.im>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 31 August 2009 12:03:04 pm Florian Smeets wrote:
> On 8/31/09 5:54 PM, Nick Hilliard wrote:
> > Hi,
> > 
> > I have a hp proliant ML115 with 6 sata ports which run in ATA mode (bios
> > doesn't appear to give the option to use AHCI).  On freebsd 7.x, all
> > channels are detected.  On freebsd8.0-beta3, the disks attached to the
> > first two SATA ports are not detected, although it detects the ports
> > themselves.
> > 
> > I've attached a verbose dmesg from freebsd 7.1 and 8.0-beta3.
> > 
> > Any ideas on what's going on here?  This seems like a nasty regression.
> 
> There are 3 PRs about this problem: 128686, 132372, 137942.
> 
> i386 version should recognize the disks. amd64 does when you set
> hw.pci.mcfg=0 in loader.conf.

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

-- 
John Baldwin



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