Remove the broken burncd(8).
[dragonfly.git] / share / man / man4 / ata.4
CommitLineData
984263bc 1.\"
06adb507 2.\" Copyright (c) 2000,2004 Jeroen Ruigrok van der Werven
984263bc
MD
3.\" Copyright (c) 2000,2001,2002 Søren Schmidt
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\" notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\" notice, this list of conditions and the following disclaimer in the
13.\" documentation and/or other materials provided with the distribution.
14.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25.\" SUCH DAMAGE.
26.\"
27.\" $FreeBSD: src/share/man/man4/ata.4,v 1.3.2.18 2002/10/16 13:40:51 fjoe Exp $
166d7258 28.\" $DragonFly: src/share/man/man4/ata.4,v 1.9 2008/07/08 14:12:45 thomas Exp $
984263bc 29.\"
d8166707 30.Dd June 15, 2007
984263bc
MD
31.Dt ATA 4
32.Os
33.Sh NAME
33643d65 34.Nm ata
d8166707 35.Nd deprecated (S)ATA/ATAPI disk controller driver
984263bc
MD
36.Sh SYNOPSIS
37For ISA based ATA/ATAPI support:
38.Cd device isa
39.Cd device ata0 at isa? port IO_WD1 irq 14
40.Cd device ata1 at isa? port IO_WD2 irq 15
41.Pp
06adb507 42For PCI based (S)ATA/ATAPI support:
984263bc
MD
43.Cd device pci
44.Cd device ata
45.Pp
06adb507 46To support (S)ATA compliant disk drives:
984263bc
MD
47.Cd device atadisk
48.Pp
49To support ATAPI CD-ROM, CDR, CDRW, DVD-ROM and DVD-RAM drives:
50.Cd device atapicd
51.Pp
52To support ATAPI floppy drives,
53such as the ZIP and LS120:
54.Cd device atapifd
55.Pp
56To support ATAPI tape drives:
57.Cd device atapist
58.Pp
3f5e28f4 59The following tunables are settable from the loader:
984263bc
MD
60.Bl -ohang
61.It Va hw.ata.ata_dma
62set to 1 for DMA access, 0 for PIO (default is DMA).
63.It Va hw.ata.atapi_dma
64set to 1 for DMA access, 0 for PIO (default is PIO).
65.It Va hw.ata.wc
66set to 1 to enable Write Caching, 0 to disable (default is enabled).
67(WARNING: might cause data loss on power failures.)
68.It Va hw.ata.tags
69set to 1 to enable Tagged Queuing support, 0 to disable (default is disabled).
70(Only IBM DPTA, DTLA, ICxxxxxxAT, ICxxxxxxAV drives support that.)
71.El
72.Sh DESCRIPTION
d8166707
SW
73The
74.Nm
75driver is the deprecated
76.Fx 4.8
77ATA driver.
78.Dx Ap s
79default ATA driver is
80.Xr nata 4
81which was ported from newer
82.Fx
83code.
84.Pp
984263bc
MD
85This driver provides access to disk drives, ATAPI CD-ROM and DVD drives,
86ZIP drives and tape streamers connected to controllers
87according to the ATA and ATAPI standards.
88These devices are also commonly known as IDE or EIDE devices.
89.Pp
06adb507 90The currently supported ATA controllers with their maximum speed include:
984263bc
MD
91.Pp
92.Bl -tag -width "Promise Ultra/Fasttrak-100 TX2/TX2000" -compact
93.It Acerlabs Aladdin
94Ultra DMA 100 (UDMA5), 100 MB/sec (depending on model, max stated at boot)
95.It AMD 756
96Ultra DMA 66 (UDMA4), 66 MB/sec
97.It AMD 766
98Ultra DMA 100 (UDMA5), 100 MB/sec
06adb507
JR
99.It AMD 768
100Ultra DMA 100 (UDMA5), 100 MB/sec
101.It AMD 8111
102Ultra DMA 133 (UDMA6), 133 MB/sec
103.It Cenatek Rocket Drive
104Ultra DMA 133 (UDMA6), 133 MB/sec
984263bc
MD
105.It CMD 646
106DMA 2 (WDMA2), 16 MB/sec
107.It CMD 648
108Ultra DMA 66 (UDMA4), 66 MB/sec
109.It CMD 649
110Ultra DMA 100 (UDMA5), 100 MB/sec
111.It Cypress 82C693
112DMA 2 (WDMA2), 16 MB/sec
113.It Cyrix 5530
114Ultra DMA 33 (UDMA2), 33 MB/sec
115.It HighPoint HPT366
116Ultra DMA 66 (UDMA4), 66 MB/sec
117.It HighPoint HPT370
118Ultra DMA 100 (UDMA5), 100 MB/sec
06adb507 119.It HighPoint HPT372/HPT374
984263bc 120Ultra DMA 133 (UDMA6), 133 MB/sec
06adb507 121.It Intel PIIX/PIIX3
984263bc
MD
122DMA 2 (WDMA2), 16 MB/sec
123.It Intel PIIX4
124Ultra DMA 33 (UDMA2), 33 MB/sec
125.It Intel ICH0
126Ultra DMA 33 (UDMA2), 33 MB/sec
127.It Intel ICH
128Ultra DMA 66 (UDMA4), 66 MB/sec
06adb507 129.It Intel ICH2/ICH3/ICH4/ICH5
984263bc 130Ultra DMA 100 (UDMA5), 100 MB/sec
06adb507 131.It Intel ICH6R/RW
984263bc 132Ultra DMA 100 (UDMA5), 100 MB/sec
06adb507 133.It NVIDIA nForce ATA100
984263bc 134Ultra DMA 100 (UDMA5), 100 MB/sec
06adb507
JR
135.It NVIDIA nForce2/nForce3 ATA133
136Ultra DMA 133 (UDMA6), 133 MB/sec
984263bc
MD
137.It Promise Ultra/Fasttrak-33
138Ultra DMA 33 (UDMA2), 33 MB/sec
139.It Promise Ultra/Fasttrak-66
140Ultra DMA 66 (UDMA4), 66 MB/sec
06adb507 141.It Promise Ultra/Fasttrak-100 (TX2/TX4)
984263bc
MD
142Ultra DMA 100 (UDMA5), 100 MB/sec
143.It Promise Ultra/Fasttrak-133 TX2/TX2000
144Ultra DMA 133 (UDMA6), 133 MB/sec
145.It ServerWorks ROSB4
146Ultra DMA 33 (UDMA2), 33 MB/sec
147.It ServerWorks CSB5
148Ultra DMA 100 (UDMA5), 100 MB/sec (depending on model, max stated at boot)
06adb507 149.It SiI 0680
984263bc
MD
150Ultra DMA 133 (UDMA6), 133 MB/sec (depending on model, max stated at boot)
151.It SiS 5591
06adb507 152Ultra DMA 133 (UDMA5), 133 MB/sec (depending on model, max stated at boot)
984263bc
MD
153.It VIA 82C586
154Ultra DMA 33 (UDMA2), 33 MB/sec
155.It VIA 82C596
156Ultra DMA 66 (UDMA4), 66 MB/sec (depending on model, max stated at boot)
157.It VIA 82C686a
158Ultra DMA 66 (UDMA4), 66 MB/sec
159.It VIA 82C686b
160Ultra DMA 100 (UDMA5), 100 MB/sec
06adb507 161.It VIA 8233/8235/8237
984263bc
MD
162Ultra DMA 133 (UDMA6), 133 MB/sec (depending on model, max stated at boot)
163.El
164.Pp
06adb507
JR
165The currently supported SATA controllers with their maximum speed include:
166.Pp
167.Bl -tag -width "SiI 3112/3114/3124/3512" -compact
168.It Intel ICH5
169Serial ATA 150, 150 MB/sec
170.It Intel ICH6(R)/(R)W
171Serial ATA 150, 150 MB/sec
172.It SiI 3112/3114/3124/3512
173Serial ATA 150, 150 MB/sec
174.It VIA 8237
175Serial ATA 150, 150 MB/sec
176.El
177.Pp
984263bc
MD
178All unknown chipsets are supported at the maximum speed of 16 MB/sec.
179.Pp
180The
181.Nm
182driver also allows for changes to the transfer mode of the devices
183at a later time when the system is up and running, see
184.Xr atacontrol 8 .
185.Pp
186The driver attempts to set the maximum performance transfer mode on your disk
1bf4b486 187drives by selecting the highest possible DMA mode. However the
984263bc 188.Nm
1bf4b486 189driver sometimes issue the message
984263bc
MD
190"DMA limited to UDMA33, non-ATA66 cable or device",
191if the cable is ATA66 (or above) compliant, it is because the other device
3542f322 192on this channel states it can only accept up to UDMA2/ATA33 signals.
984263bc
MD
193ATAPI devices are left in PIO mode because DMA problems are common despite the
194device specifications.
195You can always try to set DMA mode on an ATAPI device using
196.Xr atacontrol 8 ,
197but be aware that your hardware might
198.Em not
199support it and can
200.Em hang
201the system.
202.Sh FILES
166d7258 203.Bl -tag -width "/dev/acd* " -compact
984263bc
MD
204.It Pa /dev/ad*
205ATA disk device nodes
206.It Pa /dev/acd*
207ATAPI CD-ROM device nodes
208.It Pa /dev/afd*
209ATAPI floppy drive device nodes
210.It Pa /dev/ast*
211ATAPI tape drive device nodes
984263bc
MD
212.El
213.Sh NOTES
214Static numbering
215(enabled with the
216.Dv ATA_STATIC_ID
217kernel option)
218reserves a number for each possibly connected disk,
219even when not present.
220This may result in odd situations where,
221for example,
222ad0 and ad2 exist in the absence of ad1.
223The advantage is that the addition of the formerly absent drive
224does not cause the numbers of the other drives to change.
225.Pp
226The
227.Nm
228driver does not support MFM/RLL/ESDI (ST-506) style disks.
229.Pp
230Remember that in order to use UDMA4 (and above) mode you
231.Em have
232to use a special 80 conductor cable,
233and the driver tries to determine if you have such a cable
234attached before setting UDMA4 mode.
235.Pp
236The use of UDMA4(66MHz) and higher together with non-UDMA4 devices on
237the same ATA channel is not recommended,
238unless they are run at the non-UDMA4 device's lower speed.
239The driver has been designed to handle that kind of setup but lots of
240older devices do not like this.
241.Sh SEE ALSO
fd6f482a 242.Xr cdrecord 1 Pq Pa pkgsrc/sysutils/cdrtools ,
d8166707 243.Xr nata 4 ,
fd6f482a 244.Xr atacontrol 8
984263bc
MD
245.Sh HISTORY
246The
247.Nm
248driver first appeared in
249.Fx 4.0 .
250.Sh AUTHORS
251.An -nosplit
252The
253.Nm
254driver was written by
255.An S\(/oren Schmidt
256.Aq sos@FreeBSD.org .
257.Pp
258This manual page was written by
259.An Jeroen Ruigrok van der Werven
260.Aq asmodai@FreeBSD.org
261and
262.An S\(/oren Schmidt
263.Aq sos@FreeBSD.org .