On Sat, Sep 16, 2017 at 06:59:17PM +0200, Philippe wrote:
> Hello,
> 
> I searched for the mandatory flags for running vmd and I tought that the
> SVM flag was enough for AMD cards. I checked in the dmesg and it is
> recognized, but there is no "vmm..." line in it.
> 
> When I launch vmd -d:
> vmd: /dev/vmm: Operation not supported by device
> 
> I checked the BIOS, everything related to virtualization is enabled.
> 
> Is there any other requirement I'm not seeing there? I didn't find other
> documentation than the manpages and very few presentations.
> 
> Thanks,
> 
> here my dmesg:

Is it disabled in the BIOS? I think we've tested with this CPU before, so it
should work.

-ml

> 
> > OpenBSD 6.1 (GENERIC.MP) #21: Wed Aug 30 08:21:38 CEST 2017
> >     
> > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> > real mem = 17161584640 (16366MB)
> > avail mem = 16636792832 (15866MB)
> > mpath0 at root
> > scsibus0 at mpath0: 256 targets
> > mainbus0 at root
> > bios0 at mainbus0: SMBIOS rev. 2.6 @ 0x9f400 (71 entries)
> > bios0: vendor American Megatrends Inc. version "1006" date 08/24/2010
> > bios0: ASUSTeK Computer INC. M4A89TD PRO USB3
> > acpi0 at bios0: rev 2
> > acpi0: sleep states S0 S1 S3 S4 S5
> > acpi0: tables DSDT FACP APIC MCFG OEMB SRAT HPET IVRS SSDT
> > acpi0: wakeup devices PC02(S4) PC03(S4) PC04(S4) PC05(S4) PC06(S4) PC07(S4) 
> > PC09(S4) PC0A(S4) PC0B(S4) PC0C(S4) PC0D(S4) SBAZ(S4) P0PC(S4) UHC1(S4) 
> > UHC2(S4) USB3(S4) [...]
> > acpitimer0 at acpi0: 3579545 Hz, 32 bits
> > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> > cpu0 at mainbus0: apid 0 (boot processor)
> > cpu0: AMD Phenom(tm) II X4 970 Processor, 3512.30 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,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
> > cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
> > 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache
> > cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully 
> > associative
> > cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully 
> > associative
> > cpu0: AMD erratum 721 detected and fixed
> > cpu0: TSC frequency 3512298000 Hz
> > cpu0: smt 0, core 0, package 0
> > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> > cpu0: apic clock running at 200MHz
> > cpu0: mwait min=64, max=64, IBE
> > cpu1 at mainbus0: apid 1 (application processor)
> > cpu1: AMD Phenom(tm) II X4 970 Processor, 3511.81 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,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
> > cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
> > 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache
> > cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully 
> > associative
> > cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully 
> > associative
> > cpu1: AMD erratum 721 detected and fixed
> > cpu1: smt 0, core 1, package 0
> > cpu2 at mainbus0: apid 2 (application processor)
> > cpu2: AMD Phenom(tm) II X4 970 Processor, 3511.81 MHz
> > cpu2: 
> > 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,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
> > cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
> > 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache
> > cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully 
> > associative
> > cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully 
> > associative
> > cpu2: AMD erratum 721 detected and fixed
> > cpu2: smt 0, core 2, package 0
> > cpu3 at mainbus0: apid 3 (application processor)
> > cpu3: AMD Phenom(tm) II X4 970 Processor, 3511.81 MHz
> > cpu3: 
> > 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,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
> > cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
> > 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache
> > cpu3: ITLB 32 4KB entries fully associative, 16 4MB entries fully 
> > associative
> > cpu3: DTLB 48 4KB entries fully associative, 48 4MB entries fully 
> > associative
> > cpu3: AMD erratum 721 detected and fixed
> > cpu3: smt 0, core 3, package 0
> > ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins
> > ioapic1 at mainbus0: apid 5 pa 0xfec20000, version 21, 32 pins
> > acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
> > acpihpet0 at acpi0: 14318180 Hz
> > acpiprt0 at acpi0: bus 0 (PCI0)
> > acpiprt1 at acpi0: bus 6 (PC02)
> > acpiprt2 at acpi0: bus -1 (PC03)
> > acpiprt3 at acpi0: bus 5 (PC04)
> > acpiprt4 at acpi0: bus 4 (PC05)
> > acpiprt5 at acpi0: bus 3 (PC06)
> > acpiprt6 at acpi0: bus 2 (PC07)
> > acpiprt7 at acpi0: bus -1 (PC09)
> > acpiprt8 at acpi0: bus -1 (PC0A)
> > acpiprt9 at acpi0: bus -1 (PC0B)
> > acpiprt10 at acpi0: bus -1 (PC0C)
> > acpiprt11 at acpi0: bus -1 (PC0D)
> > acpiprt12 at acpi0: bus 1 (P0PC)
> > acpiprt13 at acpi0: bus -1 (PE20)
> > acpiprt14 at acpi0: bus -1 (PE21)
> > acpiprt15 at acpi0: bus -1 (PE22)
> > acpiprt16 at acpi0: bus -1 (PE23)
> > acpiec0 at acpi0
> > acpicpu0 at acpi0: C1(@1 halt!), PSS
> > acpicpu1 at acpi0: C1(@1 halt!), PSS
> > acpicpu2 at acpi0: C1(@1 halt!), PSS
> > acpicpu3 at acpi0: C1(@1 halt!), PSS
> > "PNP0501" at acpi0 not configured
> > aibs0 at acpi0 GGRP GITM SITM
> > acpibtn0 at acpi0: PWRB
> > "PNP0C14" at acpi0 not configured
> > cpu0: 3512 MHz: speeds: 3500 2800 2200 800 MHz
> > pci0 at mainbus0 bus 0
> > pchb0 at pci0 dev 0 function 0 "ATI RD890 Host" rev 0x02
> > vendor "ATI", unknown product 0x5a23 (class system subclass IOMMU, rev 
> > 0x00) at pci0 dev 0 function 2 not configured
> > ppb0 at pci0 dev 2 function 0 "ATI SR5690 PCIE" rev 0x00: msi
> > pci1 at ppb0 bus 6
> > vga1 at pci1 dev 0 function 0 vendor "NVIDIA", unknown product 0x0640 rev 
> > 0xa1
> > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> > wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> > ppb1 at pci0 dev 4 function 0 "ATI SR5690 PCIE" rev 0x00: msi
> > pci2 at ppb1 bus 5
> > jmb0 at pci2 dev 0 function 0 "JMicron JMB361 IDE/SATA" rev 0x02
> > ahci0 at jmb0: apic 5 int 20, AHCI 1.0
> > ahci0: device on port 1 didn't come ready, TFD: 0x77<ERR>
> > ahci0: stopping the port, softreset slot 31 was still active.
> > ahci0: unable to communicate with device on port 1
> > scsibus1 at ahci0: 32 targets
> > pciide0 at jmb0: DMA, channel 0 wired to native-PCI, channel 1 wired to 
> > native-PCI
> > pciide0: using apic 5 int 20 for native-PCI interrupt
> > pciide0: channel 0 disabled (no drives)
> > pciide0: channel 1 disabled (no drives)
> > ppb2 at pci0 dev 5 function 0 "ATI SR5690 PCIE" rev 0x00: msi
> > pci3 at ppb2 bus 4
> > vendor "VIA", unknown product 0x3403 (class serial bus subclass Firewire, 
> > rev 0x01) at pci3 dev 0 function 0 not configured
> > ppb3 at pci0 dev 6 function 0 "ATI SR5690 PCIE" rev 0x00: msi
> > pci4 at ppb3 bus 3
> > re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E 
> > (0x2c00), msi, address bc:ae:c5:8c:bd:30
> > rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 4
> > ppb4 at pci0 dev 7 function 0 "ATI SR5690 PCIE" rev 0x00: msi
> > pci5 at ppb4 bus 2
> > xhci0 at pci5 dev 0 function 0 "NEC xHCI" rev 0x03: msi
> > usb0 at xhci0: USB revision 3.0
> > uhub0 at usb0 configuration 1 interface 0 "NEC xHCI root hub" rev 3.00/1.00 
> > addr 1
> > ahci1 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 4 int 19, 
> > AHCI 1.2
> > ahci1: port 3: 3.0Gb/s
> > scsibus2 at ahci1: 32 targets
> > sd0 at scsibus2 targ 3 lun 0: <ATA, HDT722516DLA380, V43O> SCSI3 0/direct 
> > fixed naa.5000cca306d565a1
> > sd0: 157066MB, 512 bytes/sector, 321672960 sectors
> > ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 4 int 18, 
> > version 1.0, legacy support
> > ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 4 int 17
> > usb1 at ehci0: USB revision 2.0
> > uhub1 at usb1 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 4 int 18, 
> > version 1.0, legacy support
> > ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 4 int 17
> > usb2 at ehci1: USB revision 2.0
> > uhub2 at usb2 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 0x41: polling
> > iic0 at piixpm0
> > spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600
> > spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-10600
> > spdmem2 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-10600
> > spdmem3 at iic0 addr 0x53: 4GB DDR3 SDRAM PC3-10600
> > pciide1 at pci0 dev 20 function 1 "ATI SB700 IDE" rev 0x40: DMA, channel 0 
> > configured to compatibility, channel 1 configured to compatibility
> > azalia0 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 4 int 
> > 16
> > azalia0: codecs: Realtek/0x0892
> > audio0 at azalia0
> > pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40
> > ppb5 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40
> > pci6 at ppb5 bus 1
> > ohci2 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 4 int 18, 
> > version 1.0, legacy support
> > ohci3 at pci0 dev 22 function 0 "ATI SB700 USB" rev 0x00: apic 4 int 18, 
> > version 1.0, legacy support
> > ehci2 at pci0 dev 22 function 2 "ATI SB700 USB2" rev 0x00: apic 4 int 17
> > usb3 at ehci2: USB revision 2.0
> > uhub3 at usb3 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00 
> > addr 1
> > pchb1 at pci0 dev 24 function 0 "AMD AMD64 10h HyperTransport" rev 0x00
> > pchb2 at pci0 dev 24 function 1 "AMD AMD64 10h Address Map" rev 0x00
> > pchb3 at pci0 dev 24 function 2 "AMD AMD64 10h DRAM Cfg" rev 0x00
> > km0 at pci0 dev 24 function 3 "AMD AMD64 10h Misc Cfg" rev 0x00
> > pchb4 at pci0 dev 24 function 4 "AMD AMD64 10h Link Cfg" rev 0x00
> > usb4 at ohci0: USB revision 1.0
> > uhub4 at usb4 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 
> > addr 1
> > usb5 at ohci1: USB revision 1.0
> > uhub5 at usb5 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 
> > addr 1
> > isa0 at pcib0
> > isadma0 at isa0
> > com0 at isa0 port 0x3f8/8 irq 4: 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
> > it0 at isa0 port 0x2e/2: IT8721F rev 1, EC port 0x290
> > usb6 at ohci2: USB revision 1.0
> > uhub6 at usb6 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 
> > addr 1
> > usb7 at ohci3: USB revision 1.0
> > uhub7 at usb7 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 
> > addr 1
> > uhidev0 at uhub5 port 1 configuration 1 interface 0 "CHESEN USB Keyboard" 
> > rev 1.10/1.10 addr 2
> > uhidev0: iclass 3/1
> > ukbd0 at uhidev0: 8 variable keys, 6 key codes, country code 33
> > wskbd1 at ukbd0 mux 1
> > wskbd1: connecting to wsdisplay0
> > uhidev1 at uhub5 port 1 configuration 1 interface 1 "CHESEN USB Keyboard" 
> > rev 1.10/1.10 addr 2
> > uhidev1: iclass 3/0, 3 report ids
> > uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
> > uhid1 at uhidev1 reportid 3: input=3, output=0, feature=0
> > vscsi0 at root
> > scsibus3 at vscsi0: 256 targets
> > softraid0 at root
> > scsibus4 at softraid0: 256 targets
> > root on sd0a (b0873c5678e60464.a) swap on sd0b dump on sd0b
> 
> 
> -- 
> Philippe Pittoli
> Doctorant en réseaux informatiques, ICube Strasbourg
> Fondateur d'Alsace Réseau Neutre
> https://www.arn-fai.net
> 

Reply via email to