On Sat, Jul 19, 2025 at 09:46:44AM -0700, Mike Larkin wrote: > On Sat, Jul 19, 2025 at 01:43:03PM +0000, H. Hartzer wrote: > > Hi Mike and Philip, > > > > >> dmesg output would make these questions easier to answer. > > >> > > >> > > >> Philip Guenther > > >> > > > > > > Indeed. > > > > > > man sendbug > > > > My bad. I didn't realize dmesg output would be so helpful. > > > > Here it is: > > > > OpenBSD 7.7 (GENERIC.MP) #2: Sun Jun 29 09:04:02 MDT 2025 > > > > r...@syspatch-77-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > real mem = 8553373696 (8157MB) > > avail mem = 8267669504 (7884MB) > > random: good seed from bootblocks > > mpath0 at root > > scsibus0 at mpath0: 256 targets > > mainbus0 at root > > bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe9510 (23 entries) > > bios0: vendor American Megatrends Inc. version "1.1" date 04/29/2014 > > bios0: Supermicro X9SBAA > > acpi0 at bios0: ACPI 5.0 > > acpi0: sleep states S0 S4 S5 > > acpi0: tables DSDT FACP APIC FPDT MCFG HPET EINJ ERST HEST BERT > > acpi0: wakeup devices PRP4(S4) > > acpitimer0 at acpi0: 3579545 Hz, 24 bits > > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > > cpu0 at mainbus0: apid 0 (boot processor) > > cpu0: Intel(R) Atom(TM) CPU S1260 @ 2.00GHz, 1995.07 MHz, 06-36-09, patch > > 0000010d > > cpu0: cpuid 1 > > edx=bfebfbff<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> > > ecx=40e3bd<SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE> > > cpu0: cpuid 6 eax=5<SENSOR,ARAT> ecx=1<EFFFREQ> > > cpu0: cpuid a vers=3, gp=2, gpwidth=40, ff=3, ffwidth=40 > > cpu0: cpuid 80000001 edx=20100800<NXE,LONG> ecx=1<LAHF> > > cpu0: cpuid 80000007 edx=100<ITSC> > > cpu0: MELTDOWN > > cpu0: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 512KB > > 64b/line 8-way L2 cache > > cpu0: smt 0, core 0, package 0 > > mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges > > cpu0: apic clock running at 99MHz > > cpu0: mwait min=64, max=64, C-substates=0.2.2.0.2.0.3, IBE > > cpu1 at mainbus0: apid 1 (application processor) > > cpu1: Intel(R) Atom(TM) CPU S1260 @ 2.00GHz, 1995.10 MHz, 06-36-09, patch > > 0000010d > > cpu1: smt 0, core 1, package 0 > > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins > > acpimcfg0 at acpi0 > > acpimcfg0: addr 0xc0000000, bus 0-255 > > acpihpet0 at acpi0: 14318179 Hz > > acpiprt0 at acpi0: bus 0 (PCI0) > > acpiprt1 at acpi0: bus 1 (PRP1) > > acpiprt2 at acpi0: bus 2 (PRP2) > > acpiprt3 at acpi0: bus 4 (P3P4) > > acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000 > > acpicmos0 at acpi0 > > "IPI0001" at acpi0 not configured > > acpibtn0 at acpi0: PWRB > > acpicpu0 at acpi0: C1(1000@20 halt), PSS > > acpicpu1 at acpi0: C1(1000@20 halt), PSS > > acpitz0 at acpi0 > > acpitz0: critical temperature is 127 degC > > acpitz1 at acpi0 > > acpitz1: critical temperature is 175 degC > > ipmi at mainbus0 not configured > > cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2000, 1900, 1800, 1700, 1600, > > 1500, 1400, 1300, 1200, 1100, 1000, 900, 800, 700, 600 MHz > > pci0 at mainbus0 bus 0 > > pchb0 at pci0 dev 0 function 0 "Intel Atom S1260 Host" rev 0x02 > > ppb0 at pci0 dev 1 function 0 "Intel Atom S1200 PCIE" rev 0x02 > > pci1 at ppb0 bus 1 > > ahci0 at pci1 dev 0 function 0 "Marvell 88SE9230 AHCI" rev 0x10: msi, AHCI > > 1.2 > > ahci0: port 0: 3.0Gb/s > > ahci0: port 1: 1.5Gb/s > > ahci0: port 7: 1.5Gb/s > > scsibus1 at ahci0: 32 targets > > sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD1600BEVT-7, 11.0> > > naa.50014ee001d19357 > > sd0: 152627MB, 512 bytes/sector, 312581808 sectors > > sd1 at scsibus1 targ 1 lun 0: <ATA, ST9160823AS, 3.AA> > > t10.ATA_ST9160823AS_5NK06H71 > > sd1: 152627MB, 512 bytes/sector, 312581808 sectors > > uk0 at scsibus1 targ 7 lun 0: <Marvell, Console, 1.01> removable > > ppb1 at pci0 dev 2 function 0 "Intel Atom S1200 PCIE" rev 0x02 > > pci2 at ppb1 bus 2 > > xhci0 at pci2 dev 0 function 0 "Renesas uPD720201 xHCI" rev 0x03: msix, > > xHCI 1.0 > > usb0 at xhci0: USB revision 3.0 > > uhub0 at usb0 configuration 1 interface 0 "Renesas xHCI root hub" rev > > 3.00/1.00 addr 1 > > ppb2 at pci0 dev 3 function 0 "Intel Atom S1200 PCIE" rev 0x02 > > pci3 at ppb2 bus 3 > > ppb3 at pci3 dev 0 function 0 "Newbridge PEB383 PCIE-PCI" rev 0x01 > > pci4 at ppb3 bus 4 > > vga1 at pci4 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) > > ppb4 at pci0 dev 4 function 0 "Intel Atom S1200 PCIE" rev 0x02 > > pci5 at ppb4 bus 5 > > em0 at pci5 dev 0 function 0 "Intel I350" rev 0x01: msi, address > > 00:25:90:c7:b3:8e > > em1 at pci5 dev 0 function 1 "Intel I350" rev 0x01: msi, address > > 00:25:90:c7:b3:8f > > "Intel Atom S1200 MEI" rev 0x02 at pci0 dev 14 function 0 not configured > > "Intel Atom S1200 SMBus" rev 0x02 at pci0 dev 19 function 0 not configured > > "Intel Atom S1200 SMBus" rev 0x02 at pci0 dev 19 function 1 not configured > > puc0 at pci0 dev 20 function 0 "Intel Atom S1200 UART" rev 0x02: ports: 16 > > com > > com4 at puc0 port 0 apic 2 int 16: ns16550a, 16 byte fifo > > pcib0 at pci0 dev 31 function 0 "Intel Atom S1200 ISA" rev 0x02 > > isa0 at pcib0 > > isadma0 at isa0 > > pcppi0 at isa0 port 0x61 > > spkr0 at pcppi0 > > vmm0 at mainbus0: unknown > > odd. ark says this cpu should have what we need. let me make you a diff that > will print more and we can see why it's not being detected. > > > uhidev0 at uhub0 port 6 configuration 1 interface 0 "Lenovo Lenovo Black > > Silk USB Keyboard" rev 2.00/0.40 addr 2 > > uhidev0: iclass 3/1 > > ukbd0 at uhidev0: 8 variable keys, 6 key codes > > wskbd0 at ukbd0: console keyboard, using wsdisplay0 > > uhidev1 at uhub0 port 6 configuration 1 interface 1 "Lenovo Lenovo Black > > Silk USB Keyboard" rev 2.00/0.40 addr 2 > > uhidev1: iclass 3/0, 2 report ids > > ucc0 at uhidev1 reportid 1: 4096 usages, 20 keys, array > > wskbd1 at ucc0 mux 1 > > wskbd1: connecting to wsdisplay0 > > uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0 > > vscsi0 at root > > scsibus2 at vscsi0: 256 targets > > softraid0 at root > > scsibus3 at softraid0: 256 targets > > sd2 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 006> > > sd2: 152627MB, 512 bytes/sector, 312581216 sectors > > root on sd2a (de8735bc5d5fecc3.a) swap on sd2b dump on sd2b > > > > -Henrich > > >
Try this diff. It won't fix anything but it will print some debugging messages that will help figure out what is going on. Send a new dmesg with this diff in the kernel. -ml Index: arch/amd64/amd64/identcpu.c =================================================================== RCS file: /cvs/src/sys/arch/amd64/amd64/identcpu.c,v diff -u -p -a -u -r1.151 identcpu.c --- arch/amd64/amd64/identcpu.c 26 Jun 2025 12:17:27 -0000 1.151 +++ arch/amd64/amd64/identcpu.c 21 Jul 2025 08:06:03 -0000 @@ -926,7 +926,7 @@ no_topology: void cpu_check_vmm_cap(struct cpu_info *ci) { - uint64_t msr; + uint64_t msr, msr2; uint32_t cap, dummy, edx; /* @@ -940,8 +940,10 @@ cpu_check_vmm_cap(struct cpu_info *ci) else { if (msr & IA32_FEATURE_CONTROL_VMX_EN) ci->ci_vmm_flags |= CI_VMM_VMX; - else + else { ci->ci_vmm_flags |= CI_VMM_DIS; + printf("%s: vmx disabled in bios\n", __func__); + } } } @@ -951,13 +953,19 @@ cpu_check_vmm_cap(struct cpu_info *ci) */ if (ci->ci_vmm_flags & CI_VMM_VMX) { /* Secondary controls available? */ - /* XXX should we check true procbased ctls here if avail? */ msr = rdmsr(IA32_VMX_PROCBASED_CTLS); + msr2 = rdmsr(IA32_VMX_TRUE_PROCBASED_CTLS); + printf("%s: procbased: 0x%llx\n", __func__, msr); + printf("%s: true procbased: 0x%llx\n", __func__, msr2); if (msr & (IA32_VMX_ACTIVATE_SECONDARY_CONTROLS) << 32) { msr = rdmsr(IA32_VMX_PROCBASED2_CTLS); /* EPT available? */ if (msr & (IA32_VMX_ENABLE_EPT) << 32) ci->ci_vmm_flags |= CI_VMM_EPT; + else + printf("%s: no EPT\n", __func__); + } else { + printf("%s: no secondary controls\n", __func__); } }