summaryrefslogtreecommitdiffstats
path: root/sbin/atacontrol
Commit message (Collapse)AuthorAgeFilesLines
* Add new modes.sos2006-03-151-0/+4
|
* Remove accidental debug leftovers.sos2006-01-301-1/+0
|
* Update copyright header to match rest of ATA.sos2006-01-231-3/+1
|
* Properly print the SATA protocal version.sos2006-01-181-4/+9
|
* o Correct usage(): delete command takes as argument array not channel.maxim2005-12-141-1/+1
| | | | | | PR: bin/90353 Submitted by: Gavin Atkinson MFC after: 1 week
* -mdoc sweep.ru2005-11-181-4/+4
|
* Clarify how the 'channel' argument should look like and add anbrueffer2005-08-161-2/+7
| | | | | | | | | example on how to obtain information on devices on an ata channel. PR: 84676 Submitted by: Kevin Oberman <oberman@es.net> Jeremie Le Hen <jeremie@le-hen.org> MFC after: 3 days
* Fix status to report status from the given array.sos2005-08-051-3/+8
|
* Open devices RDONLY for ioctls. That makes it work on open devices to whichsos2005-06-061-2/+2
| | | | GEOM doesn't allow WR access.
* Print the rigth argv string on error (too much c&p)..sos2005-05-201-4/+4
|
* Fixed markup from the previous revision.ru2005-05-161-8/+7
|
* Reflect the new usage.sos2005-05-161-39/+17
|
* Change the way ioctls are issue to ATA.sos2005-05-161-183/+217
| | | | | | The most prominent part is that its now possible to issue ata_requests directly to say acd0, instead of going through the cumbersome /dev/ata device.
* This is the much rumoured ATA mkIII update that I've been working on.sos2005-03-301-14/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o ATA is now fully newbus'd and split into modules. This means that on a modern system you just load "atapci and ata" to get the base support, and then one or more of the device subdrivers "atadisk atapicd atapifd atapist ataraid". All can be loaded/unloaded anytime, but for obvious reasons you dont want to unload atadisk when you have mounted filesystems. o The device identify part of the probe has been rewritten to fix the problems with odd devices the old had, and to try to remove so of the long delays some HW could provoke. Also probing is done without the need for interrupts, making earlier probing possible. o SATA devices can be hot inserted/removed and devices will be created/ removed in /dev accordingly. NOTE: only supported on controllers that has this feature: Promise and Silicon Image for now. On other controllers the usual atacontrol detach/attach dance is still needed. o Support for "atomic" composite ATA requests used for RAID. o ATA RAID support has been rewritten and and now supports these metadata formats: "Adaptec HostRAID" "Highpoint V2 RocketRAID" "Highpoint V3 RocketRAID" "Intel MatrixRAID" "Integrated Technology Express" "LSILogic V2 MegaRAID" "LSILogic V3 MegaRAID" "Promise FastTrak" "Silicon Image Medley" "FreeBSD PseudoRAID" o Update the ioctl API to match new RAID levels etc. o Update atacontrol to know about the new RAID levels etc NOTE: you need to recompile atacontrol with the new sys/ata.h, make world will take care of that. NOTE2: that rebuild is done differently from the old system as the rebuild is now done piggybacked on read requests to the array, so atacontrol simply starts a background "dd" to rebuild the array. o The reinit code has been worked over to be much more robust. o The timeout code has been overhauled for races. o Support of new chipsets. o Lots of fixes for bugs found while doing the modulerization and reviewing the old code. Missing or changed features from current ATA: o atapi-cd no longer has support for ATAPI changers. Todays its much cheaper and alot faster to copy those CD images to disk and serve them from there. Besides they dont seem to be made anymore, maybe for that exact reason. o ATA RAID can only read metadata from all the above metadata formats, not write all of them (Promise and Highpoint V2 so far). This means that arrays can be picked up from the BIOS, but they cannot be created from FreeBSD. There is more to it than just the missing write metadata support, those formats are not unique to a given controller like Promise and Highpoint formats, instead they exist for several types, and even worse, some controllers can have different formats and its impossible to tell which one. The outcome is that we cannot reliably create the metadata of those formats and be sure the controller BIOS will understand it. However write support is needed to update/fail/rebuild the arrays properly so it sits fairly high on the TODO list. o So far atapicam is not supported with these changes. When/if this will change is up to the maintainer of atapi-cam so go there for questions. HW donated by: Webveveriet AS HW donated by: Frode Nordahl HW donated by: Yahoo! HW donated by: Sentex Patience by: Vife and my boys (and even the cats)
* Distinguish between TCQ and NCQ type of tagged queing.sos2004-09-151-9/+11
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+1
|
* Whitespace cleanup.des2004-05-201-22/+22
|
* Add printing of relevant SATA info where approbiate.sos2004-03-151-9/+31
|
* Cosmeticssos2004-01-211-1/+1
|
* Make sure argv[x] exists before using it.johan2003-11-051-9/+15
| | | | | | | | PR: 56696 Reported by: Igor Truszkowski <igort@intergate.pl> Submitted by: maxim@ Approved by: sos@ MFC after: 2 weeks
* Make this WARNS=6 clean by:johan2003-11-052-4/+14
| | | | | | | | | | | - declaring 'mode2str' as returning a 'const char *' - prototyping all function - rename the argument 'version' to 'ver', not to shadow the now prototyped function 'version'. Also mark it as WARNS?= 6 clean to try to keep it clean. Tested by: make universe (including amd64)
* Adjust to the new sys/ata.h layoutsos2003-08-241-29/+35
|
* DOnt allow getting caps from other than master and slave device :)sos2003-05-051-0/+3
|
* Added more descriptive error outputs.sos2003-05-041-13/+39
| | | | PR: 46096
* On getting status print the stripesize on RAID0's.sos2003-05-041-2/+4
|
* Add "addspare" functionality.sos2003-05-022-3/+20
|
* Make this WARNS=2 clean by using %j and (uintmax_t).johan2003-04-222-2/+2
| | | | | Reviewed by: tjr@ on audit@ Approved by: silence from sos@
* - Add a new ioctl to get the maximum number of ATA channels.mux2003-03-221-4/+7
| | | | | | | | | | - Use it in atacontrol(8) when listing ATA devices instead of stopping at the first ENXIO received. This makes atacontrol list work on my sparc64 where the two ATA channels I have are numbered 2 and 3. Reviewed by: sos
* mdoc(7) police: markup nits.ru2002-12-231-19/+31
|
* Add a list of currently supported modes && an EXAMPLES section.trhodes2002-12-141-0/+34
| | | | | PR: 40465 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net>
* Don't depend on <sys/types.h> pollution in <fcntl.h>. Sort includes.mike2002-09-161-4/+6
|
* Use the proper fields for security.sos2002-09-121-2/+2
| | | | PR: 41870
* mdoc(7) police: kill hard sentence break.ru2002-08-131-1/+2
|
* Also print the serial # on atacontrol cap ....sos2002-07-311-0/+1
|
* The .Nm utilitycharnier2002-07-061-1/+4
|
* Minor spelling and grammar fixes in the atacontrol(8) manual page.trhodes2002-07-021-11/+11
| | | | PR: 39393
* mdoc(7) police: tidy up the markup.ru2002-05-291-12/+35
|
* Sync with the new endianness in ata.hsos2002-04-051-7/+19
|
* Be able to print ATA133 mode.sos2002-04-051-1/+1
|
* Add get-status to the ATA RAID subsystem.sos2002-04-022-11/+61
|
* Add support for getting status (fan, temp, 5V and 12V levels) fromsos2002-03-302-0/+19
| | | | | | Promise Superswap enclosures. Sponsored by: Advanis
* Add support for creating/deleting ATA RAID'ssos2002-03-272-82/+161
| | | | Sponsored by: Advanis
* mdoc(7) police: tiny fixes.ru2002-03-151-2/+2
|
* Check the <channel> arg a bit more.sos2002-03-102-5/+12
| | | | Submitted by: David Malone <dwmalone@maths.tcd.ie>
* Update headerssos2002-03-042-2/+2
|
* Add the RAID rebuild command.sos2002-03-032-3/+14
|
* Match the requirements of the new kernel structures.sos2002-02-041-0/+103
|
* Default to WARNS=2.obrien2001-12-041-0/+2
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Update to reflect the change in ata.hsos2001-10-071-1/+1
| | | | Forgotten by: sos
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
OpenPOWER on IntegriCloud