On Sun, Feb 11, 2018 at 04:47:02PM -0800, Mike Larkin wrote:
> > has anybody tried to run tor inside vmm guest?
> >
> > it's horrible slow, just doing 'tor-resolve $dnsname' takes
> > sometimes ages.
> > [...]
> > is it related to vmm ssl issue reported in the past?
>
> no
>
> > [...]
> This report sucks. no dmesg, no information about what the VM config is, what
> version the guest is, what version the host is, etc.
Big apologize, I thought it could be something known.
Info below. Thank you for help.
Jiri
Another try inside vmm guest:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# time tor-resolve www.openbsd.org
129.128.5.194
0m00.14s real 0m00.00s user 0m00.00s system
# time tor-resolve www.openbsd.org
129.128.5.194
0m52.96s real 0m00.00s user 0m00.00s system
# tail /var/log/daemon
Feb 12 08:19:59 onion Tor[21861]: Bootstrapped 100%: Done
Feb 12 08:20:04 onion ntpd[51629]: adjusting local clock by 0.384653s
Feb 12 08:23:01 onion ntpd[51629]: adjusting local clock by -0.063873s
Feb 12 08:42:58 onion Tor[21861]: Your system clock just jumped 150 seconds
forward; assuming established circuits no longer work.
Feb 12 08:42:59 onion Tor[21861]: Tor has successfully opened a circuit. Looks
like client functionality is working.
Feb 12 08:42:59 onion Tor[21861]: Tor has successfully opened a circuit. Looks
like client functionality is working.
Feb 12 08:45:55 onion Tor[21861]: Your system clock just jumped 150 seconds
forward; assuming established circuits no longer work.
Feb 12 08:45:57 onion Tor[21861]: Tor has successfully opened a circuit. Looks
like client functionality is working.
Feb 12 08:45:57 onion Tor[21861]: Tor has successfully opened a circuit. Looks
like client functionality is working.
Feb 12 08:47:05 onion ntpd[51629]: adjusting clock frequency by -7.934969 to
-23.542969ppm
VMM:
~~~~
(Originally I forgot 'group internal' in vm.conf, so I put tap1 into group
'internal' manually via ifconfig.)
vm "onion" {
disable
owner jirib
memory 512M
boot $kernel
local interface tap
disk $onion_osdisk
disk $onion_datadisk
}
Networking on host:
~~~~~~~~~~~~~~~~~~~
# route -nv show -inet | grep ^default
default 176.74.xxx.xxx UGS 5 38658 - 8 em0
"internet4"
# sysctl net.inet.ip.forwarding
net.inet.ip.forwarding=1
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 90:e2:ba:xx:xx:xx
index 1 priority 0 llprio 3
groups: public egress
media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
status: active
inet 176.74.xxx netmask 0xffffffe0 broadcast 176.74.xxx
tap1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr fe:e1:ba:d2:f7:28
description: vm2-if0-onion
index 17 priority 0 llprio 3
groups: tap internal
status: active
inet 100.64.2.2 netmask 0xfffffffe
PF on host (uses 'group internal'):
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# pfctl -sr | egrep '(on egress.*nat-to|on internal.*all)'
pass out quick on egress from any to route "internet4" flags S/SA nat-to
(egress) round-robin
pass in quick on internal all flags S/SA
Storage on host:
~~~~~~~~~~~~~~~~
'disk's are located on softraid RAID1 array:
1# bioctl sd8
Volume Status Size Device
softraid0 2 Online 536871947776 sd8 RAID1
0 Online 536871947776 2:0.0 noencl <sd2a>
1 Online 536871947776 2:1.0 noencl <sd3a>
# dmesg | grep ^sd[23]
sd2 at scsibus1 targ 2 lun 0: <ATA, ST1000VX000-1ES1, CV27> SCSI3 0/direct
fixed naa.5000c5009387182f
sd2: 953869MB, 512 bytes/sector, 1953525168 sectors
sd3 at scsibus1 targ 3 lun 0: <ATA, ST1000VX000-1ES1, CV27> SCSI3 0/direct
fixed naa.5000c500939203ed
sd3: 953869MB, 512 bytes/sector, 1953525168 sectors
dmesg on host:
~~~~~~~~~~~~~~
with disabled lm driver because of issue with bad fan RPM.
OpenBSD 6.2-current (GENERIC.MP) #0: Sat Feb 10 00:05:49 MST 2018
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8564375552 (8167MB)
avail mem = 8297807872 (7913MB)
enter_shared_special_pages: entered idt page va 0xffff800000010000 pa 0x1d5a000
enter_shared_special_pages: entered kutext page va 0xffffffff81831000 pa
0x1831000
enter_shared_special_pages: entered kutext page va 0xffffffff81832000 pa
0x1832000
enter_shared_special_pages: entered kutext page va 0xffffffff81833000 pa
0x1833000
enter_shared_special_pages: entered kudata page va 0xffffffff81ac8000 pa
0x1ac8000
cpu_enter_pages: entered tss+gdt page at va 0xffffffff81ab4000 pa 0x1ab4000
cpu_enter_pages: entered t.stack page at va 0xffffffff81ab5000 pa 0x1ab5000
cpu_enter_pages: cif_tss.tss_rsp0 = 0xffffffff81ab53e0
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0x9f000 (68 entries)
bios0: vendor American Megatrends Inc. version "1.1" date 05/27/2010
bios0: Supermicro X8SIL
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB HPET GSCI DMAR SSDT
acpi0: wakeup devices P0P1(S4) P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4) BR1E(S4)
USB0(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) USB5(S4) USB6(S4) GBE_(S4)
BR20(S4) BR21(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
lapic_map: entered lapic page va 0xffffffff81a9e000 pa 0xfee00000
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU L3426 @ 1.87GHz, 1866.91 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,INSECURE
cpu0: 256KB 64b/line 8-way L2 cache
acpitimer0: recalibrated TSC frequency 1866666040 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 133MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE
cpu1 at mainbus0cpu_enter_pages: entered tss+gdt page at va 0xffff800021fff000
pa 0x10f7ab000
cpu_enter_pages: entered t.stack page at va 0xffff800022000000 pa 0x10f7ac000
cpu_enter_pages: cif_tss.tss_rsp0 = 0xffff8000220003e0
: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU L3426 @ 1.87GHz, 1866.67 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,INSECURE
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0cpu_enter_pages: entered tss+gdt page at va 0xffff800022010000
pa 0x10f7b6000
cpu_enter_pages: entered t.stack page at va 0xffff800022011000 pa 0x10f7b7000
cpu_enter_pages: cif_tss.tss_rsp0 = 0xffff8000220113e0
: apid 4 (application processor)
cpu2: Intel(R) Xeon(R) CPU L3426 @ 1.87GHz, 1866.67 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,INSECURE
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0cpu_enter_pages: entered tss+gdt page at va 0xffff800022019000
pa 0x10f7b9000
cpu_enter_pages: entered t.stack page at va 0xffff80002201a000 pa 0x10f7ba000
cpu_enter_pages: cif_tss.tss_rsp0 = 0xffff80002201a3e0
: apid 6 (application processor)
cpu3: Intel(R) Xeon(R) CPU L3426 @ 1.87GHz, 1866.67 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,INSECURE
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
cpu4 at mainbus0cpu_enter_pages: entered tss+gdt page at va 0xffff800022022000
pa 0x10f7bc000
cpu_enter_pages: entered t.stack page at va 0xffff800022023000 pa 0x10f7bd000
cpu_enter_pages: cif_tss.tss_rsp0 = 0xffff8000220233e0
: apid 1 (application processor)
cpu4: Intel(R) Xeon(R) CPU L3426 @ 1.87GHz, 1866.67 MHz
cpu4:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,INSECURE
cpu4: 256KB 64b/line 8-way L2 cache
cpu4: smt 1, core 0, package 0
cpu5 at mainbus0cpu_enter_pages: entered tss+gdt page at va 0xffff80002202b000
pa 0x10f7bf000
cpu_enter_pages: entered t.stack page at va 0xffff80002202c000 pa 0x10f7c0000
cpu_enter_pages: cif_tss.tss_rsp0 = 0xffff80002202c3e0
: apid 3 (application processor)
cpu5: Intel(R) Xeon(R) CPU L3426 @ 1.87GHz, 1866.67 MHz
cpu5:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,INSECURE
cpu5: 256KB 64b/line 8-way L2 cache
cpu5: smt 1, core 1, package 0
cpu6 at mainbus0cpu_enter_pages: entered tss+gdt page at va 0xffff800022034000
pa 0x10f7c2000
cpu_enter_pages: entered t.stack page at va 0xffff800022035000 pa 0x10f7c3000
cpu_enter_pages: cif_tss.tss_rsp0 = 0xffff8000220353e0
: apid 5 (application processor)
cpu6: Intel(R) Xeon(R) CPU L3426 @ 1.87GHz, 1866.67 MHz
cpu6:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,INSECURE
cpu6: 256KB 64b/line 8-way L2 cache
cpu6: smt 1, core 2, package 0
cpu7 at mainbus0cpu_enter_pages: entered tss+gdt page at va 0xffff80002203d000
pa 0x10f7c5000
cpu_enter_pages: entered t.stack page at va 0xffff80002203e000 pa 0x10f7c6000
cpu_enter_pages: cif_tss.tss_rsp0 = 0xffff80002203e3e0
: apid 7 (application processor)
cpu7: Intel(R) Xeon(R) CPU L3426 @ 1.87GHz, 1866.67 MHz
cpu7:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,INSECURE
cpu7: 256KB 64b/line 8-way L2 cache
cpu7: smt 1, core 3, package 0
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
, remapped to apid 8
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpihpet0: recalibrated TSC frequency 1866681600 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (P0P3)
acpiprt3 at acpi0: bus 2 (P0P5)
acpiprt4 at acpi0: bus -1 (P0P6)
acpiprt5 at acpi0: bus 6 (BR1E)
acpiprt6 at acpi0: bus 3 (BR20)
acpiprt7 at acpi0: bus 4 (BR24)
acpiprt8 at acpi0: bus 5 (BR25)
acpicpu0 at acpi0: !C3(350@17 mwait.1@0x20), !C2(500@17 mwait.1@0x10),
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: !C3(350@17 mwait.1@0x20), !C2(500@17 mwait.1@0x10),
C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: !C3(350@17 mwait.1@0x20), !C2(500@17 mwait.1@0x10),
C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: !C3(350@17 mwait.1@0x20), !C2(500@17 mwait.1@0x10),
C1(1000@1 mwait.1), PSS
acpicpu4 at acpi0: !C3(350@17 mwait.1@0x20), !C2(500@17 mwait.1@0x10),
C1(1000@1 mwait.1), PSS
acpicpu5 at acpi0: !C3(350@17 mwait.1@0x20), !C2(500@17 mwait.1@0x10),
C1(1000@1 mwait.1), PSS
acpicpu6 at acpi0: !C3(350@17 mwait.1@0x20), !C2(500@17 mwait.1@0x10),
C1(1000@1 mwait.1), PSS
acpicpu7 at acpi0: !C3(350@17 mwait.1@0x20), !C2(500@17 mwait.1@0x10),
C1(1000@1 mwait.1), PSS
acpibtn0 at acpi0: PWRB
ipmi at mainbus0 not configured
cpu0: Enhanced SpeedStep 1866 MHz: speeds: 1868, 1867, 1733, 1600, 1467, 1333,
1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core DMI" rev 0x11
ppb0 at pci0 dev 3 function 0 "Intel Core PCIE" rev 0x11: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 5 function 0 "Intel Core PCIE" rev 0x11: msi
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 "Intel 82576" rev 0x01: msi, address
90:e2:ba:04:28:c0
em1 at pci2 dev 0 function 1 "Intel 82576" rev 0x01: msi, address
90:e2:ba:04:28:c1
"Intel Core Management" rev 0x11 at pci0 dev 8 function 0 not configured
"Intel Core Scratch" rev 0x11 at pci0 dev 8 function 1 not configured
"Intel Core Control" rev 0x11 at pci0 dev 8 function 2 not configured
"Intel Core Misc" rev 0x11 at pci0 dev 8 function 3 not configured
"Intel Core QPI Link" rev 0x11 at pci0 dev 16 function 0 not configured
"Intel Core QPI Routing" rev 0x11 at pci0 dev 16 function 1 not configured
ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x05: apic 8 int 21
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00
addr 1
ppb2 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x05: msi
pci3 at ppb2 bus 3
em2 at pci3 dev 0 function 0 "Intel 82576" rev 0x01: msi, address
90:e2:ba:04:2d:74
em3 at pci3 dev 0 function 1 "Intel 82576" rev 0x01: msi, address
90:e2:ba:04:2d:75
ppb3 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x05: msi
pci4 at ppb3 bus 4
em4 at pci4 dev 0 function 0 "Intel 82574L" rev 0x00: msi, address
00:25:90:3c:66:00
ppb4 at pci0 dev 28 function 5 "Intel 3400 PCIE" rev 0x05: msi
pci5 at ppb4 bus 5
em5 at pci5 dev 0 function 0 "Intel 82574L" rev 0x00: msi, address
00:25:90:3c:66:01
ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x05: apic 8 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00
addr 1
ppb5 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa5
pci6 at ppb5 bus 6
vga1 at pci6 dev 3 function 0 "Matrox MGA G200eW" rev 0x0a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 31 function 0 "Intel 3420 LPC" rev 0x05
ahci0 at pci0 dev 31 function 2 "Intel 3400 AHCI" rev 0x05: msi, AHCI 1.3
ahci0: port 0: 3.0Gb/s
ahci0: port 1: 3.0Gb/s
ahci0: port 2: 3.0Gb/s
ahci0: port 3: 3.0Gb/s
ahci0: port 4: 3.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD7500BPKT-6, 01.0> SCSI3 0/direct
fixed naa.50014ee6580d48d5
sd0: 715404MB, 512 bytes/sector, 1465149168 sectors
sd1 at scsibus1 targ 1 lun 0: <ATA, WDC WD7500BPKT-6, 01.0> SCSI3 0/direct
fixed naa.50014ee6580d4746
sd1: 715404MB, 512 bytes/sector, 1465149168 sectors
sd2 at scsibus1 targ 2 lun 0: <ATA, ST1000VX000-1ES1, CV27> SCSI3 0/direct
fixed naa.5000c5009387182f
sd2: 953869MB, 512 bytes/sector, 1953525168 sectors
sd3 at scsibus1 targ 3 lun 0: <ATA, ST1000VX000-1ES1, CV27> SCSI3 0/direct
fixed naa.5000c500939203ed
sd3: 953869MB, 512 bytes/sector, 1953525168 sectors
sd4 at scsibus1 targ 4 lun 0: <ATA, OCZ-VERTEX3, 2.22> SCSI3 0/direct fixed
naa.5e83a97e2078f993
sd4: 122104MB, 512 bytes/sector, 250069680 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 3400 SMBus" rev 0x05: apic 8 int 18
iic0 at ichiic0
sdtemp0 at iic0 addr 0x18: mcp98243
sdtemp1 at iic0 addr 0x1a: mcp98243
"eeprom" at iic0 addr 0x50 not configured
"eeprom" at iic0 addr 0x52 not configured
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
com2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
wbsio0 at isa0 port 0x2e/2: W83627DHG rev 0x25
wbsio0 port 0xa10/2 not configured
vmm0 at mainbus0: VMX/EPT
uhub2 at uhub0 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev
2.00/0.00 addr 2
uhidev0 at uhub2 port 2 configuration 1 interface 0 "Winbond Electronics Corp
Hermon USB hidmouse Device" rev 1.10/0.01 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
uhidev1 at uhub2 port 2 configuration 1 interface 1 "Winbond Electronics Corp
Hermon USB hidmouse Device" rev 1.10/0.01 addr 3
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
umass0 at uhub2 port 3 configuration 1 interface 0 "Kingston DataTraveler 3.0"
rev 2.10/0.01 addr 4
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd5 at scsibus2 targ 1 lun 0: <Kingston, DataTraveler 3.0, > SCSI4 0/direct
removable serial.09511666F1307641D3AB
sd5: 7377MB, 512 bytes/sector, 15109516 sectors
uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev
2.00/0.00 addr 2
uhidev2 at uhub3 port 1 configuration 1 interface 0 "Cherry Mikroschalter
product 0x0011" rev 2.00/1.00 addr 3
uhidev2: iclass 3/1
ukbd1 at uhidev2: 8 variable keys, 6 key codes
wskbd2 at ukbd1 mux 1
wskbd2: connecting to wsdisplay0
uhidev3 at uhub3 port 2 configuration 1 interface 0 "American Power Conversion
Back-UPS XS 1400U FW:926.T2 .I USB FW:T2" rev 1.10/1.06 addr 4
uhidev3: iclass 3/0, 123 report ids
upd0 at uhidev3
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
sd6 at scsibus4 targ 1 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed
sd6: 20481MB, 512 bytes/sector, 41945104 sectors
sd7 at scsibus4 targ 2 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed
sd7: 694920MB, 512 bytes/sector, 1423197841 sectors
sd8 at scsibus4 targ 3 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed
sd8: 512000MB, 512 bytes/sector, 1048578023 sectors
root on sd6a (667e2bfc7c13fc8a.a) swap on sd6b dump on sd6b
dmesg of VMM guest:
~~~~~~~~~~~~~~~~~~~
2nd disk is softraid crypto array, manually enabled
OpenBSD 6.2-current (GENERIC.MP) #0: Sat Feb 10 00:05:49 MST 2018
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 520093696 (496MB)
avail mem = 497381376 (474MB)
enter_shared_special_pages: entered idt page va 0xffff800000010000 pa 0x1d55000
enter_shared_special_pages: entered kutext page va 0xffffffff81831000 pa
0x1831000
enter_shared_special_pages: entered kutext page va 0xffffffff81832000 pa
0x1832000
enter_shared_special_pages: entered kutext page va 0xffffffff81833000 pa
0x1833000
enter_shared_special_pages: entered kudata page va 0xffffffff81ac8000 pa
0x1ac8000
cpu_enter_pages: entered tss+gdt page at va 0xffffffff81ab4000 pa 0x1ab4000
cpu_enter_pages: entered t.stack page at va 0xffffffff81ab5000 pa 0x1ab5000
cpu_enter_pages: cif_tss.tss_rsp0 = 0xffffffff81ab53e0
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0
acpi at bios0 not configured
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel(R) Xeon(R) CPU L3426 @ 1.87GHz, 1867.15 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,HV,NXE,RDTSCP,LONG,LAHF,ITSC,INSECURE
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
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
scsibus1 at vioblk0: 2 targets
sd0 at scsibus1 targ 0 lun 0: <VirtIO, Block Device, > SCSI3 0/direct fixed
sd0: 5120MB, 512 bytes/sector, 10485760 sectors
virtio1: irq 5
virtio2 at pci0 dev 3 function 0 "Qumranet Virtio Storage" rev 0x00
vioblk1 at virtio2
scsibus2 at vioblk1: 2 targets
sd1 at scsibus2 targ 0 lun 0: <VirtIO, Block Device, > SCSI3 0/direct fixed
sd1: 20480MB, 512 bytes/sector, 41943040 sectors
virtio2: irq 6
virtio3 at pci0 dev 4 function 0 "Qumranet Virtio Network" rev 0x00
vio0 at virtio3: address fe:e1:bb:d1:93:2b
virtio3: irq 7
virtio4 at pci0 dev 5 function 0 "OpenBSD VMM Control" rev 0x00
vmmci0 at virtio4
virtio4: irq 9
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16450, no fifo
com0: console
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd0a (6355033e836e6151.a) swap on sd0b dump on sd0b
sd2 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> SCSI2 0/direct fixed
sd2: 20479MB, 512 bytes/sector, 41942320 sectors
Automatic boot in progress: starting file system checks.
/dev/sd0a (6355033e836e6151.a): file system is clean; not checking
/dev/sd0i (6355033e836e6151.i): file system is clean; not checking
/dev/sd0d (6355033e836e6151.d): file system is clean; not checking
/dev/sd0f (6355033e836e6151.f): file system is clean; not checking
/dev/sd0g (6355033e836e6151.g): file system is clean; not checking
/dev/sd0h (6355033e836e6151.h): file system is clean; not checking
/dev/sd0e (6355033e836e6151.e): file system is clean; not checking
setting tty flags
pf enabled
starting network
vio0: bound to 100.64.2.3 from 100.64.2.2 (fe:e1:bb:d1:93:2c)
reordering libraries: done.
starting early daemons: syslogd pflogd ntpd.
starting RPC daemons:.
savecore: no core dump
acpidump: Can't find ACPI information
checking quotas: done.
clearing /tmp
kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
starting network daemons: smtpd sndiod.
starting local daemons: cron.
Mon Feb 12 08:14:37 CET 2018
os/apps/stats... in vmm guest:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# tail /var/log/daemon
Feb 12 08:19:59 onion Tor[21861]: Bootstrapped 100%: Done
Feb 12 08:20:04 onion ntpd[51629]: adjusting local clock by 0.384653s
Feb 12 08:23:01 onion ntpd[51629]: adjusting local clock by -0.063873s
Feb 12 08:42:58 onion Tor[21861]: Your system clock just jumped 150 seconds
forward; assuming established circuits no longer work.
Feb 12 08:42:59 onion Tor[21861]: Tor has successfully opened a circuit. Looks
like client functionality is working.
Feb 12 08:42:59 onion Tor[21861]: Tor has successfully opened a circuit. Looks
like client functionality is working.
Feb 12 08:45:55 onion Tor[21861]: Your system clock just jumped 150 seconds
forward; assuming established circuits no longer work.
Feb 12 08:45:57 onion Tor[21861]: Tor has successfully opened a circuit. Looks
like client functionality is working.
Feb 12 08:45:57 onion Tor[21861]: Tor has successfully opened a circuit. Looks
like client functionality is working.
Feb 12 08:47:05 onion ntpd[51629]: adjusting clock frequency by -7.934969 to
-23.542969ppm
# pkg_info | grep tor
tor-0.3.2.9p0 anonymity service using onion routing
# vmstat
procs memory page disks traps cpu
r s avm fre flt re pi po fr sr sd0 sd1 int sys cs us sy id
1 35 42M 304M 84 0 0 0 0 0 9 0 112 278 29 0 88 12
some stats from inside vmm guest:
vmstat -c 1 -w 5
procs memory page disks traps cpu
r s avm fre flt re pi po fr sr sd0 sd1 int sys cs us sy id
1 36 42M 304M 64 0 0 0 0 0 6 0 109 217 29 0 88 12
systat -d 1 -b -n -w 80 ifstat
1 users Load 0.03 0.01 0.00 onion.xxx 09:00:20
IFACE STATE DESC IPKTS IBYTES IERRS OPKTS OBYTES OERRS COLLS
vio0 up:U 0 0 0 0 0 0 0
enc0 dn:U 0 0 0 0 0 0 0
lo0 up 0 0 0 0 0 0 0
pflog0 up 0 0 0 0 0 0 0
Totals 0 0 0 0 0 0 0
systat -d 1 -b -n -w 80 iostat
1 users Load 0.03 0.01 0.00 onion.xxx 09:00:20
DEVICE READ WRITE RTPS WTPS SEC STATS
sd0 18958950 27185971 632 2078 2.1
sd1 53043 10649 6 0 0.0
sd2 19046 4096 2 0 0.0
Totals 19031039 27200716 640 2080 2.2
23231 total pages
23231 dma pages
32 dirty pages
8 delwri bufs
0 busymap bufs
1543 avail kvaslots
1543 kvaslots
0 pending writes
0 pending reads
0 cache hits
0 high flips
0 high flops
0 dma flips
systat -d 1 -b -n -w 80 mbufs
1 users Load 0.03 0.01 0.00 onion.xxx 09:00:24
IFACE LIVELOCKS SIZE ALIVE LWM HWM CWM
System 0 256 134 11
2048 14 4
lo0
vio0 2048 6 2 128 6
enc0
pflog0
systat -d 1 -b -n -w 80 netstat
1 users Load 0.03 0.01 0.00 onion.xxx 09:00:24
LOCAL ADDRESS FOREIGN ADDRESS PROTO RECV-Q SEND-Q STATE
127.0.0.1:26705 127.0.0.1:9050 tcp 0 0 TIME_WAIT
100.64.2.3:46165 46.166.165.18:9001 tcp 0 0 ESTABLISHED
systat -d 1 -b -n -w 80 swap
1 users Load 0.03 0.01 0.00 onion.xxx 09:00:26
DISK 512-blocks USED 20\ 40\ 60\ 80\ 100\
sd0b 1044226 0
systat -d 1 -b -n -w 80 states
1 users Load 0.03 0.01 0.00 (1-21 of 70) onion.xxx 09:00:26
PR D SRC DEST STATE AGE EXP PKTS BYTES A
tcp O 100.64.2.3:46165 46.166.165.18:9001 4:4 2427 86299 1128 580K *
udp O 100.64.2.3:25259 100.64.2.2:53 2:1 53 0 2 100 1
udp O 100.64.2.3:20112 100.64.2.2:53 2:1 53 0 2 100 1
udp O 100.64.2.3:37223 100.64.2.2:53 2:1 53 0 2 100 1
udp O 100.64.2.3:2129 100.64.2.2:53 2:1 53 0 2 100 1
udp O 100.64.2.3:45180 100.64.2.2:53 2:1 53 0 2 100 1
udp O 100.64.2.3:5504 100.64.2.2:53 2:1 23 7 2 100 4
udp O 100.64.2.3:44179 100.64.2.2:53 2:1 23 7 2 100 4
udp O 100.64.2.3:30595 100.64.2.2:53 2:1 23 7 2 100 4
udp O 100.64.2.3:4562 100.64.2.2:53 2:1 23 7 2 100 4
udp O 100.64.2.3:48989 100.64.2.2:53 2:1 23 7 2 100 4
udp O 100.64.2.3:21079 100.64.2.2:53 2:1 23 7 2 100 4
udp O 100.64.2.3:41037 100.64.2.2:53 2:1 23 7 2 100 4
udp O 100.64.2.3:4739 100.64.2.2:53 2:1 23 7 2 100 4
udp O 100.64.2.3:33984 100.64.2.2:53 2:1 23 7 2 100 4
udp O 100.64.2.3:23139 100.64.2.2:53 2:1 23 7 2 100 4
udp O 100.64.2.3:18018 100.64.2.2:53 2:1 23 7 2 100 4
udp O 100.64.2.3:18401 100.64.2.2:53 2:1 23 7 2 100 4
udp O 100.64.2.3:1817 100.64.2.2:53 2:1 23 7 2 100 4
udp O 100.64.2.3:47599 100.64.2.2:53 2:1 23 7 2 100 4
udp O 100.64.2.3:39838 100.64.2.2:53 2:1 23 7 2 100 4
systat -d 1 -b -n -w 80 pool
1 users Load 0.03 0.01 0.00 (1-21 of 162) onion.xxx 09:00:30
NAME SIZE REQUESTS FAIL INUSE PGREQ PGREL NPAGE HIWA
amapchunkpl 152 1454 0 178 13 4 9 9
amappl 72 453 0 56 3 1 2 2
amappl1 72 52926 0 4612 283 196 87 100
amappl10 144 255 0 5 1 0 1 1
amappl11 152 638 0 47 2 0 2 2
amappl12 160 47 0 7 1 0 1 1
amappl13 168 66 0 13 1 0 1 1
amappl14 176 70 0 3 2 1 1 1
amappl15 184 43 0 1 1 0 1 1
amappl16 192 438 0 32 4 1 3 3
amappl2 80 3270 0 219 15 8 7 9
amappl3 88 401 0 18 4 3 1 4
amappl4 96 804 0 79 7 5 2 4
amappl5 104 469 0 27 2 1 1 2
amappl6 112 307 0 17 1 0 1 1
amappl7 120 196 0 23 1 0 1 1
amappl8 128 1860 0 33 32 30 2 31
amappl9 136 100 0 11 1 0 1 1
anonpl 16 93305 0 8523 100 63 37 60
aobjpl 64 1 0 1 1 0 1 1
arp 56 2 0 2 1 0 1 1
systat -d 1 -b -n -w 80 pcache
1 users Load 0.03 0.01 0.00 (1-21 of 162) onion.xxx 09:00:34
NAME LEN IDLE NGC CPU REQ REL LREQ LREL
mbufpl 8 0 6 0 26175 26230 1 7
mtagpl 8 0 0 0 2 3 0 0
mcl2k 8 0 0 0 6032 6047 0 0
mcl2k2 8 0 0 0 7 8 0 0
mcl4k 8 0 0 0 19 22 0 0
mcl8k 8 0 0 0 0 0 0 0
mcl9k 8 0 0 0 0 0 0 0
mcl12k 8 0 0 0 0 0 0 0
mcl16k 8 0 0 0 0 0 0 0
mcl64k 8 0 0 0 0 0 0 0
systat -d 1 -b -n -w 80 malloc
1 users Load 0.03 0.01 0.00 (1-21 of 35) onion.xxx 09:00:36
TYPE INUSE MEMUSE HIGHUS LIMIT REQUESTS TYPE KERN BUCKETS
ISOFS mount 1 32768 32768 76185K 1 0 0 ...........|....
MSDOSFS mount 1 16384 16384 76185K 1 0 0 ..........|.....
NDP 4 128 128 76185K 4 0 0 .|..............
NFS daemon 1 16384 16384 76185K 1 0 0 ..........|.....
NFS srvsock 1 128 128 76185K 1 0 0 ...|............
SYN cache 2 16384 16384 76185K 2 0 0 .........|......
UFS mount 33 69872 69872 76185K 33 0 0 |..|.|.|...|....
UFS quota 1 32768 32768 76185K 1 0 0 ...........|....
UVM amap 199 8768 8816 76185K 2028 0 0 |||||...........
UVM aobj 2 2064 2064 76185K 2 0 0 |......|........
VM map 2 512 512 76185K 2 0 0 ....|...........
VM swap 7 39120 39120 76185K 7 0 0 |.|....|..||....
counters 18 16896 16896 76185K 18 0 0 ..|||||.||......
crypto data 20 264512 264512 76185K 20 0 0 ..|.|.|...|.....
devbuf 549 467568 500352 76185K 1402 0 0 |||||||||||||...
dirhash 39 7808 7808 76185K 63 0 0 ||||.|..........
ether_multi 1 32 32 76185K 1 0 0 .|..............
exec 0 0 1344 76185K 455 0 0 ||..|.|.........
file desc 1 512 512 76185K 1 0 0 .....|..........
ifaddr 26 8384 8384 76185K 30 0 0 .||||...|.......
in_multi 11 704 704 76185K 11 0 0 .|||............
systat -d 1 -b -n -w 80 buckets
1 users Load 0.03 0.01 0.00 onion.xxx 09:00:40
BUCKET REQUESTS INUSE FREE HIWAT COULDFREE
16 1074 184 72 1280 0
32 1387 154 102 640 0
64 3532 1242 38 320 0
128 974 342 42 160 0
256 2814 67 13 80 0
512 766 103 9 40 0
1024 1155 291 5 20 0
2048 58 28 2 10 0
4096 1000 14 1 5 0
8192 201 196 0 5 0
16384 225 20 0 5 0
32768 18 10 0 5 0
65536 284 1 0 5 0
131072 0 0 0 5 0
262144 0 0 0 5 0
524288 1 1 0 5 0
systat -d 1 -b -n -w 80 cpu
1 users Load 0.03 0.01 0.00 onion.xxx 09:00:42
CPU User Nice System Interrupt Idle
0 0.0% 0.0% 0.0% 0.0% 0.0%