Re: build softraid(4) in powerpc64 RAMDISK

2023-09-20 Thread George Koehler
On Tue, 19 Sep 2023 21:48:57 +
Klemens Nanni  wrote:

> distrib/powerpc64/ramdisk builds and fits;  I did not have a free disk
> (partition) to run-test, but completing the config should be fine.

I moved my /usr/xobj filesystem to a softraid CONCAT.  The old bsd.rd
failed to mount it, the new bsd.rd succeeded.

ok gkoehler@

> Index: sys/arch/powerpc64/conf/RAMDISK
> ===
> RCS file: /cvs/src/sys/arch/powerpc64/conf/RAMDISK,v
> retrieving revision 1.12
> diff -u -p -r1.12 RAMDISK
> --- sys/arch/powerpc64/conf/RAMDISK   26 Jun 2022 20:05:06 -  1.12
> +++ sys/arch/powerpc64/conf/RAMDISK   16 Sep 2023 16:32:42 -
> @@ -25,6 +25,7 @@ option  CRYPTO
>  config   bsd root on rd0a swap on rd0b
>  
>  mainbus0 at root
> +softraid0at root
>  cpu0 at mainbus?
>  opal0at fdt?
>  opalcons*at fdt?
> 



build softraid(4) in powerpc64 RAMDISK

2023-09-19 Thread Klemens Nanni
powerpc64 already has bio(4) and bioctl(8) like macppc, but lacks
softriad(4), which looks like an oversight.

Neither architecture has boot support, but they still ought to be able
to access softraid volumes during install/upgrade.

distrib/powerpc64/ramdisk builds and fits;  I did not have a free disk
(partition) to run-test, but completing the config should be fine.

Feedback? Objection? OK?

Index: sys/arch/powerpc64/conf/RAMDISK
===
RCS file: /cvs/src/sys/arch/powerpc64/conf/RAMDISK,v
retrieving revision 1.12
diff -u -p -r1.12 RAMDISK
--- sys/arch/powerpc64/conf/RAMDISK 26 Jun 2022 20:05:06 -  1.12
+++ sys/arch/powerpc64/conf/RAMDISK 16 Sep 2023 16:32:42 -
@@ -25,6 +25,7 @@ optionCRYPTO
 config bsd root on rd0a swap on rd0b
 
 mainbus0   at root
+softraid0  at root
 cpu0   at mainbus?
 opal0  at fdt?
 opalcons*  at fdt?