This failed for unknown reason; the second time through I got
that message.  I'm looking for any suggestions on how to proceed.

Timeline:

Checked for syspatch (none needed) and rebooted the VM.

I ran sysupgrade on a VM patched for all 6.8 patches. It was
normal:

...snip...
xshare69.tgz 100% |***************************************|  4502 KB    00:03
Verifying sets.
Fetching updated firmware.
Upgrading.
Connection to s closed by remote host.
Connection to s closed.

When time came to ssh back in, "connection refused".

Start the console and see:
 
n# vmctl console 1
Connected to /dev/ttyp2 (speed 115200)


s# ?
sh: ?: not found
s# exit
erase ^?, werase ^W, kill ^U, intr ^C, status ^T

Welcome to the OpenBSD/amd64 6.9 installation program.
Starting non-interactive mode in 5 seconds...
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? U

As if installation had not proceeded. So I reran upgrade,
which ran normally, until


Installing xserv69.tgz  100% |**************************| 18351 KB    00:10
Location of sets? (disk http nfs or 'done') [done] done
Location of sets? (disk http nfs or 'done') [done] done
Making all device nodes... done.
Relinking to create unique kernel...ksh(57788) in malloc(): write after free 
0x2b1
33f000
init: single user shell terminated, restarting
erase ^?, werase ^W, kill ^U, intr ^C, status ^T

Welcome to the OpenBSD/amd64 6.9 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s

See guest dmesg below.  Host is running 6.8 but missing patches from 018_xi
and after.


s# dmesg
OpenBSD 6.9 (RAMDISK_CD) #456: Mon Apr 19 10:47:37 MDT 2021
    dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 520085504 (495MB)
avail mem = 500359168 (477MB)
random: good seed from bootblocks
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf3f40 (10 entries)

bios0: vendor SeaBIOS version "1.11.0p3-OpenBSD-vmm" date 01/01/2011
bios0: OpenBSD VMM
acpi at bios0 not configured
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD E-350 Processor, 1597.31 MHz, 14-01-00
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,CX8,SEP,PGE,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,SSSE3,CX16,POPCNT,HV,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,EAPICSP,AMCR8
,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC
cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 
16-
way L2 cache
cpu0: 8 4MB entries fully associative
cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
pvbus0 at mainbus0: OpenBSD
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "OpenBSD VMM Host" rev 0x00
virtio0 at pci0 dev 1 function 0 "Qumranet Virtio RNG" rev 0x00
viornd0 at virtio0
virtio0: irq 3
virtio1 at pci0 dev 2 function 0 "Qumranet Virtio Network" rev 0x00
vio0 at virtio1: address fe:e1:bb:d1:30:65
virtio1: irq 5
virtio2 at pci0 dev 3 function 0 "Qumranet Virtio Storage" rev 0x00
vioblk0 at virtio2
scsibus0 at vioblk0: 1 targets
sd0 at scsibus0 targ 0 lun 0: <VirtIO, Block Device, >
sd0: 12288MB, 512 bytes/sector, 25165824 sectors
virtio2: irq 6
virtio3 at pci0 dev 4 function 0 "OpenBSD VMM Control" rev 0x00
vmmci0 at virtio3
virtio3: irq 7
isa0 at mainbus0
com0 at isa0 port 0x3f8/8 irq 4: ns8250, no fifo
com0: console
softraid0 at root
scsibus1 at softraid0: 256 targets
root on rd0a swap on rd0b dump on rd0b
WARNING: CHECK AND RESET THE DATE!

(the date was current)

Disk config before sysupgrade:

s# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/sd0a      145M   82.0M   55.9M    59%    /
/dev/sd0g      8.2G    1.8G    6.1G    22%    /home
/dev/sd0d      118M    8.0K    112M     0%    /tmp
/dev/sd0f      2.7G    1.9G    747M    72%    /usr
/dev/sd0e      184M   69.0M    106M    39%    /var

Reply via email to