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

2014-04-02 Thread Greg Oster
On Thu, 03 Apr 2014 08:10:01 +1100 matthew green 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 not go

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

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 RAIDFRA

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, u

Re: CVS commit: src/sys/arch/arm/arm32

2014-04-02 Thread Hisashi T Fujinaka
On Wed, 2 Apr 2014, Matt Thomas wrote: Module Name:src Committed By: matt Date: Wed Apr 2 14:05:54 UTC 2014 Modified Files: src/sys/arch/arm/arm32: pmap.c Log Message: Init the page_lock to IPL_VM iff VIPT && arm_cache_prefer_mask != 0 otherwise use IPL_NONE. Don't bo

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 behavio

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. sinc

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, 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