[vmm] SSL read error: read failed: error:06FFF064:digital envelope routines:CRYPTO_internal:bad decrypt

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[vmm] SSL read error: read failed: error:06FFF064:digital envelope routines:CRYPTO_internal:bad decrypt

Paul Chakravarti
Hello,

I am trying out vmm on 6.1 and can setup/boot vm etc. however when I try to
download a large file using SSL I consistenetly get the following error:

> SSL read error: read failed: error:06FFF064:digital envelope
routines:CRYPTO_internal:bad decrypt

This occasionally (but not always) correlates with the following message in
the vmd log:

> vionet queue notify - no space, dropping packet

Strangely non-SSL and smaller SSL downloads seem to work ok (see below).

Originally spotted this using installer but can recreate from shell.

Any ideas?

# cat /etc/vm.conf                                                           
                                                       
vm vm0 {
  disable
  memory 512M
  disk /home/vm/vm0.img
  kernel /bsd.rd
  interface { switch uplink }
}

switch uplink {
  interface bridge0
  add vether0
}

# vmctl start vm0 
vmctl: started vm 11 successfully, tty /dev/ttyp6
# vmctl status
   ID   PID VCPUS  MAXMEM  CURMEM     TTY        OWNER NAME
   11 85026     1    512M   97.3M   ttyp6         root vm0
# cu -l /dev/ttyp6
Connected to /dev/ttyp6 (speed 9600)

(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s
# dhclient vio0                                                             
 
DHCPDISCOVER on vio0 - interval 1
DHCPOFFER from 10.0.0.1 (fe:e1:ba:d3:55:34)
DHCPREQUEST on vio0 to 255.255.255.255
DHCPACK from 10.0.0.1 (fe:e1:ba:d3:55:34)
bound to 10.0.0.105 -- renewal in 21600 seconds.
#
# ftp -Vo- http://www.mirrorservice.org/pub/OpenBSD/6.1/amd64/bsd | sha256
440311305f27f0efcfcc88116299a21cb3f890fb91ee611c2a79cc9163e8fceb
# ftp -Vo- http://www.mirrorservice.org/pub/OpenBSD/6.1/amd64/SHA256 | fgrep
'(bsd)'
SHA256 (bsd) =
440311305f27f0efcfcc88116299a21cb3f890fb91ee611c2a79cc9163e8fceb
# ftp -Vo- http://www.mirrorservice.org/pub/OpenBSD/6.1/amd64/base61.tgz |
sha256 
5c467ea369b5632d3b057283857d1998fb3dcd26179365291f16c70785a65282
# ftp -Vo- http://www.mirrorservice.org/pub/OpenBSD/6.1/amd64/SHA256 | fgrep
'(base61.tgz)'
SHA256 (base61.tgz) =
5c467ea369b5632d3b057283857d1998fb3dcd26179365291f16c70785a65282
#
# ftp -Vo- https://www.mirrorservice.org/pub/OpenBSD/6.1/amd64/bsd | sha256
ftp: SSL read error: read failed: error:06FFF064:digital envelope
routines:CRYPTO_internal:bad decrypt
27ad92f2aaf0279dd125ed54d0b7fbf330a3ecbe2e919b4d2d0ed1d07dccc087
# ftp -Vo- https://www.mirrorservice.org/pub/OpenBSD/6.1/amd64/base61.tgz |
sha256
ftp: SSL read error: read failed: error:06FFF064:digital envelope
routines:CRYPTO_internal:bad decrypt
d79f6fd884a839d1fc62dc1b5d40de21f97fd5a50b28319a7b25dd8cd82da887

[On host]

# top -d1 all
load averages:  1.14,  1.16,  1.16    x230 10:06:31
68 processes: 67 idle, 1 on processor  up 2 days, 11:19
CPU0 states:  0.2% user,  0.0% nice,  0.5% system,  0.2% interrupt, 99.1%
idle
CPU1 states:  4.6% user,  0.0% nice,  8.3% system,  0.0% interrupt, 87.2%
idle
CPU2 states:  1.2% user,  0.0% nice,  2.2% system,  0.0% interrupt, 96.6%
idle
CPU3 states:  0.8% user,  0.0% nice,  1.1% system,  0.0% interrupt, 98.1%
idle
Memory: Real: 470M/1376M act/tot Free: 6261M Cache: 652M Swap: 0K/3562M

  PID USERNAME PRI NICE  SIZE   RES STATE     WAIT      TIME    CPU COMMAND
85026 _vmd      28    0  514M   14M idle      thrslee   1:19 13.53% vmd
55104 paulc      2    0  399M  301M sleep/3   poll      4:09  7.86% firefox
 1136 paulc      2    0 1180K 9156K sleep/3   poll      0:23  0.05% i3bar
91148 paulc      2    0   14M   50M sleep/2   select    0:24  0.00% Xorg
48836 paulc     10    0  752K 1988K sleep/2   nanosle   0:05  0.00% i3status
24227 paulc      2    0 1032K 2820K sleep/2   select    0:04  0.00% sshd
66378 paulc      2    0 1564K   10M idle      poll      0:02  0.00% i3
67867 paulc      2    0 5032K   13M idle      select    0:02  0.00% urxvt
22018 _syslogd   2    0  904K 1544K sleep/2   kqread    0:02  0.00% syslogd
    1 root      10    0  380K  416K idle      wait      0:01  0.00% init
43749 _pflogd    4    0  668K  428K sleep/1   bpf       0:01  0.00% pflogd
27702 _ntp       2  -20  888K 2344K sleep/2   poll      0:01  0.00% ntpd
49491 paulc      2    0 4972K   13M idle      select    0:01  0.00% urxvt
76489 _vmd       2    0 1176K 1672K idle      kqread    0:00  0.00% vmd
 6009 root       2    0  620K  528K idle      poll      0:00  0.00% dhclient
39926 paulc      2    0 4912K   12M idle      select    0:00  0.00% urxvt
 3807 paulc     18    0  604K  732K idle      pause     0:00  0.00% ksh
76917 root       2    0  220K  780K sleep/1   kqread    0:00  0.00% apmd
33176 _smtpd     2    0 1280K 3444K idle      kqread    0:00  0.00% smtpd
51016 root       3    0  736K  796K idle      ttyin     0:00  0.00% ksh
86730 _smtpd     2    0 1368K 3492K idle      kqread    0:00  0.00% smtpd
 5062 root       2    0 1556K 2128K idle      kqread    0:00  0.00% smtpd
59926 root       2    0  868K 1368K idle      select    0:00  0.00% sshd
46705 root      18    0  668K  756K idle      pause     0:00  0.00% ksh
92059 _smtpd     2    0 1420K 3616K idle      kqread    0:00  0.00% smtpd
77983 _ntp       2    0  676K 2232K idle      poll      0:00  0.00% ntpd
38352 paulc     18    0  680K  796K idle      pause     0:00  0.00% ksh
77524 root       2    0  960K 3404K idle      poll      0:00  0.00% sshd
43161 root       2  -20  748K 1648K idle      poll      0:00  0.00% ntpd
80241 _smtpq     2    0 1500K 3596K idle      kqread    0:00  0.00% smtpd
69671 _dhcp      2    0  752K  680K idle      poll      0:00  0.00% dhclient
62668 paulc     10    0  388K 1872K idle      wait      0:00  0.00% xinit
14309 _smtpd     2    0 1488K 3624K idle      kqread    0:00  0.00% smtpd
10840 root       2    0  684K 1216K idle      poll      0:00  0.00% cron
73036 paulc     18    0  732K  808K idle      pause     0:00  0.00% ksh
11226 _smtpd     2    0 1288K 3408K idle      kqread    0:00  0.00% smtpd
 7717 root       2    0  504K 1904K idle      netio     0:00  0.00% syslogd
91665 root      18    0  672K  796K idle      pause     0:00  0.00% ksh
34829 root      18    0  668K  772K sleep/1   pause     0:00  0.00% ksh
25755 root       2    0  416K 1364K idle      kqread    0:00  0.00% cu
10568 root       3    0  312K 1164K idle      ttyin     0:00  0.00% getty
33083 root       2    0  604K  620K idle      netio     0:00  0.00% pflogd
90011 paulc      2    0  544K 1048K idle      poll      0:00  0.00% xclip
76109 paulc      2    0 1052K 2628K idle      netio     0:00  0.00% urxvt
68461 _vmd       2    0 1172K 1676K idle      kqread    0:00  0.00% vmd
  892 root       2    0 1332K 1816K idle      kqread    0:00  0.00% vmd
42424 paulc     18    0  592K  696K idle      pause     0:00  0.00% sh
64740 paulc      2    0 1120K 2656K idle      netio     0:00  0.00% urxvt
96130 root       2    0 1108K 1588K idle      kqread    0:00  0.00% vmd
85963 _dhcp      2    0  676K 1620K idle      poll      0:00  0.00% dhcpd
57810 root       3    0  316K 1172K idle      ttyin     0:00  0.00% getty
57324 root       3    0  320K 1168K idle      ttyin     0:00  0.00% getty
13838 root       3    0  320K 1184K idle      ttyin     0:00  0.00% getty
90065 paulc     18    0  608K  756K idle      pause     0:00  0.00% ksh
22054 paulc      3    0  680K  788K idle      ttyin     0:00  0.00% ksh
58846 paulc      2    0 2080K 1340K idle      netio     0:00  0.00% Xorg
29113 paulc      2    0  340K 1096K idle      kqread    0:00  0.00% tail
52919 paulc     18    0  588K  684K idle      pause     0:00  0.00% sh
60449 paulc     18    0  592K  688K idle      pause     0:00  0.00% sh
 5350 paulc     18    0  588K  676K idle      pause     0:00  0.00% sh
97326 paulc     18    0  600K  696K idle      pause     0:00  0.00% ksh
62656 paulc     18    0  616K  756K idle      pause     0:00  0.00% ksh
38509 paulc     18    0  592K  692K idle      pause     0:00  0.00% sh
88001 paulc     18    0  620K  780K idle      pause     0:00  0.00% ksh
53778 paulc      2    0 1012K 2660K idle      netio     0:00  0.00% urxvt
72897 _sndio     2  -20  404K  664K idle      poll      0:00  0.00% sndiod
86266 _sndiop    2    0  380K  640K idle      poll      0:00  0.00% sndiod
2107 root      28    0  396K 1364K onproc/2  -         0:00  0.00% top

# ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
        index 4 priority 0 llprio 3
        groups: lo
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 3c:97:0e:d8:5b:6b
        index 1 priority 0 llprio 3
        media: Ethernet autoselect (none)
        status: no carrier
iwn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr a4:4e:31:dd:85:ec
        index 2 priority 4 llprio 3
        groups: wlan egress
        media: IEEE802.11 autoselect (HT-MCS6 mode 11n)
        status: active
        ieee80211: [deleted]
        inet 192.168.3.109 netmask 0xffffff00 broadcast 192.168.3.255
enc0: flags=0<>
        index 3 priority 0 llprio 3
        groups: enc
        status: active
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33144
        index 5 priority 0 llprio 3
        groups: pflog
vether0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        lladdr fe:e1:ba:d3:55:34
        index 11 priority 0 llprio 3
        groups: vether
        media: Ethernet autoselect
        status: active
        inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
bridge0: flags=41<UP,RUNNING>
        description: switch1-uplink
        index 12 llprio 3
        groups: bridge
        priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp
        vether0 flags=3<LEARNING,DISCOVER>
                port 11 ifpriority 0 ifcost 0
        tap0 flags=3<LEARNING,DISCOVER>
                port 20 ifpriority 0 ifcost 0
tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        lladdr fe:e1:ba:db:d8:91
        description: vm1-if0-vm0
        index 20 priority 0 llprio 3
        groups: tap
        status: active

# cat /var/run/dmesg.boot
OpenBSD 6.1 (GENERIC.MP) #20: Sat Apr  1 13:45:56 MDT 2017
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8254586880 (7872MB)
avail mem = 7999741952 (7629MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9c000 (68 entries)
bios0: vendor LENOVO version "G2ETA7WW (2.67 )" date 09/09/2016
bios0: LENOVO 2325YWC
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT ASF!
UEFI UEFI POAT SSDT SSDT DMAR UEFI DBG2
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP3(S4) XHCI(S3) EHC1(S3)
EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.53 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,X
SAVE,OSXSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERM
S,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: TSC frequency 2594526640 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.12 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,X
SAVE,OSXSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERM
S,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.12 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,X
SAVE,OSXSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERM
S,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.12 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,X
SAVE,OSXSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERM
S,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 4 (EXP3)
acpicpu0 at acpi0: C3(200@87 mwait.1@0x30), C2(500@59 mwait.1@0x10), C1(1000@1
mwait.1), PSS
acpicpu1 at acpi0: C3(200@87 mwait.1@0x30), C2(500@59 mwait.1@0x10), C1(1000@1
mwait.1), PSS
acpicpu2 at acpi0: C3(200@87 mwait.1@0x30), C2(500@59 mwait.1@0x10), C1(1000@1
mwait.1), PSS
acpicpu3 at acpi0: C3(200@87 mwait.1@0x30), C2(500@59 mwait.1@0x10), C1(1000@1
mwait.1), PSS
acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
acpitz0 at acpi0: critical temperature is 103 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
"LEN0071" at acpi0 not configured
"LEN0020" at acpi0 not configured
"SMO1200" at acpi0 not configured
acpibat0 at acpi0: BAT0 model "45N1025" serial 16538 type LION oem "LGC"
acpiac0 at acpi0: AC unit offline
"LEN0078" at acpi0 not configured
acpithinkpad0 at acpi0
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
acpidock0 at acpi0: GDCK not docked (0)
acpivideo0 at acpi0: VID_
acpivout at acpivideo0 not configured
acpivideo1 at acpi0: VID_
cpu0: Enhanced SpeedStep 2594 MHz: speeds: 2601, 2600, 2500, 2400, 2300, 2200,
2100, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09
drm0 at inteldrm0
inteldrm0: msi
inteldrm0: 1366x768, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
xhci0 at pci0 dev 20 function 0 "Intel 7 Series xHCI" rev 0x04: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00
addr 1
"Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
em0 at pci0 dev 25 function 0 "Intel 82579LM" rev 0x04: msi, address
3c:97:0e:d8:5b:6b
ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 16
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00
addr 1
azalia0 at pci0 dev 27 function 0 "Intel 7 Series HD Audio" rev 0x04: msi
azalia0: codecs: Realtek ALC269, Intel/0x2806, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
pci1 at ppb0 bus 2
sdhc0 at pci1 dev 0 function 0 "Ricoh 5U823 SD/MMC" rev 0x04: apic 2 int 16
sdhc0: SDHC 3.0, 50 MHz base clock
sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed, dma
ppb1 at pci0 dev 28 function 1 "Intel 7 Series PCIE" rev 0xc4: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 "Intel Centrino Advanced-N 6205" rev 0x34: msi,
MIMO 2T2R, MoW, address a4:4e:31:dd:85:ec
ppb2 at pci0 dev 28 function 2 "Intel 7 Series PCIE" rev 0xc4: msi
pci3 at ppb2 bus 4
ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 23
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00
addr 1
pcib0 at pci0 dev 31 function 0 "Intel QM77 LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, AHCI 1.3
ahci0: port 0: 3.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, HITACHI HTS72323, EC2Z> SCSI3 0/direct
fixed naa.5000cca61ddcad4c
sd0: 305245MB, 512 bytes/sector, 625142448 sectors
ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic 2 int
18
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600 SO-DIMM
spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbdprobe: reset response 0x0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
wsmouse1 at pms0 mux 0
pms0: Synaptics clickpad, firmware 8.1
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
uhidev0 at uhub0 port 1 configuration 1 interface 0 "Logitech USB Optical
Mouse" rev 2.00/72.00 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse2 at ums0 mux 0
uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub"
rev 2.00/0.00 addr 2
ugen0 at uhub3 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 3
uvideo0 at uhub3 port 6 configuration 1 interface 0 "Chicony Electronics Co.,
Ltd. Integrated Camera" rev 2.00/5.20 addr 4
video0 at uvideo0
uhub4 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching Hub"
rev 2.00/0.00 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (0f90b6de3a11b476.a) swap on sd0b dump on sd0b

Reply | Threaded
Open this post in threaded view
|

Re: [vmm] SSL read error: read failed: error:06FFF064:digital envelope routines:CRYPTO_internal:bad decrypt

David Coppa
On Sun, Apr 16, 2017 at 11:17 AM, Paul Chakravarti <[hidden email]> wrote:

> Hello,
>
> I am trying out vmm on 6.1 and can setup/boot vm etc. however when I try to
> download a large file using SSL I consistenetly get the following error:
>
>> SSL read error: read failed: error:06FFF064:digital envelope
> routines:CRYPTO_internal:bad decrypt
>
> This occasionally (but not always) correlates with the following message in
> the vmd log:
>
>> vionet queue notify - no space, dropping packet
>
> Strangely non-SSL and smaller SSL downloads seem to work ok (see below).
>
> Originally spotted this using installer but can recreate from shell.
>
> Any ideas?

See http://marc.info/?l=openbsd-misc&m=148858752003261

It's a known problem.

Ciao!
David

Reply | Threaded
Open this post in threaded view
|

Re: [vmm] SSL read error: read failed: error:06FFF064:digital envelope routines:CRYPTO_internal:bad decrypt

Stuart Henderson
On 2017-04-17, David Coppa <[hidden email]> wrote:

> On Sun, Apr 16, 2017 at 11:17 AM, Paul Chakravarti <[hidden email]> wrote:
>> Hello,
>>
>> I am trying out vmm on 6.1 and can setup/boot vm etc. however when I try to
>> download a large file using SSL I consistenetly get the following error:
>>
>>> SSL read error: read failed: error:06FFF064:digital envelope
>> routines:CRYPTO_internal:bad decrypt
>>
>> This occasionally (but not always) correlates with the following message in
>> the vmd log:
>>
>>> vionet queue notify - no space, dropping packet
>>
>> Strangely non-SSL and smaller SSL downloads seem to work ok (see below).
>>
>> Originally spotted this using installer but can recreate from shell.
>>
>> Any ideas?
>
> See http://marc.info/?l=openbsd-misc&m=148858752003261
>
> It's a known problem.

I've seen corruption with non-SSL network transfers too. It's just more
obvious with SSL because in that case the session gets killed, whereas
otherwise the corrupt input is silently accepted.

Reply | Threaded
Open this post in threaded view
|

Re: [vmm] SSL read error: read failed: error:06FFF064:digital envelope routines:CRYPTO_internal:bad decrypt

Paul Chakravarti
>On 2017-04-17, David Coppa <[hidden email]> wrote:
>> On Sun, Apr 16, 2017 at 11:17 AM, Paul Chakravarti <[hidden email]> wrote:
>>> Hello,
>>>
>>> I am trying out vmm on 6.1 and can setup/boot vm etc. however when I try to
>>> download a large file using SSL I consistenetly get the following error:
>>>
>>>> SSL read error: read failed: error:06FFF064:digital envelope
>>> routines:CRYPTO_internal:bad decrypt
>>>
>>> This occasionally (but not always) correlates with the following message in
>>> the vmd log:
>>>
>>>> vionet queue notify - no space, dropping packet
>>>
>>> Strangely non-SSL and smaller SSL downloads seem to work ok (see below).
>>>
>>> Originally spotted this using installer but can recreate from shell.
>>>
>>> Any ideas?
>>
>> See http://marc.info/?l=openbsd-misc&m=148858752003261
>>
>> It's a known problem.
>
>I've seen corruption with non-SSL network transfers too. It's just more
>obvious with SSL because in that case the session gets killed, whereas
>otherwise the corrupt input is silently accepsilently accepted.
>

It does seem more prevalent with SSL transfers - the SHA256s of the files transferred vis http are correct (over several transfers) while there is always an always an error on the https transfers from the same site.

Interestingly the problem only seems to come up on 'fast' connections - possibly something CPU related (cpu load exacerbated by SSL?). I'm still not sure why the TCP layer doesn't sort out the dropped packets though.

# ftp -Vo- https://ftp.openbsd.org/pub/OpenBSD/6.1/amd64/bsd | sha256          
440311305f27f0efcfcc88116299a21cb3f890fb91ee611c2a79cc9163e8fceb
#
#
# ftp -Vo- https://mirrorservice.org/pub/OpenBSD/6.1/amd64/bsd | sha256
ftp: SSL read error: read failed: error:06FFF064:digital envelope routines:CRYPTO_internal:bad decrypt

Reply | Threaded
Open this post in threaded view
|

Re: [vmm] SSL read error: read failed: error:06FFF064:digital envelope routines:CRYPTO_internal:bad decrypt

Paul Chakravarti
In reply to this post by Stuart Henderson
>On 2017-04-17, David Coppa <[hidden email]> wrote:
>> On Sun, Apr 16, 2017 at 11:17 AM, Paul Chakravarti <[hidden email]> wrote:
>>> Hello,
>>>
>>> I am trying out vmm on 6.1 and can setup/boot vm etc. however when I try to
>>> download a large file using SSL I consistenetly get the following error:
>>>
>>>> SSL read error: read failed: error:06FFF064:digital envelope
>>> routines:CRYPTO_internal:bad decrypt
>>>
>>> This occasionally (but not always) correlates with the following message in
>>> the vmd log:
>>>
>>>> vionet queue notify - no space, dropping packet
>>>
>>> Strangely non-SSL and smaller SSL downloads seem to work ok (see below).
>>>
>>> Originally spotted this using installer but can recreate from shell.
>>>
>>> Any ideas?
>>
>> See http://marc.info/?l=openbsd-misc&m=148858752003261
>>
>> It's a known problem.
>
>I've seen corruption with non-SSL network transfers too. It's just more
>obvious with SSL because in that case the session gets killed, whereas
>otherwise the corrupt input is silently accepsilently accepted.
>

It does seem more prevalent with SSL transfers - the SHA256s of the files transferred vis http are correct (over several transfers) while there is always an always an error on the https transfers from the same site.

Interestingly the problem only seems to come up on 'fast' connections - possibly something CPU related (cpu load exacerbated by SSL?). I'm still not sure why the TCP layer doesn't sort out the dropped packets though.

# ftp -Vo- https://ftp.openbsd.org/pub/OpenBSD/6.1/amd64/bsd | sha256          
440311305f27f0efcfcc88116299a21cb3f890fb91ee611c2a79cc9163e8fceb
#
#
# ftp -Vo- https://mirrorservice.org/pub/OpenBSD/6.1/amd64/bsd | sha256
ftp: SSL read error: read failed: error:06FFF064:digital envelope routines:CRYPTO_internal:bad decrypt
Reply | Threaded
Open this post in threaded view
|

Re: [vmm] SSL read error: read failed: error:06FFF064:digital envelope routines:CRYPTO_internal:bad decrypt

Mike Larkin
On Mon, Apr 17, 2017 at 10:29:31AM +0000, Paul Chakravarti wrote:

> >On 2017-04-17, David Coppa <[hidden email]> wrote:
> >> On Sun, Apr 16, 2017 at 11:17 AM, Paul Chakravarti <[hidden email]> wrote:
> >>> Hello,
> >>>
> >>> I am trying out vmm on 6.1 and can setup/boot vm etc. however when I try to
> >>> download a large file using SSL I consistenetly get the following error:
> >>>
> >>>> SSL read error: read failed: error:06FFF064:digital envelope
> >>> routines:CRYPTO_internal:bad decrypt
> >>>
> >>> This occasionally (but not always) correlates with the following message in
> >>> the vmd log:
> >>>
> >>>> vionet queue notify - no space, dropping packet
> >>>
> >>> Strangely non-SSL and smaller SSL downloads seem to work ok (see below).
> >>>
> >>> Originally spotted this using installer but can recreate from shell.
> >>>
> >>> Any ideas?
> >>
> >> See http://marc.info/?l=openbsd-misc&m=148858752003261
> >>
> >> It's a known problem.
> >
> >I've seen corruption with non-SSL network transfers too. It's just more
> >obvious with SSL because in that case the session gets killed, whereas
> >otherwise the corrupt input is silently accepsilently accepted.
> >
>
> It does seem more prevalent with SSL transfers - the SHA256s of the files transferred vis http are correct (over several transfers) while there is always an always an error on the https transfers from the same site.
>
> Interestingly the problem only seems to come up on 'fast' connections - possibly something CPU related (cpu load exacerbated by SSL?). I'm still not sure why the TCP layer doesn't sort out the dropped packets though.
>
> # ftp -Vo- https://ftp.openbsd.org/pub/OpenBSD/6.1/amd64/bsd | sha256          
> 440311305f27f0efcfcc88116299a21cb3f890fb91ee611c2a79cc9163e8fceb
> #
> #
> # ftp -Vo- https://mirrorservice.org/pub/OpenBSD/6.1/amd64/bsd | sha256
> ftp: SSL read error: read failed: error:06FFF064:digital envelope routines:CRYPTO_internal:bad decrypt

I think I know what's going on, I just haven't had time to sort through it yet.
I don't think it's related to the network stack, FWIW.

-ml

Reply | Threaded
Open this post in threaded view
|

[vmm] SSL read error: read failed: error:06FFF064:digital envelope routines:CRYPTO_internal:bad decrypt

Jan Lambertz
I had similar issues, mostly with crypto things in vmd. Can this happen
because we get out of entropy? I have no evidence yet, but i will test
things tomorrow.
Reply | Threaded
Open this post in threaded view
|

Re: [vmm] SSL read error: read failed: error:06FFF064:digital envelope routines:CRYPTO_internal:bad decrypt

Stuart Henderson
On 2017-04-18, Jan Lambertz <[hidden email]> wrote:
> I had similar issues, mostly with crypto things in vmd. Can this happen
> because we get out of entropy?

Run "ftp -o- https://www.gov.uk/ > /dev/random" from time to time,
you won't run out of entropy ever :)

(OpenBSD doesn't do the "run out of entropy" thing anyway).

> I have no evidence yet, but i will test things tomorrow.

Mike knows about the problem and has an idea where to look. I think, at
this point, if he needs more information he'll let us know.


Reply | Threaded
Open this post in threaded view
|

Re: [vmm] SSL read error: read failed: error:06FFF064:digital envelope routines:CRYPTO_internal:bad decrypt

tinkr
On 2017-04-18 21:16, Stuart Henderson wrote:

> On 2017-04-18, Jan Lambertz <[hidden email]> wrote:
>> I had similar issues, mostly with crypto things in vmd. Can this
>> happen
>> because we get out of entropy?
>
> Run "ftp -o- https://www.gov.uk/ > /dev/random" from time to time,
> you won't run out of entropy ever :)
>
> (OpenBSD doesn't do the "run out of entropy" thing anyway).
>
>> I have no evidence yet, but i will test things tomorrow.
>
> Mike knows about the problem and has an idea where to look. I think, at
> this point, if he needs more information he'll let us know.

Is there even any indication that this is not just either due to broken
CPU/RAM, or the TCP networking stack letting through broken packets due
to collissions in its 16-bit checksums (i.e. a packet breaks but still
matches the checksum and hence is received by httpd+libssl)?

Reply | Threaded
Open this post in threaded view
|

Re: [vmm] SSL read error: read failed: error:06FFF064:digital envelope routines:CRYPTO_internal:bad decrypt

Mike Larkin
On Wed, Apr 19, 2017 at 02:38:42AM +0000, Tinker wrote:

> On 2017-04-18 21:16, Stuart Henderson wrote:
> > On 2017-04-18, Jan Lambertz <[hidden email]> wrote:
> > > I had similar issues, mostly with crypto things in vmd. Can this
> > > happen
> > > because we get out of entropy?
> >
> > Run "ftp -o- https://www.gov.uk/ > /dev/random" from time to time,
> > you won't run out of entropy ever :)
> >
> > (OpenBSD doesn't do the "run out of entropy" thing anyway).
> >
> > > I have no evidence yet, but i will test things tomorrow.
> >
> > Mike knows about the problem and has an idea where to look. I think, at
> > this point, if he needs more information he'll let us know.
>
> Is there even any indication that this is not just either due to broken
> CPU/RAM, or the TCP networking stack letting through broken packets due to
> collissions in its 16-bit checksums (i.e. a packet breaks but still matches
> the checksum and hence is received by httpd+libssl)?
>

Folks,

 This is a problem in vmm. I'm working on it. No need to speculate.

-ml

Reply | Threaded
Open this post in threaded view
|

Re: [vmm] SSL read error: read failed: error:06FFF064:digital envelope routines:CRYPTO_internal:bad decrypt

Mike Larkin
In reply to this post by Paul Chakravarti
On Sun, Apr 16, 2017 at 09:17:44AM +0000, Paul Chakravarti wrote:

> Hello,
>
> I am trying out vmm on 6.1 and can setup/boot vm etc. however when I try to
> download a large file using SSL I consistenetly get the following error:
>
> > SSL read error: read failed: error:06FFF064:digital envelope
> routines:CRYPTO_internal:bad decrypt
>
> This occasionally (but not always) correlates with the following message in
> the vmd log:
>
> > vionet queue notify - no space, dropping packet
>
> Strangely non-SSL and smaller SSL downloads seem to work ok (see below).
>
> Originally spotted this using installer but can recreate from shell.
>
> Any ideas?
>

The diff I just committed should fix this as well as the previously reported
github clone issue. The diff is also already in snaps (as of this morning).

Please update and let me know if you still see this problem.

Thanks for reporting this.

-ml

> # cat /etc/vm.conf                                                           
>                                                        
> vm vm0 {
>   disable
>   memory 512M
>   disk /home/vm/vm0.img
>   kernel /bsd.rd
>   interface { switch uplink }
> }
>
> switch uplink {
>   interface bridge0
>   add vether0
> }
>
> # vmctl start vm0 
> vmctl: started vm 11 successfully, tty /dev/ttyp6
> # vmctl status
>    ID   PID VCPUS  MAXMEM  CURMEM     TTY        OWNER NAME
>    11 85026     1    512M   97.3M   ttyp6         root vm0
> # cu -l /dev/ttyp6
> Connected to /dev/ttyp6 (speed 9600)
>
> (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s
> # dhclient vio0                                                             
>  
> DHCPDISCOVER on vio0 - interval 1
> DHCPOFFER from 10.0.0.1 (fe:e1:ba:d3:55:34)
> DHCPREQUEST on vio0 to 255.255.255.255
> DHCPACK from 10.0.0.1 (fe:e1:ba:d3:55:34)
> bound to 10.0.0.105 -- renewal in 21600 seconds.
> #
> # ftp -Vo- http://www.mirrorservice.org/pub/OpenBSD/6.1/amd64/bsd | sha256
> 440311305f27f0efcfcc88116299a21cb3f890fb91ee611c2a79cc9163e8fceb
> # ftp -Vo- http://www.mirrorservice.org/pub/OpenBSD/6.1/amd64/SHA256 | fgrep
> '(bsd)'
> SHA256 (bsd) =
> 440311305f27f0efcfcc88116299a21cb3f890fb91ee611c2a79cc9163e8fceb
> # ftp -Vo- http://www.mirrorservice.org/pub/OpenBSD/6.1/amd64/base61.tgz |
> sha256 
> 5c467ea369b5632d3b057283857d1998fb3dcd26179365291f16c70785a65282
> # ftp -Vo- http://www.mirrorservice.org/pub/OpenBSD/6.1/amd64/SHA256 | fgrep
> '(base61.tgz)'
> SHA256 (base61.tgz) =
> 5c467ea369b5632d3b057283857d1998fb3dcd26179365291f16c70785a65282
> #
> # ftp -Vo- https://www.mirrorservice.org/pub/OpenBSD/6.1/amd64/bsd | sha256
> ftp: SSL read error: read failed: error:06FFF064:digital envelope
> routines:CRYPTO_internal:bad decrypt
> 27ad92f2aaf0279dd125ed54d0b7fbf330a3ecbe2e919b4d2d0ed1d07dccc087
> # ftp -Vo- https://www.mirrorservice.org/pub/OpenBSD/6.1/amd64/base61.tgz |
> sha256
> ftp: SSL read error: read failed: error:06FFF064:digital envelope
> routines:CRYPTO_internal:bad decrypt
> d79f6fd884a839d1fc62dc1b5d40de21f97fd5a50b28319a7b25dd8cd82da887
>
> [On host]
>
> # top -d1 all
> load averages:  1.14,  1.16,  1.16    x230 10:06:31
> 68 processes: 67 idle, 1 on processor  up 2 days, 11:19
> CPU0 states:  0.2% user,  0.0% nice,  0.5% system,  0.2% interrupt, 99.1%
> idle
> CPU1 states:  4.6% user,  0.0% nice,  8.3% system,  0.0% interrupt, 87.2%
> idle
> CPU2 states:  1.2% user,  0.0% nice,  2.2% system,  0.0% interrupt, 96.6%
> idle
> CPU3 states:  0.8% user,  0.0% nice,  1.1% system,  0.0% interrupt, 98.1%
> idle
> Memory: Real: 470M/1376M act/tot Free: 6261M Cache: 652M Swap: 0K/3562M
>
>   PID USERNAME PRI NICE  SIZE   RES STATE     WAIT      TIME    CPU COMMAND
> 85026 _vmd      28    0  514M   14M idle      thrslee   1:19 13.53% vmd
> 55104 paulc      2    0  399M  301M sleep/3   poll      4:09  7.86% firefox
>  1136 paulc      2    0 1180K 9156K sleep/3   poll      0:23  0.05% i3bar
> 91148 paulc      2    0   14M   50M sleep/2   select    0:24  0.00% Xorg
> 48836 paulc     10    0  752K 1988K sleep/2   nanosle   0:05  0.00% i3status
> 24227 paulc      2    0 1032K 2820K sleep/2   select    0:04  0.00% sshd
> 66378 paulc      2    0 1564K   10M idle      poll      0:02  0.00% i3
> 67867 paulc      2    0 5032K   13M idle      select    0:02  0.00% urxvt
> 22018 _syslogd   2    0  904K 1544K sleep/2   kqread    0:02  0.00% syslogd
>     1 root      10    0  380K  416K idle      wait      0:01  0.00% init
> 43749 _pflogd    4    0  668K  428K sleep/1   bpf       0:01  0.00% pflogd
> 27702 _ntp       2  -20  888K 2344K sleep/2   poll      0:01  0.00% ntpd
> 49491 paulc      2    0 4972K   13M idle      select    0:01  0.00% urxvt
> 76489 _vmd       2    0 1176K 1672K idle      kqread    0:00  0.00% vmd
>  6009 root       2    0  620K  528K idle      poll      0:00  0.00% dhclient
> 39926 paulc      2    0 4912K   12M idle      select    0:00  0.00% urxvt
>  3807 paulc     18    0  604K  732K idle      pause     0:00  0.00% ksh
> 76917 root       2    0  220K  780K sleep/1   kqread    0:00  0.00% apmd
> 33176 _smtpd     2    0 1280K 3444K idle      kqread    0:00  0.00% smtpd
> 51016 root       3    0  736K  796K idle      ttyin     0:00  0.00% ksh
> 86730 _smtpd     2    0 1368K 3492K idle      kqread    0:00  0.00% smtpd
>  5062 root       2    0 1556K 2128K idle      kqread    0:00  0.00% smtpd
> 59926 root       2    0  868K 1368K idle      select    0:00  0.00% sshd
> 46705 root      18    0  668K  756K idle      pause     0:00  0.00% ksh
> 92059 _smtpd     2    0 1420K 3616K idle      kqread    0:00  0.00% smtpd
> 77983 _ntp       2    0  676K 2232K idle      poll      0:00  0.00% ntpd
> 38352 paulc     18    0  680K  796K idle      pause     0:00  0.00% ksh
> 77524 root       2    0  960K 3404K idle      poll      0:00  0.00% sshd
> 43161 root       2  -20  748K 1648K idle      poll      0:00  0.00% ntpd
> 80241 _smtpq     2    0 1500K 3596K idle      kqread    0:00  0.00% smtpd
> 69671 _dhcp      2    0  752K  680K idle      poll      0:00  0.00% dhclient
> 62668 paulc     10    0  388K 1872K idle      wait      0:00  0.00% xinit
> 14309 _smtpd     2    0 1488K 3624K idle      kqread    0:00  0.00% smtpd
> 10840 root       2    0  684K 1216K idle      poll      0:00  0.00% cron
> 73036 paulc     18    0  732K  808K idle      pause     0:00  0.00% ksh
> 11226 _smtpd     2    0 1288K 3408K idle      kqread    0:00  0.00% smtpd
>  7717 root       2    0  504K 1904K idle      netio     0:00  0.00% syslogd
> 91665 root      18    0  672K  796K idle      pause     0:00  0.00% ksh
> 34829 root      18    0  668K  772K sleep/1   pause     0:00  0.00% ksh
> 25755 root       2    0  416K 1364K idle      kqread    0:00  0.00% cu
> 10568 root       3    0  312K 1164K idle      ttyin     0:00  0.00% getty
> 33083 root       2    0  604K  620K idle      netio     0:00  0.00% pflogd
> 90011 paulc      2    0  544K 1048K idle      poll      0:00  0.00% xclip
> 76109 paulc      2    0 1052K 2628K idle      netio     0:00  0.00% urxvt
> 68461 _vmd       2    0 1172K 1676K idle      kqread    0:00  0.00% vmd
>   892 root       2    0 1332K 1816K idle      kqread    0:00  0.00% vmd
> 42424 paulc     18    0  592K  696K idle      pause     0:00  0.00% sh
> 64740 paulc      2    0 1120K 2656K idle      netio     0:00  0.00% urxvt
> 96130 root       2    0 1108K 1588K idle      kqread    0:00  0.00% vmd
> 85963 _dhcp      2    0  676K 1620K idle      poll      0:00  0.00% dhcpd
> 57810 root       3    0  316K 1172K idle      ttyin     0:00  0.00% getty
> 57324 root       3    0  320K 1168K idle      ttyin     0:00  0.00% getty
> 13838 root       3    0  320K 1184K idle      ttyin     0:00  0.00% getty
> 90065 paulc     18    0  608K  756K idle      pause     0:00  0.00% ksh
> 22054 paulc      3    0  680K  788K idle      ttyin     0:00  0.00% ksh
> 58846 paulc      2    0 2080K 1340K idle      netio     0:00  0.00% Xorg
> 29113 paulc      2    0  340K 1096K idle      kqread    0:00  0.00% tail
> 52919 paulc     18    0  588K  684K idle      pause     0:00  0.00% sh
> 60449 paulc     18    0  592K  688K idle      pause     0:00  0.00% sh
>  5350 paulc     18    0  588K  676K idle      pause     0:00  0.00% sh
> 97326 paulc     18    0  600K  696K idle      pause     0:00  0.00% ksh
> 62656 paulc     18    0  616K  756K idle      pause     0:00  0.00% ksh
> 38509 paulc     18    0  592K  692K idle      pause     0:00  0.00% sh
> 88001 paulc     18    0  620K  780K idle      pause     0:00  0.00% ksh
> 53778 paulc      2    0 1012K 2660K idle      netio     0:00  0.00% urxvt
> 72897 _sndio     2  -20  404K  664K idle      poll      0:00  0.00% sndiod
> 86266 _sndiop    2    0  380K  640K idle      poll      0:00  0.00% sndiod
> 2107 root      28    0  396K 1364K onproc/2  -         0:00  0.00% top
>
> # ifconfig -a
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
>         index 4 priority 0 llprio 3
>         groups: lo
>         inet6 ::1 prefixlen 128
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
>         inet 127.0.0.1 netmask 0xff000000
> em0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
>         lladdr 3c:97:0e:d8:5b:6b
>         index 1 priority 0 llprio 3
>         media: Ethernet autoselect (none)
>         status: no carrier
> iwn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         lladdr a4:4e:31:dd:85:ec
>         index 2 priority 4 llprio 3
>         groups: wlan egress
>         media: IEEE802.11 autoselect (HT-MCS6 mode 11n)
>         status: active
>         ieee80211: [deleted]
>         inet 192.168.3.109 netmask 0xffffff00 broadcast 192.168.3.255
> enc0: flags=0<>
>         index 3 priority 0 llprio 3
>         groups: enc
>         status: active
> pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33144
>         index 5 priority 0 llprio 3
>         groups: pflog
> vether0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>         lladdr fe:e1:ba:d3:55:34
>         index 11 priority 0 llprio 3
>         groups: vether
>         media: Ethernet autoselect
>         status: active
>         inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
> bridge0: flags=41<UP,RUNNING>
>         description: switch1-uplink
>         index 12 llprio 3
>         groups: bridge
>         priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp
>         vether0 flags=3<LEARNING,DISCOVER>
>                 port 11 ifpriority 0 ifcost 0
>         tap0 flags=3<LEARNING,DISCOVER>
>                 port 20 ifpriority 0 ifcost 0
> tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>         lladdr fe:e1:ba:db:d8:91
>         description: vm1-if0-vm0
>         index 20 priority 0 llprio 3
>         groups: tap
>         status: active
>
> # cat /var/run/dmesg.boot
> OpenBSD 6.1 (GENERIC.MP) #20: Sat Apr  1 13:45:56 MDT 2017
>     [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 8254586880 (7872MB)
> avail mem = 7999741952 (7629MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9c000 (68 entries)
> bios0: vendor LENOVO version "G2ETA7WW (2.67 )" date 09/09/2016
> bios0: LENOVO 2325YWC
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT ASF!
> UEFI UEFI POAT SSDT SSDT DMAR UEFI DBG2
> acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP3(S4) XHCI(S3) EHC1(S3)
> EHC2(S3) HDEF(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.53 MHz
> cpu0:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
> H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
> ,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,X
> SAVE,OSXSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERM
> S,SENSOR,ARAT
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: TSC frequency 2594526640 Hz
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.12 MHz
> cpu1:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
> H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
> ,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,X
> SAVE,OSXSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERM
> S,SENSOR,ARAT
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu1: smt 1, core 0, package 0
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.12 MHz
> cpu2:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
> H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
> ,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,X
> SAVE,OSXSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERM
> S,SENSOR,ARAT
> cpu2: 256KB 64b/line 8-way L2 cache
> cpu2: smt 0, core 1, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.12 MHz
> cpu3:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
> H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
> ,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,X
> SAVE,OSXSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERM
> S,SENSOR,ARAT
> cpu3: 256KB 64b/line 8-way L2 cache
> cpu3: smt 1, core 1, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
> acpiec0 at acpi0
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PEG_)
> acpiprt2 at acpi0: bus 2 (EXP1)
> acpiprt3 at acpi0: bus 3 (EXP2)
> acpiprt4 at acpi0: bus 4 (EXP3)
> acpicpu0 at acpi0: C3(200@87 mwait.1@0x30), C2(500@59 mwait.1@0x10), C1(1000@1
> mwait.1), PSS
> acpicpu1 at acpi0: C3(200@87 mwait.1@0x30), C2(500@59 mwait.1@0x10), C1(1000@1
> mwait.1), PSS
> acpicpu2 at acpi0: C3(200@87 mwait.1@0x30), C2(500@59 mwait.1@0x10), C1(1000@1
> mwait.1), PSS
> acpicpu3 at acpi0: C3(200@87 mwait.1@0x30), C2(500@59 mwait.1@0x10), C1(1000@1
> mwait.1), PSS
> acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
> acpitz0 at acpi0: critical temperature is 103 degC
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: SLPB
> "LEN0071" at acpi0 not configured
> "LEN0020" at acpi0 not configured
> "SMO1200" at acpi0 not configured
> acpibat0 at acpi0: BAT0 model "45N1025" serial 16538 type LION oem "LGC"
> acpiac0 at acpi0: AC unit offline
> "LEN0078" at acpi0 not configured
> acpithinkpad0 at acpi0
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> acpidock0 at acpi0: GDCK not docked (0)
> acpivideo0 at acpi0: VID_
> acpivout at acpivideo0 not configured
> acpivideo1 at acpi0: VID_
> cpu0: Enhanced SpeedStep 2594 MHz: speeds: 2601, 2600, 2500, 2400, 2300, 2200,
> 2100, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
> inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09
> drm0 at inteldrm0
> inteldrm0: msi
> inteldrm0: 1366x768, 32bpp
> wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> xhci0 at pci0 dev 20 function 0 "Intel 7 Series xHCI" rev 0x04: msi
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00
> addr 1
> "Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
> em0 at pci0 dev 25 function 0 "Intel 82579LM" rev 0x04: msi, address
> 3c:97:0e:d8:5b:6b
> ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 16
> usb1 at ehci0: USB revision 2.0
> uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00
> addr 1
> azalia0 at pci0 dev 27 function 0 "Intel 7 Series HD Audio" rev 0x04: msi
> azalia0: codecs: Realtek ALC269, Intel/0x2806, using Realtek ALC269
> audio0 at azalia0
> ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
> pci1 at ppb0 bus 2
> sdhc0 at pci1 dev 0 function 0 "Ricoh 5U823 SD/MMC" rev 0x04: apic 2 int 16
> sdhc0: SDHC 3.0, 50 MHz base clock
> sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed, dma
> ppb1 at pci0 dev 28 function 1 "Intel 7 Series PCIE" rev 0xc4: msi
> pci2 at ppb1 bus 3
> iwn0 at pci2 dev 0 function 0 "Intel Centrino Advanced-N 6205" rev 0x34: msi,
> MIMO 2T2R, MoW, address a4:4e:31:dd:85:ec
> ppb2 at pci0 dev 28 function 2 "Intel 7 Series PCIE" rev 0xc4: msi
> pci3 at ppb2 bus 4
> ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 23
> usb2 at ehci1: USB revision 2.0
> uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00
> addr 1
> pcib0 at pci0 dev 31 function 0 "Intel QM77 LPC" rev 0x04
> ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, AHCI 1.3
> ahci0: port 0: 3.0Gb/s
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0: <ATA, HITACHI HTS72323, EC2Z> SCSI3 0/direct
> fixed naa.5000cca61ddcad4c
> sd0: 305245MB, 512 bytes/sector, 625142448 sectors
> ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic 2 int
> 18
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600 SO-DIMM
> spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbdprobe: reset response 0x0
> pms0 at pckbc0 (aux slot)
> wsmouse0 at pms0 mux 0
> wsmouse1 at pms0 mux 0
> pms0: Synaptics clickpad, firmware 8.1
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> vmm0 at mainbus0: VMX/EPT
> uhidev0 at uhub0 port 1 configuration 1 interface 0 "Logitech USB Optical
> Mouse" rev 2.00/72.00 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse2 at ums0 mux 0
> uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub"
> rev 2.00/0.00 addr 2
> ugen0 at uhub3 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 3
> uvideo0 at uhub3 port 6 configuration 1 interface 0 "Chicony Electronics Co.,
> Ltd. Integrated Camera" rev 2.00/5.20 addr 4
> video0 at uvideo0
> uhub4 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching Hub"
> rev 2.00/0.00 addr 2
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on sd0a (0f90b6de3a11b476.a) swap on sd0b dump on sd0b
>