Subject: Re: root on raidframe
To: None <port-sparc@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-sparc
Date: 09/21/2001 09:35:19
On Thu, Sep 20, 2001 at 02:58:42PM +0200, Manuel Bouyer wrote:
> OK, now I see what's happening. It looks like cpu_rootconf()'s bootdv (bp->dev)
> is the same thing as booted_device, if we take care of setting booted_device
> in the floppy case.
> Wouldn't the attached patch solve this ?

I tested this on my sparc IPC at home. The kernel still behaves properly when
no raidframe devoce has been configured to be root (i.e. it still uses the
drive from which the kernel was loaded), and uses raid0a if raid0
has been configured to be the root device.

Can I commit this ?

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--