On Wed, Dec 30, 2020 at 08:37:49PM +0000, Miod Vallat wrote:
> Up until 6.5, sparc64 bsd.rd were gzipped kernels. This got lost during
> the Great Installation Media Unification of the 6.6 release cycle, and
> since then bsd.rd are uncompressed.

> The following diff ought to fix this and bring back sparc64 netboot
> times down to acceptable times.

Since this change went in, bsd.rd doesn't boot unless I uncompress it first.

upgrade detected: switching to /bsd.upgrade
Trying /bsd.upgrade...
NOTE: random seed is being reused.
Booting /pci@400/pci@2/pci@0/pci@c/nvme@0/disk@1:a/bsd.upgrade
4246528@0x1000000+5120@0x140cc00+3248796@0x1c00000+945508@0x1f1929c 
OF_map_phys(ff840000,8192,fee50000,-1) failed
no space for symbol table
Program terminated

--Kurt

> Index: miniroot/Makefile
> ===================================================================
> RCS file: /OpenBSD/src/distrib/sparc64/miniroot/Makefile,v
> retrieving revision 1.23
> diff -u -p -r1.23 Makefile
> --- miniroot/Makefile 18 May 2020 06:20:44 -0000      1.23
> +++ miniroot/Makefile 30 Dec 2020 20:35:55 -0000
> @@ -100,7 +100,7 @@ unconfig:
>  
>  .ifdef RELEASEDIR
>  install:
> -     cp bsd.rd ${RELEASEDIR}/bsd.rd
> +     cp bsd.gz ${RELEASEDIR}/bsd.rd
>       chmod a+r ${RELEASEDIR}/bsd.rd
>       cp ${FS} ${RELEASEDIR}
>       cp ${CDROM} ${RELEASEDIR}
> 

Reply via email to