From owner-freebsd-stable@FreeBSD.ORG Wed Oct 15 07:42:00 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC25B10656A2 for ; Wed, 15 Oct 2008 07:42:00 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 3AB518FC16 for ; Wed, 15 Oct 2008 07:42:00 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:55474 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Kq10z-00075B-3g for freebsd-stable@freebsd.org; Wed, 15 Oct 2008 09:41:57 +0200 Received: (qmail 31404 invoked from network); 15 Oct 2008 09:41:44 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 15 Oct 2008 09:41:44 +0200 Received: (qmail 61193 invoked by uid 1001); 15 Oct 2008 09:41:44 +0200 Date: Wed, 15 Oct 2008 09:41:44 +0200 From: Erik Trulsson To: Jeremy Chadwick Message-ID: <20081015074144.GA61136@owl.midgard.homeip.net> References: <976ac5b80810141852n85e87das9f4e11544e0222a6@mail.gmail.com> <20081015051305.GA67579@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081015051305.GA67579@icarus.home.lan> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1Kq10z-00075B-3g. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1Kq10z-00075B-3g 163ee3aa3c35459793993cf7c504b463 Cc: "John R. Huston" , "Andrey V. Elsukov" , freebsd-stable@freebsd.org, sos@freebsd.org Subject: Re: SATA devices not added/probed from ICH7 sata300 controller, FreeBSD7.0, 7.1beta, 8.0 Daily X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 07:42:00 -0000 On Tue, Oct 14, 2008 at 10:13:05PM -0700, Jeremy Chadwick wrote: > On Tue, Oct 14, 2008 at 09:52:09PM -0400, John R. Huston wrote: > > Hi, I am not very familiar with using mailing lists so if I have made > > a mistake in the format or scope of the message please correct me. I > > am pretty desperate for an answer by now so any help at all is really > > very appreciated. > > > > I have a Shuttle SD30G2 computer (Specs: > > http://preview.tinyurl.com/3knjrp ) which utilizes the intel ICH7 > > southbridge for sata devices. I am currently running FreeBSD > > 7.0-STABLE. The issue is that although the sata controller is > > apparently detected correctly (It shows up by name in dmesg) the > > devices attached to it do not show up when running 'atacontrol list'. > > There are no errors produced on a normal boot, but booting in verbose > > mode produces a few repetetive messages that may be telling, although > > I am unable to decipher them. > > First and foremost: I can assure you the ICH7 works fine on FreeBSD, > because all of our production servers use it. Of course, they are not > Shuttle systems. > > You didn't provide any detail of what hardware you have hooked up to the > motherboard. Do you actually have any SATA devices hooked up to the > SATA ports? What devices? > > This is why I ask: I see a Western Digital hard disk which shows up as > ad0 on that system. It's claiming ATA100 mode, but there are features > of the ICH7 (often called "Compatibility Mode" in BIOSes) which allow a > SATA device to appear as a PATA device to work with older operating > systems such as MS-DOS. That is not his problem. If you look closer at his dmesg you will see that it detects both the PATA-controller part of ICH7 (as atapci0) and the SATA-controller part (as atapci1.) The detected disk is attached to atapci0 (as ata0-master.) Besides the reported disk model (WD800BB) is a PATA-model. (http://www.wdc.com/en/products/products.asp?driveid=10) So if there are any SATA-devices attached to the ICH7 then they are not detected at all by FreeBSD. -- Erik Trulsson ertr1013@student.uu.se