freebsd-skq/sys/dev
Søren Schmidt 6f87be981b Major update of the ATA RAID code, part 3:
Add code to properly detach/attach disks that are part of a RAID.

Mark a disk that is attached on an ATA channel belonging to a
RAID as a spare disk that can be used for rebuilding failed RAID1's.

Add support for rebuilding failed RAID1's.

Several fixes to the detach/attach code.

For replacing a disk in a failed RAID1 do the following:

Find the controller channel# of the failed disk.

Exec 'atacontrol detach <channel#>' to free the disk from the system.

Replace the failed disk with a new one of at least the same size.
If your have your disks in drawers/enclosures this can be done with
the system still running.

Exec 'atacontrol attach <channel#>' to add the disk to the system and
mark it as a valid spare for rebuild.

Exec 'atacontrol rebuild <array#>'

The system will rebuild the array on the fly, the array can still
be used during this, although with slower performance.

Please let me know of any problems with this!

Sponsored by: Advanis Inc.

MFC after: 2 weeks
2002-03-03 15:36:21 +00:00
..
aac Add ID's for a couple of upcoming cards. 2002-02-13 07:44:43 +00:00
acpica Add a new test_counter() function which tries to determine the width of 2002-02-25 09:51:17 +00:00
advansys Restore I/O port resources to the condition before adv_isa_probe() is 2001-05-06 09:28:18 +00:00
agp Correctly identify the Intel 82830 AGP bridge. 2002-02-05 23:13:25 +00:00
aha
ahb
aic Back out the hack from rev 1.13 that was done to initiate a bus rescan 2002-01-17 20:34:58 +00:00
aic7xxx Remove reliance on i++ in multiple arguments to a function. C does not 2001-12-16 17:38:30 +00:00
amd Move unused functions into #if 0 ... #endif. 2001-05-06 08:07:10 +00:00
amr Staticise the amr devclass. 2002-01-08 06:47:02 +00:00
an In ad-hoc mode, the "associate" bit is valid to check to see if it is 2002-02-26 05:43:05 +00:00
ar Move the isa parts to a separate file. 2001-04-16 13:20:39 +00:00
asr If we're going to ifdef out the only reference to asr_drvinit, then 2002-02-26 03:22:44 +00:00
ata Major update of the ATA RAID code, part 3: 2002-03-03 15:36:21 +00:00
atkbdc Add another PS2 PNP id. 2001-12-19 13:32:21 +00:00
awi Set ifp->if_name to "awi" instead of device_get_name(dev) to avoid 2002-02-26 20:09:19 +00:00
bge Remove mbuf exhaustion warning messages; these are handled by the 2002-02-11 23:29:15 +00:00
bktr Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
buslogic Use ANSI C string contatenation instead of a multi-line string literal. 2001-12-13 11:14:28 +00:00
cardbus Use the pci.c code wherever possible, rather than copying all the pci 2002-02-27 05:09:14 +00:00
ccd Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
ciss Fix warning; line 1640: ciss_abort_request defined but not used. 2001-12-18 08:01:48 +00:00
cm - generic Arcnet framework 2002-01-08 20:03:13 +00:00
cnw Get rid of the twisted MFREE() macro entirely. 2002-02-05 02:00:56 +00:00
cs Migrate to PCMCIA_CARD() macros 2001-11-15 07:52:49 +00:00
ct Added Logitec LHA-301 pnp id. 2001-10-09 15:30:19 +00:00
cy Initialize a variable bogusly to avoid a gcc bug that causes a spurious 2002-02-26 17:04:29 +00:00
dc Forgot one part of the VLAN support for the dc(4) driver. 2002-01-16 21:34:11 +00:00
de No FreeBSD/vax here either. 2001-11-03 08:32:28 +00:00
dec Introduce a boot environment variable (clock_compat_osf1) which can 2001-11-03 17:22:50 +00:00
dgb Repair some warnings. These are accessing idle portions of shared memory 2002-02-27 23:43:19 +00:00
digi Fix warnings. The driver would be more useful with a DRIVER_MODULE() 2002-02-27 23:47:45 +00:00
dpt Fix a couple of bogus enums. 2002-01-08 06:47:55 +00:00
ed Add EDIMAX ethernet card for NEWCARD from NetBSD 2002-01-29 07:08:56 +00:00
eisa
em - Added support for receive in multiple 2002-02-13 18:19:27 +00:00
en
ep Two fixes from Jonathan Hanna: 2002-02-12 05:32:58 +00:00
ex
exca Default debugging to OFF now. 2002-02-04 15:55:21 +00:00
fb Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
fdc Disksort will not "munge" requests, BIO_ORDERED or not, so remove 2002-02-22 09:14:06 +00:00
fe Supported C-NET(98)P2 PnP mode. 2002-02-04 14:01:27 +00:00
fxp Remove mbuf exhaustion warning messages; these are handled by the 2002-02-04 03:15:27 +00:00
gem Add a driver for the Sun GEM (Gigabit) and ERI (100 Mb/s) PCI ethernet 2002-02-27 17:41:06 +00:00
gfb We need to operate on struct thread now, not struct proc. 2001-11-08 01:49:06 +00:00
gx Don't pass an interface pointer to VLAN_INPUT{,_TAG}. Get it from the 2001-12-03 17:28:27 +00:00
hea Fix warnings 2002-02-27 23:53:02 +00:00
hfa Applied the patch to fix HARP ATM that was broken when KAME IPv6 came 2001-06-20 17:09:14 +00:00
hme Add a driver for the Sun HME PCI/SBus ethernet adaptor, which is onboard 2002-02-27 17:35:48 +00:00
ic Oops, forgot to commit one file in the fd driver mega update. Here it 2001-12-16 07:52:13 +00:00
ichsmb Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ida Fix a signed bug in the crashdump code for systems with > 2GB of ram. 2001-11-13 01:08:54 +00:00
ie Repo copy i82586.h to dev/ic/i82586.h. 2001-07-02 05:29:58 +00:00
iicbus Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
iir Add the following functions/macros to support byte order conversions and 2002-02-27 17:16:18 +00:00
isp Reorder some of the ioctls and add a few new ones. 2002-02-21 23:30:05 +00:00
ispfw Roll to latest production level firmware. 2002-01-23 06:42:54 +00:00
joy Revert change that breaks the joy module. joydevclass must not be static. 2002-01-08 18:27:49 +00:00
kbd Refine ACPI/PnP BIOS probe/attach routines a bit. 2001-09-15 04:38:20 +00:00
lge Do not call mii_polltick() immediately after mii_tick(). 2001-09-29 19:31:29 +00:00
lmc
lnc Get rid of the twisted MFREE() macro entirely. 2002-02-05 02:00:56 +00:00
mc146818
mca
mcd Don't call cdevsw_add(). 2001-11-04 08:58:22 +00:00
md Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
mii Remove problematic PHY_WRITE so that autoneg to 10 Mbps 2002-02-27 02:11:34 +00:00
mlx Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
mly Fix warnings (comment out unused tables that are taking space in the 2002-02-27 23:57:18 +00:00
mse KSE Milestone 2 2001-09-12 08:38:13 +00:00
musycc Fix warnings: 2001-06-15 00:19:43 +00:00
ncv Staticise a couple of debugging variables. 2002-01-08 19:37:12 +00:00
nge Remove errors in LINT (now that they are fatal) 2002-02-27 02:21:43 +00:00
nmdm Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
nsp o Add KLD support for scsi_low. 2001-12-15 12:32:23 +00:00
null
ofw Move the make_dev call from the cn_probe to a sysinit that runs at 2002-01-09 04:03:55 +00:00
pccard Add u_int16 prodext value in CISTPL_MANF_ID. This gets a fifth byte 2002-02-20 14:30:46 +00:00
pccbb Check the status of the card bridge first thing, rather than last in 2002-02-20 16:20:27 +00:00
pcf Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
pci Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
pcic Fix missing comma in previous commit. 2001-12-28 23:51:48 +00:00
pdq Fix warning (passing wrong arg to arp_ifinit()) 2002-02-27 23:28:57 +00:00
ppbus Make this driver a better citizen by moving dev creation and 2001-12-19 19:37:31 +00:00
ppc Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
puc Release allocated memory and bus_space_handle on an error. 2002-02-19 14:58:11 +00:00
random Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
ray Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
rc Change the preemption code for software interrupt thread schedules and 2002-01-05 08:47:13 +00:00
rp #include "opt_compat.h" so that the support for old ioctls can actually 2002-02-15 08:28:34 +00:00
sbni Rename a variable that might accidentally be duplicated elsewhere. 2002-01-08 19:36:54 +00:00
scd Don't call cdevsw_add() 2001-11-04 08:54:15 +00:00
sf Remove printf's on mbuf/cluster allocation failures. There are now 2001-12-14 05:56:35 +00:00
si KSE Milestone 2 2001-09-12 08:38:13 +00:00
sio Add two IrDA controller ID: IBM TP240(Probably NSC compatible), and SMC IrCC 2002-03-03 13:26:59 +00:00
sk Remove printf's on mbuf/cluster allocation failures. There are now 2001-12-14 05:56:35 +00:00
smbus SMBus support for the AMD 756 power management unit. See smbus(4), 2001-09-16 22:35:07 +00:00
sn Migrate to PCMCIA_CARD() macros 2001-11-15 07:52:49 +00:00
snc
snp Check the return value of tsleep() in snpread(). This may be 2001-11-24 15:59:46 +00:00
sound Add support for VT8233. 2002-03-01 20:30:13 +00:00
speaker Add missing destroy_dev(). 2002-01-23 01:11:52 +00:00
sr
stg Staticise a couple of debugging variables. 2002-01-08 19:37:12 +00:00
streams Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
sym Comment tokens after #undef <macroname> and #endif. 2001-12-13 11:12:30 +00:00
syscons Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
tdfx Replace ffind_* with fget calls. 2002-01-14 00:13:45 +00:00
tga Add the TGA video driver. This is a great accomplishtment and will help 2001-11-01 08:26:30 +00:00
ti Remove mbuf exhaustion warning messages; these are handled by the 2002-02-11 23:38:30 +00:00
twe Fix some unused warnings. One function is only used if 2002-02-27 23:59:35 +00:00
tx Remove mbuf exhaustion warning messages; these are handled by the 2002-02-11 23:38:30 +00:00
txp Don't pass an interface pointer to VLAN_INPUT{,_TAG}. Get it from the 2001-12-03 17:28:27 +00:00
usb Fix debug printf formats 2002-02-28 00:06:59 +00:00
vinum GC: BIO_ORDERED going away. 2002-02-22 09:18:46 +00:00
vr Remove printf's on mbuf/cluster allocation failures. There are now 2001-12-14 05:56:35 +00:00
vx Get rid of the twisted MFREE() macro entirely. 2002-02-05 02:00:56 +00:00
wds
wi Make 128-bit WEP (aka 104-bit WEP) work with Prism based cards. 2002-03-02 00:06:23 +00:00
wl Remove support for FreeBSD 2.x from this driver. 2002-02-27 23:34:02 +00:00
xe Remove an unused variable. 2002-02-26 03:37:35 +00:00