xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@novell.com>
To: pasik@iki.fi, Dexuan Cui <dexuan.cui@intel.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Weidong Han <weidong.han@intel.com>,
	Keir Fraser <keir.fraser@eu.citrix.com>
Subject: RE: Xen 4.0.0-rc7 problem/hang with vt-d DMAR parsing
Date: Wed, 24 Mar 2010 08:24:16 +0000	[thread overview]
Message-ID: <4BA9DA400200007800036ABB@vpn.id2.novell.com> (raw)
In-Reply-To: <ED3036A092A28F4C91B0B4360DD128EABE03D6BC@shzsmsx502.ccr.corp.intel.com>

>>> "Cui, Dexuan" <dexuan.cui@intel.com> 24.03.10 02:52 >>>
>Pasi K?rkk?inen wrote:
>> Hmm.. wondering if the patch Jan just sent will help with that.
>> Sounds like it might help :)
>I guess Jan's patch helps here in a very interesting way:

I think reference was to a patch I sent yesterday, which I don't think
would help here (as the box would have to crash for it to help).

>I suspect your BIOS doesn't construct the DMAR properly, e.g., in acpi_parse_dmar(),  entry_header->length is always 0, so xen'll hang in the while loop and continue printing the "dmaru->address = 0" message when iommu=verbose.

Surely entry_header->length == 0 (or really
entry_header->length < sizeof(struct acpi_table_XXX)) should be
considered invalid, and hence get checked for? Linux at least has
a check against zero here...

>Without verbose message outputing, the loop runs even faster and in acpi_parse_one_drhd(),  xmalloc(struct acpi_drhd_unit) would NULL in a short periof of time and hence VT-d is got disabled... :-)

Why would you expect xmalloc() to fail soon? This is only to be expected
on a 32-bit system (which I doubt this one is).

Jan

  reply	other threads:[~2010-03-24  8:24 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-23 14:27 Xen 4.0.0-rc7 problem/hang with vt-d DMAR parsing Pasi Kärkkäinen
2010-03-23 14:40 ` Jan Beulich
2010-03-23 14:40 ` Pasi Kärkkäinen
2010-03-23 14:48   ` Keir Fraser
2010-03-23 19:37     ` Pasi Kärkkäinen
2010-03-23 19:54       ` Keir Fraser
2010-03-23 20:05         ` Pasi Kärkkäinen
2010-03-24  0:40           ` Weidong Han
2010-03-24  1:52           ` Cui, Dexuan
2010-03-24  8:24             ` Jan Beulich [this message]
2010-03-24  8:54               ` Cui, Dexuan
2010-03-24  9:02               ` Weidong Han
2010-03-24  9:10                 ` Pasi Kärkkäinen
2010-03-24  9:46                 ` Jan Beulich
2010-03-24 11:00                   ` Weidong Han
2010-03-24 11:11                     ` Jan Beulich
2010-03-25  0:55                       ` Weidong Han
2010-03-25  8:43                         ` Jan Beulich
2010-03-25  9:05                           ` Weidong Han
2010-03-25  9:16                             ` Jan Beulich
2010-03-25  9:21                               ` Weidong Han
2010-03-25  9:30                                 ` Jan Beulich
2010-03-25  9:34                                   ` Pasi Kärkkäinen
2010-03-25  9:44                                     ` Keir Fraser
2010-03-26 19:20                                       ` Pasi Kärkkäinen
2010-03-29  6:42                                         ` Cui, Dexuan
2010-03-24 17:34                     ` Nadolski, Ed
2010-03-25  0:04                       ` Weidong Han
2010-04-05 18:00                         ` Nadolski, Ed
2010-04-07  1:43                           ` Weidong Han
2010-03-24  8:50             ` Pasi Kärkkäinen
2010-03-26 19:45             ` Pasi Kärkkäinen
2010-03-29  6:48               ` Cui, Dexuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BA9DA400200007800036ABB@vpn.id2.novell.com \
    --to=jbeulich@novell.com \
    --cc=dexuan.cui@intel.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=pasik@iki.fi \
    --cc=weidong.han@intel.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).