CVS commit: src/sys/dev/raidframe

2023-10-15 Thread Greg Oster
Module Name:src Committed By: oster Date: Sun Oct 15 18:15:20 UTC 2023 Modified Files: src/sys/dev/raidframe: rf_dagdegwr.c rf_dagffwr.c rf_pq.c rf_pqdeg.c rf_pqdegdags.c rf_pqdegdags.h Log Message: Make RF_INCLUDE_RAID6 build (needs more changes to make it

CVS commit: src/sys/dev/raidframe

2023-10-15 Thread Greg Oster
Module Name:src Committed By: oster Date: Sun Oct 15 18:15:20 UTC 2023 Modified Files: src/sys/dev/raidframe: rf_dagdegwr.c rf_dagffwr.c rf_pq.c rf_pqdeg.c rf_pqdegdags.c rf_pqdegdags.h Log Message: Make RF_INCLUDE_RAID6 build (needs more changes to make it

CVS commit: src/sys/dev/raidframe

2023-10-09 Thread Greg Oster
Module Name:src Committed By: oster Date: Mon Oct 9 22:00:38 UTC 2023 Modified Files: src/sys/dev/raidframe: rf_driver.c Log Message: Make the name of the condition more reflective of the name of the condition variable. From Edgar Fuß. To generate a diff of this

CVS commit: src/sys/dev/raidframe

2023-10-09 Thread Greg Oster
Module Name:src Committed By: oster Date: Mon Oct 9 22:00:38 UTC 2023 Modified Files: src/sys/dev/raidframe: rf_driver.c Log Message: Make the name of the condition more reflective of the name of the condition variable. From Edgar Fuß. To generate a diff of this

CVS commit: src/sys/dev/raidframe

2023-10-09 Thread Greg Oster
Module Name:src Committed By: oster Date: Mon Oct 9 21:55:48 UTC 2023 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: spaces->tabs. Noted by Edgar Fuß To generate a diff of this commit: cvs rdiff -u -r1.416 -r1.417

CVS commit: src/sys/dev/raidframe

2023-10-09 Thread Greg Oster
Module Name:src Committed By: oster Date: Mon Oct 9 21:55:48 UTC 2023 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: spaces->tabs. Noted by Edgar Fuß To generate a diff of this commit: cvs rdiff -u -r1.416 -r1.417

CVS commit: src/sys/dev/raidframe

2023-09-25 Thread Greg Oster
Module Name:src Committed By: oster Date: Mon Sep 25 16:16:50 UTC 2023 Modified Files: src/sys/dev/raidframe: rf_disks.c Log Message: snprintf() should really include a format. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95

CVS commit: src/sys/dev/raidframe

2023-09-25 Thread Greg Oster
Module Name:src Committed By: oster Date: Mon Sep 25 16:16:50 UTC 2023 Modified Files: src/sys/dev/raidframe: rf_disks.c Log Message: snprintf() should really include a format. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95

CVS commit: src/sys/dev/raidframe

2023-09-16 Thread Greg Oster
Module Name:src Committed By: oster Date: Sat Sep 16 23:38:57 UTC 2023 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: A component that is in state rf_ds_reconstructing has failed, and should not be consulted for DIOCGCACHE. Fixes an observed panic

CVS commit: src/sys/dev/raidframe

2023-09-16 Thread Greg Oster
Module Name:src Committed By: oster Date: Sat Sep 16 23:38:57 UTC 2023 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: A component that is in state rf_ds_reconstructing has failed, and should not be consulted for DIOCGCACHE. Fixes an observed panic

CVS commit: src/sys/dev/raidframe

2023-09-08 Thread Greg Oster
Module Name:src Committed By: oster Date: Fri Sep 8 22:55:32 UTC 2023 Modified Files: src/sys/dev/raidframe: rf_reconstruct.c Log Message: Revision 1.104 actually fixed the issues that were preventing us from freeing the ReconControl structures. So free them and thus

CVS commit: src/sys/dev/raidframe

2023-09-08 Thread Greg Oster
Module Name:src Committed By: oster Date: Fri Sep 8 22:55:32 UTC 2023 Modified Files: src/sys/dev/raidframe: rf_reconstruct.c Log Message: Revision 1.104 actually fixed the issues that were preventing us from freeing the ReconControl structures. So free them and thus

CVS commit: src/sys/dev/raidframe

2023-03-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Mar 30 11:02:15 UTC 2023 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: raidframe: Nix unused parameter to raidwrite_component_area. All calls use the same value. Prune dead branches using it. To

CVS commit: src/sys/dev/raidframe

2023-03-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Mar 30 11:02:15 UTC 2023 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: raidframe: Nix unused parameter to raidwrite_component_area. All calls use the same value. Prune dead branches using it. To

CVS commit: src/sys/dev/raidframe

2022-08-27 Thread Greg Oster
Module Name:src Committed By: oster Date: Sun Aug 28 00:37:41 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Simplify the check for what ioctls can be done in raidioctl() without the device being initialized. To generate a diff of this

CVS commit: src/sys/dev/raidframe

2022-08-27 Thread Greg Oster
Module Name:src Committed By: oster Date: Sun Aug 28 00:37:41 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Simplify the check for what ioctls can be done in raidioctl() without the device being initialized. To generate a diff of this

CVS commit: src/sys/dev/raidframe

2022-08-27 Thread Greg Oster
Module Name:src Committed By: oster Date: Sun Aug 28 00:26:04 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: RAIDframe must be initialized for the RAIDFRAME_SET_LAST_UNIT and RAIDFRAME_SHUTDOWN ioctls. XXX Pullup-9 Reported-by:

CVS commit: src/sys/dev/raidframe

2022-08-27 Thread Greg Oster
Module Name:src Committed By: oster Date: Sun Aug 28 00:26:04 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: RAIDframe must be initialized for the RAIDFRAME_SET_LAST_UNIT and RAIDFRAME_SHUTDOWN ioctls. XXX Pullup-9 Reported-by:

CVS commit: src/sys/dev/raidframe

2022-08-09 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Aug 10 01:16:39 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_disks.c rf_driver.c rf_netbsdkintf.c Log Message: raidframe: reject invalid values for numCol and numSpares numCol and numSpares are "int" so they can be "-1"

CVS commit: src/sys/dev/raidframe

2022-08-09 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Aug 10 01:16:39 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_disks.c rf_driver.c rf_netbsdkintf.c Log Message: raidframe: reject invalid values for numCol and numSpares numCol and numSpares are "int" so they can be "-1"

CVS commit: src/sys/dev/raidframe

2022-06-27 Thread Greg Oster
Module Name:src Committed By: oster Date: Tue Jun 28 03:13:27 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_compat80.c Log Message: RAIDframe must be initialized for the RAIDFRAME_FAIL_DISK80 ioctl. Reported-by: syzbot+048387fcc9a1a3682...@syzkaller.appspotmail.com

CVS commit: src/sys/dev/raidframe

2022-06-27 Thread Greg Oster
Module Name:src Committed By: oster Date: Tue Jun 28 03:13:27 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_compat80.c Log Message: RAIDframe must be initialized for the RAIDFRAME_FAIL_DISK80 ioctl. Reported-by: syzbot+048387fcc9a1a3682...@syzkaller.appspotmail.com

Re: CVS commit: src/sys/dev/raidframe

2022-04-16 Thread J. Hannken-Illjes
> On 16. Apr 2022, at 18:40, Andrius Varanavicius wrote: > > Module Name: src > Committed By: andvar > Date: Sat Apr 16 16:40:54 UTC 2022 > > Modified Files: > src/sys/dev/raidframe: rf_netbsdkintf.c > > Log Message: > Fix mistake in error branch locking caused by previous

CVS commit: src/sys/dev/raidframe

2022-04-16 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sat Apr 16 16:40:54 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Fix mistake in error branch locking caused by previous changes. vput(vp) also unlocks vp, thus unlocking happens twice in error

CVS commit: src/sys/dev/raidframe

2022-04-16 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sat Apr 16 16:40:54 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Fix mistake in error branch locking caused by previous changes. vput(vp) also unlocks vp, thus unlocking happens twice in error

CVS commit: src/sys/dev/raidframe

2022-04-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Apr 16 07:57:33 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Unlock vnode for VOP_IOCTL(). To generate a diff of this commit: cvs rdiff -u -r1.405 -r1.406

CVS commit: src/sys/dev/raidframe

2022-04-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Apr 16 07:57:33 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Unlock vnode for VOP_IOCTL(). To generate a diff of this commit: cvs rdiff -u -r1.405 -r1.406

CVS commit: src/sys/dev/raidframe

2022-03-28 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon Mar 28 13:07:14 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Restore another historic RCS Id. To generate a diff of this commit: cvs rdiff -u -r1.404 -r1.405

CVS commit: src/sys/dev/raidframe

2022-03-28 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon Mar 28 13:07:14 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Restore another historic RCS Id. To generate a diff of this commit: cvs rdiff -u -r1.404 -r1.405

CVS commit: src/sys/dev/raidframe

2022-03-10 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Mar 11 01:59:33 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: convert non-config-handled "DEBUG_ROOT" to aprint_debug(). now it's possible to get boot-time info about raidframe root device

CVS commit: src/sys/dev/raidframe

2022-03-10 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Mar 11 01:59:33 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: convert non-config-handled "DEBUG_ROOT" to aprint_debug(). now it's possible to get boot-time info about raidframe root device

CVS commit: src/sys/dev/raidframe

2022-03-09 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Mar 9 10:04:06 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: merge two debug lines in auto-root selection. To generate a diff of this commit: cvs rdiff -u -r1.401 -r1.402

CVS commit: src/sys/dev/raidframe

2022-03-09 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Mar 9 10:04:06 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: merge two debug lines in auto-root selection. To generate a diff of this commit: cvs rdiff -u -r1.401 -r1.402

CVS commit: src/sys/dev/raidframe

2021-12-13 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Dec 14 00:46:43 UTC 2021 Modified Files: src/sys/dev/raidframe: rf_diskqueue.c Log Message: call buf_destroy() after buf_init(). hopefully fixes the lockdebug problem shown here:

CVS commit: src/sys/dev/raidframe

2021-12-13 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Dec 14 00:46:43 UTC 2021 Modified Files: src/sys/dev/raidframe: rf_diskqueue.c Log Message: call buf_destroy() after buf_init(). hopefully fixes the lockdebug problem shown here:

CVS commit: src/sys/dev/raidframe

2021-08-28 Thread Greg Oster
Module Name:src Committed By: oster Date: Sat Aug 28 16:00:52 UTC 2021 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: If there is a FS_RAID partition on a disk, then we shouldn't look at the raw partition. In particular, we now need to account for

CVS commit: src/sys/dev/raidframe

2021-08-28 Thread Greg Oster
Module Name:src Committed By: oster Date: Sat Aug 28 16:00:52 UTC 2021 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: If there is a FS_RAID partition on a disk, then we shouldn't look at the raw partition. In particular, we now need to account for

CVS commit: src/sys/dev/raidframe

2019-10-30 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Oct 30 16:00:13 UTC 2019 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Gcc -Os on landisk is not smart enough to follow the conditional initialization and warns, unconditionaly initialize dksc at

CVS commit: src/sys/dev/raidframe

2019-10-30 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Oct 30 16:00:13 UTC 2019 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Gcc -Os on landisk is not smart enough to follow the conditional initialization and warns, unconditionaly initialize dksc at

CVS commit: src/sys/dev/raidframe

2019-10-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 30 07:59:45 UTC 2019 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Get >sc_dksc only when we know 'rsc' is not NULL. This was actually harmless because we didn't use the pointer then. Reported-by:

CVS commit: src/sys/dev/raidframe

2019-10-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 30 07:59:45 UTC 2019 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Get >sc_dksc only when we know 'rsc' is not NULL. This was actually harmless because we didn't use the pointer then. Reported-by:

CVS commit: src/sys/dev/raidframe

2019-10-09 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Oct 10 03:44:00 UTC 2019 Modified Files: src/sys/dev/raidframe: raidframevar.h rf_callback.c rf_callback.h rf_copyback.c rf_dag.h rf_dagdegrd.c rf_dagdegrd.h rf_dagdegwr.c rf_dagdegwr.h rf_dagffrd.c

CVS commit: src/sys/dev/raidframe

2019-10-09 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Oct 10 03:44:00 UTC 2019 Modified Files: src/sys/dev/raidframe: raidframevar.h rf_callback.c rf_callback.h rf_copyback.c rf_dag.h rf_dagdegrd.c rf_dagdegrd.h rf_dagdegwr.c rf_dagdegwr.h rf_dagffrd.c

CVS commit: src/sys/dev/raidframe

2019-09-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Sep 26 01:36:11 UTC 2019 Modified Files: src/sys/dev/raidframe: raidframevar.h rf_compat50.c Log Message: make nspares unsigned; it is assigned from numSpares which is unsigned. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/raidframe

2019-09-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Sep 26 01:36:11 UTC 2019 Modified Files: src/sys/dev/raidframe: raidframevar.h rf_compat50.c Log Message: make nspares unsigned; it is assigned from numSpares which is unsigned. To generate a diff of this commit: cvs

Re: CVS commit: src/sys/dev/raidframe

2019-02-05 Thread Christos Zoulas
In article , Paul Goyette wrote: >> Module Name:src >> Committed By: mrg >> Date: Tue Feb 5 09:28:00 UTC 2019 >> >> Modified Files: >> src/sys/dev/raidframe: rf_netbsdkintf.c >> >> Log Message: >> fix the previous: >> >> rf_netbsd32 is only relevant on _LP64 as all the

CVS commit: src/sys/dev/raidframe

2019-02-05 Thread Paul Goyette
Module Name:src Committed By: mrg Date: Tue Feb 5 09:28:00 UTC 2019 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: fix the previous: rf_netbsd32 is only relevant on _LP64 as all the structures are the same for arm32 oabi/eabi compat. only do it

Re: CVS commit: src/sys/dev/raidframe

2017-01-13 Thread coypu
It's still a behaviour change.. On Thu, Jan 12, 2017 at 11:22:16PM -0500, Christos Zoulas wrote: > +static void > +rf_handle_hosed(RF_Raid_t *raidPtr, RF_Config_t *cfgPtr, int hosed_column) > +{ > + if (raidPtr->Disks[hosed_column].status == rf_ds_failed) > + return; equivalent

Re: CVS commit: src/sys/dev/raidframe

2017-01-13 Thread coypu
On Thu, Jan 12, 2017 at 11:22:16PM -0500, Christos Zoulas wrote: > +rf_handle_hosed(RF_Raid_t *raidPtr, RF_Config_t *cfgPtr, int hosed_column) > +{ : > + if (raidPtr->Disks[hosed_column].status == rf_ds_failed) > + return; equivalent to if (raidPtr->Disks[hosed_column].status !=

Re: CVS commit: src/sys/dev/raidframe

2016-12-10 Thread coypu
err, this does introduce a functional change... oops it's if panicstr != NULL, but that's not the argument.

Re: CVS commit: src/sys/dev/raidframe

2015-12-26 Thread Robert Elz
Date:Sat, 26 Dec 2015 12:59:01 + From:"Paul Goyette" Message-ID: <20151226125901.230e1f...@cvs.netbsd.org> | if it does, all we really lose is auto-configuration of raid-sets. Auto-config of raid is what makes many of my systems function,

Re: CVS commit: src/sys/dev/raidframe

2015-12-26 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Dec 26 00:58:45 UTC 2015 Modified Files: src/sys/dev/raidframe: rf_driver.c rf_driver.h rf_netbsdkintf.c Log Message: Modularize the raidframe driver, including rework of the unit attach code to permit detaching (and

Re: CVS commit: src/sys/dev/raidframe

2015-12-26 Thread Paul Goyette
On Sun, 27 Dec 2015, Robert Elz wrote: Date:Sat, 26 Dec 2015 12:59:01 + From:"Paul Goyette" Message-ID: <20151226125901.230e1f...@cvs.netbsd.org> | if it does, all we really lose is auto-configuration of raid-sets. Auto-config of raid is

Re: CVS commit: src/sys/dev/raidframe

2014-04-03 Thread Christos Zoulas
On Apr 2, 10:33am, g...@ir.bbn.com (Greg Troxel) wrote: -- Subject: Re: CVS commit: src/sys/dev/raidframe | It seems there are 3 behaviors for root | | 1) don't change the root device (old behavior with -A yes) That does autoconfig for raid and does not deal with root at all. | 2) if root

Re: CVS commit: src/sys/dev/raidframe

2014-04-03 Thread Greg Troxel
...@ir.bbn.com (Greg Troxel) wrote: -- Subject: Re: CVS commit: src/sys/dev/raidframe | It seems there are 3 behaviors for root | | 1) don't change the root device (old behavior with -A yes) That does autoconfig for raid and does not deal with root at all. Right, but it is a way that some

re: CVS commit: src/sys/dev/raidframe

2014-04-03 Thread Christos Zoulas
On Apr 3, 7:57am, m...@eterna.com.au (matthew green) wrote: -- Subject: re: CVS commit: src/sys/dev/raidframe | kernel configuration changes are not solutions, so 2 and 3 are out. | | if we do 4, we should instead add an option to mark something as a | 'soft root', and leave the current

re: CVS commit: src/sys/dev/raidframe

2014-04-03 Thread Christos Zoulas
On Apr 3, 8:10am, m...@eterna.com.au (matthew green) wrote: -- Subject: re: CVS commit: src/sys/dev/raidframe | | 4. we can add an option to mark the raid as force root. | | if we do 4, we should instead add an option to mark something as a | 'soft root', and leave the current semantics

Re: CVS commit: src/sys/dev/raidframe

2014-04-03 Thread Greg Troxel
chris...@zoulas.com (Christos Zoulas) writes: On Apr 3, 7:57am, m...@eterna.com.au (matthew green) wrote: -- Subject: re: CVS commit: src/sys/dev/raidframe | kernel configuration changes are not solutions, so 2 and 3 are out. | | if we do 4, we should instead add an option to mark

re: CVS commit: src/sys/dev/raidframe

2014-04-02 Thread Christos Zoulas
On Apr 2, 2:10pm, m...@eterna.com.au (matthew green) wrote: -- Subject: re: CVS commit: src/sys/dev/raidframe | | Module Name:src | Committed By: christos | Date: Wed Apr 2 02:17:01 UTC 2014 | | Modified Files: | src/sys/dev/raidframe: rf_netbsdkintf.c

Re: CVS commit: src/sys/dev/raidframe

2014-04-02 Thread Martin Husemann
On Wed, Apr 02, 2014 at 06:37:21AM -0400, Christos Zoulas wrote: Well, there are different options here: 1. is there a way to pass the root from ofwboot to netbsd? 2. since netbsd knows it boots normally from raid, you can put a root on raidx statement in your kernel. 3. you can

Re: CVS commit: src/sys/dev/raidframe

2014-04-02 Thread Christos Zoulas
On Apr 2, 12:51pm, mar...@duskware.de (Martin Husemann) wrote: -- Subject: Re: CVS commit: src/sys/dev/raidframe | On Wed, Apr 02, 2014 at 06:37:21AM -0400, Christos Zoulas wrote: | Well, there are different options here: | 1. is there a way to pass the root from ofwboot to netbsd? | 2. since

Re: CVS commit: src/sys/dev/raidframe

2014-04-02 Thread Greg Troxel
I seemed to have missed the discussion for this change. It seems there are 3 behaviors for root 1) don't change the root device (old behavior with -A yes) 2) if root is on a component, change root to the raid, otherwise don't change. 3) force the root device to be the raid (old

Re: CVS commit: src/sys/dev/raidframe

2014-04-02 Thread David Laight
On Wed, Apr 02, 2014 at 06:37:21AM -0400, Christos Zoulas wrote: On Apr 2, 2:10pm, m...@eterna.com.au (matthew green) wrote: | i like this.. i think. | | i wonder if this will break my system that boot from a different | device to the raid root device. I think it will. | eg, ultra10

re: CVS commit: src/sys/dev/raidframe

2014-04-02 Thread matthew green
| Log Message: | If we are autoconfiguring root, then only change the booted_device if | we booted from one of the components of the root raid set. This allows | us to boot from other media, without forcing the found raid to always | be root. Allow the old behavior with

re: CVS commit: src/sys/dev/raidframe

2014-04-02 Thread matthew green
4. we can add an option to mark the raid as force root. if we do 4, we should instead add an option to mark something as a 'soft root', and leave the current semantics alone. the machines i have that are now not going to reboot properly are both used remotely, so changing semantics about

Re: CVS commit: src/sys/dev/raidframe

2014-04-02 Thread Greg Oster
On Thu, 03 Apr 2014 08:10:01 +1100 matthew green m...@eterna.com.au wrote: 4. we can add an option to mark the raid as force root. if we do 4, we should instead add an option to mark something as a 'soft root', and leave the current semantics alone. the machines i have that are now

re: CVS commit: src/sys/dev/raidframe

2014-04-01 Thread matthew green
Module Name: src Committed By: christos Date: Wed Apr 2 02:17:01 UTC 2014 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: If we are autoconfiguring root, then only change the booted_device if we booted from one of the components of the root raid

CVS commit: src/sys/dev/raidframe

2010-03-03 Thread Greg Oster
Module Name:src Committed By: oster Date: Wed Mar 3 14:23:27 UTC 2010 Modified Files: src/sys/dev/raidframe: rf_paritymap.c Log Message: Don't attempt to read or write component label stuff from/to 'dead disks'. Update used spares with the correct parity map bits too.

CVS commit: src/sys/dev/raidframe

2010-03-03 Thread Greg Oster
Module Name:src Committed By: oster Date: Wed Mar 3 14:23:27 UTC 2010 Modified Files: src/sys/dev/raidframe: rf_paritymap.c Log Message: Don't attempt to read or write component label stuff from/to 'dead disks'. Update used spares with the correct parity map bits too.

CVS commit: src/sys/dev/raidframe

2010-03-01 Thread Greg Oster
Module Name:src Committed By: oster Date: Mon Mar 1 14:51:58 UTC 2010 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Don't merge a good parity map with random stuff in the event that the first component is missing. (Since the merging just OR's the

CVS commit: src/sys/dev/raidframe

2010-03-01 Thread Greg Oster
Module Name:src Committed By: oster Date: Mon Mar 1 14:51:58 UTC 2010 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Don't merge a good parity map with random stuff in the event that the first component is missing. (Since the merging just OR's the

CVS commit: src/sys/dev/raidframe

2010-03-01 Thread Jed Davis
Module Name:src Committed By: jld Date: Mon Mar 1 21:10:27 UTC 2010 Modified Files: src/sys/dev/raidframe: rf_disks.c Log Message: When setting up a non-autoconfigured RAID set, fail a component if the attempt to read its label fails. OKed by os...@. To generate a

CVS commit: src/sys/dev/raidframe

2010-03-01 Thread Jed Davis
Module Name:src Committed By: jld Date: Mon Mar 1 21:10:27 UTC 2010 Modified Files: src/sys/dev/raidframe: rf_disks.c Log Message: When setting up a non-autoconfigured RAID set, fail a component if the attempt to read its label fails. OKed by os...@. To generate a

re: CVS commit: src/sys/dev/raidframe

2009-11-05 Thread matthew green
Module Name: src Committed By:dyoung Date:Thu Nov 5 17:52:32 UTC 2009 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Use deviter(9) instead of accessing alldevs directly. Compile-tested, only. this worries me.