Re: No IOMMU/DMAR with DELL 3020

2015-04-09 Thread Kevin Oberman
On Thu, Apr 9, 2015 at 3:50 AM, Slawa Olhovchenkov  wrote:

> On Thu, Apr 09, 2015 at 01:03:35PM +0300, Konstantin Belousov wrote:
>
> > On Thu, Apr 09, 2015 at 11:52:33AM +0300, Slawa Olhovchenkov wrote:
> > > On Thu, Apr 09, 2015 at 11:35:12AM +0300, Konstantin Belousov wrote:
> > >
> > > > On Thu, Apr 09, 2015 at 10:28:10AM +0200, Gustau P?rez wrote:
> > > > >Yup, sorry for the error. I checked the micro in the ark and it
> has vt-d:
> > > > >
> > > > >   http://goo.gl/CZZRHz
> > > > It only indicates that the CPU/northbridge has the hardware, but
> BIOS must
> > > > do a work to configure it and to inform the OS about the
> configuration.
> > > > Your BIOS did not.
> > > >
> > > > >
> > > > >in the bios, there's only one option to enable virtualization
> > > > > support, which is ticked.
> > > > >
> > > > >The complete log is here:
> > > > >
> > > > >  http://dpaste.com/28FDMJQ
> > > > >
> > > > Dmesg would not give you any useful information there. A DMAR table
> > > > is either present, or is it not. In the later case, OS cannot use the
> > > > hardware, and if no option in BIOS is present, your only choice is to
> > > > complain to the machine/BIOS vendor.
> > >
> > > May be some OS utilites can do same work?
> > > This is theoretically capable?
> >
> > No, OS must know the peculiarities of the particular chipset.  But also,
>
> Someone may be know this and wrote support in utility.
> May be chipset datashit available.
> I am don't talk about 'universal, out of box support in OS'.
> I am talk about theoretically utility, that perform some operations
> after OS load.
>
> Also, I am interesting by OS-control interleaving memory (in
> multi-socket configuration).
> This is totaly imposible or just very complex?
>

I have a system where it is enabled via some BIOS setting that does not
make it remotely obvious what it enables VT-d. I've had to ind it three
times, once when the system was new, once when I had to send it in for
warranty repair and they reset BIOS, and again when the CMOS battery had to
be replaced. Every time it took me a while to figure out the magic, but it
was there. (No, mine was not a Dell. It was a ZT systems.)
--
Kevin Oberman, Network Engineer, Retired
E-mail: rkober...@gmail.com
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: No IOMMU/DMAR with DELL 3020

2015-04-09 Thread Slawa Olhovchenkov
On Thu, Apr 09, 2015 at 01:03:35PM +0300, Konstantin Belousov wrote:

> On Thu, Apr 09, 2015 at 11:52:33AM +0300, Slawa Olhovchenkov wrote:
> > On Thu, Apr 09, 2015 at 11:35:12AM +0300, Konstantin Belousov wrote:
> > 
> > > On Thu, Apr 09, 2015 at 10:28:10AM +0200, Gustau P?rez wrote:
> > > >Yup, sorry for the error. I checked the micro in the ark and it has 
> > > > vt-d:
> > > > 
> > > >   http://goo.gl/CZZRHz
> > > It only indicates that the CPU/northbridge has the hardware, but BIOS must
> > > do a work to configure it and to inform the OS about the configuration.
> > > Your BIOS did not.
> > >  
> > > > 
> > > >in the bios, there's only one option to enable virtualization
> > > > support, which is ticked.
> > > > 
> > > >The complete log is here:
> > > > 
> > > >  http://dpaste.com/28FDMJQ
> > > > 
> > > Dmesg would not give you any useful information there. A DMAR table
> > > is either present, or is it not. In the later case, OS cannot use the
> > > hardware, and if no option in BIOS is present, your only choice is to
> > > complain to the machine/BIOS vendor.
> > 
> > May be some OS utilites can do same work?
> > This is theoretically capable?
> 
> No, OS must know the peculiarities of the particular chipset.  But also,

Someone may be know this and wrote support in utility.
May be chipset datashit available.
I am don't talk about 'universal, out of box support in OS'.
I am talk about theoretically utility, that perform some operations
after OS load.

Also, I am interesting by OS-control interleaving memory (in
multi-socket configuration).
This is totaly imposible or just very complex?

> it must know the intimate details of the BIOS operation, since several
> facilities perform background DMA transfers not under the OS control.
> Examples are USB legacy emulation, BMC working with the main memory,
> or UMA GPU in BIOS-configured mode.  Normally, BIOS communicates the
> requirements of such facilities to OS using RMRR records in the DMAR
> table.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: No IOMMU/DMAR with DELL 3020

2015-04-09 Thread Konstantin Belousov
On Thu, Apr 09, 2015 at 11:52:33AM +0300, Slawa Olhovchenkov wrote:
> On Thu, Apr 09, 2015 at 11:35:12AM +0300, Konstantin Belousov wrote:
> 
> > On Thu, Apr 09, 2015 at 10:28:10AM +0200, Gustau P?rez wrote:
> > >Yup, sorry for the error. I checked the micro in the ark and it has 
> > > vt-d:
> > > 
> > >   http://goo.gl/CZZRHz
> > It only indicates that the CPU/northbridge has the hardware, but BIOS must
> > do a work to configure it and to inform the OS about the configuration.
> > Your BIOS did not.
> >  
> > > 
> > >in the bios, there's only one option to enable virtualization
> > > support, which is ticked.
> > > 
> > >The complete log is here:
> > > 
> > >  http://dpaste.com/28FDMJQ
> > > 
> > Dmesg would not give you any useful information there. A DMAR table
> > is either present, or is it not. In the later case, OS cannot use the
> > hardware, and if no option in BIOS is present, your only choice is to
> > complain to the machine/BIOS vendor.
> 
> May be some OS utilites can do same work?
> This is theoretically capable?

No, OS must know the peculiarities of the particular chipset.  But also,
it must know the intimate details of the BIOS operation, since several
facilities perform background DMA transfers not under the OS control.
Examples are USB legacy emulation, BMC working with the main memory,
or UMA GPU in BIOS-configured mode.  Normally, BIOS communicates the
requirements of such facilities to OS using RMRR records in the DMAR
table.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: No IOMMU/DMAR with DELL 3020

2015-04-09 Thread Slawa Olhovchenkov
On Thu, Apr 09, 2015 at 11:35:12AM +0300, Konstantin Belousov wrote:

> On Thu, Apr 09, 2015 at 10:28:10AM +0200, Gustau P?rez wrote:
> >Yup, sorry for the error. I checked the micro in the ark and it has vt-d:
> > 
> >   http://goo.gl/CZZRHz
> It only indicates that the CPU/northbridge has the hardware, but BIOS must
> do a work to configure it and to inform the OS about the configuration.
> Your BIOS did not.
>  
> > 
> >in the bios, there's only one option to enable virtualization
> > support, which is ticked.
> > 
> >The complete log is here:
> > 
> >  http://dpaste.com/28FDMJQ
> > 
> Dmesg would not give you any useful information there. A DMAR table
> is either present, or is it not. In the later case, OS cannot use the
> hardware, and if no option in BIOS is present, your only choice is to
> complain to the machine/BIOS vendor.

May be some OS utilites can do same work?
This is theoretically capable?
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: No IOMMU/DMAR with DELL 3020

2015-04-09 Thread Gustau Pérez

>> Dmesg would not give you any useful information there. A DMAR table
>> is either present, or is it not. In the later case, OS cannot use the
>> hardware, and if no option in BIOS is present, your only choice is to
>> complain to the machine/BIOS vendor.
> Check also if there's any BIOS update from the manufacturer.
>
> Roger.

Thank you all.

The box has already the last vendor's BIOS version.

   I've checked the bios of another DELL machine (a laptop) having vt-d
on the micro, and the BIOS on that machine has an option to enable or
disable VT-d, while the bios of the DEL 3020 misses that option. So as
Konstantin said, the bios is not advertising the VT-d capability bundled
in the chip, so I guess I can't move until the vendor decides to
implement that in its bios firmware.

   Best all and thank you,

   G.

  

-- 
---
Prou top-posting :http://ca.wikipedia.org/wiki/Top-posting
Stop top-posting :http://en.wikipedia.org/wiki/Posting_style   

O O O Gustau Pérez i Querol
O O O Unitat de Gestió dels departaments
O O O Matemàtica Aplicada IV i Enginyeria Telemàtica

  Universitat Politècnica de Catalunya
  Edifici C3 - Despatx S101-B
 UPC  Campus Nord UPC
  C/ Jordi Girona, 1-3
  08034 - Barcelona 

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: No IOMMU/DMAR with DELL 3020

2015-04-09 Thread Roger Pau Monné
Hello,

El 09/04/15 a les 10.35, Konstantin Belousov ha escrit:
> On Thu, Apr 09, 2015 at 10:28:10AM +0200, Gustau P?rez wrote:
>>Yup, sorry for the error. I checked the micro in the ark and it has vt-d:
>>
>>   http://goo.gl/CZZRHz
> It only indicates that the CPU/northbridge has the hardware, but BIOS must
> do a work to configure it and to inform the OS about the configuration.
> Your BIOS did not.
>  
>>
>>in the bios, there's only one option to enable virtualization
>> support, which is ticked.
>>
>>The complete log is here:
>>
>>  http://dpaste.com/28FDMJQ
>>
> Dmesg would not give you any useful information there. A DMAR table
> is either present, or is it not. In the later case, OS cannot use the
> hardware, and if no option in BIOS is present, your only choice is to
> complain to the machine/BIOS vendor.

Check also if there's any BIOS update from the manufacturer.

Roger.

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: No IOMMU/DMAR with DELL 3020

2015-04-09 Thread Konstantin Belousov
On Thu, Apr 09, 2015 at 10:28:10AM +0200, Gustau P?rez wrote:
>Yup, sorry for the error. I checked the micro in the ark and it has vt-d:
> 
>   http://goo.gl/CZZRHz
It only indicates that the CPU/northbridge has the hardware, but BIOS must
do a work to configure it and to inform the OS about the configuration.
Your BIOS did not.
 
> 
>in the bios, there's only one option to enable virtualization
> support, which is ticked.
> 
>The complete log is here:
> 
>  http://dpaste.com/28FDMJQ
> 
Dmesg would not give you any useful information there. A DMAR table
is either present, or is it not. In the later case, OS cannot use the
hardware, and if no option in BIOS is present, your only choice is to
complain to the machine/BIOS vendor.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: No IOMMU/DMAR with DELL 3020

2015-04-09 Thread Gustau Pérez


On 09/04/2015 10:21, Konstantin Belousov wrote:
> On Thu, Apr 09, 2015 at 10:17:41AM +0200, Gustau P??rez wrote:
>>Hi,
>>
>>I'm trying xen dom0 on a DELL optiplex 3020 machine. The machine runs:
>>
>>  root@xen_test:~ # uname -arn
>>  FreeBSD xen_test 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r281184:
>>
>>The box has a core i5-4590 equipped with VT-d:
>>
>>  root@xen_test:~ # dmesg|grep EPT
>>  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
>>  Secondary Processor
>> Controls=0x7cff
>>  EPT Features=0x6334141
>>

   Yup, sorry for the error. I checked the micro in the ark and it has vt-d:

  http://goo.gl/CZZRHz

   in the bios, there's only one option to enable virtualization
support, which is ticked.

   The complete log is here:

 http://dpaste.com/28FDMJQ

   Thanks,
 
   G.

-- 
---
Prou top-posting :http://ca.wikipedia.org/wiki/Top-posting
Stop top-posting :http://en.wikipedia.org/wiki/Posting_style   

O O O Gustau Pérez i Querol
O O O Unitat de Gestió dels departaments
O O O Matemàtica Aplicada IV i Enginyeria Telemàtica

  Universitat Politècnica de Catalunya
  Edifici C3 - Despatx S101-B
 UPC  Campus Nord UPC
  C/ Jordi Girona, 1-3
  08034 - Barcelona 

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: No IOMMU/DMAR with DELL 3020

2015-04-09 Thread Konstantin Belousov
On Thu, Apr 09, 2015 at 10:17:41AM +0200, Gustau P??rez wrote:
> 
>Hi,
> 
>I'm trying xen dom0 on a DELL optiplex 3020 machine. The machine runs:
> 
>  root@xen_test:~ # uname -arn
>  FreeBSD xen_test 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r281184:
> 
>The box has a core i5-4590 equipped with VT-d:
> 
>  root@xen_test:~ # dmesg|grep EPT
>  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
>  Secondary Processor
> Controls=0x7cff
>  EPT Features=0x6334141
> 
This is VT-x, not VT-d.

>Also the box has the last BIOS firmware from its vendor (DELL).
> 
>However, even if VT-d is there, iommu is not enabled. Booting in
> verbose mode shows me this:
> 
>   root@xen_test:~ # dmesg|grep DMAR
>   ACPI: No DMAR table found
> 
>which is the reason iommu support isn't enabled.
This means that VT-d is 'not there'.

> 
>Shouldn't be DMAR be detected if VT-d is there? Any info I can
> provide, let me know.

Check BIOS settings, there could be a knob which enables VT-d.
If there is no knob, you are out of lack.  OS or Xen requires DMAR
table filled by BIOS to detect and use VT-d hardware.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


No IOMMU/DMAR with DELL 3020

2015-04-09 Thread Gustau Pérez

   Hi,

   I'm trying xen dom0 on a DELL optiplex 3020 machine. The machine runs:

 root@xen_test:~ # uname -arn
 FreeBSD xen_test 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r281184:

   The box has a core i5-4590 equipped with VT-d:

 root@xen_test:~ # dmesg|grep EPT
 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
 Secondary Processor
Controls=0x7cff
 EPT Features=0x6334141

   Also the box has the last BIOS firmware from its vendor (DELL).

   However, even if VT-d is there, iommu is not enabled. Booting in
verbose mode shows me this:

  root@xen_test:~ # dmesg|grep DMAR
  ACPI: No DMAR table found

   which is the reason iommu support isn't enabled.

   Shouldn't be DMAR be detected if VT-d is there? Any info I can
provide, let me know.

   Best,

   Gustau

-- 
---
Prou top-posting :http://ca.wikipedia.org/wiki/Top-posting
Stop top-posting :http://en.wikipedia.org/wiki/Posting_style   

O O O Gustau Pérez i Querol
O O O Unitat de Gestió dels departaments
O O O Matemàtica Aplicada IV i Enginyeria Telemàtica

  Universitat Politècnica de Catalunya
  Edifici C3 - Despatx S101-B
 UPC  Campus Nord UPC
  C/ Jordi Girona, 1-3
  08034 - Barcelona 

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"