Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2008 16:07:29 -0700
From:      Eric Anholt <eric@anholt.net>
To:        =?ISO-8859-1?Q?S=F8ren?= Schmidt <sos@FreeBSD.org>
Cc:        Dag-Erling =?ISO-8859-1?Q?Sm=F8rgrav?= <des@des.no>, 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
Message-ID:  <1209078450.5900.50.camel@localhost.localdomain>
In-Reply-To: <DB8DDBE0-8302-4DC8-BB85-8261319E1C44@FreeBSD.org>
References:  <200804131605.m3DG5Z9P041647@repoman.freebsd.org> <86k5j01r1f.fsf@ds4.des.no> <A4446590-AF04-4BE2-B168-9CD304900BC9@FreeBSD.ORG> <86fxto1mhi.fsf@ds4.des.no> <DB8DDBE0-8302-4DC8-BB85-8261319E1C44@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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 <sos@FreeBSD.ORG> 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: <JMicron AHCI controller> 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: <ATA channel 0> on atapci0
> > ata2: [ITHREAD]
> > ata3: <ATA channel 1> on atapci0
> > ata3: [ITHREAD]
> > atapci1: <JMicron JMB363 UDMA133 controller> 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: <ATA channel 0> on atapci1
> > ata4: [ITHREAD]
> > atapci2: <Intel ICH8 SATA300 controller> port =20
> > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f,0xfc00-0xfc0f at =20
> > device 31.2 on pci0
> > ata0: <ATA channel 0> on atapci2
> > ata0: [ITHREAD]
> > ata1: <ATA channel 1> on atapci2
> > ata1: [ITHREAD]
> > atapci3: <Intel ICH8 SATA300 controller> 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: <ATA channel 0> on atapci3
> > ata5: [ITHREAD]
> > ata6: <ATA channel 1> on atapci3
> > ata6: [ITHREAD]
> > des@ds4 ~% sudo atacontrol list
> > ATA channel 0:
> >    Master:  ad0 <Maxtor 6B300S0/BANC1B10> Serial ATA v1.0
> >    Slave:   ad1 <WDC WD4000AAKS-00TMA0/12.01C01> Serial ATA II
> > ATA channel 1:
> >    Master:  ad2 <WDC WD5000AAKS-00YGA0/12.01C02> Serial ATA II
> >    Slave:   ad3 <WDC WD4000AAKS-00TMA0/12.01C01> 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 <PLEXTOR DVDR PX-716AL/1.00> ATA/ATAPI revision 6
> >    Slave:       no device present
> > ATA channel 5:
> >    Master: ad10 <WDC WD4000AAKS-00TMA0/12.01C01> Serial ATA II
> >    Slave:       no device present
> > ATA channel 6:
> >    Master: ad12 <WDC WD5000AAKS-00TMA0/12.01C01> 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--



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