Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Solved-Kludge: Netra T1 + RaidFrame boot problems



eeh%NetBSD.org@localhost (Eduardo Horvath) writes:

>The boot block starts with a zero "raid-offset".  It looks for a valid 
>superblock at "sboff" which is what, 8KB into the image?  If it doesn't
>see a valid UFS superblock there, it sets "raid-offset" to the value
>of "rf_protected" and tries again at "rf_protected" * "dev_bsize" + 
>"sboff".

>You should be able to reverse the logic in "ufs-open" by first checking at 
>"rf_protected" * "dev_bsize" + "sboff" and only looking at "sboff" if that 
>fails.  

The sparc code checks the outer disklabel instead and if that points
to a FS_RAID partition, it adds the offset. That's a bit more stable
than the guesswork used now. :)

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index