| To: | "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>, "Han, Weidong" <weidong.han@xxxxxxxxx> |
|---|---|
| Subject: | RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...) |
| From: | "Kumar, Venkat" <Venkat.Kumar@xxxxxxx> |
| Date: | Thu, 7 Aug 2008 12:51:12 +0800 |
| Accept-language: | en-US |
| Acceptlanguage: | en-US |
| Cc: | Bryan, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, York <bryan.york@xxxxxxxxx> |
| Delivery-date: | 2008年8月06日 21:52:05 -0700 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxxx |
| In-reply-to: | <FE7BBCFBB500984A9A7922EBC95F516E0186530C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
| List-help: | <mailto:xen-devel-request@lists.xensource.com?subject=help> |
| List-id: | Xen developer discussion <xen-devel.lists.xensource.com> |
| List-post: | <mailto:xen-devel@lists.xensource.com> |
| List-subscribe: | <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
| List-unsubscribe: | <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
| Thread-index: | Acj3ekn271cBWqedS/KrSXnpmCSydQACjbRAAAYK28AAAV+/8AAAn4TQAAPhpvAAHNuz4AAIHIcg |
| Thread-topic: | [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,
Mob: +91-9880318542
Off : +91-80-41978700 ( Extn : 3544 )
================================
From:
Sent: Thursday, August 07, 2008
6:32 AM
To: Kumar, Venkat; Han, Weidong
Cc:
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:Venkat.Kumar@xxxxxxx]
Sent: 2008年8月6日 19:14
To: Han, Weidong;
Cc:
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,
Mob: +91-9880318542
Off : +91-80-41978700 ( Extn : 3544 )
================================
From: Han, Weidong
[mailto:weidong.han@xxxxxxxxx]
Sent: Wednesday, August 06, 2008
2:46 PM
To: Han, Weidong; Kumar, Venkat;
Cc:
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:
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Han, Weidong
Sent: 2008年8月6日 16:59
To: Kumar, Venkat;
Cc:
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:Venkat.Kumar@xxxxxxx]
Sent: 2008年8月6日16:22
To:
Cc:
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,
Mob: +91-9880318542
Off : +91-80-41978700 ( Extn : 3544 )
================================
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
Sent: Wednesday, August 06, 2008
10:58 AM
To:
Cc:
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:
Sent: 2008年8月6日 12:10
To: Han, Weidong
Cc:
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
Regards,
-
On Tue, Aug 5, 2008 at 6:27 PM, Han, Weidong <weidong.han@xxxxxxxxx> 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: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx]
On Behalf Of
Sent: 2008年8月6日 6:17
To:
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
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:
Thanks for any and
all
-
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:Venkat.Kumar@xxxxxxx]
Sent: 2008年8月5日
14:37 To:
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,
Mob: +91-9880318542
Off : +91-80-41978700 ( Extn : 3544 )
================================
________________________________
From:
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: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx]
On Behalf Of Kumar, Venkat Sent: 2008年8月5日 12:21 To: xen-devel@xxxxxxxxxxxxxxxxxxx
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
Attachment:
dmesg_afterboot .txt
Description: dmesg_afterboot .txt
Attachment:
qemu-dm-3.log
Description: qemu-dm-3.log
Attachment:
dmesg_afterhvmcreate.txt
Description: dmesg_afterhvmcreate.txt
Attachment:
CENTOS.hvm
Description: CENTOS.hvm
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
| Previous by Date: | Re: [Xen-devel] [PATCH] [RFC] Add lock on domain start , Zhigang Wang |
|---|---|
| Next by Date: | RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...) , Cui, Dexuan |
| Previous by Thread: | RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...) , Cui, Dexuan |
| Next by Thread: | RE: [Xen-devel] Xen-3.2.1 VT-d Support (NOT SURE WHETHER IT'SABUGOR...) , Cui, Dexuan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |