On 11/29/14 18:38, Anish Gupta wrote:
 >Another thing I should mention is that "acpidump -t | grep DMAR"
reports nothing. It is mentioned in the documentation but I didn't see
until now.

DMAR/VT-d has been supported for sometime now by Intel chipset. You want
to check your BIOS set-up to enable VT-d.

There are very few setting in the BIOS setup and nothing related to VT-d. My CPU and CPU settings are these:

CPU: Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz (2394.61-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x306a9  Family = 0x6  Model = 0x3a  Stepping = 
9
  
Features=0xbfebfbff<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=0x3dbae3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,XSAVE,OSXSAVE,AVX,F16C>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  Structured Extended Features=0x281<FSGSBASE,SMEP,ERMS>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics

I have attached the output of "acpidump -t" in case you'd like to take a look.

 >Actually my goal is to use the wifi adapter from a VM. The bge device
is just testing and I thought I should report it/ask about it.
What is the error you see in VM for enabling wifi adapter? Is the
corresponding driver getting attached to WiFi adapter?

When I load the kernel module, I get this:
[  542.919615] cfg80211: Calling CRDA to update world regulatory domain
[  542.932441] wl 0000:00:07.0: can't derive routing for PCI INT A
[  542.932449] wl 0000:00:07.0: PCI INT A: no GSI
[  543.002253] wlan0: Broadcom BCM4727 802.11 Hybrid Wireless Controller 
6.30.223.248 (r487574)

After that, there is a wlan0 device but I am not sure whether it works. There are no new kernel warnings or error messages but no matter what I do (scan, create an AP etc) there is zero reaction. But that might a problematic driver that the VM is using. That's on Linux 3.16.something.

I have tried to load another driver and there is a complain regarding PCI which is common to both drivers:
[ 1515.692558] bcma-pci-bridge 0000:00:07.0: can't derive routing for PCI INT A
[ 1515.692568] bcma-pci-bridge 0000:00:07.0: PCI INT A: no GSI
Didnt test further with this driver.

On FreeBSD, I tried to do the same with an ndis windows driver. It didn't get very far because some windows drivers and ndis and amd64 don't like each other very much:)

 >Then I start "bhyve ... -s 10,passthru,2/0/0 ..." and it spits:
"Unsupported MSI-X configuration: 2/0/0"
and quits.
ppt0@pci0:2:0:0:        class=0x020000 card=0x06471025 chip=0x16b514e4
rev=0x10 hdr=0x00

I will try to reproduce the problem if I get hold of this device.

Great, thank you.
/*
  RSD PTR: OEM=ACRSYS, ACPI_Rev=2.0x (2)
        XSDT=0x96ffe210, length=36, cksum=85
 */
/*
  XSDT: Length=156, Revision=1, Checksum=148,
        OEMID=ACRSYS, OEM Table ID=ACRPRDCT, OEM Revision=0x1,
        Creator ID=, Creator Revision=0x1000013
        Entries={ 0x96ffb000, 0x96ffd000, 0x96ffc000, 0x96ffa000, 0x96ff9000, 
0x96ff8000, 0x96feb000, 0x96fe9000, 0x96fe4000, 0x96fe3000, 0x96fe1000, 
0x96fe0000, 0x96fdf000, 0x96fde000, 0x96fda000 }
 */
/*
  FACP: Length=268, Revision=5, Checksum=38,
        OEMID=ACRSYS, OEM Table ID=ACRPRDCT, OEM Revision=0x1,
        Creator ID=1025, Creator Revision=0x40000
        FACS=0x96fba000, DSDT=0x96fec000
        INT_MODEL=APIC
        Preferred_PM_Profile=Mobile (2)
        SCI_INT=9
        SMI_CMD=0xb2, ACPI_ENABLE=0xa0, ACPI_DISABLE=0xa1, S4BIOS_REQ=0x0
        PSTATE_CNT=0x80
        PM1a_EVT_BLK=0x400-0x403
        PM1a_CNT_BLK=0x404-0x405
        PM2_CNT_BLK=0x450-0x450
        PM_TMR_BLK=0x408-0x40b
        GPE0_BLK=0x420-0x42f
        CST_CNT=0x85
        P_LVL2_LAT=101 us, P_LVL3_LAT=57 us
        FLUSH_SIZE=1024, FLUSH_STRIDE=16
        DUTY_OFFSET=1, DUTY_WIDTH=3
        DAY_ALRM=13, MON_ALRM=0, CENTURY=0
        IAPC_BOOT_ARCH={LEGACY_DEVICES,8042,NO_ASPM}
        
Flags={WBINVD,C1_SUPPORTED,SLEEP_BUTTON,S4_RTC_WAKE,DOCKING_SUPPORTED,RESET_REGISTER,PLATFORM_CLOCK,S4_RTC_VALID,REMOTE_POWER_ON}
        RESET_REG=0xb2:0[8] (IO), RESET_VALUE=0xfb
 */
/*
  FACS: Length=64, HwSig=0x00000000, Firm_Wake_Vec=0x00000000
        Global_Lock=
        Flags=
        Version=2
 */
/*
  DSDT: Length=48030, Revision=1, Checksum=208,
        OEMID=ACRSYS, OEM Table ID=ACRPRDCT, OEM Revision=0x0,
        Creator ID=1025, Creator Revision=0x40000
 */
/*
  UEFI: Length=566, Revision=1, Checksum=52,
        OEMID=ACRSYS, OEM Table ID=ACRPRDCT, OEM Revision=0x1,
        Creator ID=1025, Creator Revision=0x40000
 */
/*
  ASF!: Length=165, Revision=32, Checksum=231,
        OEMID=ACRSYS, OEM Table ID=ACRPRDCT, OEM Revision=0x1,
        Creator ID=1025, Creator Revision=0x40000
 */
/*
  HPET: Length=56, Revision=1, Checksum=170,
        OEMID=ACRSYS, OEM Table ID=ACRPRDCT, OEM Revision=0x1,
        Creator ID=1025, Creator Revision=0x40000
        HPET Number=0
        ADDR=0xfed00000:0[0] (Memory)   HW Rev=0x1
        Comparators=2
        Counter Size=1
        Legacy IRQ routing capable={TRUE}
        PCI Vendor ID=0x8086
        Minimal Tick=128
 */
/*
  APIC: Length=140, Revision=3, Checksum=14,
        OEMID=ACRSYS, OEM Table ID=ACRPRDCT, OEM Revision=0x1,
        Creator ID=1025, Creator Revision=0x40000
        Local APIC ADDR=0xfee00000
        Flags={PC-AT}

        Type=Local APIC
        ACPI CPU=1
        Flags={ENABLED}
        APIC ID=0

        Type=Local APIC
        ACPI CPU=2
        Flags={ENABLED}
        APIC ID=1

        Type=Local APIC
        ACPI CPU=3
        Flags={ENABLED}
        APIC ID=2

        Type=Local APIC
        ACPI CPU=4
        Flags={ENABLED}
        APIC ID=3

        Type=Local APIC
        ACPI CPU=5
        Flags={DISABLED}
        APIC ID=0

        Type=Local APIC
        ACPI CPU=6
        Flags={DISABLED}
        APIC ID=0

        Type=Local APIC
        ACPI CPU=7
        Flags={DISABLED}
        APIC ID=0

        Type=Local APIC
        ACPI CPU=8
        Flags={DISABLED}
        APIC ID=0

        Type=IO APIC
        APIC ID=0
        INT BASE=0
        ADDR=0x00000000fec00000

        Type=INT Override
        BUS=0
        IRQ=0
        INTR=2
        Flags={Polarity=conforming, Trigger=conforming}

        Type=INT Override
        BUS=0
        IRQ=9
        INTR=9
        Flags={Polarity=active-hi, Trigger=level}
 */
/*
  MCFG: Length=60, Revision=1, Checksum=130,
        OEMID=ACRSYS, OEM Table ID=ACRPRDCT, OEM Revision=0x1,
        Creator ID=1025, Creator Revision=0x40000

        Base Address=0x00000000f0000000
        Segment Group=0x0000
        Start Bus=0
        End Bus=63
 */
/*
  SSDT: Length=1790, Revision=1, Checksum=19,
        OEMID=ACRSYS, OEM Table ID=ACRPRDCT, OEM Revision=0x1000,
        Creator ID=1025, Creator Revision=0x40000
 */
/*
  BOOT: Length=40, Revision=1, Checksum=106,
        OEMID=ACRSYS, OEM Table ID=ACRPRDCT, OEM Revision=0x1,
        Creator ID=1025, Creator Revision=0x40000
 */
/*
  ASPT: Length=52, Revision=7, Checksum=152,
        OEMID=ACRSYS, OEM Table ID=ACRPRDCT, OEM Revision=0x1,
        Creator ID=1025, Creator Revision=0x40000
 */
/*
  DBGP: Length=52, Revision=1, Checksum=172,
        OEMID=ACRSYS, OEM Table ID=ACRPRDCT, OEM Revision=0x1,
        Creator ID=1025, Creator Revision=0x40000
 */
/*
  FPDT: Length=68, Revision=1, Checksum=63,
        OEMID=ACRSYS, OEM Table ID=ACRPRDCT, OEM Revision=0x1,
        Creator ID=1025, Creator Revision=0x40000
 */
/*
  MSDM: Length=85, Revision=3, Checksum=72,
        OEMID=ACRSYS, OEM Table ID=ACRPRDCT, OEM Revision=0x1,
        Creator ID=1025, Creator Revision=0x40000
 */
/*
  SSDT: Length=2276, Revision=1, Checksum=218,
        OEMID=ACRSYS, OEM Table ID=ACRPRDCT, OEM Revision=0x3000,
        Creator ID=1025, Creator Revision=0x40000
 */
/*
  SSDT: Length=2706, Revision=1, Checksum=187,
        OEMID=ACRSYS, OEM Table ID=ACRPRDCT, OEM Revision=0x3000,
        Creator ID=1025, Creator Revision=0x40000
 */
/*
  SSDT: Length=8581, Revision=1, Checksum=181,
        OEMID=ACRSYS, OEM Table ID=ACRPRDCT, OEM Revision=0x1000,
        Creator ID=1025, Creator Revision=0x40000
 */
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to