Subject: Re: booting raid support (Re: RaQ1 / Stock NetBSD Recovery ISO)
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Robert P. Thille <list-netbsd-port-cobalt@rangat.org>
List: port-cobalt
Date: 08/08/2007 15:57:34
Izumi Tsutsui wrote:
>> Speaking of bootloaders, I have some local changes to the cobalt 
>> bootloader to make it support booting from a RAIDFrame Mirror
>>
>> I guess I should send-pr these, but if someone with commit access is 
>> reading...
>> http://www.rangat.org/rthille/Computer/NetBSD/Misc/sys-arch-cobalt-stand-boot-wd.c.diff
> 
> I think it's better to handle an offset of RF_PROTECTED_SECTORS
> for FS_RAID in wdstrategy() rather than wdgetdisklabel().

That's fine.  I don't remember where I stole that code from (i386 
maybe?), but as long as the bootloader will continue to boot my RAID 
mirror I'll be happy :-)


> How about this patch instead? (untested)

I haven't had a chance to test this yet (just got back from a vacation), 
but it looks fine.  I'll test it this weekend if I get a chance.

Thanks,

Robert



-- 
Robert Thille                7575 Meadowlark Dr.; Sebastopol, CA 95472
Home: 707.824.9753    Office/VOIP: 707.780.1560     Cell: 707.217.7544
rthille@mirapoint.com    YIM:rthille     http://www.rangat.org/rthille
Cyclist, Mountain Biker, Freediver, Kayaker, Rock Climber, Hiker, Geek
May your spirit dive deep the blue, where the fish are many and large!