Skip to contentSkip to conversation

Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

DISCUSSION Bryan York 7 participants 19 messages Aug 5, 2008 – Sep 26, 2008

lore
Share & tools
lore

Bryan York

author
#0 lore raw

Hello,

I'm also seeing this exact same problem. I've posted on xen-users, but did not get an answer. Venkat seems to be experiencing the same problem as me. I have the latest BIOS for my motherboard DQ35JO. (BIOS ver 933) I'm running a Q6600 as well. It hangs at "Brought up 4 CPUs." I've tried all sorts of combinations of Xen versions and kernels to get this working. And, yes, VT and VT-d are enabled in my BIOS.

1) CentOS 5.2 SRPMS compiled with Xen 3.2.1. Adding pci=nommconf does not get it to boot.

2) Mercurial Xen-3.2-testing. Here, after adding pci=nommconf, I get:

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found

3) Mercurial Xen-unstable, I get "I/O Virtualisation disabled" I can't find any reason why this is the case. VT-D is not enabled.

I would really like to find the cause for this. I don't know if this is a BIOS bug or what. This board is supposedly supported on Xen per the VT-D wiki. Other people seem to have the same problem as me:

http://forums12.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1217898320366+28353475&threadId=1234588

Thanks for any and all help,

-Bryan

The BIOS version I use may be not the exact one as yours. I mean I expect you're
not using a very old BIOS. :-)

How about trying the xen 3.2.2-rc2 and the latest xen-unstable first? There are some *VT-d* bug fixes between 3.2.1 (you're using it) and 3.2.2-rc2.

Thanks,

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]] Sent: 2008年8月5日 14:37 To:
Cui, Dexuan; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 *VT-d* Support (NOT SURE WHETHER IT'S A BUG
OR...)

If you don't mind can you send me the BIOS version you are using?

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]] Sent: Tuesday, August 05, 2008 12:03 PM To: Kumar, Venkat; [email protected] Subject: RE:
[Xen-devel] Xen-3.2.1 *VT-d* Support (NOT SURE WHETHER IT'S A BUG OR...)

Hi Venkat,

Can you confirm you're using the latest BIOS? Can you try the xen 3.2.2-rc2 and
the latest xen-unstable on the same host?

I have the similar host. Xen 3.2.2-rc2 and the latest xen-unstable both work well on it.

Thanks,

-- Dexuan

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Kumar, Venkat
Sent: 2008年8月5日 12:21 To: [email protected] Subject: [Xen-devel] Xen-3.2.1 *VT-d* Support (NOT SURE WHETHER IT'S A BUG OR...)

After building Xen-3.2.1 I could successfully boot into it if I avoid giving vtd=1 as the boot parameter.

If I pass vtd=1 as the boot parameter to xen, the system hangs while booting.

The system hangs after the following messages

============================

Boot messages

[XEN]…..

[Xen] Brought up 2 CPUs...

=========================

My chipset DQ35 series is having *VT-d* support and is enabled in the BIOS as
well.

My domain0 is CentOS-5.2(2.6.18.8-xen).

Is this a possible bug or some thing else??

Any Idea??

Thx,

Venkat

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

RE: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hi Bryan,

I think you are using an add-on graphic card (iGfx disabled), right? We also met this issue before. Obviously it's a BIOS issue (RMRR is incorrect). When parsing apci dmar failed, VT-d will be disabled.

Randy (Weidong)

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Bryan York
Sent: 2008年8月6日 6:17
To: Cui, Dexuan
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

I'm also seeing this exact same problem. I've posted on xen-users, but did not get an answer. Venkat seems to be experiencing the same problem as me. I have the latest BIOS for my motherboard DQ35JO. (BIOS ver 933) I'm running a Q6600 as well. It hangs at "Brought up 4 CPUs." I've tried all sorts of combinations of Xen versions and kernels to get this working. And, yes, VT and VT-d are enabled in my BIOS.

1) CentOS 5.2 SRPMS compiled with Xen 3.2.1. Adding pci=nommconf does not get it to boot.

2) Mercurial Xen-3.2-testing. Here, after adding pci=nommconf, I get:

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found

3) Mercurial Xen-unstable, I get "I/O Virtualisation disabled" I can't find any reason why this is the case. VT-D is not enabled.

I would really like to find the cause for this. I don't know if this is a BIOS bug or what. This board is supposedly supported on Xen per the VT-D wiki. Other people seem to have the same problem as me:

http://forums12.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1217898320366+28353475&threadId=1234588

Thanks for any and all help,

-Bryan

The BIOS version I use may be not the exact one as yours. I mean I expect you're not using a very old BIOS. :-)

How about trying the xen 3.2.2-rc2 and the latest xen-unstable first? There are some VT-d bug fixes between 3.2.1 (you're using it) and 3.2.2-rc2.

Thanks,

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]] Sent: 2008年8月5日 14:37 To: Cui, Dexuan; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

If you don't mind can you send me the BIOS version you are using?

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]] Sent: Tuesday, August 05, 2008 12:03 PM To: Kumar, Venkat; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

Hi Venkat,

Can you confirm you're using the latest BIOS? Can you try the xen 3.2.2-rc2 and the latest xen-unstable on the same host?

I have the similar host. Xen 3.2.2-rc2 and the latest xen-unstable both work well on it.

Thanks,

-- Dexuan

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of Kumar, Venkat Sent: 2008年8月5日 12:21 To: [email protected] Subject: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

After building Xen-3.2.1 I could successfully boot into it if I avoid giving vtd=1 as the boot parameter.

If I pass vtd=1 as the boot parameter to xen, the system hangs while booting.

The system hangs after the following messages

============================

Boot messages

[XEN]…..

[Xen] Brought up 2 CPUs...

=========================

My chipset DQ35 series is having VT-d support and is enabled in the BIOS as well.

My domain0 is CentOS-5.2(2.6.18.8-xen).

Is this a possible bug or some thing else??

Any Idea??

Thx,

Venkat

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#2 lore raw

Re: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

Thanks for the information. I'm trying to forward a PCI express SATA/PATA controller with a JMicron chipset. (Info here<http://www.newegg.com/Product/Product.aspx?Item=N82E16815283005>.) I know there have been problems with graphics cards in general, but I thought it was possible with disk controllers? Is there a list of well supported hardware (disk controllers) that can be used for VT-d?

Also, your RMRR explanation makes sense for the mercurial 3.2-testing, but what about xen-unstable? I didn't see any errors there besides "I/O Virtualisation disabled" with no other reason listed.

Thanks so much for your help on this. I will also try removing the disk controller and see if the mercurial Xen-3.2-testing boots without RMRR errors.

Regards,

-Bryan

Quoted 143 lines · Weidong

Hi Bryan,

I think you are using an add-on graphic card (iGfx disabled), right? We also met this issue before. Obviously it's a BIOS issue (RMRR is incorrect). When parsing apci dmar failed, VT-d will be disabled.

Randy (Weidong)

------------------------------
*From:* [email protected] [mailto:
[email protected]] *On Behalf Of *Bryan York *Sent:* 2008年8月6日 6:17
*To:* Cui, Dexuan
*Cc:* [email protected]

*Subject:* RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

I'm also seeing this exact same problem. I've posted on xen-users, but did not get an answer. Venkat seems to be experiencing the same problem as me. I have the latest BIOS for my motherboard DQ35JO. (BIOS ver 933) I'm running a Q6600 as well. It hangs at "Brought up 4 CPUs." I've tried all sorts of combinations of Xen versions and kernels to get this working. And, yes, VT and VT-d are enabled in my BIOS.

1) CentOS 5.2 SRPMS compiled with Xen 3.2.1. Adding pci=nommconf does not get it to boot.

2) Mercurial Xen-3.2-testing. Here, after adding pci=nommconf, I get:

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found

3) Mercurial Xen-unstable, I get "I/O Virtualisation disabled" I can't find any reason why this is the case. VT-D is not enabled.

I would really like to find the cause for this. I don't know if this is a BIOS bug or what. This board is supposedly supported on Xen per the VT-D wiki. Other people seem to have the same problem as me:

http://forums12.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1217898320366+28353475&threadId=1234588

Thanks for any and all help,

-Bryan

The BIOS version I use may be not the exact one as yours. I mean I expect you're
not using a very old BIOS. :-)

How about trying the xen 3.2.2-rc2 and the latest xen-unstable first? There are some *VT-d* bug fixes between 3.2.1 (you're using it) and 3.2.2-rc2.

Thanks,

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]] Sent: 2008年8月5日 14:37
To: Cui, Dexuan; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 *VT-d* Support (NOT SURE WHETHER IT'S A BUG
OR...)

If you don't mind can you send me the BIOS version you are using?

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]] Sent: Tuesday, August 05, 2008 12:03 PM To: Kumar, Venkat; [email protected] Subject:
RE: [Xen-devel] Xen-3.2.1 *VT-d* Support (NOT SURE WHETHER IT'S A BUG OR...)

Hi Venkat,

Can you confirm you're using the latest BIOS? Can you try the xen 3.2.2-rc2 and
the latest xen-unstable on the same host?

I have the similar host. Xen 3.2.2-rc2 and the latest xen-unstable both work
well on it.

Thanks,

-- Dexuan

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Kumar, Venkat
Sent: 2008年8月5日 12:21 To: [email protected] Subject:
[Xen-devel] Xen-3.2.1 *VT-d* Support (NOT SURE WHETHER IT'S A BUG OR...)

After building Xen-3.2.1 I could successfully boot into it if I avoid giving
vtd=1 as the boot parameter.

If I pass vtd=1 as the boot parameter to xen, the system hangs while booting.

The system hangs after the following messages

============================

Boot messages

[XEN]…..

[Xen] Brought up 2 CPUs...

=========================

My chipset DQ35 series is having *VT-d* support and is enabled in the BIOS as
well.

My domain0 is CentOS-5.2(2.6.18.8-xen).

Quoted 8 lines

Is this a possible bug or some thing else??

Any Idea??

Thx,

Venkat

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

RE: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hi Bryan,
According to our tests using the latest xen-unstable, the assignment of SATA controller (like in AHCI mode or Enhanced mode) should be OK on the DQ35 platform.

For xen-unstable, I guess you didn't specify "iommu=1" in the Xen grub entry? By default, VT-d is not enabled in the latest xen-unstable.

Thanks,
-- Dexuan

________________________________

From: Bryan York [mailto:[email protected]]
Sent: 2008年8月6日 12:10
To: Han, Weidong
Cc: Cui, Dexuan; [email protected]
Subject: Re: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

Thanks for the information. I'm trying to forward a PCI express SATA/PATA controller with a JMicron chipset. (Info here <http://www.newegg.com/Product/Product.aspx?Item=N82E16815283005> .) I know there have been problems with graphics cards in general, but I thought it was possible with disk controllers? Is there a list of well supported hardware (disk controllers) that can be used for VT-d?

Also, your RMRR explanation makes sense for the mercurial 3.2-testing, but what about xen-unstable? I didn't see any errors there besides "I/O Virtualisation disabled" with no other reason listed.

Thanks so much for your help on this. I will also try removing the disk controller and see if the mercurial Xen-3.2-testing boots without RMRR errors.

Regards,

-Bryan

On Tue, Aug 5, 2008 at 6:27 PM, Han, Weidong <[email protected]> wrote:

Hi Bryan,

I think you are using an add-on graphic card (iGfx disabled), right? We also met this issue before. Obviously it's a BIOS issue (RMRR is incorrect). When parsing apci dmar failed, VT-d will be disabled.

Randy (Weidong)

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Bryan York
Sent: 2008年8月6日 6:17
To: Cui, Dexuan
Cc: [email protected]

Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

I'm also seeing this exact same problem. I've posted on xen-users, but did not get an answer. Venkat seems to be experiencing the same problem as me. I have the latest BIOS for my motherboard DQ35JO. (BIOS ver 933) I'm running a Q6600 as well. It hangs at "Brought up 4 CPUs." I've tried all sorts of combinations of Xen versions and kernels to get this working. And, yes, VT and VT-d are enabled in my BIOS.

1) CentOS 5.2 SRPMS compiled with Xen 3.2.1. Adding pci=nommconf does not get it to boot.

2) Mercurial Xen-3.2-testing. Here, after adding pci=nommconf, I get:

(XEN) [VT-D]dmar.c:441: RMRR is incorrect. (XEN) Failed to parse ACPI DMAR. Disabling VT-d. (XEN) [VT-D]ACPI DMAR:No DMAR devices found

3) Mercurial Xen-unstable, I get "I/O Virtualisation disabled" I can't find any reason why this is the case. VT-D is not enabled.

I would really like to find the cause for this. I don't know if this is a BIOS bug or what. This board is supposedly supported on Xen per the VT-D wiki. Other people seem to have the same problem as me:

http://forums12.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1217898320366+28353475&threadId=1234588

Thanks for any and all help,

-Bryan

The BIOS version I use may be not the exact one as yours. I mean I expect you're not using a very old BIOS. :-)

How about trying the xen 3.2.2-rc2 and the latest xen-unstable first? There are some VT-d bug fixes between 3.2.1 (you're using it) and 3.2.2-rc2.

Thanks,

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]] Sent: 2008年8月5日 14:37 To: Cui, Dexuan; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

If you don't mind can you send me the BIOS version you are using?

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]] Sent: Tuesday, August 05, 2008 12:03 PM To: Kumar, Venkat; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

Hi Venkat,

Can you confirm you're using the latest BIOS? Can you try the xen 3.2.2-rc2 and the latest xen-unstable on the same host?

I have the similar host. Xen 3.2.2-rc2 and the latest xen-unstable both work well on it.

Thanks,

-- Dexuan

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of Kumar, Venkat Sent: 2008年8月5日 12:21 To: [email protected] Subject: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

After building Xen-3.2.1 I could successfully boot into it if I avoid giving vtd=1 as the boot parameter.

If I pass vtd=1 as the boot parameter to xen, the system hangs while booting.

The system hangs after the following messages

============================

Boot messages

[XEN]…..

[Xen] Brought up 2 CPUs...

=========================

My chipset DQ35 series is having VT-d support and is enabled in the BIOS as well.

My domain0 is CentOS-5.2(2.6.18.8-xen).

Is this a possible bug or some thing else??

Any Idea??

Thx,

Venkat

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw

RE: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

As Dexuan suggested I used xen3.2.2-rc2.
With this version of xen with vtd=1 boot parameter I could boot successfully (I was not able to boot with vtd=1 in xen-3.2.1). But I see the following in the boot messages when I do a xm dmesg after a boot.
===================================================
(XEN) Xen heap: 14MB (14956kB)
(XEN) Domain heap initialised: DMA width 32 bits
(XEN) Processor #0 6:15 APIC version 20
(XEN) Processor #1 6:15 APIC version 20
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found
===================================================
If you observe the messages highlighted in RED.
VT-d is getting disabled due to some RMRR incorrect problem and in the dmar.c code this is the condition which is causing this.

    if ( rmrr->base_address >= rmrr->end_address )
    {
        dprintk(XENLOG_ERR VTDPREFIX, "RMRR is incorrect.\n");
        return -EFAULT;
    }

This code is in acpi_parse_one_rmrr function.

Thx,
Venkat
================================
Venkata Kumar Duvvuru,
LSI Engenio,
Adv. Development,
Bangalore.
Mob: +91-9880318542
Off : +91-80-41978700 ( Extn : 3544 )
================================
________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Cui, Dexuan
Sent: Wednesday, August 06, 2008 10:58 AM
To: Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hi Bryan,
According to our tests using the latest xen-unstable, the assignment of SATA controller (like in AHCI mode or Enhanced mode) should be OK on the DQ35 platform.

For xen-unstable, I guess you didn't specify "iommu=1" in the Xen grub entry? By default, VT-d is not enabled in the latest xen-unstable.

Thanks,
-- Dexuan

________________________________
From: Bryan York [mailto:[email protected]]
Sent: 2008年8月6日 12:10
To: Han, Weidong
Cc: Cui, Dexuan; [email protected]
Subject: Re: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...) Hello,

Thanks for the information. I'm trying to forward a PCI express SATA/PATA controller with a JMicron chipset. (Info here<http://www.newegg.com/Product/Product.aspx?Item=N82E16815283005>.) I know there have been problems with graphics cards in general, but I thought it was possible with disk controllers? Is there a list of well supported hardware (disk controllers) that can be used for VT-d?

Also, your RMRR explanation makes sense for the mercurial 3.2-testing, but what about xen-unstable? I didn't see any errors there besides "I/O Virtualisation disabled" with no other reason listed.

Thanks so much for your help on this. I will also try removing the disk controller and see if the mercurial Xen-3.2-testing boots without RMRR errors.

Regards,

-Bryan
On Tue, Aug 5, 2008 at 6:27 PM, Han, Weidong <[email protected]<mailto:[email protected]>> wrote:
Hi Bryan,

I think you are using an add-on graphic card (iGfx disabled), right? We also met this issue before. Obviously it's a BIOS issue (RMRR is incorrect). When parsing apci dmar failed, VT-d will be disabled.

Randy (Weidong)

________________________________
From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Bryan York
Sent: 2008年8月6日 6:17
To: Cui, Dexuan
Cc: [email protected]<mailto:[email protected]>

Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

I'm also seeing this exact same problem. I've posted on xen-users, but did not get an answer. Venkat seems to be experiencing the same problem as me. I have the latest BIOS for my motherboard DQ35JO. (BIOS ver 933) I'm running a Q6600 as well. It hangs at "Brought up 4 CPUs." I've tried all sorts of combinations of Xen versions and kernels to get this working. And, yes, VT and VT-d are enabled in my BIOS.

1) CentOS 5.2 SRPMS compiled with Xen 3.2.1.<http://3.2.1.> Adding pci=nommconf does not get it to boot.

2) Mercurial Xen-3.2-testing. Here, after adding pci=nommconf, I get:

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found

3) Mercurial Xen-unstable, I get "I/O Virtualisation disabled" I can't find any reason why this is the case. VT-D is not enabled.

I would really like to find the cause for this. I don't know if this is a BIOS bug or what. This board is supposedly supported on Xen per the VT-D wiki. Other people seem to have the same problem as me:

http://forums12.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1217898320366+28353475&threadId=1234588

Thanks for any and all help,

-Bryan

The BIOS version I use may be not the exact one as yours. I mean I expect you're not using a very old BIOS. :-)

How about trying the xen 3.2.2-rc2 and the latest xen-unstable first? There are some VT-d bug fixes between 3.2.1 (you're using it) and 3.2.2-rc2.

Thanks,

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]<mailto:[email protected]>] Sent: 2008年8月5日 14:37 To: Cui, Dexuan; [email protected]<mailto:[email protected]> Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

If you don't mind can you send me the BIOS version you are using?

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]<mailto:[email protected]>] Sent: Tuesday, August 05, 2008 12:03 PM To: Kumar, Venkat; [email protected]<mailto:[email protected]> Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

Hi Venkat,

Can you confirm you're using the latest BIOS? Can you try the xen 3.2.2-rc2 and the latest xen-unstable on the same host?

I have the similar host. Xen 3.2.2-rc2 and the latest xen-unstable both work well on it.

Thanks,

-- Dexuan

________________________________

From: [email protected]<mailto:[email protected]>
[mailto:[email protected]<mailto:[email protected]>] On Behalf Of Kumar, Venkat Sent: 2008年8月5日 12:21 To: [email protected]<mailto:[email protected]> Subject: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

After building Xen-3.2.1 I could successfully boot into it if I avoid giving vtd=1 as the boot parameter.

If I pass vtd=1 as the boot parameter to xen, the system hangs while booting.

The system hangs after the following messages

============================

Boot messages

[XEN]…..

[Xen] Brought up 2 CPUs...

=========================

My chipset DQ35 series is having VT-d support and is enabled in the BIOS as well.

My domain0 is CentOS-5.2(2.6.18.8-xen).

Is this a possible bug or some thing else??

Any Idea??

Thx,

Venkat

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw

RE: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)

Venkat,

I think you are using PEG (which means IGD is disabled), right? This is a BIOS. I suggest you use IGD at this moment.

Randy (Weidong)

________________________________

From: Kumar, Venkat [mailto:[email protected]]
Sent: 2008年8月6日 16:22
To: Cui, Dexuan; Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)

As Dexuan suggested I used xen3.2.2-rc2.

With this version of xen with vtd=1 boot parameter I could boot successfully (I was not able to boot with vtd=1 in xen-3.2.1).

But I see the following in the boot messages when I do a xm dmesg after a boot.

===================================================

(XEN) Xen heap: 14MB (14956kB)

(XEN) Domain heap initialised: DMA width 32 bits

(XEN) Processor #0 6:15 APIC version 20

(XEN) Processor #1 6:15 APIC version 20

(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23

(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.

(XEN) Failed to parse ACPI DMAR. Disabling VT-d.

(XEN) [VT-D]ACPI DMAR:No DMAR devices found

===================================================

If you observe the messages highlighted in RED.

VT-d is getting disabled due to some RMRR incorrect problem and in the dmar.c code this is the condition which is causing this.

    if ( rmrr->base_address >= rmrr->end_address )

    {

        dprintk(XENLOG_ERR VTDPREFIX, "RMRR is incorrect.\n");

        return -EFAULT;

    }

This code is in acpi_parse_one_rmrr function.

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Cui, Dexuan
Sent: Wednesday, August 06, 2008 10:58 AM
To: Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hi Bryan,

According to our tests using the latest xen-unstable, the assignment of SATA controller (like in AHCI mode or Enhanced mode) should be OK on the DQ35 platform.

For xen-unstable, I guess you didn't specify "iommu=1" in the Xen grub entry? By default, VT-d is not enabled in the latest xen-unstable.

Thanks,
-- Dexuan

________________________________

From: Bryan York [mailto:[email protected]]
Sent: 2008年8月6日 12:10
To: Han, Weidong
Cc: Cui, Dexuan; [email protected]
Subject: Re: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

Thanks for the information. I'm trying to forward a PCI express SATA/PATA controller with a JMicron chipset. (Info here <http://www.newegg.com/Product/Product.aspx?Item=N82E16815283005> .) I know there have been problems with graphics cards in general, but I thought it was possible with disk controllers? Is there a list of well supported hardware (disk controllers) that can be used for VT-d?

Also, your RMRR explanation makes sense for the mercurial 3.2-testing, but what about xen-unstable? I didn't see any errors there besides "I/O Virtualisation disabled" with no other reason listed.

Thanks so much for your help on this. I will also try removing the disk controller and see if the mercurial Xen-3.2-testing boots without RMRR errors.

Regards,

-Bryan

On Tue, Aug 5, 2008 at 6:27 PM, Han, Weidong <[email protected]> wrote:

Hi Bryan,

I think you are using an add-on graphic card (iGfx disabled), right? We also met this issue before. Obviously it's a BIOS issue (RMRR is incorrect). When parsing apci dmar failed, VT-d will be disabled.

Randy (Weidong)

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Bryan York
Sent: 2008年8月6日 6:17
To: Cui, Dexuan
Cc: [email protected]

Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

I'm also seeing this exact same problem. I've posted on xen-users, but did not get an answer. Venkat seems to be experiencing the same problem as me. I have the latest BIOS for my motherboard DQ35JO. (BIOS ver 933) I'm running a Q6600 as well. It hangs at "Brought up 4 CPUs." I've tried all sorts of combinations of Xen versions and kernels to get this working. And, yes, VT and VT-d are enabled in my BIOS.

1) CentOS 5.2 SRPMS compiled with Xen 3.2.1. Adding pci=nommconf does not get it to boot.

2) Mercurial Xen-3.2-testing. Here, after adding pci=nommconf, I get:

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found

3) Mercurial Xen-unstable, I get "I/O Virtualisation disabled" I can't find any reason why this is the case. VT-D is not enabled.

I would really like to find the cause for this. I don't know if this is a BIOS bug or what. This board is supposedly supported on Xen per the VT-D wiki. Other people seem to have the same problem as me:

http://forums12.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1217898320366+28353475&threadId=1234588

Thanks for any and all help,

-Bryan

The BIOS version I use may be not the exact one as yours. I mean I expect you're not using a very old BIOS. :-)

How about trying the xen 3.2.2-rc2 and the latest xen-unstable first? There are some VT-d bug fixes between 3.2.1 (you're using it) and 3.2.2-rc2.

Thanks,

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]] Sent: 2008年8月5日 14:37 To: Cui, Dexuan; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

If you don't mind can you send me the BIOS version you are using?

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]] Sent: Tuesday, August 05, 2008 12:03 PM To: Kumar, Venkat; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

Hi Venkat,

Can you confirm you're using the latest BIOS? Can you try the xen 3.2.2-rc2 and the latest xen-unstable on the same host?

I have the similar host. Xen 3.2.2-rc2 and the latest xen-unstable both work well on it.

Thanks,

-- Dexuan

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of Kumar, Venkat Sent: 2008年8月5日 12:21 To: [email protected] Subject: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

After building Xen-3.2.1 I could successfully boot into it if I avoid giving vtd=1 as the boot parameter.

If I pass vtd=1 as the boot parameter to xen, the system hangs while booting.

The system hangs after the following messages

============================

Boot messages

[XEN]…..

[Xen] Brought up 2 CPUs...

=========================

My chipset DQ35 series is having VT-d support and is enabled in the BIOS as well.

My domain0 is CentOS-5.2(2.6.18.8-xen).

Is this a possible bug or some thing else??

Any Idea??

Thx,

Venkat

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#6 lore raw

RE: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

Missed a word in the former mail. This is a BIOS "issue".

Randy (Weidong)

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Han, Weidong
Sent: 2008年8月6日 16:59
To: Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

Venkat,

I think you are using PEG (which means IGD is disabled), right? This is a BIOS. I suggest you use IGD at this moment.

Randy (Weidong)

________________________________

From: Kumar, Venkat [mailto:[email protected]]
Sent: 2008年8月6日 16:22
To: Cui, Dexuan; Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)

As Dexuan suggested I used xen3.2.2-rc2.

With this version of xen with vtd=1 boot parameter I could boot successfully (I was not able to boot with vtd=1 in xen-3.2.1).

But I see the following in the boot messages when I do a xm dmesg after a boot.

===================================================

(XEN) Xen heap: 14MB (14956kB)

(XEN) Domain heap initialised: DMA width 32 bits

(XEN) Processor #0 6:15 APIC version 20

(XEN) Processor #1 6:15 APIC version 20

(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23

(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.

(XEN) Failed to parse ACPI DMAR. Disabling VT-d.

(XEN) [VT-D]ACPI DMAR:No DMAR devices found

===================================================

If you observe the messages highlighted in RED.

VT-d is getting disabled due to some RMRR incorrect problem and in the dmar.c code this is the condition which is causing this.

    if ( rmrr->base_address >= rmrr->end_address )

    {

        dprintk(XENLOG_ERR VTDPREFIX, "RMRR is incorrect.\n");

        return -EFAULT;

    }

This code is in acpi_parse_one_rmrr function.

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Cui, Dexuan
Sent: Wednesday, August 06, 2008 10:58 AM
To: Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hi Bryan,

According to our tests using the latest xen-unstable, the assignment of SATA controller (like in AHCI mode or Enhanced mode) should be OK on the DQ35 platform.

For xen-unstable, I guess you didn't specify "iommu=1" in the Xen grub entry? By default, VT-d is not enabled in the latest xen-unstable.

Thanks,
-- Dexuan

________________________________

From: Bryan York [mailto:[email protected]]
Sent: 2008年8月6日 12:10
To: Han, Weidong
Cc: Cui, Dexuan; [email protected]
Subject: Re: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

Thanks for the information. I'm trying to forward a PCI express SATA/PATA controller with a JMicron chipset. (Info here <http://www.newegg.com/Product/Product.aspx?Item=N82E16815283005> .) I know there have been problems with graphics cards in general, but I thought it was possible with disk controllers? Is there a list of well supported hardware (disk controllers) that can be used for VT-d?

Also, your RMRR explanation makes sense for the mercurial 3.2-testing, but what about xen-unstable? I didn't see any errors there besides "I/O Virtualisation disabled" with no other reason listed.

Thanks so much for your help on this. I will also try removing the disk controller and see if the mercurial Xen-3.2-testing boots without RMRR errors.

Regards,

-Bryan

On Tue, Aug 5, 2008 at 6:27 PM, Han, Weidong <[email protected]> wrote:

Hi Bryan,

I think you are using an add-on graphic card (iGfx disabled), right? We also met this issue before. Obviously it's a BIOS issue (RMRR is incorrect). When parsing apci dmar failed, VT-d will be disabled.

Randy (Weidong)

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Bryan York
Sent: 2008年8月6日 6:17
To: Cui, Dexuan
Cc: [email protected]

Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

I'm also seeing this exact same problem. I've posted on xen-users, but did not get an answer. Venkat seems to be experiencing the same problem as me. I have the latest BIOS for my motherboard DQ35JO. (BIOS ver 933) I'm running a Q6600 as well. It hangs at "Brought up 4 CPUs." I've tried all sorts of combinations of Xen versions and kernels to get this working. And, yes, VT and VT-d are enabled in my BIOS.

1) CentOS 5.2 SRPMS compiled with Xen 3.2.1. Adding pci=nommconf does not get it to boot.

2) Mercurial Xen-3.2-testing. Here, after adding pci=nommconf, I get:

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found

3) Mercurial Xen-unstable, I get "I/O Virtualisation disabled" I can't find any reason why this is the case. VT-D is not enabled.

I would really like to find the cause for this. I don't know if this is a BIOS bug or what. This board is supposedly supported on Xen per the VT-D wiki. Other people seem to have the same problem as me:

http://forums12.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1217898320366+28353475&threadId=1234588

Thanks for any and all help,

-Bryan

The BIOS version I use may be not the exact one as yours. I mean I expect you're not using a very old BIOS. :-)

How about trying the xen 3.2.2-rc2 and the latest xen-unstable first? There are some VT-d bug fixes between 3.2.1 (you're using it) and 3.2.2-rc2.

Thanks,

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]] Sent: 2008年8月5日 14:37 To: Cui, Dexuan; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

If you don't mind can you send me the BIOS version you are using?

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]] Sent: Tuesday, August 05, 2008 12:03 PM To: Kumar, Venkat; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

Hi Venkat,

Can you confirm you're using the latest BIOS? Can you try the xen 3.2.2-rc2 and the latest xen-unstable on the same host?

I have the similar host. Xen 3.2.2-rc2 and the latest xen-unstable both work well on it.

Thanks,

-- Dexuan

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of Kumar, Venkat Sent: 2008年8月5日 12:21 To: [email protected] Subject: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

After building Xen-3.2.1 I could successfully boot into it if I avoid giving vtd=1 as the boot parameter.

If I pass vtd=1 as the boot parameter to xen, the system hangs while booting.

The system hangs after the following messages

============================

Boot messages

[XEN]…..

[Xen] Brought up 2 CPUs...

=========================

My chipset DQ35 series is having VT-d support and is enabled in the BIOS as well.

My domain0 is CentOS-5.2(2.6.18.8-xen).

Is this a possible bug or some thing else??

Any Idea??

Thx,

Venkat

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#7 lore raw

RE: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

Thanks Randy, Dexuan.
Eventually I could boot Xen with VT-d enabled after disabling the PEG and enabling IGD.

I could also create HVM guests.

But while direct assigning a pci device (I am editing the configuration file to add pci=[‘PCIID’]) the HVM guest won’t show any error message and the HVM guest comes up successfully.

But lspci in the HVM guest is not showing up the device which has been direct assigned to him.

Before direct assigning I had bound the device to the pciback driver.

The dmesg in Domain0 shows me that pciback has seized that particular device.

The device is a LSI Mega Raid SAS controller.

Thx,
Venkat
================================
Venkata Kumar Duvvuru,
LSI Engenio,
Adv. Development,
Bangalore.
Mob: +91-9880318542
Off : +91-80-41978700 ( Extn : 3544 )
================================
________________________________
From: Han, Weidong [mailto:[email protected]]
Sent: Wednesday, August 06, 2008 2:46 PM
To: Han, Weidong; Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

Missed a word in the former mail. This is a BIOS "issue".

Randy (Weidong)

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Han, Weidong
Sent: 2008年8月6日 16:59
To: Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)
Venkat,

I think you are using PEG (which means IGD is disabled), right? This is a BIOS. I suggest you use IGD at this moment.

Randy (Weidong)

________________________________
From: Kumar, Venkat [mailto:[email protected]]
Sent: 2008年8月6日 16:22
To: Cui, Dexuan; Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)
As Dexuan suggested I used xen3.2.2-rc2.
With this version of xen with vtd=1 boot parameter I could boot successfully (I was not able to boot with vtd=1 in xen-3.2.1). But I see the following in the boot messages when I do a xm dmesg after a boot.
===================================================
(XEN) Xen heap: 14MB (14956kB)
(XEN) Domain heap initialised: DMA width 32 bits
(XEN) Processor #0 6:15 APIC version 20
(XEN) Processor #1 6:15 APIC version 20
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found
===================================================
If you observe the messages highlighted in RED.
VT-d is getting disabled due to some RMRR incorrect problem and in the dmar.c code this is the condition which is causing this.

    if ( rmrr->base_address >= rmrr->end_address )
    {
        dprintk(XENLOG_ERR VTDPREFIX, "RMRR is incorrect.\n");
        return -EFAULT;
    }

This code is in acpi_parse_one_rmrr function.

Thx,
Venkat
================================
Venkata Kumar Duvvuru,
LSI Engenio,
Adv. Development,
Bangalore.
Mob: +91-9880318542
Off : +91-80-41978700 ( Extn : 3544 )
================================
________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Cui, Dexuan
Sent: Wednesday, August 06, 2008 10:58 AM
To: Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hi Bryan,
According to our tests using the latest xen-unstable, the assignment of SATA controller (like in AHCI mode or Enhanced mode) should be OK on the DQ35 platform.

For xen-unstable, I guess you didn't specify "iommu=1" in the Xen grub entry? By default, VT-d is not enabled in the latest xen-unstable.

Thanks,
-- Dexuan

________________________________
From: Bryan York [mailto:[email protected]]
Sent: 2008年8月6日 12:10
To: Han, Weidong
Cc: Cui, Dexuan; [email protected]
Subject: Re: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...) Hello,

Thanks for the information. I'm trying to forward a PCI express SATA/PATA controller with a JMicron chipset. (Info here<http://www.newegg.com/Product/Product.aspx?Item=N82E16815283005>.) I know there have been problems with graphics cards in general, but I thought it was possible with disk controllers? Is there a list of well supported hardware (disk controllers) that can be used for VT-d?

Also, your RMRR explanation makes sense for the mercurial 3.2-testing, but what about xen-unstable? I didn't see any errors there besides "I/O Virtualisation disabled" with no other reason listed.

Thanks so much for your help on this. I will also try removing the disk controller and see if the mercurial Xen-3.2-testing boots without RMRR errors.

Regards,

-Bryan
On Tue, Aug 5, 2008 at 6:27 PM, Han, Weidong <[email protected]<mailto:[email protected]>> wrote:
Hi Bryan,

I think you are using an add-on graphic card (iGfx disabled), right? We also met this issue before. Obviously it's a BIOS issue (RMRR is incorrect). When parsing apci dmar failed, VT-d will be disabled.

Randy (Weidong)

________________________________
From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Bryan York
Sent: 2008年8月6日 6:17
To: Cui, Dexuan
Cc: [email protected]<mailto:[email protected]>

Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

I'm also seeing this exact same problem. I've posted on xen-users, but did not get an answer. Venkat seems to be experiencing the same problem as me. I have the latest BIOS for my motherboard DQ35JO. (BIOS ver 933) I'm running a Q6600 as well. It hangs at "Brought up 4 CPUs." I've tried all sorts of combinations of Xen versions and kernels to get this working. And, yes, VT and VT-d are enabled in my BIOS.

1) CentOS 5.2 SRPMS compiled with Xen 3.2.1.<http://3.2.1.> Adding pci=nommconf does not get it to boot.

2) Mercurial Xen-3.2-testing. Here, after adding pci=nommconf, I get:

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found

3) Mercurial Xen-unstable, I get "I/O Virtualisation disabled" I can't find any reason why this is the case. VT-D is not enabled.

I would really like to find the cause for this. I don't know if this is a BIOS bug or what. This board is supposedly supported on Xen per the VT-D wiki. Other people seem to have the same problem as me:

http://forums12.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1217898320366+28353475&threadId=1234588

Thanks for any and all help,

-Bryan

The BIOS version I use may be not the exact one as yours. I mean I expect you're not using a very old BIOS. :-)

How about trying the xen 3.2.2-rc2 and the latest xen-unstable first? There are some VT-d bug fixes between 3.2.1 (you're using it) and 3.2.2-rc2.

Thanks,

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]<mailto:[email protected]>] Sent: 2008年8月5日 14:37 To: Cui, Dexuan; [email protected]<mailto:[email protected]> Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

If you don't mind can you send me the BIOS version you are using?

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]<mailto:[email protected]>] Sent: Tuesday, August 05, 2008 12:03 PM To: Kumar, Venkat; [email protected]<mailto:[email protected]> Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

Hi Venkat,

Can you confirm you're using the latest BIOS? Can you try the xen 3.2.2-rc2 and the latest xen-unstable on the same host?

I have the similar host. Xen 3.2.2-rc2 and the latest xen-unstable both work well on it.

Thanks,

-- Dexuan

________________________________

From: [email protected]<mailto:[email protected]>
[mailto:[email protected]<mailto:[email protected]>] On Behalf Of Kumar, Venkat Sent: 2008年8月5日 12:21 To: [email protected]<mailto:[email protected]> Subject: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

After building Xen-3.2.1 I could successfully boot into it if I avoid giving vtd=1 as the boot parameter.

If I pass vtd=1 as the boot parameter to xen, the system hangs while booting.

The system hangs after the following messages

============================

Boot messages

[XEN]…..

[Xen] Brought up 2 CPUs...

=========================

My chipset DQ35 series is having VT-d support and is enabled in the BIOS as well.

My domain0 is CentOS-5.2(2.6.18.8-xen).

Is this a possible bug or some thing else??

Any Idea??

Thx,

Venkat

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#8 lore raw

RE: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

Hi Venkat,

Can you attach the HVM config file? After you create the HVM guest and make it run (but the assigned NIC doesn't appear in guest's "lspci"), can you attach /var/log/xen/xend.log, /var/log/xen/qemu-dm-YourDomainName.log?

And can you attach all the log of serial cable -- from when Xen starts to boot, to after the HVM guest (with "pci=['xx:xx.x']" specified in hvm config file) is created? Please add "loglvl=all guest_logvel=all" in the Xen grub entry, like "kernel /boot/xen.gz dom0_mem=256m console=com1 loglvl=all guest_loglvl=all" to get verbose messages.

Thanks,
-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]]
Sent: 2008年8月6日 19:14
To: Han, Weidong; Cui, Dexuan
Cc: [email protected]; Bryan York
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

Thanks Randy, Dexuan.

Eventually I could boot Xen with VT-d enabled after disabling the PEG and enabling IGD.

I could also create HVM guests.

But while direct assigning a pci device (I am editing the configuration file to add pci=[‘PCIID’]) the HVM guest won’t show any error message and the HVM guest comes up successfully.

But lspci in the HVM guest is not showing up the device which has been direct assigned to him.

Before direct assigning I had bound the device to the pciback driver.

The dmesg in Domain0 shows me that pciback has seized that particular device.

The device is a LSI Mega Raid SAS controller.

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Han, Weidong [mailto:[email protected]]
Sent: Wednesday, August 06, 2008 2:46 PM
To: Han, Weidong; Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

Missed a word in the former mail. This is a BIOS "issue".

Randy (Weidong)

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Han, Weidong
Sent: 2008年8月6日 16:59
To: Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

Venkat,

I think you are using PEG (which means IGD is disabled), right? This is a BIOS. I suggest you use IGD at this moment.

Randy (Weidong)

________________________________

From: Kumar, Venkat [mailto:[email protected]]
Sent: 2008年8月6日 16:22
To: Cui, Dexuan; Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)

As Dexuan suggested I used xen3.2.2-rc2.

With this version of xen with vtd=1 boot parameter I could boot successfully (I was not able to boot with vtd=1 in xen-3.2.1).

But I see the following in the boot messages when I do a xm dmesg after a boot.

===================================================

(XEN) Xen heap: 14MB (14956kB)

(XEN) Domain heap initialised: DMA width 32 bits

(XEN) Processor #0 6:15 APIC version 20

(XEN) Processor #1 6:15 APIC version 20

(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23

(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.

(XEN) Failed to parse ACPI DMAR. Disabling VT-d.

(XEN) [VT-D]ACPI DMAR:No DMAR devices found

===================================================

If you observe the messages highlighted in RED.

VT-d is getting disabled due to some RMRR incorrect problem and in the dmar.c code this is the condition which is causing this.

    if ( rmrr->base_address >= rmrr->end_address )

    {

        dprintk(XENLOG_ERR VTDPREFIX, "RMRR is incorrect.\n");

        return -EFAULT;

    }

This code is in acpi_parse_one_rmrr function.

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Cui, Dexuan
Sent: Wednesday, August 06, 2008 10:58 AM
To: Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hi Bryan,

According to our tests using the latest xen-unstable, the assignment of SATA controller (like in AHCI mode or Enhanced mode) should be OK on the DQ35 platform.

For xen-unstable, I guess you didn't specify "iommu=1" in the Xen grub entry? By default, VT-d is not enabled in the latest xen-unstable.

Thanks,
-- Dexuan

________________________________

From: Bryan York [mailto:[email protected]]
Sent: 2008年8月6日 12:10
To: Han, Weidong
Cc: Cui, Dexuan; [email protected]
Subject: Re: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

Thanks for the information. I'm trying to forward a PCI express SATA/PATA controller with a JMicron chipset. (Info here <http://www.newegg.com/Product/Product.aspx?Item=N82E16815283005> .) I know there have been problems with graphics cards in general, but I thought it was possible with disk controllers? Is there a list of well supported hardware (disk controllers) that can be used for VT-d?

Also, your RMRR explanation makes sense for the mercurial 3.2-testing, but what about xen-unstable? I didn't see any errors there besides "I/O Virtualisation disabled" with no other reason listed.

Thanks so much for your help on this. I will also try removing the disk controller and see if the mercurial Xen-3.2-testing boots without RMRR errors.

Regards,

-Bryan

On Tue, Aug 5, 2008 at 6:27 PM, Han, Weidong <[email protected]> wrote:

Hi Bryan,

I think you are using an add-on graphic card (iGfx disabled), right? We also met this issue before. Obviously it's a BIOS issue (RMRR is incorrect). When parsing apci dmar failed, VT-d will be disabled.

Randy (Weidong)

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Bryan York
Sent: 2008年8月6日 6:17
To: Cui, Dexuan
Cc: [email protected]

Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

I'm also seeing this exact same problem. I've posted on xen-users, but did not get an answer. Venkat seems to be experiencing the same problem as me. I have the latest BIOS for my motherboard DQ35JO. (BIOS ver 933) I'm running a Q6600 as well. It hangs at "Brought up 4 CPUs." I've tried all sorts of combinations of Xen versions and kernels to get this working. And, yes, VT and VT-d are enabled in my BIOS.

1) CentOS 5.2 SRPMS compiled with Xen 3.2.1. Adding pci=nommconf does not get it to boot.

2) Mercurial Xen-3.2-testing. Here, after adding pci=nommconf, I get:

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found

3) Mercurial Xen-unstable, I get "I/O Virtualisation disabled" I can't find any reason why this is the case. VT-D is not enabled.

I would really like to find the cause for this. I don't know if this is a BIOS bug or what. This board is supposedly supported on Xen per the VT-D wiki. Other people seem to have the same problem as me:

http://forums12.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1217898320366+28353475&threadId=1234588

Thanks for any and all help,

-Bryan

The BIOS version I use may be not the exact one as yours. I mean I expect you're not using a very old BIOS. :-)

How about trying the xen 3.2.2-rc2 and the latest xen-unstable first? There are some VT-d bug fixes between 3.2.1 (you're using it) and 3.2.2-rc2.

Thanks,

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]] Sent: 2008年8月5日 14:37 To: Cui, Dexuan; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

If you don't mind can you send me the BIOS version you are using?

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]] Sent: Tuesday, August 05, 2008 12:03 PM To: Kumar, Venkat; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

Hi Venkat,

Can you confirm you're using the latest BIOS? Can you try the xen 3.2.2-rc2 and the latest xen-unstable on the same host?

I have the similar host. Xen 3.2.2-rc2 and the latest xen-unstable both work well on it.

Thanks,

-- Dexuan

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of Kumar, Venkat Sent: 2008年8月5日 12:21 To: [email protected] Subject: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

After building Xen-3.2.1 I could successfully boot into it if I avoid giving vtd=1 as the boot parameter.

If I pass vtd=1 as the boot parameter to xen, the system hangs while booting.

The system hangs after the following messages

============================

Boot messages

[XEN]…..

[Xen] Brought up 2 CPUs...

=========================

My chipset DQ35 series is having VT-d support and is enabled in the BIOS as well.

My domain0 is CentOS-5.2(2.6.18.8-xen).

Is this a possible bug or some thing else??

Any Idea??

Thx,

Venkat

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#9 lore raw

RE: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

Dexuan,

I am attaching the logs & HVM configuration file with this email.
The log files are named accordingly.
Xend.log doesn’t contain anything after creating a HVM guest (before creating a HVM guest I cleared the log messages).

BTW, I am trying to direct assign a SAS controller and not a NIC.

Thx,
Venkat
================================
Venkata Kumar Duvvuru,
LSI Engenio,
Adv. Development,
Bangalore.
Mob: +91-9880318542
Off : +91-80-41978700 ( Extn : 3544 )
================================
________________________________
From: Cui, Dexuan [mailto:[email protected]]
Sent: Thursday, August 07, 2008 6:32 AM
To: Kumar, Venkat; Han, Weidong
Cc: [email protected]; Bryan York
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

Hi Venkat,
Can you attach the HVM config file? After you create the HVM guest and make it run (but the assigned NIC doesn't appear in guest's "lspci"), can you attach /var/log/xen/xend.log, /var/log/xen/qemu-dm-YourDomainName.log?
And can you attach all the log of serial cable -- from when Xen starts to boot, to after the HVM guest (with "pci=['xx:xx.x']" specified in hvm config file) is created? Please add "loglvl=all guest_logvel=all" in the Xen grub entry, like "kernel /boot/xen.gz dom0_mem=256m console=com1 loglvl=all guest_loglvl=all" to get verbose messages.

Thanks,
-- Dexuan
________________________________
From: Kumar, Venkat [mailto:[email protected]]
Sent: 2008年8月6日 19:14
To: Han, Weidong; Cui, Dexuan
Cc: [email protected]; Bryan York
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...) Thanks Randy, Dexuan.
Eventually I could boot Xen with VT-d enabled after disabling the PEG and enabling IGD.

I could also create HVM guests.

But while direct assigning a pci device (I am editing the configuration file to add pci=[‘PCIID’]) the HVM guest won’t show any error message and the HVM guest comes up successfully.

But lspci in the HVM guest is not showing up the device which has been direct assigned to him.

Before direct assigning I had bound the device to the pciback driver.

The dmesg in Domain0 shows me that pciback has seized that particular device.

The device is a LSI Mega Raid SAS controller.

Thx,
Venkat
================================
Venkata Kumar Duvvuru,
LSI Engenio,
Adv. Development,
Bangalore.
Mob: +91-9880318542
Off : +91-80-41978700 ( Extn : 3544 )
================================
________________________________
From: Han, Weidong [mailto:[email protected]]
Sent: Wednesday, August 06, 2008 2:46 PM
To: Han, Weidong; Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

Missed a word in the former mail. This is a BIOS "issue".

Randy (Weidong)

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Han, Weidong
Sent: 2008年8月6日 16:59
To: Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)
Venkat,

I think you are using PEG (which means IGD is disabled), right? This is a BIOS. I suggest you use IGD at this moment.

Randy (Weidong)

________________________________
From: Kumar, Venkat [mailto:[email protected]]
Sent: 2008年8月6日 16:22
To: Cui, Dexuan; Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)
As Dexuan suggested I used xen3.2.2-rc2.
With this version of xen with vtd=1 boot parameter I could boot successfully (I was not able to boot with vtd=1 in xen-3.2.1). But I see the following in the boot messages when I do a xm dmesg after a boot.
===================================================
(XEN) Xen heap: 14MB (14956kB)
(XEN) Domain heap initialised: DMA width 32 bits
(XEN) Processor #0 6:15 APIC version 20
(XEN) Processor #1 6:15 APIC version 20
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found
===================================================
If you observe the messages highlighted in RED.
VT-d is getting disabled due to some RMRR incorrect problem and in the dmar.c code this is the condition which is causing this.

    if ( rmrr->base_address >= rmrr->end_address )
    {
        dprintk(XENLOG_ERR VTDPREFIX, "RMRR is incorrect.\n");
        return -EFAULT;
    }

This code is in acpi_parse_one_rmrr function.

Thx,
Venkat
================================
Venkata Kumar Duvvuru,
LSI Engenio,
Adv. Development,
Bangalore.
Mob: +91-9880318542
Off : +91-80-41978700 ( Extn : 3544 )
================================
________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Cui, Dexuan
Sent: Wednesday, August 06, 2008 10:58 AM
To: Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hi Bryan,
According to our tests using the latest xen-unstable, the assignment of SATA controller (like in AHCI mode or Enhanced mode) should be OK on the DQ35 platform.

For xen-unstable, I guess you didn't specify "iommu=1" in the Xen grub entry? By default, VT-d is not enabled in the latest xen-unstable.

Thanks,
-- Dexuan

________________________________
From: Bryan York [mailto:[email protected]]
Sent: 2008年8月6日 12:10
To: Han, Weidong
Cc: Cui, Dexuan; [email protected]
Subject: Re: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...) Hello,

Thanks for the information. I'm trying to forward a PCI express SATA/PATA controller with a JMicron chipset. (Info here<http://www.newegg.com/Product/Product.aspx?Item=N82E16815283005>.) I know there have been problems with graphics cards in general, but I thought it was possible with disk controllers? Is there a list of well supported hardware (disk controllers) that can be used for VT-d?

Also, your RMRR explanation makes sense for the mercurial 3.2-testing, but what about xen-unstable? I didn't see any errors there besides "I/O Virtualisation disabled" with no other reason listed.

Thanks so much for your help on this. I will also try removing the disk controller and see if the mercurial Xen-3.2-testing boots without RMRR errors.

Regards,

-Bryan
On Tue, Aug 5, 2008 at 6:27 PM, Han, Weidong <[email protected]<mailto:[email protected]>> wrote:
Hi Bryan,

I think you are using an add-on graphic card (iGfx disabled), right? We also met this issue before. Obviously it's a BIOS issue (RMRR is incorrect). When parsing apci dmar failed, VT-d will be disabled.

Randy (Weidong)

________________________________
From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Bryan York
Sent: 2008年8月6日 6:17
To: Cui, Dexuan
Cc: [email protected]<mailto:[email protected]>

Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

I'm also seeing this exact same problem. I've posted on xen-users, but did not get an answer. Venkat seems to be experiencing the same problem as me. I have the latest BIOS for my motherboard DQ35JO. (BIOS ver 933) I'm running a Q6600 as well. It hangs at "Brought up 4 CPUs." I've tried all sorts of combinations of Xen versions and kernels to get this working. And, yes, VT and VT-d are enabled in my BIOS.

1) CentOS 5.2 SRPMS compiled with Xen 3.2.1.<http://3.2.1.> Adding pci=nommconf does not get it to boot.

2) Mercurial Xen-3.2-testing. Here, after adding pci=nommconf, I get:

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found

3) Mercurial Xen-unstable, I get "I/O Virtualisation disabled" I can't find any reason why this is the case. VT-D is not enabled.

I would really like to find the cause for this. I don't know if this is a BIOS bug or what. This board is supposedly supported on Xen per the VT-D wiki. Other people seem to have the same problem as me:

http://forums12.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1217898320366+28353475&threadId=1234588

Thanks for any and all help,

-Bryan

The BIOS version I use may be not the exact one as yours. I mean I expect you're not using a very old BIOS. :-)

How about trying the xen 3.2.2-rc2 and the latest xen-unstable first? There are some VT-d bug fixes between 3.2.1 (you're using it) and 3.2.2-rc2.

Thanks,

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]<mailto:[email protected]>] Sent: 2008年8月5日 14:37 To: Cui, Dexuan; [email protected]<mailto:[email protected]> Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

If you don't mind can you send me the BIOS version you are using?

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]<mailto:[email protected]>] Sent: Tuesday, August 05, 2008 12:03 PM To: Kumar, Venkat; [email protected]<mailto:[email protected]> Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

Hi Venkat,

Can you confirm you're using the latest BIOS? Can you try the xen 3.2.2-rc2 and the latest xen-unstable on the same host?

I have the similar host. Xen 3.2.2-rc2 and the latest xen-unstable both work well on it.

Thanks,

-- Dexuan

________________________________

From: [email protected]<mailto:[email protected]>
[mailto:[email protected]<mailto:[email protected]>] On Behalf Of Kumar, Venkat Sent: 2008年8月5日 12:21 To: [email protected]<mailto:[email protected]> Subject: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

After building Xen-3.2.1 I could successfully boot into it if I avoid giving vtd=1 as the boot parameter.

If I pass vtd=1 as the boot parameter to xen, the system hangs while booting.

The system hangs after the following messages

============================

Boot messages

[XEN]…..

[Xen] Brought up 2 CPUs...

=========================

My chipset DQ35 series is having VT-d support and is enabled in the BIOS as well.

My domain0 is CentOS-5.2(2.6.18.8-xen).

Is this a possible bug or some thing else??

Any Idea??

Thx,

Venkat

text=101:12bdf0001 hd->pgd=ffff8300cdef7000
(XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:13:3-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:13:4-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:13:5-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:13:6-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:13:7-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:14:0-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:14:1-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:14:2-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:14:3-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:14:4-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:14:5-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:14:6-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:14:7-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:15:0-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:15:1-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:15:2-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:15:3-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:15:4-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:15:5-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:15:6-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:15:7-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:16:0-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:16:1-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:16:2-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:16:3-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:16:4-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:16:5-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:16:6-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:16:7-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:17:0-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:17:1-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:17:2-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:17:3-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:17:4-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:17:5-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:17:6-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:17:7-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:18:0-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:18:1-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:18:2-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:18:3-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:18:4-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:18:5-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:18:6-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:18:7-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:19:0-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:19:1-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:19:2-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:19:3-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:19:4-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:19:5-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:19:6-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:19:7-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1a:0-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1a:1-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1a:2-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1a:3-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1a:4-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1a:5-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1a:6-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1a:7-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1b:0-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1b:1-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1b:2-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1b:3-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1b:4-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1b:5-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1b:6-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1b:7-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1c:0-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1c:1-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1c:2-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1c:3-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1c:4-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1c:5-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1c:6-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1c:7-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1d:0-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1d:1-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1d:2-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1d:3-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1d:4-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1d:5-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1d:6-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1d:7-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1e:0-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1e:1-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1e:2-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1e:3-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1e:4-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1e:5-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1e:6-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1e:7-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1f:0-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1f:1-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1f:2-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1f:3-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1f:4-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1f:5-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1f:6-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-9:1f:7-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:0:0
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1:0
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:2:0
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:3:0
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:19:0
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1a:0
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1a:1
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1a:2
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1a:7
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1b:0
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1c:0
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1c:1
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1c:2
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1c:3
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1c:4
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1d:0
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1d:1
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1d:2
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1d:7
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1e:0
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1f:0
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1f:2
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1f:3
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 0:1f:5
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 1:0:0
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 1:0:2
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 2:e:0
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 6:0:0
(XEN) [VT-D]intel-iommu.c:1780: setup_dom0_devices: bdf = 9:0:0
(XEN) [VT-D]dmar.c:139:d32767 acpi_find_matched_drhd_unit: drhd->address = feb01000
(XEN) [VT-D]intel-iommu.c:1256:d32767 domain_context_mapping:PCI: bdf = 0:2:1
(XEN) [VT-D]intel-iommu.c:1140:d32767 domain_context_mapping_one-0:2:1-*context=101:12bdf0001 hd->pgd=ffff8300cdef7000 (XEN) [VT-D]intel-iommu.c:711: iommu_enable_translation: enabling vt-d translation
(XEN) [VT-D]intel-iommu.c:711: iommu_enable_translation: enabling vt-d translation
(XEN) [VT-D]intel-iommu.c:788: iommu_page_fault: iommu->reg = ffff828bfff57000
(XEN) [VT-D]intel-iommu.c:766: iommu_page_fault:DMA Write: DEVICE 0:2.0 addr fffff000 REASON 5
(XEN) print_vtd_entries: domain_id = 7fff bdf = 0:2:0 gmfn = fffff
(XEN) hg->pgd == NULL
(XEN) [VT-D]intel-iommu.c:711: iommu_enable_translation: enabling vt-d translation
(XEN) [VT-D]intel-iommu.c:711: iommu_enable_translation: enabling vt-d translation
(XEN) AMD IOMMU: Disabled
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen kernel: 64-bit, lsb, compat32
(XEN) Dom0 kernel: 64-bit, lsb, paddr 0xffffffff80200000 -> 0xffffffff805b8d0c
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN) Dom0 alloc.: 0000000124000000->0000000126000000 (963961 pages to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:

(XEN)  Loaded kernel: ffffffff80200000->ffffffff805b8d0c
(XEN)  Init. ramdisk: ffffffff805b9000->ffffffff80bace00
(XEN)  Phys-Mach map: ffffffff80bad000->ffffffff81317bc8
(XEN)  Start info:    ffffffff81318000->ffffffff813184a4
(XEN)  Page tables:   ffffffff81319000->ffffffff81326000
(XEN)  Boot stack:    ffffffff81326000->ffffffff81327000
(XEN)  TOTAL:         ffffffff80000000->ffffffff81400000
(XEN)  ENTRY ADDRESS: ffffffff80200000

(XEN) Dom0 has maximum 2 VCPUs
(XEN) Initrd len 0x5f3e00, start at 0xffffffff805b9000
(XEN) Scrubbing Free RAM: ..done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen) (XEN) Freed 100kB init memory.
(XEN) io_apic.c:2146:
(XEN) ioapic_guest_write: apic=0, pin=4, old_irq=4, new_irq=4
(XEN) ioapic_guest_write: old_entry=000009f1, new_entry=000109f1 (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ! (XEN) microcode: CPU0 updated from revision 0xb3 to 0xb6, date = 07132007 (XEN) microcode: CPU1 updated from revision 0xb3 to 0xb6, date = 07132007

Watching /local/domain/0/device-model/3/logdirty/next-active
Watching /local/domain/0/device-model/3/command
shift keysym fe20 keycode 15
shift keysym 003e keycode 86
shift keysym 00a6 keycode 86
keypad keysym ffae keycode 83
keypad keysym ffac keycode 83
keypad keysym ffb0 keycode 82
keypad keysym ffb1 keycode 79
keypad keysym ffb2 keycode 80
keypad keysym ffb3 keycode 81
keypad keysym ffb4 keycode 75
keypad keysym ffb5 keycode 76
keypad keysym ffb6 keycode 77
keypad keysym ffb7 keycode 71
keypad keysym ffb8 keycode 72
keypad keysym ffb9 keycode 73
shift keysym 0021 keycode 2
shift keysym 0040 keycode 3
shift keysym 0023 keycode 4
shift keysym 0024 keycode 5
shift keysym 0025 keycode 6
shift keysym 005e keycode 7
shift keysym 0026 keycode 8
shift keysym 002a keycode 9
shift keysym 0028 keycode 10
shift keysym 0029 keycode 11
shift keysym 005f keycode 12
shift keysym 002b keycode 13
shift keysym 007b keycode 26
shift keysym 007d keycode 27
shift keysym 003a keycode 39
shift keysym 0022 keycode 40
shift keysym 007e keycode 41
shift keysym 007c keycode 43
shift keysym 003c keycode 51
shift keysym 003e keycode 52
shift keysym 003f keycode 53
xs_read(): vncpasswd get error. /vm/e87862d1-b280-1339-36ec-7c6b853f5c7e/vncpasswd. char device redirected to /dev/pts/1
qemu_map_cache_init nr_buckets = 10000 size 3145728
shared page at pfn 3ffff
buffered io page at pfn 3fffd
Time offset set 0
Register xen platform.
Done register platform.
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0

(XEN) [VT-D]intel-iommu.c:2091:d0 iommu_set_pgd: hd->pgd = ffff83011dafc000 (XEN) [VT-D]intel-iommu.c:2091:d0 iommu_set_pgd: hd->pgd = ffff83011dfe0000 (XEN) HVM2: HVM Loader
(XEN) HVM2: Detected Xen v3.2.2-rc3-pre
(XEN) HVM2: Writing SMBIOS tables ...
(XEN) HVM2: Loading ROMBIOS ...
(XEN) HVM2: 8844 bytes of ROMBIOS high-memory extensions:
(XEN) HVM2: Relocating to 0x3fff9c00-0x3fffbe8c ... done
(XEN) irq.c:236: Dom2 PCI link 0 changed 0 -> 5
(XEN) HVM2: PCI-ISA link 0 routed to IRQ5
(XEN) irq.c:236: Dom2 PCI link 1 changed 0 -> 10
(XEN) HVM2: PCI-ISA link 1 routed to IRQ10
(XEN) irq.c:236: Dom2 PCI link 2 changed 0 -> 11
(XEN) HVM2: PCI-ISA link 2 routed to IRQ11
(XEN) irq.c:236: Dom2 PCI link 3 changed 0 -> 5
(XEN) HVM2: PCI-ISA link 3 routed to IRQ5
(XEN) HVM2: pci dev 01:1 bar 20 size 00000010: 0000c001
(XEN) HVM2: pci dev 01:2 INTA->IRQ10
(XEN) HVM2: pci dev 02:0 bar 10 size 02000000: f0000008
(XEN) HVM2: pci dev 02:0 bar 14 size 00001000: f2000000
(XEN) HVM2: pci dev 03:0 bar 10 size 00000100: 0000c101
(XEN) HVM2: pci dev 03:0 bar 14 size 01000000: f3000008
(XEN) HVM2: pci dev 03:0 INTA->IRQ5
(XEN) HVM2: Creating MP tables ...
(XEN) stdvga.c:142:d2 entering stdvga and caching modes
(XEN) HVM2: Loading Cirrus VGABIOS ...
(XEN) HVM2: Loading ACPI ...
(XEN) HVM2: BIOS map:

(XEN) HVM2:  c0000-c8003: VGA BIOS
(XEN) HVM2:  d0000-d5403: VMXAssist
(XEN) HVM2:  e9000-e9145: SMBIOS tables
(XEN) HVM2:  ea000-eb18f: ACPI tables
(XEN) HVM2:  f0000-fffff: Main BIOS

(XEN) HVM2: Loading VMXAssist ...
(XEN) HVM2: VMX go ...
(XEN) HVM2: VMXAssist (Feb 27 2008)
(XEN) HVM2: Memory size 1023 MB
(XEN) HVM2: E820 map:
(XEN) HVM2: 0000000000000000 - 000000000009FC00 (RAM)
(XEN) HVM2: 000000000009FC00 - 00000000000A0000 (Reserved)
(XEN) HVM2: 00000000000E0000 - 0000000000100000 (Reserved)
(XEN) HVM2: 0000000000100000 - 000000003FFF9C00 (RAM)
(XEN) HVM2: 000000003FFF9C00 - 000000003FFFC000 (Reserved)
(XEN) HVM2: 000000003FFFD000 - 0000000040000000 (Reserved)
(XEN) HVM2:
(XEN) HVM2: Start BIOS ...
(XEN) HVM2: Starting emulated 16-bit real-mode: ip=F000:FFF0
(XEN) HVM2: rombios.c,v 1.138 2005/05/07 15:55:26 vruppert Exp $ (XEN) HVM2: Remapping master: ICW2 0x8 -> 0x20
(XEN) HVM2: Remapping slave: ICW2 0x70 -> 0x28
(XEN) HVM2: VGABios $Id: vgabios.c,v 1.61 2005/05/24 16:50:50 vruppert Exp $ (XEN) HVM2: HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date: 2005/05/07 15:55:26 $ (XEN) HVM2:
(XEN) HVM2: ata0-0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 (XEN) HVM2: ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (10240 MBytes) (XEN) HVM2: ata0 slave: Unknown device
(XEN) HVM2: ata1 master: QEMU CD-ROM ATAPI-4 CD-Rom/DVD-Rom
(XEN) HVM2: ata1 slave: Unknown device
(XEN) HVM2:
(XEN) HVM2:
(XEN) HVM2:
(XEN) HVM2: Press F10 to select boot device.
(XEN) HVM2: Booting from Hard Disk...
(XEN) HVM2: int13_harddisk: function 41, unmapped device for ELDL=81 (XEN) HVM2: int13_harddisk: function 08, unmapped device for ELDL=81 (XEN) HVM2: *** int 15h function AX=00C0, BX=0000 not yet supported! (XEN) HVM2: int13_harddisk: function 15, unmapped device for ELDL=81 (XEN) HVM2: KBD: unsupported int 16h function 03
(XEN) HVM2: int13_harddisk: function 15, unmapped device for ELDL=81 (XEN) HVM2: *** int 15h function AX=E980, BX=E6F5 not yet supported! (XEN) HVM2: int13_harddisk: function 02, unmapped device for ELDL=81 (XEN) HVM2: int13_harddisk: function 41, unmapped device for ELDL=81 (XEN) vlapic.c:666:d2 Local APIC Write to read-only register 0x30 (XEN) irq.c:236: Dom2 PCI link 0 changed 5 -> 0
(XEN) irq.c:236: Dom2 PCI link 1 changed 10 -> 0
(XEN) irq.c:236: Dom2 PCI link 2 changed 11 -> 0
(XEN) irq.c:236: Dom2 PCI link 3 changed 5 -> 0

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#10 lore raw

RE: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

xend.log is a quite useful log file.

According to the qemu log file, looks the device is not assigned at all.
For instance, in Qemu's tools/ioemu/hw/pass-through.c:register_real_device(), there should be some log messages printed, but I can't find them at all in your log file. Can you try to find the reason?

Based on the xen-3.2.2-rc2 and your host, can you assign something else (like NIC) successfully?

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]]
Sent: 2008年8月7日 12:51
To: Cui, Dexuan; Han, Weidong
Cc: [email protected]; Bryan York
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

Dexuan,

I am attaching the logs & HVM configuration file with this email.

The log files are named accordingly.

Xend.log doesn’t contain anything after creating a HVM guest (before creating a HVM guest I cleared the log messages).

BTW, I am trying to direct assign a SAS controller and not a NIC.

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]]
Sent: Thursday, August 07, 2008 6:32 AM
To: Kumar, Venkat; Han, Weidong
Cc: [email protected]; Bryan York
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

Hi Venkat,

Can you attach the HVM config file? After you create the HVM guest and make it run (but the assigned NIC doesn't appear in guest's "lspci"), can you attach /var/log/xen/xend.log, /var/log/xen/qemu-dm-YourDomainName.log?

And can you attach all the log of serial cable -- from when Xen starts to boot, to after the HVM guest (with "pci=['xx:xx.x']" specified in hvm config file) is created? Please add "loglvl=all guest_logvel=all" in the Xen grub entry, like "kernel /boot/xen.gz dom0_mem=256m console=com1 loglvl=all guest_loglvl=all" to get verbose messages.

Thanks,
-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]]
Sent: 2008年8月6日 19:14
To: Han, Weidong; Cui, Dexuan
Cc: [email protected]; Bryan York
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

Thanks Randy, Dexuan.

Eventually I could boot Xen with VT-d enabled after disabling the PEG and enabling IGD.

I could also create HVM guests.

But while direct assigning a pci device (I am editing the configuration file to add pci=[‘PCIID’]) the HVM guest won’t show any error message and the HVM guest comes up successfully.

But lspci in the HVM guest is not showing up the device which has been direct assigned to him.

Before direct assigning I had bound the device to the pciback driver.

The dmesg in Domain0 shows me that pciback has seized that particular device.

The device is a LSI Mega Raid SAS controller.

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Han, Weidong [mailto:[email protected]]
Sent: Wednesday, August 06, 2008 2:46 PM
To: Han, Weidong; Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

Missed a word in the former mail. This is a BIOS "issue".

Randy (Weidong)

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Han, Weidong
Sent: 2008年8月6日 16:59
To: Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

Venkat,

I think you are using PEG (which means IGD is disabled), right? This is a BIOS. I suggest you use IGD at this moment.

Randy (Weidong)

________________________________

From: Kumar, Venkat [mailto:[email protected]]
Sent: 2008年8月6日 16:22
To: Cui, Dexuan; Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)

As Dexuan suggested I used xen3.2.2-rc2.

With this version of xen with vtd=1 boot parameter I could boot successfully (I was not able to boot with vtd=1 in xen-3.2.1).

But I see the following in the boot messages when I do a xm dmesg after a boot.

===================================================

(XEN) Xen heap: 14MB (14956kB)

(XEN) Domain heap initialised: DMA width 32 bits

(XEN) Processor #0 6:15 APIC version 20

(XEN) Processor #1 6:15 APIC version 20

(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23

(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.

(XEN) Failed to parse ACPI DMAR. Disabling VT-d.

(XEN) [VT-D]ACPI DMAR:No DMAR devices found

===================================================

If you observe the messages highlighted in RED.

VT-d is getting disabled due to some RMRR incorrect problem and in the dmar.c code this is the condition which is causing this.

    if ( rmrr->base_address >= rmrr->end_address )

    {

        dprintk(XENLOG_ERR VTDPREFIX, "RMRR is incorrect.\n");

        return -EFAULT;

    }

This code is in acpi_parse_one_rmrr function.

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Cui, Dexuan
Sent: Wednesday, August 06, 2008 10:58 AM
To: Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hi Bryan,

According to our tests using the latest xen-unstable, the assignment of SATA controller (like in AHCI mode or Enhanced mode) should be OK on the DQ35 platform.

For xen-unstable, I guess you didn't specify "iommu=1" in the Xen grub entry? By default, VT-d is not enabled in the latest xen-unstable.

Thanks,
-- Dexuan

________________________________

From: Bryan York [mailto:[email protected]]
Sent: 2008年8月6日 12:10
To: Han, Weidong
Cc: Cui, Dexuan; [email protected]
Subject: Re: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

Thanks for the information. I'm trying to forward a PCI express SATA/PATA controller with a JMicron chipset. (Info here <http://www.newegg.com/Product/Product.aspx?Item=N82E16815283005> .) I know there have been problems with graphics cards in general, but I thought it was possible with disk controllers? Is there a list of well supported hardware (disk controllers) that can be used for VT-d?

Also, your RMRR explanation makes sense for the mercurial 3.2-testing, but what about xen-unstable? I didn't see any errors there besides "I/O Virtualisation disabled" with no other reason listed.

Thanks so much for your help on this. I will also try removing the disk controller and see if the mercurial Xen-3.2-testing boots without RMRR errors.

Regards,

-Bryan

On Tue, Aug 5, 2008 at 6:27 PM, Han, Weidong <[email protected]> wrote:

Hi Bryan,

I think you are using an add-on graphic card (iGfx disabled), right? We also met this issue before. Obviously it's a BIOS issue (RMRR is incorrect). When parsing apci dmar failed, VT-d will be disabled.

Randy (Weidong)

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Bryan York
Sent: 2008年8月6日 6:17
To: Cui, Dexuan
Cc: [email protected]

Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

I'm also seeing this exact same problem. I've posted on xen-users, but did not get an answer. Venkat seems to be experiencing the same problem as me. I have the latest BIOS for my motherboard DQ35JO. (BIOS ver 933) I'm running a Q6600 as well. It hangs at "Brought up 4 CPUs." I've tried all sorts of combinations of Xen versions and kernels to get this working. And, yes, VT and VT-d are enabled in my BIOS.

1) CentOS 5.2 SRPMS compiled with Xen 3.2.1. Adding pci=nommconf does not get it to boot.

2) Mercurial Xen-3.2-testing. Here, after adding pci=nommconf, I get:

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found

3) Mercurial Xen-unstable, I get "I/O Virtualisation disabled" I can't find any reason why this is the case. VT-D is not enabled.

I would really like to find the cause for this. I don't know if this is a BIOS bug or what. This board is supposedly supported on Xen per the VT-D wiki. Other people seem to have the same problem as me:

http://forums12.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1217898320366+28353475&threadId=1234588

Thanks for any and all help,

-Bryan

The BIOS version I use may be not the exact one as yours. I mean I expect you're not using a very old BIOS. :-)

How about trying the xen 3.2.2-rc2 and the latest xen-unstable first? There are some VT-d bug fixes between 3.2.1 (you're using it) and 3.2.2-rc2.

Thanks,

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]] Sent: 2008年8月5日 14:37 To: Cui, Dexuan; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

If you don't mind can you send me the BIOS version you are using?

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]] Sent: Tuesday, August 05, 2008 12:03 PM To: Kumar, Venkat; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

Hi Venkat,

Can you confirm you're using the latest BIOS? Can you try the xen 3.2.2-rc2 and the latest xen-unstable on the same host?

I have the similar host. Xen 3.2.2-rc2 and the latest xen-unstable both work well on it.

Thanks,

-- Dexuan

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of Kumar, Venkat Sent: 2008年8月5日 12:21 To: [email protected] Subject: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

After building Xen-3.2.1 I could successfully boot into it if I avoid giving vtd=1 as the boot parameter.

If I pass vtd=1 as the boot parameter to xen, the system hangs while booting.

The system hangs after the following messages

============================

Boot messages

[XEN]…..

[Xen] Brought up 2 CPUs...

=========================

My chipset DQ35 series is having VT-d support and is enabled in the BIOS as well.

My domain0 is CentOS-5.2(2.6.18.8-xen).

Is this a possible bug or some thing else??

Any Idea??

Thx,

Venkat

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#11 lore raw

RE: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

I uninstalled tools,recompiled and installed tools again. It’s working now.

Thanks Dexuan,Randy for your help.

Thx,
Venkat
================================
Venkata Kumar Duvvuru,
LSI Engenio,
Adv. Development,
Bangalore.
Mob: +91-9880318542
Off : +91-80-41978700 ( Extn : 3544 )
================================
________________________________
From: Cui, Dexuan [mailto:[email protected]]
Sent: Thursday, August 07, 2008 10:45 AM
To: Kumar, Venkat; Han, Weidong
Cc: [email protected]; Bryan York
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

xend.log is a quite useful log file.

According to the qemu log file, looks the device is not assigned at all.
For instance, in Qemu's tools/ioemu/hw/pass-through.c:register_real_device(), there should be some log messages printed, but I can't find themat all in your log file. Can you try to find the reason?

Based on the xen-3.2.2-rc2 and your host, can you assign something else (like NIC) successfully?

-- Dexuan

________________________________
From: Kumar, Venkat [mailto:[email protected]]
Sent: 2008年8月7日 12:51
To: Cui, Dexuan; Han, Weidong
Cc: [email protected]; Bryan York
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...) Dexuan,

I am attaching the logs & HVM configuration file with this email.
The log files are named accordingly.
Xend.log doesn’t contain anything after creating a HVM guest (before creating a HVM guest I cleared the log messages).

BTW, I am trying to direct assign a SAS controller and not a NIC.

Thx,
Venkat
================================
Venkata Kumar Duvvuru,
LSI Engenio,
Adv. Development,
Bangalore.
Mob: +91-9880318542
Off : +91-80-41978700 ( Extn : 3544 )
================================
________________________________
From: Cui, Dexuan [mailto:[email protected]]
Sent: Thursday, August 07, 2008 6:32 AM
To: Kumar, Venkat; Han, Weidong
Cc: [email protected]; Bryan York
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

Hi Venkat,
Can you attach the HVM config file? After you create the HVM guest and make it run (but the assigned NIC doesn't appear in guest's "lspci"), can you attach /var/log/xen/xend.log, /var/log/xen/qemu-dm-YourDomainName.log?
And can you attach all the log of serial cable -- from when Xen starts to boot, to after the HVM guest (with "pci=['xx:xx.x']" specified in hvm config file) is created? Please add "loglvl=all guest_logvel=all" in the Xen grub entry, like "kernel /boot/xen.gz dom0_mem=256m console=com1 loglvl=all guest_loglvl=all" to get verbose messages.

Thanks,
-- Dexuan
________________________________
From: Kumar, Venkat [mailto:[email protected]]
Sent: 2008年8月6日 19:14
To: Han, Weidong; Cui, Dexuan
Cc: [email protected]; Bryan York
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...) Thanks Randy, Dexuan.
Eventually I could boot Xen with VT-d enabled after disabling the PEG and enabling IGD.

I could also create HVM guests.

But while direct assigning a pci device (I am editing the configuration file to add pci=[‘PCIID’]) the HVM guest won’t show any error message and the HVM guest comes up successfully.

But lspci in the HVM guest is not showing up the device which has been direct assigned to him.

Before direct assigning I had bound the device to the pciback driver.

The dmesg in Domain0 shows me that pciback has seized that particular device.

The device is a LSI Mega Raid SAS controller.

Thx,
Venkat
================================
Venkata Kumar Duvvuru,
LSI Engenio,
Adv. Development,
Bangalore.
Mob: +91-9880318542
Off : +91-80-41978700 ( Extn : 3544 )
================================
________________________________
From: Han, Weidong [mailto:[email protected]]
Sent: Wednesday, August 06, 2008 2:46 PM
To: Han, Weidong; Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)

Missed a word in the former mail. This is a BIOS "issue".

Randy (Weidong)

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Han, Weidong
Sent: 2008年8月6日 16:59
To: Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...)
Venkat,

I think you are using PEG (which means IGD is disabled), right? This is a BIOS. I suggest you use IGD at this moment.

Randy (Weidong)

________________________________
From: Kumar, Venkat [mailto:[email protected]]
Sent: 2008年8月6日 16:22
To: Cui, Dexuan; Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)
As Dexuan suggested I used xen3.2.2-rc2.
With this version of xen with vtd=1 boot parameter I could boot successfully (I was not able to boot with vtd=1 in xen-3.2.1). But I see the following in the boot messages when I do a xm dmesg after a boot.
===================================================
(XEN) Xen heap: 14MB (14956kB)
(XEN) Domain heap initialised: DMA width 32 bits
(XEN) Processor #0 6:15 APIC version 20
(XEN) Processor #1 6:15 APIC version 20
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found
===================================================
If you observe the messages highlighted in RED.
VT-d is getting disabled due to some RMRR incorrect problem and in the dmar.c code this is the condition which is causing this.

    if ( rmrr->base_address >= rmrr->end_address )
    {
        dprintk(XENLOG_ERR VTDPREFIX, "RMRR is incorrect.\n");
        return -EFAULT;
    }

This code is in acpi_parse_one_rmrr function.

Thx,
Venkat
================================
Venkata Kumar Duvvuru,
LSI Engenio,
Adv. Development,
Bangalore.
Mob: +91-9880318542
Off : +91-80-41978700 ( Extn : 3544 )
================================
________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Cui, Dexuan
Sent: Wednesday, August 06, 2008 10:58 AM
To: Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hi Bryan,
According to our tests using the latest xen-unstable, the assignment of SATA controller (like in AHCI mode or Enhanced mode) should be OK on the DQ35 platform.

For xen-unstable, I guess you didn't specify "iommu=1" in the Xen grub entry? By default, VT-d is not enabled in the latest xen-unstable.

Thanks,
-- Dexuan

________________________________
From: Bryan York [mailto:[email protected]]
Sent: 2008年8月6日 12:10
To: Han, Weidong
Cc: Cui, Dexuan; [email protected]
Subject: Re: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...) Hello,

Thanks for the information. I'm trying to forward a PCI express SATA/PATA controller with a JMicron chipset. (Info here<http://www.newegg.com/Product/Product.aspx?Item=N82E16815283005>.) I know there have been problems with graphics cards in general, but I thought it was possible with disk controllers? Is there a list of well supported hardware (disk controllers) that can be used for VT-d?

Also, your RMRR explanation makes sense for the mercurial 3.2-testing, but what about xen-unstable? I didn't see any errors there besides "I/O Virtualisation disabled" with no other reason listed.

Thanks so much for your help on this. I will also try removing the disk controller and see if the mercurial Xen-3.2-testing boots without RMRR errors.

Regards,

-Bryan
On Tue, Aug 5, 2008 at 6:27 PM, Han, Weidong <[email protected]<mailto:[email protected]>> wrote:
Hi Bryan,

I think you are using an add-on graphic card (iGfx disabled), right? We also met this issue before. Obviously it's a BIOS issue (RMRR is incorrect). When parsing apci dmar failed, VT-d will be disabled.

Randy (Weidong)

________________________________
From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Bryan York
Sent: 2008年8月6日 6:17
To: Cui, Dexuan
Cc: [email protected]<mailto:[email protected]>

Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

I'm also seeing this exact same problem. I've posted on xen-users, but did not get an answer. Venkat seems to be experiencing the same problem as me. I have the latest BIOS for my motherboard DQ35JO. (BIOS ver 933) I'm running a Q6600 as well. It hangs at "Brought up 4 CPUs." I've tried all sorts of combinations of Xen versions and kernels to get this working. And, yes, VT and VT-d are enabled in my BIOS.

1) CentOS 5.2 SRPMS compiled with Xen 3.2.1.<http://3.2.1.> Adding pci=nommconf does not get it to boot.

2) Mercurial Xen-3.2-testing. Here, after adding pci=nommconf, I get:

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found

3) Mercurial Xen-unstable, I get "I/O Virtualisation disabled" I can't find any reason why this is the case. VT-D is not enabled.

I would really like to find the cause for this. I don't know if this is a BIOS bug or what. This board is supposedly supported on Xen per the VT-D wiki. Other people seem to have the same problem as me:

http://forums12.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1217898320366+28353475&threadId=1234588

Thanks for any and all help,

-Bryan

The BIOS version I use may be not the exact one as yours. I mean I expect you're not using a very old BIOS. :-)

How about trying the xen 3.2.2-rc2 and the latest xen-unstable first? There are some VT-d bug fixes between 3.2.1 (you're using it) and 3.2.2-rc2.

Thanks,

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]<mailto:[email protected]>] Sent: 2008年8月5日 14:37 To: Cui, Dexuan; [email protected]<mailto:[email protected]> Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

If you don't mind can you send me the BIOS version you are using?

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]<mailto:[email protected]>] Sent: Tuesday, August 05, 2008 12:03 PM To: Kumar, Venkat; [email protected]<mailto:[email protected]> Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

Hi Venkat,

Can you confirm you're using the latest BIOS? Can you try the xen 3.2.2-rc2 and the latest xen-unstable on the same host?

I have the similar host. Xen 3.2.2-rc2 and the latest xen-unstable both work well on it.

Thanks,

-- Dexuan

________________________________

From: [email protected]<mailto:[email protected]>
[mailto:[email protected]<mailto:[email protected]>] On Behalf Of Kumar, Venkat Sent: 2008年8月5日 12:21 To: [email protected]<mailto:[email protected]> Subject: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

After building Xen-3.2.1 I could successfully boot into it if I avoid giving vtd=1 as the boot parameter.

If I pass vtd=1 as the boot parameter to xen, the system hangs while booting.

The system hangs after the following messages

============================

Boot messages

[XEN]…..

[Xen] Brought up 2 CPUs...

=========================

My chipset DQ35 series is having VT-d support and is enabled in the BIOS as well.

My domain0 is CentOS-5.2(2.6.18.8-xen).

Is this a possible bug or some thing else??

Any Idea??

Thx,

Venkat

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#12 lore raw

VT-d issue on Xen 3.3.0 [WAS: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)]

In reply to Han, Weidong

I am seeing the “RMRR is incorrect” issue with Xen 3.3.0 and CentOS 5.2 on a DQ35 with the latest BIOS (JOQ3510J.86A.0942.2008.0807.1958). It happens with either IGD or PEG. CPU is E6750, main memory is 4Gb. Debug trace is below.

I’m not sure what the RMRR entries should look like. What BIOS revision worked for you? Should I change any other BIOS settings? Current video settings are:

DVMT Mode = DVMT
IGD DVMT Memory = 128Mb
IGD Aperture Size = 256Mb

Are there any other things that would be good to try?

Thanks,
Ed Nadolski
[email protected]

(XEN) Xen version 3.3.0 (root@) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) Tue Sep 9 17:36:19 MDT 2008 (XEN) Latest ChangeSet: unavailable
(XEN) Xen EXPERIMENTAL TEST BUILD!
(XEN) Command line: vtd=1 iommu=1 acpi=force apic=on
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16
(XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds
……
(XEN) Processor #0 6:15 APIC version 20
(XEN) Processor #1 6:15 APIC version 20
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) [VT-D]dmar.c:447: Host address width 36
(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD
(XEN) [VT-D]dmar.c:323: dmaru->address = feb00000
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1b.0
(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD
(XEN) [VT-D]dmar.c:323: dmaru->address = feb01000
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.0
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.1
(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD
(XEN) [VT-D]dmar.c:323: dmaru->address = feb03000
(XEN) [VT-D]dmar.c:332: found INCLUDE_ALL
(XEN) [VT-D]dmar.c:460: found ACPI_DMAR_RMRR
(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x00000000000e0000 RMRR end:0x00000000000effff (XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.0
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.1
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.2
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.7
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.0
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.1
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.2
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.7
(XEN) [VT-D]dmar.c:460: found ACPI_DMAR_RMRR
(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x0000000000000000 RMRR end:0x0000000000000000 (XEN) [VT-D]dmar.c:363: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Han, Weidong
Sent: Wednesday, August 06, 2008 2:59 AM
To: Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)

Venkat,

I think you are using PEG (which means IGD is disabled), right? This is a BIOS. I suggest you use IGD at this moment.

Randy (Weidong)

________________________________
From: Kumar, Venkat [mailto:[email protected]]
Sent: 2008年8月6日 16:22
To: Cui, Dexuan; Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)
As Dexuan suggested I used xen3.2.2-rc2.
With this version of xen with vtd=1 boot parameter I could boot successfully (I was not able to boot with vtd=1 in xen-3.2.1). But I see the following in the boot messages when I do a xm dmesg after a boot.
===================================================
(XEN) Xen heap: 14MB (14956kB)
(XEN) Domain heap initialised: DMA width 32 bits
(XEN) Processor #0 6:15 APIC version 20
(XEN) Processor #1 6:15 APIC version 20
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found
===================================================
If you observe the messages highlighted in RED.
VT-d is getting disabled due to some RMRR incorrect problem and in the dmar.c code this is the condition which is causing this.

    if ( rmrr->base_address >= rmrr->end_address )
    {
        dprintk(XENLOG_ERR VTDPREFIX, "RMRR is incorrect.\n");
        return -EFAULT;
    }

This code is in acpi_parse_one_rmrr function.

Thx,
Venkat
================================
Venkata Kumar Duvvuru,
LSI Engenio,
Adv. Development,
Bangalore.
Mob: +91-9880318542
Off : +91-80-41978700 ( Extn : 3544 )
================================
________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Cui, Dexuan
Sent: Wednesday, August 06, 2008 10:58 AM
To: Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hi Bryan,
According to our tests using the latest xen-unstable, the assignment of SATA controller (like in AHCI mode or Enhanced mode) should be OK on the DQ35 platform.

For xen-unstable, I guess you didn't specify "iommu=1" in the Xen grub entry? By default, VT-d is not enabled in the latest xen-unstable.

Thanks,
-- Dexuan

________________________________
From: Bryan York [mailto:[email protected]]
Sent: 2008年8月6日 12:10
To: Han, Weidong
Cc: Cui, Dexuan; [email protected]
Subject: Re: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...) Hello,

Thanks for the information. I'm trying to forward a PCI express SATA/PATA controller with a JMicron chipset. (Info here<http://www.newegg.com/Product/Product.aspx?Item=N82E16815283005>.) I know there have been problems with graphics cards in general, but I thought it was possible with disk controllers? Is there a list of well supported hardware (disk controllers) that can be used for VT-d?

Also, your RMRR explanation makes sense for the mercurial 3.2-testing, but what about xen-unstable? I didn't see any errors there besides "I/O Virtualisation disabled" with no other reason listed.

Thanks so much for your help on this. I will also try removing the disk controller and see if the mercurial Xen-3.2-testing boots without RMRR errors.

Regards,

-Bryan
On Tue, Aug 5, 2008 at 6:27 PM, Han, Weidong <[email protected]<mailto:[email protected]>> wrote:
Hi Bryan,

I think you are using an add-on graphic card (iGfx disabled), right? We also met this issue before. Obviously it's a BIOS issue (RMRR is incorrect). When parsing apci dmar failed, VT-d will be disabled.

Randy (Weidong)

________________________________
From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Bryan York
Sent: 2008年8月6日 6:17
To: Cui, Dexuan
Cc: [email protected]<mailto:[email protected]>

Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

I'm also seeing this exact same problem. I've posted on xen-users, but did not get an answer. Venkat seems to be experiencing the same problem as me. I have the latest BIOS for my motherboard DQ35JO. (BIOS ver 933) I'm running a Q6600 as well. It hangs at "Brought up 4 CPUs." I've tried all sorts of combinations of Xen versions and kernels to get this working. And, yes, VT and VT-d are enabled in my BIOS.

1) CentOS 5.2 SRPMS compiled with Xen 3.2.1.<http://3.2.1.> Adding pci=nommconf does not get it to boot.

2) Mercurial Xen-3.2-testing. Here, after adding pci=nommconf, I get:

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found

3) Mercurial Xen-unstable, I get "I/O Virtualisation disabled" I can't find any reason why this is the case. VT-D is not enabled.

I would really like to find the cause for this. I don't know if this is a BIOS bug or what. This board is supposedly supported on Xen per the VT-D wiki. Other people seem to have the same problem as me:

http://forums12.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1217898320366+28353475&threadId=1234588

Thanks for any and all help,

-Bryan

The BIOS version I use may be not the exact one as yours. I mean I expect you're not using a very old BIOS. :-)

How about trying the xen 3.2.2-rc2 and the latest xen-unstable first? There are some VT-d bug fixes between 3.2.1 (you're using it) and 3.2.2-rc2.

Thanks,

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]<mailto:[email protected]>] Sent: 2008年8月5日 14:37 To: Cui, Dexuan; [email protected]<mailto:[email protected]> Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

If you don't mind can you send me the BIOS version you are using?

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]<mailto:[email protected]>] Sent: Tuesday, August 05, 2008 12:03 PM To: Kumar, Venkat; [email protected]<mailto:[email protected]> Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

Hi Venkat,

Can you confirm you're using the latest BIOS? Can you try the xen 3.2.2-rc2 and the latest xen-unstable on the same host?

I have the similar host. Xen 3.2.2-rc2 and the latest xen-unstable both work well on it.

Thanks,

-- Dexuan

________________________________

From: [email protected]<mailto:[email protected]>
[mailto:[email protected]<mailto:[email protected]>] On Behalf Of Kumar, Venkat Sent: 2008年8月5日 12:21 To: [email protected]<mailto:[email protected]> Subject: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

After building Xen-3.2.1 I could successfully boot into it if I avoid giving vtd=1 as the boot parameter.

If I pass vtd=1 as the boot parameter to xen, the system hangs while booting.

The system hangs after the following messages

============================

Boot messages

[XEN]…..

[Xen] Brought up 2 CPUs...

=========================

My chipset DQ35 series is having VT-d support and is enabled in the BIOS as well.

My domain0 is CentOS-5.2(2.6.18.8-xen).

Is this a possible bug or some thing else??

Any Idea??

Thx,

Venkat

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#13 lore raw

RE: VT-d issue on Xen 3.3.0 [WAS: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)]

I have more info: when I flash to an older BIOS, version 0559 (this required the recovery procedure) the VT-d seems to come up OK. The xm dmesg is below.

I’m surprised the old BIOS works better. So be careful about upgrading your BIOS. Any thoughts on what the bug might be? Is there anywhere I can report this to Intel?

Thanks,
Ed

(XEN) Xen EXPERIMENTAL TEST BUILD
(XEN) Xen version 3.3.0 (root@) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) Wed Sep 10 14:43:01 MDT 2008 (XEN) Latest ChangeSet: unavailable
(XEN) Xen EXPERIMENTAL TEST BUILD!
(XEN) Command line: vtd=1 iommu=1 acpi=force apic=on
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16
…
(XEN) Processor #0 6:15 APIC version 20
(XEN) Processor #1 6:15 APIC version 20
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) [VT-D]dmar.c:446: Host address width 36
(XEN) [VT-D]dmar.c:450: ED_DEBUG: dmar:0xffff828bfff7b000
(XEN) [VT-D]dmar.c:451: ED_DEBUG: entry_header:0xffff828bfff7b030
(XEN) [VT-D]dmar.c:452: ED_DEBUG: table->length:296
(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b030 type:0x0 length:24
(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD
(XEN) [VT-D]dmar.c:323: dmaru->address = feb00000
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1b.0
(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b048 type:0x0 length:32
(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD
(XEN) [VT-D]dmar.c:323: dmaru->address = feb01000
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.0
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.1
(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b068 type:0x0 length:48
(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD
(XEN) [VT-D]dmar.c:323: dmaru->address = feb02000
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.0
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.1
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.2
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.3
(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b098 type:0x0 length:16
(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD
(XEN) [VT-D]dmar.c:323: dmaru->address = feb03000
(XEN) [VT-D]dmar.c:332: found INCLUDE_ALL
(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b0a8 type:0x1 length:88
(XEN) [VT-D]dmar.c:467: found ACPI_DMAR_RMRR
(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x00000000000e0000 RMRR end:0x00000000000effff (XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.0
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.1
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.2
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.7
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.0
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.1
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.2
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.7
(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b100 type:0x1 length:40
(XEN) [VT-D]dmar.c:467: found ACPI_DMAR_RMRR
(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x00000000cf600000 RMRR end:0x00000000cfffffff (XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.0
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.1
(XEN) Intel VT-d has been enabled

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Nadolski, Ed
Sent: Wednesday, September 10, 2008 1:56 PM
To: Han, Weidong; Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: [Xen-devel] VT-d issue on Xen 3.3.0 [WAS: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)]

I am seeing the “RMRR is incorrect” issue with Xen 3.3.0 and CentOS 5.2 on a DQ35 with the latest BIOS (JOQ3510J.86A.0942.2008.0807.1958). It happens with either IGD or PEG. CPU is E6750, main memory is 4Gb. Debug trace is below.

I’m not sure what the RMRR entries should look like. What BIOS revision worked for you? Should I change any other BIOS settings? Current video settings are:

DVMT Mode = DVMT
IGD DVMT Memory = 128Mb
IGD Aperture Size = 256Mb

Are there any other things that would be good to try?

Thanks,
Ed Nadolski
[email protected]

(XEN) Xen version 3.3.0 (root@) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) Tue Sep 9 17:36:19 MDT 2008 (XEN) Latest ChangeSet: unavailable
(XEN) Xen EXPERIMENTAL TEST BUILD!
(XEN) Command line: vtd=1 iommu=1 acpi=force apic=on
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16
(XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds
……
(XEN) Processor #0 6:15 APIC version 20
(XEN) Processor #1 6:15 APIC version 20
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) [VT-D]dmar.c:447: Host address width 36
(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD
(XEN) [VT-D]dmar.c:323: dmaru->address = feb00000
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1b.0
(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD
(XEN) [VT-D]dmar.c:323: dmaru->address = feb01000
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.0
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.1
(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD
(XEN) [VT-D]dmar.c:323: dmaru->address = feb03000
(XEN) [VT-D]dmar.c:332: found INCLUDE_ALL
(XEN) [VT-D]dmar.c:460: found ACPI_DMAR_RMRR
(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x00000000000e0000 RMRR end:0x00000000000effff (XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.0
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.1
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.2
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.7
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.0
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.1
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.2
(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.7
(XEN) [VT-D]dmar.c:460: found ACPI_DMAR_RMRR
(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x0000000000000000 RMRR end:0x0000000000000000 (XEN) [VT-D]dmar.c:363: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Han, Weidong
Sent: Wednesday, August 06, 2008 2:59 AM
To: Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)

Venkat,

I think you are using PEG (which means IGD is disabled), right? This is a BIOS. I suggest you use IGD at this moment.

Randy (Weidong)

________________________________
From: Kumar, Venkat [mailto:[email protected]]
Sent: 2008年8月6日 16:22
To: Cui, Dexuan; Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)
As Dexuan suggested I used xen3.2.2-rc2.
With this version of xen with vtd=1 boot parameter I could boot successfully (I was not able to boot with vtd=1 in xen-3.2.1). But I see the following in the boot messages when I do a xm dmesg after a boot.
===================================================
(XEN) Xen heap: 14MB (14956kB)
(XEN) Domain heap initialised: DMA width 32 bits
(XEN) Processor #0 6:15 APIC version 20
(XEN) Processor #1 6:15 APIC version 20
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found
===================================================
If you observe the messages highlighted in RED.
VT-d is getting disabled due to some RMRR incorrect problem and in the dmar.c code this is the condition which is causing this.

    if ( rmrr->base_address >= rmrr->end_address )
    {
        dprintk(XENLOG_ERR VTDPREFIX, "RMRR is incorrect.\n");
        return -EFAULT;
    }

This code is in acpi_parse_one_rmrr function.

Thx,
Venkat
================================
Venkata Kumar Duvvuru,
LSI Engenio,
Adv. Development,
Bangalore.
Mob: +91-9880318542
Off : +91-80-41978700 ( Extn : 3544 )
================================
________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Cui, Dexuan
Sent: Wednesday, August 06, 2008 10:58 AM
To: Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hi Bryan,
According to our tests using the latest xen-unstable, the assignment of SATA controller (like in AHCI mode or Enhanced mode) should be OK on the DQ35 platform.

For xen-unstable, I guess you didn't specify "iommu=1" in the Xen grub entry? By default, VT-d is not enabled in the latest xen-unstable.

Thanks,
-- Dexuan

________________________________
From: Bryan York [mailto:[email protected]]
Sent: 2008年8月6日 12:10
To: Han, Weidong
Cc: Cui, Dexuan; [email protected]
Subject: Re: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...) Hello,

Thanks for the information. I'm trying to forward a PCI express SATA/PATA controller with a JMicron chipset. (Info here<http://www.newegg.com/Product/Product.aspx?Item=N82E16815283005>.) I know there have been problems with graphics cards in general, but I thought it was possible with disk controllers? Is there a list of well supported hardware (disk controllers) that can be used for VT-d?

Also, your RMRR explanation makes sense for the mercurial 3.2-testing, but what about xen-unstable? I didn't see any errors there besides "I/O Virtualisation disabled" with no other reason listed.

Thanks so much for your help on this. I will also try removing the disk controller and see if the mercurial Xen-3.2-testing boots without RMRR errors.

Regards,

-Bryan
On Tue, Aug 5, 2008 at 6:27 PM, Han, Weidong <[email protected]<mailto:[email protected]>> wrote:
Hi Bryan,

I think you are using an add-on graphic card (iGfx disabled), right? We also met this issue before. Obviously it's a BIOS issue (RMRR is incorrect). When parsing apci dmar failed, VT-d will be disabled.

Randy (Weidong)

________________________________
From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Bryan York
Sent: 2008年8月6日 6:17
To: Cui, Dexuan
Cc: [email protected]<mailto:[email protected]>

Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

I'm also seeing this exact same problem. I've posted on xen-users, but did not get an answer. Venkat seems to be experiencing the same problem as me. I have the latest BIOS for my motherboard DQ35JO. (BIOS ver 933) I'm running a Q6600 as well. It hangs at "Brought up 4 CPUs." I've tried all sorts of combinations of Xen versions and kernels to get this working. And, yes, VT and VT-d are enabled in my BIOS.

1) CentOS 5.2 SRPMS compiled with Xen 3.2.1.<http://3.2.1.> Adding pci=nommconf does not get it to boot.

2) Mercurial Xen-3.2-testing. Here, after adding pci=nommconf, I get:

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found

3) Mercurial Xen-unstable, I get "I/O Virtualisation disabled" I can't find any reason why this is the case. VT-D is not enabled.

I would really like to find the cause for this. I don't know if this is a BIOS bug or what. This board is supposedly supported on Xen per the VT-D wiki. Other people seem to have the same problem as me:

http://forums12.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1217898320366+28353475&threadId=1234588

Thanks for any and all help,

-Bryan

The BIOS version I use may be not the exact one as yours. I mean I expect you're not using a very old BIOS. :-)

How about trying the xen 3.2.2-rc2 and the latest xen-unstable first? There are some VT-d bug fixes between 3.2.1 (you're using it) and 3.2.2-rc2.

Thanks,

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]<mailto:[email protected]>] Sent: 2008年8月5日 14:37 To: Cui, Dexuan; [email protected]<mailto:[email protected]> Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

If you don't mind can you send me the BIOS version you are using?

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]<mailto:[email protected]>] Sent: Tuesday, August 05, 2008 12:03 PM To: Kumar, Venkat; [email protected]<mailto:[email protected]> Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

Hi Venkat,

Can you confirm you're using the latest BIOS? Can you try the xen 3.2.2-rc2 and the latest xen-unstable on the same host?

I have the similar host. Xen 3.2.2-rc2 and the latest xen-unstable both work well on it.

Thanks,

-- Dexuan

________________________________

From: [email protected]<mailto:[email protected]>
[mailto:[email protected]<mailto:[email protected]>] On Behalf Of Kumar, Venkat Sent: 2008年8月5日 12:21 To: [email protected]<mailto:[email protected]> Subject: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

After building Xen-3.2.1 I could successfully boot into it if I avoid giving vtd=1 as the boot parameter.

If I pass vtd=1 as the boot parameter to xen, the system hangs while booting.

The system hangs after the following messages

============================

Boot messages

[XEN]…..

[Xen] Brought up 2 CPUs...

=========================

My chipset DQ35 series is having VT-d support and is enabled in the BIOS as well.

My domain0 is CentOS-5.2(2.6.18.8-xen).

Is this a possible bug or some thing else??

Any Idea??

Thx,

Venkat

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#14 lore raw

RE: VT-d issue on Xen 3.3.0 [WAS: Xen-3.2.1 VT-dSupport (NOT SURE WHETHER IT'S ABUGOR...)]

Ed,

Can you try using the latest BIOS and the tip of xen-unstable?

Joe

From: [email protected] [mailto:[email protected]] On Behalf Of Nadolski, Ed
Sent: Wednesday, September 10, 2008 3:49 PM
To: Nadolski, Ed; Han, Weidong; Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] VT-d issue on Xen 3.3.0 [WAS: Xen-3.2.1 VT-dSupport (NOT SURE WHETHER IT'S ABUGOR...)]

I have more info: when I flash to an older BIOS, version 0559 (this required the recovery procedure) the VT-d seems to come up OK. The xm dmesg is below.

I’m surprised the old BIOS works better. So be careful about upgrading your BIOS. Any thoughts on what the bug might be? Is there anywhere I can report this to Intel?

Thanks,

Ed

(XEN) Xen EXPERIMENTAL TEST BUILD

(XEN) Xen version 3.3.0 (root@) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) Wed Sep 10 14:43:01 MDT 2008

(XEN) Latest ChangeSet: unavailable

(XEN) Xen EXPERIMENTAL TEST BUILD!

(XEN) Command line: vtd=1 iommu=1 acpi=force apic=on

(XEN) Video information:

(XEN) VGA is text mode 80x25, font 8x16

…

(XEN) Processor #0 6:15 APIC version 20

(XEN) Processor #1 6:15 APIC version 20

(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23

(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs

(XEN) [VT-D]dmar.c:446: Host address width 36

(XEN) [VT-D]dmar.c:450: ED_DEBUG: dmar:0xffff828bfff7b000

(XEN) [VT-D]dmar.c:451: ED_DEBUG: entry_header:0xffff828bfff7b030

(XEN) [VT-D]dmar.c:452: ED_DEBUG: table->length:296

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b030 type:0x0 length:24

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb00000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1b.0

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b048 type:0x0 length:32

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb01000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.1

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b068 type:0x0 length:48

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb02000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.3

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b098 type:0x0 length:16

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb03000

(XEN) [VT-D]dmar.c:332: found INCLUDE_ALL

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b0a8 type:0x1 length:88

(XEN) [VT-D]dmar.c:467: found ACPI_DMAR_RMRR

(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x00000000000e0000 RMRR end:0x00000000000effff

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.7

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.7

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b100 type:0x1 length:40

(XEN) [VT-D]dmar.c:467: found ACPI_DMAR_RMRR

(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x00000000cf600000 RMRR end:0x00000000cfffffff

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.1

(XEN) Intel VT-d has been enabled

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Nadolski, Ed
Sent: Wednesday, September 10, 2008 1:56 PM
To: Han, Weidong; Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: [Xen-devel] VT-d issue on Xen 3.3.0 [WAS: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)]

I am seeing the “RMRR is incorrect” issue with Xen 3.3.0 and CentOS 5.2 on a DQ35 with the latest BIOS (JOQ3510J.86A.0942.2008.0807.1958). It happens with either IGD or PEG. CPU is E6750, main memory is 4Gb. Debug trace is below.

I’m not sure what the RMRR entries should look like. What BIOS revision worked for you? Should I change any other BIOS settings? Current video settings are:

DVMT Mode = DVMT

IGD DVMT Memory = 128Mb

IGD Aperture Size = 256Mb

Are there any other things that would be good to try?

Thanks,

Ed Nadolski

[email protected]

(XEN) Xen version 3.3.0 (root@) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) Tue Sep 9 17:36:19 MDT 2008

(XEN) Latest ChangeSet: unavailable

(XEN) Xen EXPERIMENTAL TEST BUILD!

(XEN) Command line: vtd=1 iommu=1 acpi=force apic=on

(XEN) Video information:

(XEN) VGA is text mode 80x25, font 8x16

(XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds

……

(XEN) Processor #0 6:15 APIC version 20

(XEN) Processor #1 6:15 APIC version 20

(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23

(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs

(XEN) [VT-D]dmar.c:447: Host address width 36

(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb00000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1b.0

(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb01000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.1

(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb03000

(XEN) [VT-D]dmar.c:332: found INCLUDE_ALL

(XEN) [VT-D]dmar.c:460: found ACPI_DMAR_RMRR

(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x00000000000e0000 RMRR end:0x00000000000effff

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.7

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.7

(XEN) [VT-D]dmar.c:460: found ACPI_DMAR_RMRR

(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x0000000000000000 RMRR end:0x0000000000000000

(XEN) [VT-D]dmar.c:363: RMRR is incorrect.

(XEN) Failed to parse ACPI DMAR. Disabling VT-d.

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Han, Weidong
Sent: Wednesday, August 06, 2008 2:59 AM
To: Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)

Venkat,

I think you are using PEG (which means IGD is disabled), right? This is a BIOS. I suggest you use IGD at this moment.

Randy (Weidong)

________________________________

From: Kumar, Venkat [mailto:[email protected]]
Sent: 2008年8月6日 16:22
To: Cui, Dexuan; Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)

As Dexuan suggested I used xen3.2.2-rc2.

With this version of xen with vtd=1 boot parameter I could boot successfully (I was not able to boot with vtd=1 in xen-3.2.1).

But I see the following in the boot messages when I do a xm dmesg after a boot.

===================================================

(XEN) Xen heap: 14MB (14956kB)

(XEN) Domain heap initialised: DMA width 32 bits

(XEN) Processor #0 6:15 APIC version 20

(XEN) Processor #1 6:15 APIC version 20

(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23

(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.

(XEN) Failed to parse ACPI DMAR. Disabling VT-d.

(XEN) [VT-D]ACPI DMAR:No DMAR devices found

===================================================

If you observe the messages highlighted in RED.

VT-d is getting disabled due to some RMRR incorrect problem and in the dmar.c code this is the condition which is causing this.

    if ( rmrr->base_address >= rmrr->end_address )

    {

        dprintk(XENLOG_ERR VTDPREFIX, "RMRR is incorrect.\n");

        return -EFAULT;

    }

This code is in acpi_parse_one_rmrr function.

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Cui, Dexuan
Sent: Wednesday, August 06, 2008 10:58 AM
To: Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hi Bryan,

According to our tests using the latest xen-unstable, the assignment of SATA controller (like in AHCI mode or Enhanced mode) should be OK on the DQ35 platform.

For xen-unstable, I guess you didn't specify "iommu=1" in the Xen grub entry? By default, VT-d is not enabled in the latest xen-unstable.

Thanks,
-- Dexuan

________________________________

From: Bryan York [mailto:[email protected]]
Sent: 2008年8月6日 12:10
To: Han, Weidong
Cc: Cui, Dexuan; [email protected]
Subject: Re: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

Thanks for the information. I'm trying to forward a PCI express SATA/PATA controller with a JMicron chipset. (Info here <http://www.newegg.com/Product/Product.aspx?Item=N82E16815283005> .) I know there have been problems with graphics cards in general, but I thought it was possible with disk controllers? Is there a list of well supported hardware (disk controllers) that can be used for VT-d?

Also, your RMRR explanation makes sense for the mercurial 3.2-testing, but what about xen-unstable? I didn't see any errors there besides "I/O Virtualisation disabled" with no other reason listed.

Thanks so much for your help on this. I will also try removing the disk controller and see if the mercurial Xen-3.2-testing boots without RMRR errors.

Regards,

-Bryan

On Tue, Aug 5, 2008 at 6:27 PM, Han, Weidong <[email protected]> wrote:

Hi Bryan,

I think you are using an add-on graphic card (iGfx disabled), right? We also met this issue before. Obviously it's a BIOS issue (RMRR is incorrect). When parsing apci dmar failed, VT-d will be disabled.

Randy (Weidong)

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Bryan York
Sent: 2008年8月6日 6:17
To: Cui, Dexuan
Cc: [email protected]

Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

I'm also seeing this exact same problem. I've posted on xen-users, but did not get an answer. Venkat seems to be experiencing the same problem as me. I have the latest BIOS for my motherboard DQ35JO. (BIOS ver 933) I'm running a Q6600 as well. It hangs at "Brought up 4 CPUs." I've tried all sorts of combinations of Xen versions and kernels to get this working. And, yes, VT and VT-d are enabled in my BIOS.

1) CentOS 5.2 SRPMS compiled with Xen 3.2.1. Adding pci=nommconf does not get it to boot.

2) Mercurial Xen-3.2-testing. Here, after adding pci=nommconf, I get:

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found

3) Mercurial Xen-unstable, I get "I/O Virtualisation disabled" I can't find any reason why this is the case. VT-D is not enabled.

I would really like to find the cause for this. I don't know if this is a BIOS bug or what. This board is supposedly supported on Xen per the VT-D wiki. Other people seem to have the same problem as me:

http://forums12.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1217898320366+28353475&threadId=1234588

Thanks for any and all help,

-Bryan

The BIOS version I use may be not the exact one as yours. I mean I expect you're not using a very old BIOS. :-)

How about trying the xen 3.2.2-rc2 and the latest xen-unstable first? There are some VT-d bug fixes between 3.2.1 (you're using it) and 3.2.2-rc2.

Thanks,

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]] Sent: 2008年8月5日 14:37 To: Cui, Dexuan; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

If you don't mind can you send me the BIOS version you are using?

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]] Sent: Tuesday, August 05, 2008 12:03 PM To: Kumar, Venkat; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

Hi Venkat,

Can you confirm you're using the latest BIOS? Can you try the xen 3.2.2-rc2 and the latest xen-unstable on the same host?

I have the similar host. Xen 3.2.2-rc2 and the latest xen-unstable both work well on it.

Thanks,

-- Dexuan

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of Kumar, Venkat Sent: 2008年8月5日 12:21 To: [email protected] Subject: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

After building Xen-3.2.1 I could successfully boot into it if I avoid giving vtd=1 as the boot parameter.

If I pass vtd=1 as the boot parameter to xen, the system hangs while booting.

The system hangs after the following messages

============================

Boot messages

[XEN]…..

[Xen] Brought up 2 CPUs...

=========================

My chipset DQ35 series is having VT-d support and is enabled in the BIOS as well.

My domain0 is CentOS-5.2(2.6.18.8-xen).

Is this a possible bug or some thing else??

Any Idea??

Thx,

Venkat

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#15 lore raw

Re: VT-d issue on Xen 3.3.0 [WAS: Xen-3.2.1 VT-dSupport (NOT SURE WHETHER IT'S ABUGOR...)]

Hello,

Thank you Ed for your suggestion! Downgrading to BIOS 0559 worked for me as well. Joseph, I tried Xen 3.2-testing 3.3-testing and xen-unstable from mercurial, and none worked (same RMRR error below) with BIOS 0943.

However, anytime a program tries to access the attached PCI device, the guest restarts. Currently, I'm running xen-unstable. I will test the other Xen versions and report back. Could this be the result of the older BIOS version?

Sorry to others who were following this and hoping for an update. It appears my serial header on my motherboard is not working, so I can't get some xen debugging information. Does anyone know a way to get this info without a working serial header or with a USB serial adapter?

Thanks,

-Bryan

Quoted 603 lines · Joseph

Ed,

Can you try using the latest BIOS and the tip of xen-unstable?

Joe

*From:* [email protected] [mailto:
[email protected]] *On Behalf Of *Nadolski, Ed *Sent:* Wednesday, September 10, 2008 3:49 PM
*To:* Nadolski, Ed; Han, Weidong; Kumar, Venkat; Cui, Dexuan; Bryan York *Cc:* [email protected]
*Subject:* RE: [Xen-devel] VT-d issue on Xen 3.3.0 [WAS: Xen-3.2.1 VT-dSupport (NOT SURE WHETHER IT'S ABUGOR...)]

I have more info: when I flash to an older BIOS, version 0559 (this required the recovery procedure) the VT-d seems to come up OK. The xm dmesg is below.

I'm surprised the old BIOS works better. So be careful about upgrading your BIOS. Any thoughts on what the bug might be? Is there anywhere I can report this to Intel?

Thanks,

Ed

(XEN) Xen EXPERIMENTAL TEST BUILD

(XEN) Xen version 3.3.0 (root@) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) Wed Sep 10 14:43:01 MDT 2008

(XEN) Latest ChangeSet: unavailable

(XEN) Xen EXPERIMENTAL TEST BUILD!

(XEN) Command line: *vtd=1 iommu=1 acpi=force apic=on*

(XEN) Video information:

(XEN) VGA is text mode 80x25, font 8x16

…

(XEN) Processor #0 6:15 APIC version 20

(XEN) Processor #1 6:15 APIC version 20

(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23

(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs

(XEN) [VT-D]dmar.c:446: Host address width 36

(XEN) [VT-D]dmar.c:450: ED_DEBUG: dmar:0xffff828bfff7b000

(XEN) [VT-D]dmar.c:451: ED_DEBUG: entry_header:0xffff828bfff7b030

(XEN) [VT-D]dmar.c:452: ED_DEBUG: table->length:296

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b030 type:0x0 length:24

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb00000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1b.0

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b048 type:0x0 length:32

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb01000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.1

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b068 type:0x0 length:48

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb02000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.3

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b098 type:0x0 length:16

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb03000

(XEN) [VT-D]dmar.c:332: found INCLUDE_ALL

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b0a8 type:0x1 length:88

(XEN) [VT-D]dmar.c:467: found ACPI_DMAR_RMRR

(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x00000000000e0000 RMRR end:0x00000000000effff

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.7

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.7

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b100 type:0x1 length:40

(XEN) [VT-D]dmar.c:467: found ACPI_DMAR_RMRR

(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR *base:0x00000000cf600000 RMRR end:0x00000000cfffffff*

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.1

*(XEN) Intel VT-d has been enabled*

------------------------------

*From:* [email protected] [mailto:
[email protected]] *On Behalf Of *Nadolski, Ed *Sent:* Wednesday, September 10, 2008 1:56 PM
*To:* Han, Weidong; Kumar, Venkat; Cui, Dexuan; Bryan York *Cc:* [email protected]
*Subject:* [Xen-devel] VT-d issue on Xen 3.3.0 [WAS: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)]

I am seeing the "RMRR is incorrect" issue with Xen 3.3.0 and CentOS 5.2 on
a DQ35 with the latest BIOS (JOQ3510J.86A.0942.2008.0807.1958). It happens
with either IGD or PEG. CPU is E6750, main memory is 4Gb. Debug trace is below.

I'm not sure what the RMRR entries should look like. What BIOS revision
worked for you? Should I change any other BIOS settings? Current video
settings are:

DVMT Mode = DVMT

IGD DVMT Memory = 128Mb

IGD Aperture Size = 256Mb

Are there any other things that would be good to try?

Thanks,

Ed Nadolski

[email protected]

(XEN) Xen version 3.3.0 (root@) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) Tue Sep 9 17:36:19 MDT 2008

(XEN) Latest ChangeSet: unavailable

(XEN) Xen EXPERIMENTAL TEST BUILD!

(XEN) Command line: *vtd=1 iommu=1 acpi=force apic=on*

(XEN) Video information:

(XEN) VGA is text mode 80x25, font 8x16

(XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds

……

(XEN) Processor #0 6:15 APIC version 20

(XEN) Processor #1 6:15 APIC version 20

(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23

(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs

(XEN) [VT-D]dmar.c:447: Host address width 36

(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb00000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1b.0

(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb01000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.1

(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb03000

(XEN) [VT-D]dmar.c:332: found INCLUDE_ALL

(XEN) [VT-D]dmar.c:460: *found ACPI_DMAR_RMRR*

(XEN) [VT-D]dmar.c:359: ED_DEBUG: *RMRR base:0x00000000000e0000 RMRR end:0x00000000000effff*

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.7

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.7

(XEN) [VT-D]dmar.c:460: *found ACPI_DMAR_RMRR*

(XEN) [VT-D]dmar.c:359: ED_DEBUG: *RMRR base:0x0000000000000000 RMRR end:0x0000000000000000*

(XEN) [VT-D]dmar.c:363: *RMRR is incorrect.*

(XEN) Failed to parse ACPI DMAR. *Disabling VT-d.*

------------------------------

*From:* [email protected] [mailto:
[email protected]] *On Behalf Of *Han, Weidong *Sent:* Wednesday, August 06, 2008 2:59 AM
*To:* Kumar, Venkat; Cui, Dexuan; Bryan York
*Cc:* [email protected]
*Subject:* RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)

Venkat,

I think you are using PEG (which means IGD is disabled), right? This is a BIOS. I suggest you use IGD at this moment.

Randy (Weidong)

------------------------------

*From:* Kumar, Venkat [mailto:[email protected]]
*Sent:* 2008年8月6日 16:22
*To:* Cui, Dexuan; Bryan York; Han, Weidong
*Cc:* [email protected]
*Subject:* RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)

As Dexuan suggested I used xen3.2.2-rc2.

With this version of xen with vtd=1 boot parameter I could boot successfully (I was not able to boot with vtd=1 in xen-3.2.1).

But I see the following in the boot messages when I do a xm dmesg after a boot.

===================================================

(XEN) Xen heap: 14MB (14956kB)

(XEN) Domain heap initialised: DMA width 32 bits

(XEN) Processor #0 6:15 APIC version 20

(XEN) Processor #1 6:15 APIC version 20

(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23

*(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs*

*(XEN) [VT-D]dmar.c:441: RMRR is incorrect.*

*(XEN) Failed to parse ACPI DMAR. Disabling VT-d.*

*(XEN) [VT-D]ACPI DMAR:No DMAR devices found*

===================================================

If you observe the messages highlighted in RED.

VT-d is getting disabled due to some RMRR incorrect problem and in the dmar.c code this is the condition which is causing this.

* if ( rmrr->base_address >= rmrr->end_address )*

* {*

* dprintk(XENLOG_ERR VTDPREFIX, "RMRR is incorrect.\n");*

* return -EFAULT;*

* }*

This code is in *acpi_parse_one_rmrr* function.

Thx,

Venkat

*================================*

*Venkata Kumar Duvvuru,*

*LSI Engenio,*

*Adv. Development,*

*Bangalore.*

*Mob: +91-9880318542*

*Off : +91-80-41978700 ( Extn : 3544 )*

*================================*
------------------------------

*From:* [email protected] [mailto:
[email protected]] *On Behalf Of *Cui, Dexuan *Sent:* Wednesday, August 06, 2008 10:58 AM
*To:* Bryan York; Han, Weidong
*Cc:* [email protected]
*Subject:* RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hi Bryan,

According to our tests using the latest xen-unstable, the assignment of SATA controller (like in AHCI mode or Enhanced mode) should be OK on the DQ35 platform.

For xen-unstable, I guess you didn't specify "iommu=1" in the Xen grub entry? By default, VT-d is not enabled in the latest xen-unstable.

Thanks,
-- Dexuan

------------------------------

*From:* Bryan York [mailto:[email protected]]
*Sent:* 2008年8月6日 12:10
*To:* Han, Weidong
*Cc:* Cui, Dexuan; [email protected]
*Subject:* Re: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

Thanks for the information. I'm trying to forward a PCI express SATA/PATA
controller with a JMicron chipset. (Info here<http://www.newegg.com/Product/Product.aspx?Item=N82E16815283005>.) I know there have been problems with graphics cards in general, but I
thought it was possible with disk controllers? Is there a list of well
supported hardware (disk controllers) that can be used for VT-d?

Also, your RMRR explanation makes sense for the mercurial 3.2-testing, but what about xen-unstable? I didn't see any errors there besides "I/O Virtualisation disabled" with no other reason listed.

Thanks so much for your help on this. I will also try removing the disk controller and see if the mercurial Xen-3.2-testing boots without RMRR errors.

Regards,

-Bryan

On Tue, Aug 5, 2008 at 6:27 PM, Han, Weidong <[email protected]> wrote:

Hi Bryan,

I think you are using an add-on graphic card (iGfx disabled), right? We also met this issue before. Obviously it's a BIOS issue (RMRR is incorrect). When parsing apci dmar failed, VT-d will be disabled.

Randy (Weidong)

------------------------------

*From:* [email protected] [mailto:
[email protected]] *On Behalf Of *Bryan York *Sent:* 2008年8月6日 6:17
*To:* Cui, Dexuan
*Cc:* [email protected]

*Subject:* RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

I'm also seeing this exact same problem. I've posted on xen-users, but did not get an answer. Venkat seems to be experiencing the same problem as me. I have the latest BIOS for my motherboard DQ35JO. (BIOS ver 933) I'm running a Q6600 as well. It hangs at "Brought up 4 CPUs." I've tried all sorts of combinations of Xen versions and kernels to get this working. And, yes, VT and VT-d are enabled in my BIOS.

1) CentOS 5.2 SRPMS compiled with Xen 3.2.1. Adding pci=nommconf does not get it to boot.

2) Mercurial Xen-3.2-testing. Here, after adding pci=nommconf, I get:

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found

3) Mercurial Xen-unstable, I get "I/O Virtualisation disabled" I can't find any reason why this is the case. VT-D is not enabled.

I would really like to find the cause for this. I don't know if this is a BIOS bug or what. This board is supposedly supported on Xen per the VT-D wiki. Other people seem to have the same problem as me:

http://forums12.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1217898320366+28353475&threadId=1234588

Thanks for any and all help,

-Bryan

The BIOS version I use may be not the exact one as yours. I mean I expect you're
not using a very old BIOS. :-)

How about trying the xen 3.2.2-rc2 and the latest xen-unstable first? There are some *VT-d* bug fixes between 3.2.1 (you're using it) and 3.2.2-rc2.

Thanks,

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]] Sent: 2008年8月5日 14:37
To: Cui, Dexuan; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 *VT-d* Support (NOT SURE WHETHER IT'S A BUG
OR...)

If you don't mind can you send me the BIOS version you are using?

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]] Sent: Tuesday, August 05, 2008 12:03 PM To: Kumar, Venkat; [email protected] Subject:
RE: [Xen-devel] Xen-3.2.1 *VT-d* Support (NOT SURE WHETHER IT'S A BUG OR...)

Hi Venkat,

Can you confirm you're using the latest BIOS? Can you try the xen 3.2.2-rc2 and
the latest xen-unstable on the same host?

I have the similar host. Xen 3.2.2-rc2 and the latest xen-unstable both work
well on it.

Thanks,

-- Dexuan

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Kumar, Venkat
Sent: 2008年8月5日 12:21 To: [email protected] Subject:
[Xen-devel] Xen-3.2.1 *VT-d* Support (NOT SURE WHETHER IT'S A BUG OR...)

After building Xen-3.2.1 I could successfully boot into it if I avoid giving
vtd=1 as the boot parameter.

If I pass vtd=1 as the boot parameter to xen, the system hangs while booting.

The system hangs after the following messages

============================

Boot messages

[XEN]…..

[Xen] Brought up 2 CPUs...

=========================

My chipset DQ35 series is having *VT-d* support and is enabled in the BIOS as
well.

My domain0 is CentOS-5.2(2.6.18.8-xen).

Quoted 10 lines

Is this a possible bug or some thing else??

Any Idea??

Thx,

Venkat

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#16 lore raw

RE: VT-d issue on Xen 3.3.0 [WAS: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)]

In reply to Nadolski, Ed

Hi Ed,
Thanks for the report!
Looks this is a BIOS issue. I think a new BIOS should be released soon. Will keep you informed.

Thanks!

-- Dexuan

________________________________

From: Nadolski, Ed [mailto:[email protected]]
Sent: 2008年9月11日 6:49
To: Nadolski, Ed; Han, Weidong; Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] VT-d issue on Xen 3.3.0 [WAS: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)]

I have more info: when I flash to an older BIOS, version 0559 (this required the recovery procedure) the VT-d seems to come up OK. The xm dmesg is below.

I’m surprised the old BIOS works better. So be careful about upgrading your BIOS. Any thoughts on what the bug might be? Is there anywhere I can report this to Intel?

Thanks,

Ed

(XEN) Xen EXPERIMENTAL TEST BUILD

(XEN) Xen version 3.3.0 (root@) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) Wed Sep 10 14:43:01 MDT 2008

(XEN) Latest ChangeSet: unavailable

(XEN) Xen EXPERIMENTAL TEST BUILD!

(XEN) Command line: vtd=1 iommu=1 acpi=force apic=on

(XEN) Video information:

(XEN) VGA is text mode 80x25, font 8x16

…

(XEN) Processor #0 6:15 APIC version 20

(XEN) Processor #1 6:15 APIC version 20

(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23

(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs

(XEN) [VT-D]dmar.c:446: Host address width 36

(XEN) [VT-D]dmar.c:450: ED_DEBUG: dmar:0xffff828bfff7b000

(XEN) [VT-D]dmar.c:451: ED_DEBUG: entry_header:0xffff828bfff7b030

(XEN) [VT-D]dmar.c:452: ED_DEBUG: table->length:296

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b030 type:0x0 length:24

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb00000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1b.0

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b048 type:0x0 length:32

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb01000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.1

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b068 type:0x0 length:48

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb02000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.3

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b098 type:0x0 length:16

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb03000

(XEN) [VT-D]dmar.c:332: found INCLUDE_ALL

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b0a8 type:0x1 length:88

(XEN) [VT-D]dmar.c:467: found ACPI_DMAR_RMRR

(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x00000000000e0000 RMRR end:0x00000000000effff

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.7

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.7

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b100 type:0x1 length:40

(XEN) [VT-D]dmar.c:467: found ACPI_DMAR_RMRR

(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x00000000cf600000 RMRR end:0x00000000cfffffff

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.1

(XEN) Intel VT-d has been enabled

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Nadolski, Ed
Sent: Wednesday, September 10, 2008 1:56 PM
To: Han, Weidong; Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: [Xen-devel] VT-d issue on Xen 3.3.0 [WAS: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)]

I am seeing the “RMRR is incorrect” issue with Xen 3.3.0 and CentOS 5.2 on a DQ35 with the latest BIOS (JOQ3510J.86A.0942.2008.0807.1958). It happens with either IGD or PEG. CPU is E6750, main memory is 4Gb. Debug trace is below.

I’m not sure what the RMRR entries should look like. What BIOS revision worked for you? Should I change any other BIOS settings? Current video settings are:

DVMT Mode = DVMT

IGD DVMT Memory = 128Mb

IGD Aperture Size = 256Mb

Are there any other things that would be good to try?

Thanks,

Ed Nadolski

[email protected]

(XEN) Xen version 3.3.0 (root@) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) Tue Sep 9 17:36:19 MDT 2008

(XEN) Latest ChangeSet: unavailable

(XEN) Xen EXPERIMENTAL TEST BUILD!

(XEN) Command line: vtd=1 iommu=1 acpi=force apic=on

(XEN) Video information:

(XEN) VGA is text mode 80x25, font 8x16

(XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds

……

(XEN) Processor #0 6:15 APIC version 20

(XEN) Processor #1 6:15 APIC version 20

(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23

(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs

(XEN) [VT-D]dmar.c:447: Host address width 36

(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb00000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1b.0

(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb01000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.1

(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb03000

(XEN) [VT-D]dmar.c:332: found INCLUDE_ALL

(XEN) [VT-D]dmar.c:460: found ACPI_DMAR_RMRR

(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x00000000000e0000 RMRR end:0x00000000000effff

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.7

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.7

(XEN) [VT-D]dmar.c:460: found ACPI_DMAR_RMRR

(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x0000000000000000 RMRR end:0x0000000000000000

(XEN) [VT-D]dmar.c:363: RMRR is incorrect.

(XEN) Failed to parse ACPI DMAR. Disabling VT-d.

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Han, Weidong
Sent: Wednesday, August 06, 2008 2:59 AM
To: Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)

Venkat,

I think you are using PEG (which means IGD is disabled), right? This is a BIOS. I suggest you use IGD at this moment.

Randy (Weidong)

________________________________

From: Kumar, Venkat [mailto:[email protected]]
Sent: 2008年8月6日 16:22
To: Cui, Dexuan; Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)

As Dexuan suggested I used xen3.2.2-rc2.

With this version of xen with vtd=1 boot parameter I could boot successfully (I was not able to boot with vtd=1 in xen-3.2.1).

But I see the following in the boot messages when I do a xm dmesg after a boot.

===================================================

(XEN) Xen heap: 14MB (14956kB)

(XEN) Domain heap initialised: DMA width 32 bits

(XEN) Processor #0 6:15 APIC version 20

(XEN) Processor #1 6:15 APIC version 20

(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23

(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.

(XEN) Failed to parse ACPI DMAR. Disabling VT-d.

(XEN) [VT-D]ACPI DMAR:No DMAR devices found

===================================================

If you observe the messages highlighted in RED.

VT-d is getting disabled due to some RMRR incorrect problem and in the dmar.c code this is the condition which is causing this.

    if ( rmrr->base_address >= rmrr->end_address )

    {

        dprintk(XENLOG_ERR VTDPREFIX, "RMRR is incorrect.\n");

        return -EFAULT;

    }

This code is in acpi_parse_one_rmrr function.

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Cui, Dexuan
Sent: Wednesday, August 06, 2008 10:58 AM
To: Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hi Bryan,

According to our tests using the latest xen-unstable, the assignment of SATA controller (like in AHCI mode or Enhanced mode) should be OK on the DQ35 platform.

For xen-unstable, I guess you didn't specify "iommu=1" in the Xen grub entry? By default, VT-d is not enabled in the latest xen-unstable.

Thanks,
-- Dexuan

________________________________

From: Bryan York [mailto:[email protected]]
Sent: 2008年8月6日 12:10
To: Han, Weidong
Cc: Cui, Dexuan; [email protected]
Subject: Re: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

Thanks for the information. I'm trying to forward a PCI express SATA/PATA controller with a JMicron chipset. (Info here <http://www.newegg.com/Product/Product.aspx?Item=N82E16815283005> .) I know there have been problems with graphics cards in general, but I thought it was possible with disk controllers? Is there a list of well supported hardware (disk controllers) that can be used for VT-d?

Also, your RMRR explanation makes sense for the mercurial 3.2-testing, but what about xen-unstable? I didn't see any errors there besides "I/O Virtualisation disabled" with no other reason listed.

Thanks so much for your help on this. I will also try removing the disk controller and see if the mercurial Xen-3.2-testing boots without RMRR errors.

Regards,

-Bryan

On Tue, Aug 5, 2008 at 6:27 PM, Han, Weidong <[email protected]> wrote:

Hi Bryan,

I think you are using an add-on graphic card (iGfx disabled), right? We also met this issue before. Obviously it's a BIOS issue (RMRR is incorrect). When parsing apci dmar failed, VT-d will be disabled.

Randy (Weidong)

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Bryan York
Sent: 2008年8月6日 6:17
To: Cui, Dexuan
Cc: [email protected]

Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

I'm also seeing this exact same problem. I've posted on xen-users, but did not get an answer. Venkat seems to be experiencing the same problem as me. I have the latest BIOS for my motherboard DQ35JO. (BIOS ver 933) I'm running a Q6600 as well. It hangs at "Brought up 4 CPUs." I've tried all sorts of combinations of Xen versions and kernels to get this working. And, yes, VT and VT-d are enabled in my BIOS.

1) CentOS 5.2 SRPMS compiled with Xen 3.2.1. Adding pci=nommconf does not get it to boot.

2) Mercurial Xen-3.2-testing. Here, after adding pci=nommconf, I get:

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found

3) Mercurial Xen-unstable, I get "I/O Virtualisation disabled" I can't find any reason why this is the case. VT-D is not enabled.

I would really like to find the cause for this. I don't know if this is a BIOS bug or what. This board is supposedly supported on Xen per the VT-D wiki. Other people seem to have the same problem as me:

http://forums12.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1217898320366+28353475&threadId=1234588

Thanks for any and all help,

-Bryan

The BIOS version I use may be not the exact one as yours. I mean I expect you're not using a very old BIOS. :-)

How about trying the xen 3.2.2-rc2 and the latest xen-unstable first? There are some VT-d bug fixes between 3.2.1 (you're using it) and 3.2.2-rc2.

Thanks,

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]] Sent: 2008年8月5日 14:37 To: Cui, Dexuan; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

If you don't mind can you send me the BIOS version you are using?

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]] Sent: Tuesday, August 05, 2008 12:03 PM To: Kumar, Venkat; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

Hi Venkat,

Can you confirm you're using the latest BIOS? Can you try the xen 3.2.2-rc2 and the latest xen-unstable on the same host?

I have the similar host. Xen 3.2.2-rc2 and the latest xen-unstable both work well on it.

Thanks,

-- Dexuan

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of Kumar, Venkat Sent: 2008年8月5日 12:21 To: [email protected] Subject: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

After building Xen-3.2.1 I could successfully boot into it if I avoid giving vtd=1 as the boot parameter.

If I pass vtd=1 as the boot parameter to xen, the system hangs while booting.

The system hangs after the following messages

============================

Boot messages

[XEN]…..

[Xen] Brought up 2 CPUs...

=========================

My chipset DQ35 series is having VT-d support and is enabled in the BIOS as well.

My domain0 is CentOS-5.2(2.6.18.8-xen).

Is this a possible bug or some thing else??

Any Idea??

Thx,

Venkat

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#17 lore raw

Re: VT-d issue on Xen 3.3.0 [WAS: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)]

Hello, all,

The post on HP's support forum was from me. So I'm also quite interested to know when there is new BIOS available which fixes this problem.

Thanks,
Jimmy Jin

2008/9/11 Cui, Dexuan <[email protected]>:

Quoted 604 lines

Hi Ed,
Thanks for the report!
Looks this is a BIOS issue. I think a new BIOS should be released soon. Will keep you informed.

Thanks!

-- Dexuan

________________________________
From: Nadolski, Ed [mailto:[email protected]]
Sent: 2008年9月11日 6:49
To: Nadolski, Ed; Han, Weidong; Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] VT-d issue on Xen 3.3.0 [WAS: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)]

I have more info: when I flash to an older BIOS, version 0559 (this required the recovery procedure) the VT-d seems to come up OK. The xm dmesg is below.

I'm surprised the old BIOS works better. So be careful about upgrading your BIOS. Any thoughts on what the bug might be? Is there anywhere I can report this to Intel?

Thanks,

Ed

(XEN) Xen EXPERIMENTAL TEST BUILD

(XEN) Xen version 3.3.0 (root@) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) Wed Sep 10 14:43:01 MDT 2008

(XEN) Latest ChangeSet: unavailable

(XEN) Xen EXPERIMENTAL TEST BUILD!

(XEN) Command line: vtd=1 iommu=1 acpi=force apic=on

(XEN) Video information:

(XEN) VGA is text mode 80x25, font 8x16

…

(XEN) Processor #0 6:15 APIC version 20

(XEN) Processor #1 6:15 APIC version 20

(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23

(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs

(XEN) [VT-D]dmar.c:446: Host address width 36

(XEN) [VT-D]dmar.c:450: ED_DEBUG: dmar:0xffff828bfff7b000

(XEN) [VT-D]dmar.c:451: ED_DEBUG: entry_header:0xffff828bfff7b030

(XEN) [VT-D]dmar.c:452: ED_DEBUG: table->length:296

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b030 type:0x0 length:24

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb00000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1b.0

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b048 type:0x0 length:32

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb01000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.1

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b068 type:0x0 length:48

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb02000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.3

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b098 type:0x0 length:16

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb03000

(XEN) [VT-D]dmar.c:332: found INCLUDE_ALL

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b0a8 type:0x1 length:88

(XEN) [VT-D]dmar.c:467: found ACPI_DMAR_RMRR

(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x00000000000e0000 RMRR end:0x00000000000effff

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.7

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.7

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b100 type:0x1 length:40

(XEN) [VT-D]dmar.c:467: found ACPI_DMAR_RMRR

(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x00000000cf600000 RMRR end:0x00000000cfffffff

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.1

(XEN) Intel VT-d has been enabled

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Nadolski, Ed
Sent: Wednesday, September 10, 2008 1:56 PM
To: Han, Weidong; Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: [Xen-devel] VT-d issue on Xen 3.3.0 [WAS: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)]

I am seeing the "RMRR is incorrect" issue with Xen 3.3.0 and CentOS 5.2 on a
DQ35 with the latest BIOS (JOQ3510J.86A.0942.2008.0807.1958). It happens
with either IGD or PEG. CPU is E6750, main memory is 4Gb. Debug trace is below.

I'm not sure what the RMRR entries should look like. What BIOS revision
worked for you? Should I change any other BIOS settings? Current video
settings are:

DVMT Mode = DVMT

IGD DVMT Memory = 128Mb

IGD Aperture Size = 256Mb

Are there any other things that would be good to try?

Thanks,

Ed Nadolski

[email protected]

(XEN) Xen version 3.3.0 (root@) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) Tue Sep 9 17:36:19 MDT 2008

(XEN) Latest ChangeSet: unavailable

(XEN) Xen EXPERIMENTAL TEST BUILD!

(XEN) Command line: vtd=1 iommu=1 acpi=force apic=on

(XEN) Video information:

(XEN) VGA is text mode 80x25, font 8x16

(XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds

……

(XEN) Processor #0 6:15 APIC version 20

(XEN) Processor #1 6:15 APIC version 20

(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23

(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs

(XEN) [VT-D]dmar.c:447: Host address width 36

(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb00000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1b.0

(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb01000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.1

(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb03000

(XEN) [VT-D]dmar.c:332: found INCLUDE_ALL

(XEN) [VT-D]dmar.c:460: found ACPI_DMAR_RMRR

(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x00000000000e0000 RMRR end:0x00000000000effff

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.7

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.7

(XEN) [VT-D]dmar.c:460: found ACPI_DMAR_RMRR

(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x0000000000000000 RMRR end:0x0000000000000000

(XEN) [VT-D]dmar.c:363: RMRR is incorrect.

(XEN) Failed to parse ACPI DMAR. Disabling VT-d.

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Han, Weidong
Sent: Wednesday, August 06, 2008 2:59 AM
To: Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)

Venkat,

I think you are using PEG (which means IGD is disabled), right? This is a BIOS. I suggest you use IGD at this moment.

Randy (Weidong)

________________________________

From: Kumar, Venkat [mailto:[email protected]]
Sent: 2008年8月6日 16:22
To: Cui, Dexuan; Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)

As Dexuan suggested I used xen3.2.2-rc2.

With this version of xen with vtd=1 boot parameter I could boot successfully (I was not able to boot with vtd=1 in xen-3.2.1).

But I see the following in the boot messages when I do a xm dmesg after a boot.

===================================================

(XEN) Xen heap: 14MB (14956kB)

(XEN) Domain heap initialised: DMA width 32 bits

(XEN) Processor #0 6:15 APIC version 20

(XEN) Processor #1 6:15 APIC version 20

(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23

(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.

(XEN) Failed to parse ACPI DMAR. Disabling VT-d.

(XEN) [VT-D]ACPI DMAR:No DMAR devices found

===================================================

If you observe the messages highlighted in RED.

VT-d is getting disabled due to some RMRR incorrect problem and in the dmar.c code this is the condition which is causing this.

    if ( rmrr->base_address >= rmrr->end_address )

    {

        dprintk(XENLOG_ERR VTDPREFIX, "RMRR is incorrect.\n");

        return -EFAULT;

    }

This code is in acpi_parse_one_rmrr function.

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Cui, Dexuan
Sent: Wednesday, August 06, 2008 10:58 AM
To: Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hi Bryan,

According to our tests using the latest xen-unstable, the assignment of SATA controller (like in AHCI mode or Enhanced mode) should be OK on the DQ35 platform.

For xen-unstable, I guess you didn't specify "iommu=1" in the Xen grub entry? By default, VT-d is not enabled in the latest xen-unstable.

Thanks,
-- Dexuan

________________________________

From: Bryan York [mailto:[email protected]]
Sent: 2008年8月6日 12:10
To: Han, Weidong
Cc: Cui, Dexuan; [email protected]
Subject: Re: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

Thanks for the information. I'm trying to forward a PCI express SATA/PATA controller with a JMicron chipset. (Info here.) I know there have been problems with graphics cards in general, but I thought it was possible with disk controllers? Is there a list of well supported hardware (disk controllers) that can be used for VT-d?

Also, your RMRR explanation makes sense for the mercurial 3.2-testing, but what about xen-unstable? I didn't see any errors there besides "I/O Virtualisation disabled" with no other reason listed.

Thanks so much for your help on this. I will also try removing the disk controller and see if the mercurial Xen-3.2-testing boots without RMRR errors.

Regards,

-Bryan

On Tue, Aug 5, 2008 at 6:27 PM, Han, Weidong <[email protected]> wrote:

Hi Bryan,

I think you are using an add-on graphic card (iGfx disabled), right? We also met this issue before. Obviously it's a BIOS issue (RMRR is incorrect). When parsing apci dmar failed, VT-d will be disabled.

Randy (Weidong)

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Bryan York
Sent: 2008年8月6日 6:17
To: Cui, Dexuan
Cc: [email protected]

Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

I'm also seeing this exact same problem. I've posted on xen-users, but did not get an answer. Venkat seems to be experiencing the same problem as me. I have the latest BIOS for my motherboard DQ35JO. (BIOS ver 933) I'm running a Q6600 as well. It hangs at "Brought up 4 CPUs." I've tried all sorts of combinations of Xen versions and kernels to get this working. And, yes, VT and VT-d are enabled in my BIOS.

1) CentOS 5.2 SRPMS compiled with Xen 3.2.1. Adding pci=nommconf does not get it to boot.

2) Mercurial Xen-3.2-testing. Here, after adding pci=nommconf, I get:

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found

3) Mercurial Xen-unstable, I get "I/O Virtualisation disabled" I can't find any reason why this is the case. VT-D is not enabled.

I would really like to find the cause for this. I don't know if this is a BIOS bug or what. This board is supposedly supported on Xen per the VT-D wiki. Other people seem to have the same problem as me:

http://forums12.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1217898320366+28353475&threadId=1234588

Thanks for any and all help,

-Bryan

The BIOS version I use may be not the exact one as yours. I mean I expect you're
not using a very old BIOS. :-)

How about trying the xen 3.2.2-rc2 and the latest xen-unstable first? There are some VT-d bug fixes between 3.2.1 (you're using it) and 3.2.2-rc2.

Thanks,

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]] Sent: 2008年8月5日 14:37 To:
Cui, Dexuan; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG
OR...)

If you don't mind can you send me the BIOS version you are using?

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]] Sent: Tuesday, August 05, 2008 12:03 PM To: Kumar, Venkat; [email protected] Subject: RE:
[Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

Hi Venkat,

Can you confirm you're using the latest BIOS? Can you try the xen 3.2.2-rc2 and
the latest xen-unstable on the same host?

I have the similar host. Xen 3.2.2-rc2 and the latest xen-unstable both work well on it.

Thanks,

-- Dexuan

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Kumar, Venkat
Sent: 2008年8月5日 12:21 To: [email protected] Subject: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

After building Xen-3.2.1 I could successfully boot into it if I avoid giving vtd=1 as the boot parameter.

If I pass vtd=1 as the boot parameter to xen, the system hangs while booting.

The system hangs after the following messages

============================

Boot messages

[XEN]…..

[Xen] Brought up 2 CPUs...

=========================

My chipset DQ35 series is having VT-d support and is enabled in the BIOS as well.

My domain0 is CentOS-5.2(2.6.18.8-xen).

Is this a possible bug or some thing else??

Any Idea??

Thx,

Quoted 10 lines

Venkat

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#18 lore raw

Re: VT-d issue on Xen 3.3.0 [WAS: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)]

Hello,

I don't know about the HP server motherboard, but there is a new BIOS update today for the DQ35JO motherboard. (0954) In the changelog, it doesn't say anything about VT-d...is the fix included?

Jimmy, it may help if you list your motherboard model and BIOS version.

-Bryan

Quoted 631 lines · Jimmy Jin

Hello, all,

The post on HP's support forum was from me. So I'm also quite interested to know when there is new BIOS available which fixes this problem.

Thanks,
Jimmy Jin

2008/9/11 Cui, Dexuan <[email protected]>:

Quoted 3 lines

Hi Ed,
Thanks for the report!
Looks this is a BIOS issue. I think a new BIOS should be released soon.

Will

Quoted 14 lines

keep you informed.

Thanks!

-- Dexuan

________________________________
From: Nadolski, Ed [mailto:[email protected]]
Sent: 2008年9月11日 6:49
To: Nadolski, Ed; Han, Weidong; Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] VT-d issue on Xen 3.3.0 [WAS: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)]

Quoted 2 lines

I have more info: when I flash to an older BIOS, version 0559 (this required the recovery procedure) the VT-d seems to come up OK. The xm

dmesg

Quoted 5 lines

is below.

I'm surprised the old BIOS works better. So be careful about upgrading

your

Quoted 40 lines

BIOS. Any thoughts on what the bug might be? Is there anywhere I can report this to Intel?

Thanks,

Ed

(XEN) Xen EXPERIMENTAL TEST BUILD

(XEN) Xen version 3.3.0 (root@) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) Wed Sep 10 14:43:01 MDT 2008

(XEN) Latest ChangeSet: unavailable

(XEN) Xen EXPERIMENTAL TEST BUILD!

(XEN) Command line: vtd=1 iommu=1 acpi=force apic=on

(XEN) Video information:

(XEN) VGA is text mode 80x25, font 8x16

…

(XEN) Processor #0 6:15 APIC version 20

(XEN) Processor #1 6:15 APIC version 20

(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23

(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs

(XEN) [VT-D]dmar.c:446: Host address width 36

Quoted 7 lines

(XEN) [VT-D]dmar.c:450: ED_DEBUG: dmar:0xffff828bfff7b000

(XEN) [VT-D]dmar.c:451: ED_DEBUG: entry_header:0xffff828bfff7b030

(XEN) [VT-D]dmar.c:452: ED_DEBUG: table->length:296

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b030

type:0x0

Quoted 9 lines

length:24

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb00000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1b.0

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b048

type:0x0

Quoted 11 lines

length:32

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb01000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.1

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b068

type:0x0

Quoted 8 lines

length:48

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb02000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.0

Quoted 7 lines

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:3.3

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b098

type:0x0

Quoted 9 lines

length:16

(XEN) [VT-D]dmar.c:463: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb03000

(XEN) [VT-D]dmar.c:332: found INCLUDE_ALL

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b0a8

type:0x1

Quoted 17 lines

length:88

(XEN) [VT-D]dmar.c:467: found ACPI_DMAR_RMRR

(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x00000000000e0000 RMRR end:0x00000000000effff

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.7

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.0

Quoted 7 lines

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.7

(XEN) [VT-D]dmar.c:458: ED_DEBUG: entry_header:0xffff828bfff7b100

type:0x1

Quoted 29 lines

length:40

(XEN) [VT-D]dmar.c:467: found ACPI_DMAR_RMRR

(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x00000000cf600000 RMRR end:0x00000000cfffffff

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.1

(XEN) Intel VT-d has been enabled

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Nadolski, Ed
Sent: Wednesday, September 10, 2008 1:56 PM
To: Han, Weidong; Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: [Xen-devel] VT-d issue on Xen 3.3.0 [WAS: Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)]

Quoted 1 line

I am seeing the "RMRR is incorrect" issue with Xen 3.3.0 and CentOS 5.2

on a

Quoted 1 line

DQ35 with the latest BIOS (JOQ3510J.86A.0942.2008.0807.1958). It

happens

Quoted 146 lines

with either IGD or PEG. CPU is E6750, main memory is 4Gb. Debug trace is below.

I'm not sure what the RMRR entries should look like. What BIOS revision
worked for you? Should I change any other BIOS settings? Current video
settings are:

DVMT Mode = DVMT

IGD DVMT Memory = 128Mb

IGD Aperture Size = 256Mb

Are there any other things that would be good to try?

Thanks,

Ed Nadolski

[email protected]

(XEN) Xen version 3.3.0 (root@) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) Tue Sep 9 17:36:19 MDT 2008

(XEN) Latest ChangeSet: unavailable

(XEN) Xen EXPERIMENTAL TEST BUILD!

(XEN) Command line: vtd=1 iommu=1 acpi=force apic=on

(XEN) Video information:

(XEN) VGA is text mode 80x25, font 8x16

(XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds

……

(XEN) Processor #0 6:15 APIC version 20

(XEN) Processor #1 6:15 APIC version 20

(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23

(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs

(XEN) [VT-D]dmar.c:447: Host address width 36

(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb00000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1b.0

(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb01000

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:2.1

(XEN) [VT-D]dmar.c:456: found ACPI_DMAR_DRHD

(XEN) [VT-D]dmar.c:323: dmaru->address = feb03000

(XEN) [VT-D]dmar.c:332: found INCLUDE_ALL

(XEN) [VT-D]dmar.c:460: found ACPI_DMAR_RMRR

(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x00000000000e0000 RMRR end:0x00000000000effff

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1d.7

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.0

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.1

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.2

(XEN) [VT-D]dmar.c:272: found endpoint: bdf = 0:1a.7

(XEN) [VT-D]dmar.c:460: found ACPI_DMAR_RMRR

(XEN) [VT-D]dmar.c:359: ED_DEBUG: RMRR base:0x0000000000000000 RMRR end:0x0000000000000000

(XEN) [VT-D]dmar.c:363: RMRR is incorrect.

(XEN) Failed to parse ACPI DMAR. Disabling VT-d.

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Han, Weidong
Sent: Wednesday, August 06, 2008 2:59 AM
To: Kumar, Venkat; Cui, Dexuan; Bryan York
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)

Venkat,

I think you are using PEG (which means IGD is disabled), right? This is a BIOS. I suggest you use IGD at this moment.

Randy (Weidong)

________________________________

From: Kumar, Venkat [mailto:[email protected]]
Sent: 2008年8月6日 16:22
To: Cui, Dexuan; Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S ABUGOR...)

Quoted 3 lines

As Dexuan suggested I used xen3.2.2-rc2.

With this version of xen with vtd=1 boot parameter I could boot

successfully

Quoted 80 lines

(I was not able to boot with vtd=1 in xen-3.2.1).

But I see the following in the boot messages when I do a xm dmesg after a boot.

===================================================

(XEN) Xen heap: 14MB (14956kB)

(XEN) Domain heap initialised: DMA width 32 bits

(XEN) Processor #0 6:15 APIC version 20

(XEN) Processor #1 6:15 APIC version 20

(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23

(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.

(XEN) Failed to parse ACPI DMAR. Disabling VT-d.

(XEN) [VT-D]ACPI DMAR:No DMAR devices found

===================================================

If you observe the messages highlighted in RED.

VT-d is getting disabled due to some RMRR incorrect problem and in the dmar.c code this is the condition which is causing this.

    if ( rmrr->base_address >= rmrr->end_address )

    {

        dprintk(XENLOG_ERR VTDPREFIX, "RMRR is incorrect.\n");

        return -EFAULT;

    }

This code is in acpi_parse_one_rmrr function.

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Cui, Dexuan
Sent: Wednesday, August 06, 2008 10:58 AM
To: Bryan York; Han, Weidong
Cc: [email protected]
Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Quoted 3 lines

Hi Bryan,

According to our tests using the latest xen-unstable, the assignment of

SATA

Quoted 26 lines

controller (like in AHCI mode or Enhanced mode) should be OK on the DQ35 platform.

For xen-unstable, I guess you didn't specify "iommu=1" in the Xen grub entry? By default, VT-d is not enabled in the latest xen-unstable.

Thanks,
-- Dexuan

________________________________

From: Bryan York [mailto:[email protected]]
Sent: 2008年8月6日 12:10
To: Han, Weidong
Cc: Cui, Dexuan; [email protected]
Subject: Re: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Quoted 5 lines

Hello,

Thanks for the information. I'm trying to forward a PCI express SATA/PATA controller with a JMicron chipset. (Info here.) I know there have been problems with graphics cards in general, but I thought it was possible

with

Quoted 4 lines

disk controllers? Is there a list of well supported hardware (disk controllers) that can be used for VT-d?

Also, your RMRR explanation makes sense for the mercurial 3.2-testing,

but

Quoted 12 lines

what about xen-unstable? I didn't see any errors there besides "I/O Virtualisation disabled" with no other reason listed.

Thanks so much for your help on this. I will also try removing the disk controller and see if the mercurial Xen-3.2-testing boots without RMRR errors.

Regards,

-Bryan

On Tue, Aug 5, 2008 at 6:27 PM, Han, Weidong <[email protected]>

Quoted 6 lines · wrote:

Hi Bryan,

I think you are using an add-on graphic card (iGfx disabled), right? We

also

Quoted 1 line

met this issue before. Obviously it's a BIOS issue (RMRR is incorrect).

When

Quoted 16 lines

parsing apci dmar failed, VT-d will be disabled.

Randy (Weidong)

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Bryan York
Sent: 2008年8月6日 6:17
To: Cui, Dexuan
Cc: [email protected]

Quoted 8 lines

Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUGOR...)

Hello,

I'm also seeing this exact same problem. I've posted on xen-users, but

did

Quoted 1 line

not get an answer. Venkat seems to be experiencing the same problem as

me. I

Quoted 1 line

have the latest BIOS for my motherboard DQ35JO. (BIOS ver 933) I'm

running a

Quoted 2 lines

Q6600 as well. It hangs at "Brought up 4 CPUs." I've tried all sorts of combinations of Xen versions and kernels to get this working. And, yes,

VT

Quoted 3 lines

and VT-d are enabled in my BIOS.

1) CentOS 5.2 SRPMS compiled with Xen 3.2.1. Adding pci=nommconf does

not

Quoted 9 lines

get it to boot.

2) Mercurial Xen-3.2-testing. Here, after adding pci=nommconf, I get:

(XEN) [VT-D]dmar.c:441: RMRR is incorrect.
(XEN) Failed to parse ACPI DMAR. Disabling VT-d.
(XEN) [VT-D]ACPI DMAR:No DMAR devices found

3) Mercurial Xen-unstable, I get "I/O Virtualisation disabled" I can't

find

Quoted 7 lines

any reason why this is the case. VT-D is not enabled.

I would really like to find the cause for this. I don't know if this is a BIOS bug or what. This board is supposedly supported on Xen per the VT-D wiki. Other people seem to have the same problem as me:

http://forums12.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1217898320366+28353475&threadId=1234588

Quoted 10 lines

Thanks for any and all help,

-Bryan

The BIOS version I use may be not the exact one as yours. I mean I expect you're
not using a very old BIOS. :-)

How about trying the xen 3.2.2-rc2 and the latest xen-unstable first?

There

Quoted 9 lines

are some VT-d bug fixes between 3.2.1 (you're using it) and 3.2.2-rc2.

Thanks,

-- Dexuan

________________________________

From: Kumar, Venkat [mailto:[email protected]] Sent: 2008年8月5日 14:37

To:

Quoted 22 lines

Cui, Dexuan; [email protected] Subject: RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

If you don't mind can you send me the BIOS version you are using?

Thx,

Venkat

================================

Venkata Kumar Duvvuru,

LSI Engenio,

Adv. Development,

Bangalore.

Mob: +91-9880318542

Quoted 7 lines

Off : +91-80-41978700 ( Extn : 3544 )

================================

________________________________

From: Cui, Dexuan [mailto:[email protected]] Sent: Tuesday, August

05,

Quoted 1 line

2008 12:03 PM To: Kumar, Venkat; [email protected] Subject:

RE:

Quoted 6 lines

[Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

Hi Venkat,

Can you confirm you're using the latest BIOS? Can you try the xen

3.2.2-rc2

Quoted 4 lines

and
the latest xen-unstable on the same host?

I have the similar host. Xen 3.2.2-rc2 and the latest xen-unstable both

work

Quoted 10 lines

well on it.

Thanks,

-- Dexuan

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Kumar,

Venkat

Quoted 1 line

Sent: 2008年8月5日 12:21 To: [email protected] Subject:

[Xen-devel]

Quoted 3 lines

Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'S A BUG OR...)

After building Xen-3.2.1 I could successfully boot into it if I avoid

giving

Quoted 11 lines

vtd=1 as the boot parameter.

If I pass vtd=1 as the boot parameter to xen, the system hangs while booting.

The system hangs after the following messages

============================

Boot messages

Quoted 29 lines
Quoted 7 lines

[XEN]…..

[Xen] Brought up 2 CPUs...

=========================

My chipset DQ35 series is having VT-d support and is enabled in the BIOS

as

Quoted 20 lines

well.

My domain0 is CentOS-5.2(2.6.18.8-xen).

Is this a possible bug or some thing else??

Any Idea??

Thx,

Venkat

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel