>Synopsis: spamd starttls fails to connect if still stuttering >Category: system >Environment: System : OpenBSD 7.7 Details : OpenBSD 7.7 (GENERIC) #619: Sun Apr 13 08:19:34 MDT 2025 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
Architecture: OpenBSD.amd64 Machine : amd64 >Description: If spamd has certificate configured and thus starttls support then incoming connections will likely issue starttls command to switch to encrypted communications. If spamd is still stuttering then the TLS negotiation fails with tlsv1 alert protocol version. The client is never able to establish a truple and thus never able to transition from spamd to real mail program, ex smtpd. I have been having this problem with mail.openbsd.org since 7.7 release. >How-To-Repeat: To test or demostrate issue openssl s_client can be used to connect to spamd service with starttls smtp option. openssl s_client -connect localhost:spamd -starttls smtp If you are not in mail.openbsd.org's whitelist then try openssl s_client -connect mail.openbsd.org:25 -starttls smtp See below "Step-by-step:" for detailed demostration. >Fix: Without changes at server end the client must disable use of starttls when connecting to that server thus sending all emails in plain text! Although smtpd supports starttls ok, you have to get past spamd first. The server spamd should not stutter during TLS negotiation or stop before the starttls command is issued, or spamd should not use certificate. Step-by-step: /root# vmctl create -s 2047M /tmp/example.qcow2 vmctl: qcow2 imagefile created /root# vmctl start -c -r /mnt/7.7/amd64/install77.iso -d /tmp/example.qcow2 -m 2g example vmctl: starting without network interfaces Connected to /dev/ttyp0 (speed 115200) Boot failed: not a bootable disk CD-ROM: E0 Loading /7.7/AMD64/CDBOOT probing: pc0 com0 mem[638K 2046M a20=on] disk: hd0+* cd0 >> OpenBSD/amd64 CDBOOT 3.65 boot> cannot open cd0a:/etc/random.seed: No such file or directory booting cd0a:/7.7/amd64/bsd.rd: 4232111+1745920+3887480+0+716800 [109+483816+334631]=0xae2100 entry point at 0xffffffff81001000 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2025 OpenBSD. All rights reserved. https://www.OpenBSD.org OpenBSD 7.7 (RAMDISK_CD) #613: Sun Apr 13 08:35:08 MDT 2025 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD real mem = 2130681856 (2031MB) avail mem = 2059968512 (1964MB) random: good seed from bootblocks mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf2760 (10 entries) bios0: vendor SeaBIOS version "1.16.3p0-OpenBSD-vmm" date 01/01/2011 bios0: OpenBSD VMM acpi at bios0 not configured cpu0 at mainbus0: (uniprocessor) cpu0: Intel(R) Xeon(R) CPU L5640 @ 2.27GHz, 2266.71 MHz, 06-2c-02 cpu0: cpuid 1 edx=78ba97f<FPU,VME,DE,PSE,TSC,MSR,PAE,CX8,SEP,PGE,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2> ecx=82982203<SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,HV> cpu0: cpuid 80000001 edx=24100800<NXE,PAGE1GB,LONG> ecx=1<LAHF> cpu0: cpuid 80000007 edx=100<ITSC> cpu0: MELTDOWN cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 4-way I-cache, 256KB 64b/line 8-way L2 cache, 12MB 64b/line 16-way L3 cache cpu0: using IvyBridge MDS workaround 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 Storage" rev 0x00 vioblk0 at virtio1 virtio1: irq 5 scsibus0 at vioblk0: 1 targets sd0 at scsibus0 targ 0 lun 0: <VirtIO, Block Device, > sd0: 2047MB, 512 bytes/sector, 4192256 sectors virtio2 at pci0 dev 3 function 0 "Qumranet Virtio SCSI" rev 0x00 vioscsi0 at virtio2: qsize 128 virtio2: irq 6 scsibus1 at vioscsi0: 1 targets cd0 at scsibus1 targ 0 lun 0: <OpenBSD, VMM CD-ROM, 001> removable 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 scsibus2 at softraid0: 256 targets root on rd0a swap on rd0b dump on rd0b WARNING: CHECK AND RESET THE DATE! erase ^?, werase ^W, kill ^U, intr ^C, status ^T Welcome to the OpenBSD/amd64 7.7 installation program. (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? i At any prompt except password prompts you can escape to a shell by typing '!'. Default answers are shown in []'s and are selected by pressing RETURN. You can exit this program at any time by pressing Control-C, but this can leave your system in an inconsistent state. Terminal type? [vt220] System hostname? (short form, e.g. 'foo') mail DNS domain name? (e.g. 'example.com') [my.domain] example.com DNS nameservers? (IP address list or 'none') [none] Password for root account? (will not echo) Password for root account? (again) Start sshd(8) by default? [yes] n Change the default console to com0? [yes] Available speeds are: 9600 19200 38400 57600 115200. Which speed should com0 use? (or 'done') [115200] Setup a user? (enter a lower-case loginname, or 'no') [no] Available disks are: sd0. Which disk is the root disk? ('?' for details) [sd0] Encrypt the root disk with a (p)assphrase or (k)eydisk? [no] No valid MBR or GPT. Use (W)hole disk MBR, whole disk (G)PT or (E)dit? [whole] Setting OpenBSD MBR partition to whole sd0...done. The auto-allocated layout for sd0 is: # size offset fstype [fsize bsize cpg] a: 1978.6M 64 4.2BSD 2048 16384 1 # / b: 68.3M 4052320 swap c: 2047.0M 0 unused Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] /dev/rsd0a: 1978.6MB in 4052256 sectors of 512 bytes 10 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each /dev/sd0a (529fb27efcab1404.a) on /mnt type ffs (rw, asynchronous, local) Let's install the sets! Location of sets? (cd0 disk http nfs or 'done') [cd0] Pathname to the sets? (or 'done') [7.7/amd64] Select sets by entering a set name, a file name pattern or 'all'. De-select sets by prepending a '-', e.g.: '-game*'. Selected sets are labelled '[X]'. [X] bsd [X] comp77.tgz [X] xbase77.tgz [X] xserv77.tgz [X] bsd.rd [X] man77.tgz [X] xshare77.tgz [X] base77.tgz [X] game77.tgz [X] xfont77.tgz Set name(s)? (or 'abort' or 'done') [done] -all [ ] bsd [ ] comp77.tgz [ ] xbase77.tgz [ ] xserv77.tgz [ ] bsd.rd [ ] man77.tgz [ ] xshare77.tgz [ ] base77.tgz [ ] game77.tgz [ ] xfont77.tgz Set name(s)? (or 'abort' or 'done') [done] bsd [X] bsd [ ] comp77.tgz [ ] xbase77.tgz [ ] xserv77.tgz [ ] bsd.rd [ ] man77.tgz [ ] xshare77.tgz [ ] base77.tgz [ ] game77.tgz [ ] xfont77.tgz Set name(s)? (or 'abort' or 'done') [done] base* [X] bsd [ ] comp77.tgz [ ] xbase77.tgz [ ] xserv77.tgz [ ] bsd.rd [ ] man77.tgz [ ] xshare77.tgz [X] base77.tgz [ ] game77.tgz [ ] xfont77.tgz Set name(s)? (or 'abort' or 'done') [done] Directory does not contain SHA256.sig. Continue without verification? [no] y Installing bsd 100% |**************************| 31152 KB 00:04 Installing base77.tgz 100% |**************************| 483 MB 01:38 Extracting etc.tgz 100% |**************************| 275 KB 00:00 Installing BUILDINFO 100% |**************************| 54 00:00 Location of sets? (cd0 disk http nfs or 'done') [done] What timezone are you in? ('?' for list) [Canada/Mountain] US/Eastern Saving configuration files... done. Making all device nodes... done. fw_update: failed. Cannot fetch http://firmware.openbsd.org/firmware/7.7/SHA256.sig error: firmware.openbsd.org: no address associated with name Relinking to create unique kernel... done. CONGRATULATIONS! Your OpenBSD install has been successfully completed! When you login to your new system the first time, please read your mail using the 'mail' command. Exit to (S)hell, (H)alt or (R)eboot? [reboot] syncing disks... done vmmci0: powerdown rebooting... Using drive 0, partition 3. Loading...... probing: pc0 com0 mem[638K 2046M a20=on] disk: hd0+ >> OpenBSD/amd64 BOOT 3.67 com0: 115200 baud switching console to com0 >> OpenBSD/amd64 BOOT 3.67 boot> booting hd0a:/bsd: 22112213+4674568+445936+0+1351680 [1967643+128+1499280+1192779]=0x1fb5e80 entry point at 0xffffffff81001000 [ using 4660864 bytes of bsd ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2025 OpenBSD. All rights reserved. https://www.OpenBSD.org OpenBSD 7.7 (GENERIC) #619: Sun Apr 13 08:19:34 MDT 2025 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 2130681856 (2031MB) avail mem = 2039914496 (1945MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf2760 (10 entries) bios0: vendor SeaBIOS version "1.16.3p0-OpenBSD-vmm" date 01/01/2011 bios0: OpenBSD VMM acpi at bios0 not configured cpu0 at mainbus0: (uniprocessor) cpu0: Intel(R) Xeon(R) CPU L5640 @ 2.27GHz, 2266.72 MHz, 06-2c-02 cpu0: cpuid 1 edx=78ba97f<FPU,VME,DE,PSE,TSC,MSR,PAE,CX8,SEP,PGE,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2> ecx=82982203<SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,HV> cpu0: cpuid 80000001 edx=24100800<NXE,PAGE1GB,LONG> ecx=1<LAHF> cpu0: cpuid 80000007 edx=100<ITSC> cpu0: MELTDOWN cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 4-way I-cache, 256KB 64b/line 8-way L2 cache, 12MB 64b/line 16-way L3 cache cpu0: smt 0, core 0, package 0 cpu0: using IvyBridge MDS workaround pvbus0 at mainbus0: OpenBSD pvclock0 at pvbus0 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 Storage" rev 0x00 vioblk0 at virtio1 virtio1: irq 5 scsibus1 at vioblk0: 1 targets sd0 at scsibus1 targ 0 lun 0: <VirtIO, Block Device, > sd0: 2047MB, 512 bytes/sector, 4192256 sectors virtio2 at pci0 dev 3 function 0 "Qumranet Virtio SCSI" rev 0x00 vioscsi0 at virtio2: qsize 128 virtio2: irq 6 scsibus2 at vioscsi0: 1 targets cd0 at scsibus2 targ 0 lun 0: <OpenBSD, VMM CD-ROM, 001> removable virtio3 at pci0 dev 4 function 0 "OpenBSD VMM Control" rev 0x00 vmmci0 at virtio3 virtio3: irq 7 isa0 at mainbus0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns8250, no fifo com0: console vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd0a (529fb27efcab1404.a) swap on sd0b dump on sd0b Automatic boot in progress: starting file system checks. /dev/sd0a (529fb27efcab1404.a): file system is clean; not checking pf enabled starting network reordering: ld.so libc libcrypto sshd sshd-session sshd-auth ssh-agent. openssl: generating isakmpd RSA keys... done. openssl: generating iked ECDSA keys... done. ssh-keygen: generating new host keys: RSA ECDSA ED25519 sshd: (ED25519) SHA256:KcipSfTyutKztjj3XTydHJ81/Y0XJateBE6C8+Qfxas starting early daemons: syslogd pflogd ntpd. starting RPC daemons:. savecore: no core dump checking quotas: done. clearing /tmp kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: smtpd sndiod. running rc.firsttime fw_update: failed. Cannot fetch http://firmware.openbsd.org/firmware/7.7/SHA256.sig error: firmware.openbsd.org: no address associated with name Checking for available binary patches... syspatch: cdn.openbsd.org: no address associated with name starting local daemons: cron. Sat May 10 16:27:01 EDT 2025 OpenBSD/amd64 (mail.example.com) (tty00) login: root Password: OpenBSD 7.7 (GENERIC) #619: Sun Apr 13 08:19:34 MDT 2025 Welcome to OpenBSD: The proactively secure Unix-like operating system. Please use the sendbug(1) utility to report bugs in the system. Before reporting a bug, please try to reproduce it with the latest version of the code. With bug reports, please try to ensure that enough information to reproduce the problem is enclosed, and if a known fix for it exists, include that as well. You have new mail. mail# openssl genrsa -out /etc/ssl/private/mail.example.com.key 4096 Generating RSA private key, 4096 bit long modulus .............................. ... e is 65537 (0x010001) mail# openssl req -x509 -new -key /etc/ssl/private/mail.example.com.key -out /etc/ssl/mail.example.com.crt -days 365 You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- Country Name (2 letter code) []: State or Province Name (full name) []: Locality Name (eg, city) []: Organization Name (eg, company) []: Organizational Unit Name (eg, section) []: Common Name (eg, fully qualified host name) []:mail.example.com Email Address []: mail# rcctl enable spamd mail# rcctl set spamd flags -b -C /etc/ssl/mail.example.com.crt -K /etc/ssl/private/mail.example.com.key mail# rcctl start spamd spamd(ok) mail# openssl s_client -connect localhost:spamd -starttls smtp CONNECTED(00000003) 4193015371192:error:1400442E:SSL routines:CONNECT_CR_SRVR_HELLO:tlsv1 alert protocol version:/usr/src/lib/libssl/tls13_lib.c:192: --- no peer certificate available --- No client certificate CA names sent --- SSL handshake has read 152 bytes and written 337 bytes --- New, (NONE), Cipher is (NONE) Secure Renegotiation IS NOT supported Compression: NONE Expansion: NONE No ALPN negotiated SSL-Session: Protocol : TLSv1.3 Cipher : 0000 Session-ID: Session-ID-ctx: Master-Key: Start Time: 1746909320 Timeout : 7200 (sec) Verify return code: 0 (ok) --- mail# rcctl set spamd flags -b -C /etc/ssl/mail.example.com.crt -K /etc/ssl/private/mail.example.com.key -s0 mail# rcctl restart spamd spamd(ok) spamd(ok) mail# openssl s_client -connect localhost:spamd -starttls smtp CONNECTED(00000003) depth=0 CN = mail.example.com verify error:num=18:self signed certificate verify return:1 --- Certificate chain 0 s:/CN=mail.example.com i:/CN=mail.example.com --- Server certificate -----BEGIN CERTIFICATE----- MIIEsjCCApoCCQDbyPA0m91ezDANBgkqhkiG9w0BAQsFADAbMRkwFwYDVQQDDBBt YWlsLmV4YW1wbGUuY29tMB4XDTI1MDUxMDIwMjkxMVoXDTI2MDUxMDIwMjkxMVow GzEZMBcGA1UEAwwQbWFpbC5leGFtcGxlLmNvbTCCAiIwDQYJKoZIhvcNAQEBBQAD ggIPADCCAgoCggIBAK6r2g7mhFTJyD6oIT9GJVRFA1qG2RF3kDr5Qs6sGL/iu8gS +yXGklIYmmXCoW1mXrQqwPZqTkWWvt+aDKmVn/84Hbk6hMJxDfDKdEDZkZmE4/FW G4CjrEpU6zl5MZ6sWvCNzfhwKfZ01WsZ6uPCPN5cl4fcRw+l+D6798Pj3Lp+VzRG +Vb0zWevZbgsOcKAO3iQK/5j5qhWyJdUSM+c12W1lj+dLhv5CESAK1TuUw8TaD+T W//wjbSzFpP4m13phOmnvVDum6wRVxt+xdV+FF7HESYIBLDn+Z3+5G0ORfcSEYQO LFUfLpQSTDE7nVqRWqR+LApncO1c76vfY9GjIAt7tzlpj/chEfZadK5YlUIk0lXn YZpMrTta9BkRNXa5IEdhpWEuPgdDFrcTOIfMD7Bv1A70a7hmc9XVMu28MGh7baeY J4h6IFsqtUu3Ofek8solaBg3n4b03PkSBG6kPX73NmH/0It0WfwOb/DLFt3GVA8n zGtvaLdFdEqM9kfvz6UyZakWR8ckAOWeCIz01neLT9QAN3Aajd0YpCPTBTZLwttW 86d8JzxABRLPj6Ws710pDdzvBpzDuU46/gKhcgXtecHjZXw9CnL2TuI36VF8HCgg ikZyyHsQ2zcXXBTNazdJh4fVrv5Gc0NPgC/+v3uDOsVtM7eA3zdIo6Nzh+zDAgMB AAEwDQYJKoZIhvcNAQELBQADggIBAAsXQ+TsRZMqPSdp53/ggSDfOrJLGF0Va7WZ 3G7UROs3w6WSjX2k8ez2D+r3Iymd8REc/8OTaasckJaopDbWV7cVIRbJue1nH5vU Vm80wkja2gxetmBHDg258u0mclhL62WTWhOPmlmlJk3bNQJnLDlIw0P1y4pvkTNs n+rcgYJxLgsgO3TGR86XUFTS3/NlfHuFxcaDdz9kEBHgD7+Mx8c6CkFG9NXM4AYD Wed6R9pZFu79HlEgJXF3ZxjzqDpWSuGsyRUEWrqizBPxSTOZLUdlSKMTBVKezgch BQivflSaAy+88WEnS1p/wQp0jfJbYSTl7EUJSGNqfK8tkWY1NZPpmcUi8EbbvxON 3nwHfUkb7Ce2+S/NdZMwaumYNcQtcvyFQyrHed9Jrgn+WmpDI5YmoV3fMRuAWk+Y YWNvDn4reW28UqJIgv9AwxKsBUdNxIAjBwReTPyMQ/0/WsoCzKQMldtEFVcbcnkK E7HsGsLstfugKnb0NlZ736AzEudlDCfGhaRncKhgwq6343ippxzWez/LE0Ddqg11 gVDtFUgLSKpFLbQv42jfXc1DiLjUiV0PyFyrOVhFC5Cpd0XMIzgQGWDf3Fh7Kp6X eqtLsju8mb0ihN2rQtvpI+QF58YnL6KlEnn8EqPmqSIbyhkQt5AoyLjakeMzEvlN xznUUJAB -----END CERTIFICATE----- subject=/CN=mail.example.com issuer=/CN=mail.example.com --- No client certificate CA names sent Server Temp Key: ECDH, X25519, 253 bits --- SSL handshake has read 2224 bytes and written 410 bytes --- New, TLSv1/SSLv3, Cipher is TLS_AES_256_GCM_SHA384 Server public key is 4096 bit Secure Renegotiation IS NOT supported Compression: NONE Expansion: NONE No ALPN negotiated SSL-Session: Protocol : TLSv1.3 Cipher : TLS_AES_256_GCM_SHA384 Session-ID: Session-ID-ctx: Master-Key: Start Time: 1746909357 Timeout : 7200 (sec) Verify return code: 18 (self signed certificate) --- 250 STARTTLS quit 221 mail.example.com closed mail# [EOT] /root# vmctl stop example stopping vm example: requested to shutdown vm 3 /root# rm /tmp/example.qcow2 dmesg: OpenBSD 7.7 (GENERIC) #619: Sun Apr 13 08:19:34 MDT 2025 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 2130681856 (2031MB) avail mem = 2039914496 (1945MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf2760 (10 entries) bios0: vendor SeaBIOS version "1.16.3p0-OpenBSD-vmm" date 01/01/2011 bios0: OpenBSD VMM acpi at bios0 not configured cpu0 at mainbus0: (uniprocessor) cpu0: Intel(R) Xeon(R) CPU L5640 @ 2.27GHz, 2266.72 MHz, 06-2c-02 cpu0: cpuid 1 edx=78ba97f<FPU,VME,DE,PSE,TSC,MSR,PAE,CX8,SEP,PGE,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2> ecx=82982203<SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,HV> cpu0: cpuid 80000001 edx=24100800<NXE,PAGE1GB,LONG> ecx=1<LAHF> cpu0: cpuid 80000007 edx=100<ITSC> cpu0: MELTDOWN cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 4-way I-cache, 256KB 64b/line 8-way L2 cache, 12MB 64b/line 16-way L3 cache cpu0: smt 0, core 0, package 0 cpu0: using IvyBridge MDS workaround pvbus0 at mainbus0: OpenBSD pvclock0 at pvbus0 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 Storage" rev 0x00 vioblk0 at virtio1 virtio1: irq 5 scsibus1 at vioblk0: 1 targets sd0 at scsibus1 targ 0 lun 0: <VirtIO, Block Device, > sd0: 2047MB, 512 bytes/sector, 4192256 sectors virtio2 at pci0 dev 3 function 0 "Qumranet Virtio SCSI" rev 0x00 vioscsi0 at virtio2: qsize 128 virtio2: irq 6 scsibus2 at vioscsi0: 1 targets cd0 at scsibus2 targ 0 lun 0: <OpenBSD, VMM CD-ROM, 001> removable virtio3 at pci0 dev 4 function 0 "OpenBSD VMM Control" rev 0x00 vmmci0 at virtio3 virtio3: irq 7 isa0 at mainbus0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns8250, no fifo com0: console vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd0a (529fb27efcab1404.a) swap on sd0b dump on sd0b usbdevs: usbdevs: no USB controllers found pcidump: Domain /dev/pci0: 0:0:0: OpenBSD VMM Host 0x0000: Vendor ID: 0b5d, Product ID: 0666 0x0004: Command: 0103, Status: 0000 0x0008:Class: 06 Bridge, Subclass: 00 Host, Interface: 00, Revision: 00 0x000c: BIST: 00, Header Type: 00, Latency Timer: 00, Cache Line Size: 00 0x0010: BAR empty (00000000) 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 0b5d Product ID: 0000 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00 0x0000: 06660b5d 00000103 06000000 00000000 0x0010: 00000000 00000000 00000000 00000000 0x0020: 00000000 00000000 00000000 00000b5d 0x0030: 00000000 00000000 00000000 00000000 0x0040: 00000000 00000000 00000000 00000000 0x0050: 00000000 00000000 00000000 00000000 0x0060: 00000000 00000000 00000000 00000000 0x0070: 00000000 00000000 00000000 00000000 0x0080: 00000000 00000000 00000000 00000000 0x0090: 00000000 00000000 00000000 00000000 0x00a0: 00000000 00000000 00000000 00000000 0x00b0: 00000000 00000000 00000000 00000000 0x00c0: 00000000 00000000 00000000 00000000 0x00d0: 00000000 00000000 00000000 00000000 0x00e0: 00000000 00000000 00000000 00000000 0x00f0: 00000000 00000000 00000000 00000000 0:1:0: Qumranet Virtio RNG 0x0000: Vendor ID: 1af4, Product ID: 1005 0x0004: Command: 0107, Status: 0000 0x0008:Class: 08 System, Subclass: 80 Miscellaneous, Interface: 00, Revision: 00 0x000c: BIST: 00, Header Type: 00, Latency Timer: 00, Cache Line Size: 00 0x0010: BAR io addr: 0x00001000/0x1000 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 0b5d Product ID: 0004 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 01 Line: 03 Min Gnt: 00 Max Lat: 00 0x0000: 10051af4 00000107 08800000 00000000 0x0010: 00001001 00000000 00000000 00000000 0x0020: 00000000 00000000 00000000 00040b5d 0x0030: 00000000 00000000 00000000 00000103 0x0040: 00000000 00000000 00000000 00000000 0x0050: 00000000 00000000 00000000 00000000 0x0060: 00000000 00000000 00000000 00000000 0x0070: 00000000 00000000 00000000 00000000 0x0080: 00000000 00000000 00000000 00000000 0x0090: 00000000 00000000 00000000 00000000 0x00a0: 00000000 00000000 00000000 00000000 0x00b0: 00000000 00000000 00000000 00000000 0x00c0: 00000000 00000000 00000000 00000000 0x00d0: 00000000 00000000 00000000 00000000 0x00e0: 00000000 00000000 00000000 00000000 0x00f0: 00000000 00000000 00000000 00000000 0:2:0: Qumranet Virtio Storage 0x0000: Vendor ID: 1af4, Product ID: 1001 0x0004: Command: 0107, Status: 0000 0x0008:Class: 01 Mass Storage, Subclass: 00 SCSI, Interface: 00, Revision: 00 0x000c: BIST: 00, Header Type: 00, Latency Timer: 00, Cache Line Size: 00 0x0010: BAR io addr: 0x00002000/0x1000 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 0b5d Product ID: 0002 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 01 Line: 05 Min Gnt: 00 Max Lat: 00 0x0000: 10011af4 00000107 01000000 00000000 0x0010: 00002001 00000000 00000000 00000000 0x0020: 00000000 00000000 00000000 00020b5d 0x0030: 00000000 00000000 00000000 00000105 0x0040: 00000000 00000000 00000000 00000000 0x0050: 00000000 00000000 00000000 00000000 0x0060: 00000000 00000000 00000000 00000000 0x0070: 00000000 00000000 00000000 00000000 0x0080: 00000000 00000000 00000000 00000000 0x0090: 00000000 00000000 00000000 00000000 0x00a0: 00000000 00000000 00000000 00000000 0x00b0: 00000000 00000000 00000000 00000000 0x00c0: 00000000 00000000 00000000 00000000 0x00d0: 00000000 00000000 00000000 00000000 0x00e0: 00000000 00000000 00000000 00000000 0x00f0: 00000000 00000000 00000000 00000000 0:3:0: Qumranet Virtio SCSI 0x0000: Vendor ID: 1af4, Product ID: 1004 0x0004: Command: 0107, Status: 0000 0x0008:Class: 01 Mass Storage, Subclass: 00 SCSI, Interface: 00, Revision: 00 0x000c: BIST: 00, Header Type: 00, Latency Timer: 00, Cache Line Size: 00 0x0010: BAR io addr: 0x00003000/0x1000 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 0b5d Product ID: 0008 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 01 Line: 06 Min Gnt: 00 Max Lat: 00 0x0000: 10041af4 00000107 01000000 00000000 0x0010: 00003001 00000000 00000000 00000000 0x0020: 00000000 00000000 00000000 00080b5d 0x0030: 00000000 00000000 00000000 00000106 0x0040: 00000000 00000000 00000000 00000000 0x0050: 00000000 00000000 00000000 00000000 0x0060: 00000000 00000000 00000000 00000000 0x0070: 00000000 00000000 00000000 00000000 0x0080: 00000000 00000000 00000000 00000000 0x0090: 00000000 00000000 00000000 00000000 0x00a0: 00000000 00000000 00000000 00000000 0x00b0: 00000000 00000000 00000000 00000000 0x00c0: 00000000 00000000 00000000 00000000cp: /var/db/acpi/*: No such file or directory b64encode: *: No such file or directory 0x00d0: 00000000 00000000 00000000 00000000 0x00e0: 00000000 00000000 00000000 00000000 0x00f0: 00000000 00000000 00000000 00000000 0:4:0: OpenBSD VMM Control 0x0000: Vendor ID: 0b5d, Product ID: 0777 0x0004: Command: 0107, Status: 0000 0x0008:Class: 07 Communications, Subclass: 80 Miscellaneous, Interface: 00, Revision: 00 0x000c: BIST: 00, Header Type: 00, Latency Timer: 00, Cache Line Size: 00 0x0010: BAR io addr: 0x00004000/0x1000 0x0014: BAR empty (00000000) 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 0b5d Product ID: ffff 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 01 Line: 07 Min Gnt: 00 Max Lat: 00 0x0000: 07770b5d 00000107 07800000 00000000 0x0010: 00004001 00000000 00000000 00000000 0x0020: 00000000 00000000 00000000 ffff0b5d 0x0030: 00000000 00000000 00000000 00000107 0x0040: 00000000 00000000 00000000 00000000 0x0050: 00000000 00000000 00000000 00000000 0x0060: 00000000 00000000 00000000 00000000 0x0070: 00000000 00000000 00000000 00000000 0x0080: 00000000 00000000 00000000 00000000 0x0090: 00000000 00000000 00000000 00000000 0x00a0: 00000000 00000000 00000000 00000000 0x00b0: 00000000 00000000 00000000 00000000 0x00c0: 00000000 00000000 00000000 00000000 0x00d0: 00000000 00000000 00000000 00000000 0x00e0: 00000000 00000000 00000000 00000000 0x00f0: 00000000 00000000 00000000 00000000 acpidump: mail# [EOT] /root# vmctl stop example stopping vm example: requested to shutdown vm 3 /root# rm /tmp/example.qcow2