Hello Ross Right, I had not noticed the utility operated at the ACPI-level; I only jumped into the thread when I saw Hal's question on how to detect if the BIOS actually had enabled VT-d. Based on the ACPI tables the answer is a "yes" :-)
I think I may have found the error in the tables though! In the description of the RMRR's under the DMAR the spec says on pg. 75 (in the description of the device scope under the RMRR): "The Device Scope structure contains...The devices identified in this structure must be devices under the scope of one of the remapping hardware units reported in _DRHD_." This was taken from: http://download.intel.com/technology/computing/vptech/Intel(r)_VT_for_Direct_IO.pdf However, consider the DeviceScope "-- Device: 0x1d Function: 0x07" reported under RMRR #2 and of some of the other RMRR's. This device is not present under any DRHD in the entire DMAR. This seems to be a violation of the spec. And it makes sense with the error code Hal got, "device scope of VT-d DMAR ACPI table is invalid" Best regards, Martin Thiim On Thu, Jul 30, 2009 at 11:14 PM, Ross Philipson<ross.philip...@citrix.com> wrote: > Martin, > > The dump utility I gave Hal earlier was reading the ACPI tables and > formatting/tracing out the DMAR table from his system. The DMAR is there and > on the surface it looked correct to me (at least nothing obviously wrong with > it). Hal attached the trace in an earlier reply. > > Thanks > Ross > > -----Original Message----- > From: Martin Thiim [mailto:mar...@thiim.net] > Sent: Thursday, July 30, 2009 4:07 PM > To: Hal Finney > Cc: tboot-devel@lists.sourceforge.net > Subject: Re: [tboot-devel] GETSEC[SENTER] fail on HP dc7800 > > Hello Hal > > I could be wrong, but I think what the "Enable VT-d" option in the > BIOS really refers to is whether the BIOS should set up the ACPI > tables related to VT-d. > > You could use acpidump to see if those tables contain anything VT-d > related (DMAR and the like) - the VT-d spec would be helpful for this. > > http://download.intel.com/technology/computing/vptech/Intel(r)_VT_for_Direct_IO.pdf > > I currently don't have access to my VT-d system so I can't give you a > table of what it looks like on my machine but perhaps others could. > > Best regards, > > Martin Thiim > > On Thu, Jul 30, 2009 at 7:28 PM, Hal Finney<hal.fin...@gmail.com> wrote: >> Hi Shane - I'm not sure what it would do to add these switches, since >> tboot doesn't get as far as launching the kernel, since it hangs in >> SENTER. However I can try doing it and then just booting into the >> kernel, in case I get any error reports about VT-d. >> >> Are there any MSRs or other registers I can patch tboot to dump out, >> to indicate whether VT-d is turned on? >> >> My HP dc7800 was one of the very first commercially released systems >> to support TXT. I bought one as soon as they became available in order >> to experiment with this technology. It has an E6550 "Conroe" processor >> with a Q35 "Bearlake" chipset. >> >> Hal >> >> On Thu, Jul 30, 2009 at 12:24 AM, Shane Wang<shane.w...@intel.com> wrote: >>> Hal, >>> >>> If you work with Xen, please try to add "iommu=1 vtd=1" in Xen command line >>> (i.e. the end of "module /boot/xen.gz ...") >>> If you work with Linux, please try to add "iommu=on" in the command >>> line (i.e. the end of "module /boot/vmlinuz-2.6.30 ..." >>> >>> PS: do you know which platform HP dc7800 is? *Field or *Dale? >>> Can you see VTd lsoc (Azalia) WA in BIOS or somewhere? >>> >>> Thanks. >>> Shane >>> >>> Hal Finney wrote: >>>> >>>> Thanks for the reply, Shane. VT-d is enabled in the BIOS; in fact, the >>>> BIOS automatically enables VT-d when TXT is enabled. >>>> >>>> I don't know of anything I would do in any grub configuration file to >>>> enable VT-d for tboot and SINIT. Do you have any suggestions? >>>> >>>> Hal >>>> >>>> On Wed, Jul 29, 2009 at 10:04 PM, Shane Wang<shane.w...@intel.com> wrote: >>>>> >>>>> Hi Hal >>>>> >>>>> The error code means VTd is disabled. >>>>> Is your VT-d enabled in your new BIOS and grub.conf? >>>>> >>>>> Thanks. >>>>> Shane >>>>> >>>>> Hal Finney wrote: >>>>>> >>>>>> I haven't run tboot in a while, but I'm trying it on my HP dc7800 and >>>>>> finding it hangs in GETSEC[SENTER]. This is even true with old >>>>>> versions of tboot that used to work. My system has no USB ports >>>>>> plugged in, and no hardware changes. >>>>>> >>>>>> The one change is I recently updated my BIOS. I suspect this has to be >>>>>> the cause. One nice thing about the new BIOS is that the tboot hang >>>>>> actually reboots the machine with the ERRORCODE register intact. Its >>>>>> value is c00020a1. This is progress code 0ah, error code 1000, >>>>>> meaning: "device scope of VT-d DMAR ACPI table is invalid". Not clear >>>>>> what this means. >>>>>> >>>>>> My log is attached, including the hang and the relaunch of tboot. This >>>>>> is version 20090330 of tboot. Thanks very much - >>>>>> >>>>>> Hal Finney >>>>> >>> >>> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> tboot-devel mailing list >> tboot-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/tboot-devel >> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > tboot-devel mailing list > tboot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tboot-devel > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ tboot-devel mailing list tboot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tboot-devel