From owner-cvs-src@FreeBSD.ORG Mon Apr 28 10:20:09 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E0471065676; Mon, 28 Apr 2008 10:20:09 +0000 (UTC) (envelope-from eric@anholt.net) Received: from vonnegut.anholt.net (69-30-77-85.dq1sn.easystreet.com [69.30.77.85]) by mx1.freebsd.org (Postfix) with ESMTP id EE64B8FC2A; Mon, 28 Apr 2008 10:20:08 +0000 (UTC) (envelope-from eric@anholt.net) Received: from vonnegut.anholt.net (localhost [127.0.0.1]) by vonnegut.anholt.net (8.14.2/8.14.2) with ESMTP id m3ON7Vso096099; Thu, 24 Apr 2008 16:07:31 -0700 (PDT) (envelope-from eric@anholt.net) Received: (from anholt@localhost) by vonnegut.anholt.net (8.14.2/8.14.2/Submit) id m3ON7VjI096098; Thu, 24 Apr 2008 16:07:31 -0700 (PDT) (envelope-from eric@anholt.net) X-Authentication-Warning: vonnegut.anholt.net: anholt set sender to eric@anholt.net using -f From: Eric Anholt To: =?ISO-8859-1?Q?S=F8ren?= Schmidt In-Reply-To: References: <200804131605.m3DG5Z9P041647@repoman.freebsd.org> <86k5j01r1f.fsf@ds4.des.no> <86fxto1mhi.fsf@ds4.des.no> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ZA3WqzTKrJuJaUnfatRX" Date: Thu, 24 Apr 2008 16:07:29 -0700 Message-Id: <1209078450.5900.50.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.0 FreeBSD GNOME Team Port Cc: Dag-Erling =?ISO-8859-1?Q?Sm=F8rgrav?= , src-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/ata ata-all.h ata-raid.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 10:20:09 -0000 --=-ZA3WqzTKrJuJaUnfatRX Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Mon, 2008-04-14 at 17:42 +0200, S=C3=B8ren Schmidt wrote: > Hi >=20 > You have to set AHCI mode in the BIOS or the resources needed to use =20 > it wont be available, so yes its software but not ours :) Not sure if you've seen it, but Matthew Garrett has been working on the Linux side on prodding the hardware to flip to AHCI mode at boot. Might want to take a look at how that works. > -S=C3=B8ren > On 14Apr, 2008, at 17:31 , Dag-Erling Sm=C3=B8rgrav wrote: >=20 > > S=C3=B8ren Schmidt writes: > >> They arent, unless your HW runs in legacy emulation mode, then some > >> chipsets emulates master/slave pairs. > > > > Hmm, isn't that a matter of software more than hardware, i.e. the =20 > > driver > > switches to "native" mode when FreeBSD boots? > > > > Or perhaps I should double-check that the BIOS is set to "AHCI mode"? > > > > The hardware is ICH8, except for the DVDR drive which is on a POS > > JMicron controller: > > > > des@ds4 ~% grep \^ata /var/run/dmesg.boot > > atapci0: mem 0xf9000000-0xf9001fff irq 17 =20 > > at device 0.0 on pci4 > > atapci0: [ITHREAD] > > atapci0: AHCI Version 01.00 controller with 2 ports detected > > ata2: on atapci0 > > ata2: [ITHREAD] > > ata3: on atapci0 > > ata3: [ITHREAD] > > atapci1: port =20 > > 0xa000=20 > > -0xa007,0xa400-0xa403,0xa800-0xa807,0xac00-0xac03,0xb000-0xb00f irq =20 > > 18 at device 0.1 on pci4 > > atapci1: [ITHREAD] > > ata4: on atapci1 > > ata4: [ITHREAD] > > atapci2: port =20 > > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f,0xfc00-0xfc0f at =20 > > device 31.2 on pci0 > > ata0: on atapci2 > > ata0: [ITHREAD] > > ata1: on atapci2 > > ata1: [ITHREAD] > > atapci3: port =20 > > 0xd800=20 > > -0xd807,0xdc00-0xdc03,0xe000-0xe007,0xe400-0xe403,0xe800-0xe80f,=20 > > 0xec00-0xec0f irq 19 at device 31.5 on pci0 > > atapci3: [ITHREAD] > > ata5: on atapci3 > > ata5: [ITHREAD] > > ata6: on atapci3 > > ata6: [ITHREAD] > > des@ds4 ~% sudo atacontrol list > > ATA channel 0: > > Master: ad0 Serial ATA v1.0 > > Slave: ad1 Serial ATA II > > ATA channel 1: > > Master: ad2 Serial ATA II > > Slave: ad3 Serial ATA II > > ATA channel 2: > > Master: no device present > > Slave: no device present > > ATA channel 3: > > Master: no device present > > Slave: no device present > > ATA channel 4: > > Master: acd0 ATA/ATAPI revision 6 > > Slave: no device present > > ATA channel 5: > > Master: ad10 Serial ATA II > > Slave: no device present > > ATA channel 6: > > Master: ad12 Serial ATA II > > Slave: no device present > > > > DES > > --=20 > > Dag-Erling Sm=C3=B8rgrav - des@des.no > > > > >=20 --=20 Eric Anholt anholt@FreeBSD.org eric@anholt.net eric.anholt@intel.com --=-ZA3WqzTKrJuJaUnfatRX Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEABECAAYFAkgRErEACgkQHUdvYGzw6vdcYgCfRsxufLiGS6M+0SkfXxAzqQFW 03UAoJUKTXzAagkQUowI5904QuxQKknX =zDEE -----END PGP SIGNATURE----- --=-ZA3WqzTKrJuJaUnfatRX--