cvs commit: src/sys/dev/ata ata-all.h ata-raid.c

Eric Anholt eric at anholt.net
Mon Apr 28 10:20:09 UTC 2008


On Mon, 2008-04-14 at 17:42 +0200, Søren Schmidt wrote:
> Hi
> 
> You have to set AHCI mode in the BIOS or the resources needed to use  
> 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øren
> On 14Apr, 2008, at 17:31 , Dag-Erling Smørgrav wrote:
> 
> > Søren Schmidt <sos at 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  
> > 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 at ds4 ~% grep \^ata /var/run/dmesg.boot
> > atapci0: <JMicron AHCI controller> mem 0xf9000000-0xf9001fff irq 17  
> > 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  
> > 0xa000 
> > -0xa007,0xa400-0xa403,0xa800-0xa807,0xac00-0xac03,0xb000-0xb00f irq  
> > 18 at device 0.1 on pci4
> > atapci1: [ITHREAD]
> > ata4: <ATA channel 0> on atapci1
> > ata4: [ITHREAD]
> > atapci2: <Intel ICH8 SATA300 controller> port  
> > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f,0xfc00-0xfc0f at  
> > 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  
> > 0xd800 
> > -0xd807,0xdc00-0xdc03,0xe000-0xe007,0xe400-0xe403,0xe800-0xe80f, 
> > 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 at 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
> > -- 
> > Dag-Erling Smørgrav - des at des.no
> >
> >
> 
-- 
Eric Anholt                             anholt at FreeBSD.org
eric at anholt.net                         eric.anholt at intel.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080428/7c669dde/attachment.pgp


More information about the cvs-src mailing list