On my amd64 build machine, "a while ago" which is at least a month
probably two, I stopped being able to make a release, I don't recall
changing anything and I've re-read release(8), upgraded to a few new
snapshots with sysupgrade, wiped out /usr/src and checked out a new one,
cleared /usr/dest and $RELEASEDIR, and still this issue persists.  

I will work on a clean reinstall this weekend if nobody has ideas, but
since I don't know how I broke it, I may do it again.


https://dmesgd.nycbug.org/index.cgi?do=view&id=5447
OpenBSD 6.6-current (GENERIC.MP) #96: Thu Apr  2 14:19:42 MDT 2020
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP


It seems something is going wrong with fdisk initializing the image, but
I don't understand how it's supposed to be making an msdos partition to
newfs.


amd64: ~  $ ls -l /dev/rvnd2i  
crw-r-----  1 root  operator   41,  40 Apr  2 18:00 /dev/rvnd2i

http://cvsweb.openbsd.org/src/distrib/amd64/ramdisk_cd/Makefile?rev=1.20&content-type=text/x-cvsweb-markup

...
dd if=/dev/zero of=miniroot66.fs bs=512 count=9600
9600+0 records in
9600+0 records out
4915200 bytes transferred in 0.045 secs (107360967 bytes/sec)
vnconfig -v miniroot66.fs > vnd
vnd2: 4915200 bytes on miniroot66.fs
fdisk -yi -l 9600 -b 960 -f /usr/dest/base/usr/mdec/mbr `cat vnd`
Writing MBR at offset 0.
disklabel -wAT /usr/src/distrib/amd64/ramdisk_cd/template `cat vnd`
newfs -t msdos /dev/r`cat vnd`i
newfs_msdos: /dev/rvnd2i: Device not configured
*** Error 1 in /usr/src/distrib/amd64/ramdisk_cd (Makefile:23 'miniroot66.fs')
*** Error 2 in /usr/src/distrib/amd64 (<bsd.subdir.mk>:48 'all': @for entry in 
ramdisk_cd ramdiskA; do  set -e; if test -d /usr/src/distrib/...)
*** Error 2 in /usr/src/distrib (<bsd.subdir.mk>:48 'all': @for entry in 
special notes amd64; do  set -e; if test -d /usr/src/distrib/${entr...)
*** Error 2 in . (Makefile:298 'distrib')
*** Error 2 in . (Makefile:274 'do-release')
*** Error 2 in /usr/src/etc (Makefile:257 'release')
System Release Failed

Reply via email to