On Thu, Mar 15, 2018 at 12:01:32PM -0600, [email protected] wrote: > I am trying to create a VM on 6.2-stable and running into intermittent text > output on the console; it takes from 0.2 seconds to 180 seconds to output > text segments. A segment is a few bytes to several lines of text. It times > out and often enough to prevent autoinstall from succeeding, most of the > time. > > For example, > > Welcome to the OpenBSD/amd64 6.2 installation program. > (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? > > takes two or three minutes to appear if I do nothing, but if I type space or > backspace, I get, progressively with each keystroke: > > (I)nstall, > (I)nstall, (U)pgra > (I)nstall, (U)pgrade, (A)utoinstall or > > and so on. >
This is a known issue, and it's worse on AMD CPUs. It's been a known issue for a long time but I've been continually distracted by other things. I'll try to get to it after I fix the EPT misconfiguration issue. -ml > > Here are the pings during (my nth) attempt: the long intervals are > apparently when the VM gets cpu-cycles to run; the short ones are me typing > space or backspace which seems to provoke more text output from the console. > > 64 bytes from 100.64.2.3: icmp_seq=120 ttl=255 time=597.000 ms > 64 bytes from 100.64.2.3: icmp_seq=121 ttl=255 time=2105.320 ms > 64 bytes from 100.64.2.3: icmp_seq=122 ttl=255 time=1109.594 ms > 64 bytes from 100.64.2.3: icmp_seq=123 ttl=255 time=114.258 ms > 64 bytes from 100.64.2.3: icmp_seq=124 ttl=255 time=11.779 ms > 64 bytes from 100.64.2.3: icmp_seq=125 ttl=255 time=6.963 ms > 64 bytes from 100.64.2.3: icmp_seq=126 ttl=255 time=94.081 ms > 64 bytes from 100.64.2.3: icmp_seq=127 ttl=255 time=89665.142 ms > 64 bytes from 100.64.2.3: icmp_seq=128 ttl=255 time=88669.742 ms > 64 bytes from 100.64.2.3: icmp_seq=129 ttl=255 time=87664.155 ms > 64 bytes from 100.64.2.3: icmp_seq=130 ttl=255 time=86668.707 ms > 64 bytes from 100.64.2.3: icmp_seq=131 ttl=255 time=85673.139 ms > 64 bytes from 100.64.2.3: icmp_seq=132 ttl=255 time=84667.626 ms > 64 bytes from 100.64.2.3: icmp_seq=133 ttl=255 time=83672.081 ms > 64 bytes from 100.64.2.3: icmp_seq=134 ttl=255 time=82676.615 ms > ...snip.... > 64 bytes from 100.64.2.3: icmp_seq=217 ttl=255 time=177044.250 ms > 64 bytes from 100.64.2.3: icmp_seq=218 ttl=255 time=176048.622 ms > 64 bytes from 100.64.2.3: icmp_seq=219 ttl=255 time=175053.033 ms > 64 bytes from 100.64.2.3: icmp_seq=220 ttl=255 time=174047.395 ms > 64 bytes from 100.64.2.3: icmp_seq=221 ttl=255 time=173051.945 ms > > As you can see ping intervals get bigger if I do nothing. (Autoinstall > enables DHCP which is why I can ping the VM before OpenBSD is installed.) > I'm using X and xterm to communicate with the VM serial console. > > The VM command is > > # vmctl start s -Lc -m $(( 1024*1024*1024)) -b /bsd.rd -d /home/vm/s1.disk > \ > -d /home/cache/pub/OpenBSD/6.2/amd64/install62.fs > > > So, question: is this machine (dmesg below) supported, and would there be > anything I could do to improve this? > > thanks > > John > > > OpenBSD 6.2 (GENERIC.MP) #6: Wed Feb 28 21:13:02 CET 2018 > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 3849388032 (3671MB) > avail mem = 3725651968 (3553MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf9d00 (60 entries) > bios0: vendor LENOVO version "8RET54WW (1.17 )" date 10/24/2012 > bios0: LENOVO 0627RZ6 > acpi0 at bios0: rev 4 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP SLIC HPET APIC MCFG UEFI UEFI SSDT SSDT UEFI > acpi0: wakeup devices PB4_(S4) PB5_(S4) PB6_(S4) PB7_(S4) OHC1(S3) EHC1(S3) > OHC2(S3) SBAZ(S4) GEC_(S4) P2P_(S5) SPB0(S4) SPB1(S4) SPB2(S4) SPB3(S4) > LID_(S4) > acpitimer0 at acpi0: 3579545 Hz, 32 bits > acpihpet0 at acpi0: 14318180 Hz > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: AMD E-450 APU with Radeon(tm) HD Graphics, 6422.09 MHz > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC > cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB > 64b/line 16-way L2 cache > cpu0: 8 4MB entries fully associative > cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative > cpu0: TSC frequency 6422085150 Hz > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 199MHz > cpu0: mwait min=64, max=64, IBE > cpu1 at mainbus0: apid 1 (application processor) > cpu1: AMD E-450 APU with Radeon(tm) HD Graphics, 1646.49 MHz > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC > cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB > 64b/line 16-way L2 cache > cpu1: 8 4MB entries fully associative > cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative > cpu1: smt 0, core 1, package 0 > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 21, 24 pins > , remapped to apid 2 > acpimcfg0 at acpi0 addr 0xf8000000, bus 0-31 > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus -1 (PB4_) > acpiprt2 at acpi0: bus 1 (PB5_) > acpiprt3 at acpi0: bus 2 (PB6_) > acpiprt4 at acpi0: bus 3 (PB7_) > acpiprt5 at acpi0: bus 4 (P2P_) > acpiprt6 at acpi0: bus -1 (SPB0) > acpiprt7 at acpi0: bus -1 (SPB1) > acpiprt8 at acpi0: bus -1 (SPB2) > acpiprt9 at acpi0: bus -1 (SPB3) > acpiec0 at acpi0 > acpicpu0 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS > acpicpu1 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS > acpitz0 at acpi0: critical temperature is 100 degC > acpibtn0 at acpi0: PWRB > acpibtn1 at acpi0: SLPB > "LEN0026" at acpi0 not configured > acpithinkpad0 at acpi0 > acpiac0 at acpi0: AC unit online > acpibat0 at acpi0: BAT1 model "42T4957" serial 1282 type LION oem "SANYO" > acpibtn2 at acpi0: LID_ > "PNP0C14" at acpi0 not configured > "PNP0C14" at acpi0 not configured > "PNP0C14" at acpi0 not configured > acpivideo0 at acpi0: VGA_ > acpivideo1 at acpi0: VGA_ > cpu0: 6422 MHz: speeds: 1650 1320 825 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "AMD AMD64 14h Host" rev 0x00 > radeondrm0 at pci0 dev 1 function 0 "ATI Radeon HD 6320" rev 0x00 > drm0 at radeondrm0 > radeondrm0: msi > azalia0 at pci0 dev 1 function 1 "ATI Radeon HD 6310 HD Audio" rev 0x00: msi > azalia0: no supported codecs > ppb0 at pci0 dev 5 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi > pci1 at ppb0 bus 1 > "Broadcom BCM43224" rev 0x01 at pci1 dev 0 function 0 not configured > ppb1 at pci0 dev 6 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi > pci2 at ppb1 bus 2 > alc0 at pci2 dev 0 function 0 "Attansic Technology L1D" rev 0xc0: msi, > address 08:9e:01:05:27:68 > atphy0 at alc0 phy 0: AR8035 10/100/1000 PHY, rev. 0 > ppb2 at pci0 dev 7 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi > pci3 at ppb2 bus 3 > rtsx0 at pci3 dev 0 function 0 "Realtek RTS5209 Card Reader" rev 0x01: msi > sdmmc0 at rtsx0: 4-bit > ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 2 int 19, > AHCI 1.2 > ahci0: port 0: 3.0Gb/s > scsibus1 at ahci0: 32 targets > sd0 at scsibus1 targ 0 lun 0: <ATA, TOSHIBA MQ01ABF0, AM0P> SCSI3 0/direct > fixed naa.5000039551c01000 > sd0: 305245MB, 512 bytes/sector, 625142448 sectors > ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 18, > version 1.0, legacy support > ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00 > addr 1 > ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 18, > version 1.0, legacy support > ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17 > usb1 at ehci1: USB revision 2.0 > uhub1 at usb1 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00 > addr 1 > piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x42: polling > iic0 at piixpm0 > spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-12800 SO-DIMM > spdmem1 at iic0 addr 0x51: 2GB DDR3 SDRAM PC3-8500 SO-DIMM > azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 2 int > 16 > azalia1: codecs: Conexant CX20590 > audio0 at azalia1 > pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40 > ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40 > pci4 at ppb3 bus 4 > pchb1 at pci0 dev 24 function 0 "AMD AMD64 14h Link Cfg" rev 0x43 > pchb2 at pci0 dev 24 function 1 "AMD AMD64 14h Address Map" rev 0x00 > pchb3 at pci0 dev 24 function 2 "AMD AMD64 14h DRAM Cfg" rev 0x00 > km0 at pci0 dev 24 function 3 "AMD AMD64 14h Misc Cfg" rev 0x00 > pchb4 at pci0 dev 24 function 4 "AMD AMD64 14h CPU Power" rev 0x00 > pchb5 at pci0 dev 24 function 5 "AMD AMD64 14h Reserved" rev 0x00 > pchb6 at pci0 dev 24 function 6 "AMD AMD64 14h NB Power" rev 0x00 > pchb7 at pci0 dev 24 function 7 "AMD AMD64 14h Reserved" rev 0x00 > usb2 at ohci0: USB revision 1.0 > uhub2 at usb2 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 > addr 1 > usb3 at ohci1: USB revision 1.0 > uhub3 at usb3 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 > addr 1 > isa0 at pcib0 > isadma0 at isa0 > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard > pms0 at pckbc0 (aux slot) > wsmouse0 at pms0 mux 0 > wsmouse1 at pms0 mux 0 > pms0: Synaptics clickpad, firmware 8.0, 0x1e2b1 0x940300 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > vmm0 at mainbus0: SVM/RVI > uvideo0 at uhub1 port 5 configuration 1 interface 0 "Image Processor > Integrated Camera" rev 2.00/41.64 addr 2 > video0 at uvideo0 > uhidev0 at uhub2 port 2 configuration 1 interface 0 "Logitech USB Receiver" > rev 2.00/12.03 addr 2 > uhidev0: iclass 3/1 > ukbd0 at uhidev0: 8 variable keys, 6 key codes > wskbd1 at ukbd0 mux 1 > uhidev1 at uhub2 port 2 configuration 1 interface 1 "Logitech USB Receiver" > rev 2.00/12.03 addr 2 > uhidev1: iclass 3/1, 8 report ids > ums0 at uhidev1 reportid 2: 16 buttons, Z and W dir > wsmouse2 at ums0 mux 0 > uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0 > uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0 > uhid2 at uhidev1 reportid 8: input=1, output=0, feature=0 > uhidev2 at uhub2 port 2 configuration 1 interface 2 "Logitech USB Receiver" > rev 2.00/12.03 addr 2 > uhidev2: iclass 3/0, 33 report ids > uhid3 at uhidev2 reportid 16: input=6, output=6, feature=0 > uhid4 at uhidev2 reportid 17: input=19, output=19, feature=0 > uhid5 at uhidev2 reportid 32: input=14, output=14, feature=0 > uhid6 at uhidev2 reportid 33: input=31, output=31, feature=0 > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on sd0a (64768de88315aee0.a) swap on sd0b dump on sd0b > radeondrm0: 1366x768, 32bpp > wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 > wskbd1: connecting to wsdisplay0 > wsdisplay0: screen 1-5 added (std, vt100 emulation) >

