I've been running openbsd 4.6 for a couple years now with root on
softraid, booting off a CF card with a kernel compiled to hardcode
root/swap on sd0.

I read about official support for root on softraid:

http://www.undeadly.org/cgi?action=article&sid=20111002154251

and got the impression it would just work, particularly the part about
"eliminates the need for a custom kernel".

However, I just did a test install on a vm with two ide hard drives (wd0
and wd1) configured into a softraid mirror (sd0), and when booting the kernel
from wd0a it tries to find the root on wd0a as well, and panics.

I was able to get it to boot by either providing the -a option to boot
and specifying sd0a as the root, or by compiling a custom kernel with
sd0a hardcoded as I did in 4.6.

Am I missing something? Based on the web post, I expected the kernel
loaded from wd0a to figure out root was on sd0a and boot successfully.

Looking at the underlying commit:

http://article.gmane.org/gmane.os.openbsd.cvs/108176

It's talking about comparing the rootduid to the softraid volume. I'm
not clear where this is coming from, the fstab in sd0a uses duid's, but
I don't see how the booting kernel would know about that yet.

Anyway, just to clarify my understanding, is it expected in 5.0 to be
able to boot softraid root without a custom kernel or using -a? If so,
what am I doing wrong?

Thanks...


-- 
Paul B. Henson  |  (909) 979-6361  |  http://www.csupomona.edu/~henson/
Operating Systems and Network Analyst  |  hen...@csupomona.edu
California State Polytechnic University  |  Pomona CA 91768

Reply via email to