Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2017 21:53:38 +0300
From:      Alex Deiter <alex.deiter@gmail.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Cc:        roger.pau@citrix.com, royger@freebsd.org
Subject:   Rangeley C2758: missed IOMMU support for Xen Dom0
Message-ID:  <10A301AB-4F9D-4F62-8912-5F71E604C454@gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

Could you please help me understand what and were i did wrong? =20

Running a FreeBSD 12.0-CURRENT-r318425 GENERIC-NODEBUG and trying to =
install Xen Dom0 (xen-4.7.0_2 from ports).

HW setup:
Supermicro A1SRM-2758F [Intel Rangeley Atom processor C2758]
Motherboard spec: =
http://supermicro.com/products/motherboard/Atom/X10/A1SRM-2758F.cfm
CPU spec: =
https://ark.intel.com/products/77988/Intel-Atom-Processor-C2758-4M-Cache-2=
_40-GHz

loader.conf:
hw.pci.mcfg=3D0
xen_kernel=3D"/boot/xen"
xen_cmdline=3D"dom0_mem=3D2048M dom0_max_vcpus=3D4 dom0pvh=3D1 =
com1=3D115200,8n1 com2=3D115200,8n1 console=3Dcom2 guest_loglvl=3Dall =
loglvl=3Dall"

Xen Dom0 boot failed with error
Full boot log - https://cloud.deiter.ru/index.php/s/bg5lQSjPPSkiTAq

...
(XEN) I/O virtualisation disabled
...
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) Presently, iommu must be enabled for PVH hardware domain
(XEN)
(XEN) ****************************************
=20

Boot without Xen kernel is OK
Full boot log - https://cloud.deiter.ru/index.php/s/lUXLPnPSTWqqQNO

...
CPU: Intel(R) Atom(TM) CPU  C2758  @ 2.40GHz (2400.06-MHz K8-class CPU)
  Origin=3D"GenuineIntel"  Id=3D0x406d8  Family=3D0x6  Model=3D0x4d  =
Stepping=3D8
  =
Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE=
,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  =
Features2=3D0x43d8e3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,=
CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,RDRAND>
  AMD Features=3D0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=3D0x101<LAHF,Prefetch>
  Structured Extended Features=3D0x2282<TSCADJ,SMEP,ERMS,NFPUSG>
  VT-x: Basic Features=3D0xda0400<SMM,INS/OUTS,TRUE>
        Pin-Based Controls=3D0x7f<ExtINT,NMI,VNMI,PreTmr>
        Primary Processor =
Controls=3D0xfff9fffe<INTWIN,TSCOff,HLT,INVLPG,MWAIT,RDPMC,RDTSC,CR3-LD,CR=
3-ST,CR8-LD,CR8-ST,TPR,NMIWIN,MOV-DR,IO,IOmap,MTF,MSRmap,MONITOR,PAUSE>
        Secondary Processor =
Controls=3D0x28ef<APIC,EPT,DT,RDTSCP,VPID,WBINVD,UG,RDRAND,VMFUNC>
        Exit Controls=3D0xda0400<PAT-LD,EFER-SV,PTMR-SV>
        Entry Controls=3D0xda0400
        EPT Features=3D0x6114141<XO,PW4,UC,WB,2M,INVEPT,single,all>
        VPID =
Features=3D0xf01<INVVPID,individual,single,all,single-globals>
...
pci0: <base peripheral, IOMMU> at device 15.0 (no driver attached)
pci0: <base peripheral> at device 19.0 (no driver attached)
...

# pciconf -lv
none1@pci0:0:15:0:      class=3D0x080600 card=3D0x082015d9 =
chip=3D0x1f168086 rev=3D0x02 hdr=3D0x00
    vendor     =3D 'Intel Corporation'
    device     =3D 'Atom processor C2000 RCEC'
    class      =3D base peripheral
    subclass   =3D IOMMU


Thank you!

Alex Deiter
alex.deiter@gmail.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10A301AB-4F9D-4F62-8912-5F71E604C454>