1.\" $NetBSD: arcmsr.4,v 1.7 2008/03/03 15:35:22 xtraeme Exp $ 2.\" $OpenBSD: arc.4,v 1.10 2007/11/04 08:18:17 dlg Exp $ 3.\" 4.\" Copyright (c) 2007, 2008 Juan Romero Pardines <xtraeme@netbsd.org> 5.\" Copyright (c) 2006 David Gwynne <dlg@openbsd.org> 6.\" 7.\" Permission to use, copy, modify, and distribute this software for any 8.\" purpose with or without fee is hereby granted, provided that the above 9.\" copyright notice and this permission notice appear in all copies. 10.\" 11.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 12.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 13.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 14.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 15.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 16.\" TORTIOUS ACTION, ARISING OUT OF 17.\" PERFORMANCE OF THIS SOFTWARE. 18.\" 19.Dd March 3, 2008 20.Dt ARCMSR 4 21.Os 22.Sh NAME 23.Nm arcmsr 24.Nd Areca Technology Corporation SATA/SAS RAID controller 25.Sh SYNOPSIS 26.Cd "arcmsr* at pci? dev ? function ?" 27.Sh DESCRIPTION 28The 29.Nm 30driver provides support for the PCI-X and PCI Express RAID controllers from 31Areca Technology Corporation: 32.Pp 33.Bl -dash -offset indent -compact 34.It 35ARC-1110 PCI-X 4 Port SATA RAID Controller 36.It 37ARC-1110ML PCI-X 4 Port SATA RAID Controller 38.It 39ARC-1120 PCI-X 8 Port SATA RAID Controller 40.It 41ARC-1120ML PCI-X 8 Port SATA RAID Controller 42.It 43ARC-1130 PCI-X 12 Port SATA RAID Controller 44.It 45ARC-1130ML PCI-X 12 Port SATA RAID Controller 46.It 47ARC-1160 PCI-X 16 Port SATA RAID Controller 48.It 49ARC-1160ML PCI-X 16 Port SATA RAID Controller 50.It 51ARC-1170 PCI-X 24 Port SATA RAID Controller 52.It 53ARC-1200 Rev A PCI Express 2 Port SATA RAID Controller 54.It 55ARC-1202 PCI Express 2 Port SATA RAID Controller 56.It 57ARC-1210 PCI Express 4 Port SATA RAID Controller 58.It 59ARC-1220 PCI Express 8 Port SATA RAID Controller 60.It 61ARC-1230 PCI Express 12 Port SATA RAID Controller 62.It 63ARC-1230ML PCI Express 12 Port SATA RAID Controller 64.It 65ARC-1231ML PCI Express 12 Port SATA RAID Controller 66.It 67ARC-1260 PCI Express 16 Port SATA RAID Controller 68.It 69ARC-1260ML PCI Express 16 Port SATA RAID Controller 70.It 71ARC-1261ML PCI Express 16 Port SATA RAID Controller 72.It 73ARC-1280 PCI Express 24 Port SATA RAID Controller 74.It 75ARC-1280ML PCI Express 24 Port SATA RAID Controller 76.It 77ARC-1680 PCI Express 8 Port SAS RAID Controller 78.It 79ARC-1680LP PCI Express 8 Port SAS RAID Controller 80.It 81ARC-1680i PCI Express 8 Port SAS RAID Controller 82.It 83ARC-1680x PCI Express 8 Port SAS RAID Controller 84.It 85ARC-1681 PCI-X 8 Port SAS RAID Controller 86.El 87.Pp 88These controllers support RAID levels 0, 1, 1E, 3, 5, 6, and JBOD 89using either SAS or SATA II drives. 90.Pp 91.Nm 92supports management and monitoring of the controller through the 93.Xr bioctl 8 94and 95.Xr envstat 8 96commands. 97.Pp 98Please note, however, that to use some features that require special 99privileges, such as creating/removing hot-spares, pass-through disks 100or RAID volumes will require to have the 101.Em password 102disabled in the firmware; otherwise a 103.Em Permission denied 104error will be reported by 105.Xr bioctl 8 . 106.Pp 107When a RAID 1 or 1+0 volume is created, either through the 108.Xr bioctl 8 109command or controller's firmware, the volume won't be accessible until 110the initialization is done. A way to get access to the 111.Xr sd 4 112device that corresponds to that volume without rebooting, is to issue 113the following command (once the initialization is finished): 114.Bd -literal 115$ scsictl scsibus0 scan any any 116.Ed 117.Pp 118The 119.Nm 120driver will also report to the kernel log buffer any error that might 121appear when handling firmware commands, such as used by the 122.Xr bioctl 8 123command. 124.Sh EVENTS 125The 126.Nm 127driver is able to send events to 128.Xr powerd 8 129if a volume or any drive connected to the volume is not online. 130The 131.Em state-changed 132event will be sent to the 133.Pa /etc/powerd/scripts/sensor_drive 134script when such condition happens. 135.Sh SEE ALSO 136.Xr intro 4 , 137.Xr pci 4 , 138.Xr scsi 4 , 139.Xr sd 4 , 140.Xr bioctl 8 , 141.Xr envstat 8 , 142.Xr powerd 8 , 143.Xr scsictl 8 144.Sh HISTORY 145The 146.Nm 147driver first appeared in 148.Nx 5.0 . 149.Sh AUTHORS 150.An -nosplit 151The 152.Nm 153driver was originally written for 154.Ox 155by David Gwynne. It was ported to 156.Nx 157and extended by Juan Romero Pardines. 158