On Sat, Aug 04, 2018 at 09:33:45AM +0300, Kihaguru Gathura wrote:
> Hi,
>
> I am getting message: bioctl: Can't open /dev/bio: Device not configured
>
> No clue whatsoever on how to go about this. Please assist.
>
> Instructions
> --------------------------------------------------------------
> almandine# fdisk -iy sd0
> Writing MBR at offset 0.
> almandine# fdisk -iy sd1
> Writing MBR at offset 0.
> almandine# disklabel -E sd0
> Label editor (enter '?' for help at any prompt)
> > a
> partition: [a]
> offset: [64]
> size: [15727571] *
> FS type: [4.2BSD] RAID
> > w
> > q
> No label changes.
> almandine# disklabel sd0 > layout
> almandine# disklabel -R sd1 layout
> almandine# rm layout
> almandine# bioctl -c 1 -l sd0a,sd1a softraid0
> bioctl: Can't open /dev/bio: Device not configured
> ------------------------------------------------------------------
softraid is not currently built as part of the ramdisk kernel on arm*
also the case for landisk, loongson, luna88k, octeon, sgi, socppc
Index: sys/arch/armv7/conf/RAMDISK
===================================================================
RCS file: /cvs/src/sys/arch/armv7/conf/RAMDISK,v
retrieving revision 1.103
diff -u -p -r1.103 RAMDISK
--- sys/arch/armv7/conf/RAMDISK 3 Aug 2018 13:37:08 -0000 1.103
+++ sys/arch/armv7/conf/RAMDISK 4 Aug 2018 07:30:38 -0000
@@ -30,6 +30,7 @@ config bsd root on rd0a swap on rd0b
# The main bus device
mainbus0 at root
+softraid0 at root
simplebus* at fdt?
cpu0 at mainbus?
Index: sys/arch/arm64/conf/RAMDISK
===================================================================
RCS file: /cvs/src/sys/arch/arm64/conf/RAMDISK,v
retrieving revision 1.66
diff -u -p -r1.66 RAMDISK
--- sys/arch/arm64/conf/RAMDISK 3 Aug 2018 13:37:08 -0000 1.66
+++ sys/arch/arm64/conf/RAMDISK 4 Aug 2018 07:30:38 -0000
@@ -46,6 +46,7 @@ config bsd root on rd0a swap on rd0b
# The main bus device
mainbus0 at root
+softraid0 at root
cpu0 at mainbus?
efi0 at mainbus?
acpi0 at mainbus?
No comments:
Post a Comment