I've started looking at softraid on i386 and can consistently produce
this error when trying for RAID0:

 softraid0: roaming device wd1d -> wd1a
 softraid0: roaming device wd2d -> wd2a
 kernel: integer divide fault trap, code=0
 Stopped at     sr_ioctl_createraid+0x56a:      divl    0x5c(%ebx),%eax
 ddb>

below is how I am trying bioctl:

        bioctl -c 0 -l /dev/wd1a,/dev/wd2a softraid0

Strangely, RAID1 seems to be accepted without error.

This error occurs from both a snapshot from last week and the one from
August 24, following the examples in softraid(4) and bioctl(8)

 http://www.openbsd.org/cgi-bin/man.cgi?query=bioctl
 http://www.openbsd.org/cgi-bin/man.cgi?query=softraid

Changing the partitions (3 -> 2, partial disk -> whole disk) and
disklabels (a -> d) seems to make no difference.

Where do I look to get past this error?
-Lars

Reply via email to