On Thu, Jan 26, 2012 at 05:48:55PM +0000, Cihula, Joseph wrote:
> > From: konrad.r.w...@gmail.com [mailto:konrad.r.w...@gmail.com] On Behalf Of 
> > Konrad Rzeszutek Wilk
> > Sent: Thursday, January 26, 2012 7:15 AM
> > 
> > On Wed, Jan 25, 2012 at 7:30 PM, Cihula, Joseph <joseph.cih...@intel.com> 
> > wrote:
> > > Try the attached patch (against the tip) and specify 'prot_mem=type1' on 
> > > the tboot command line.
> > 
> > I tried against the tip and got:
> >  patch -p1 < ~/prot_mem.patch
> > patching file tboot/common/cmdline.c
> > Hunk #3 FAILED at 77.
> > Hunk #4 succeeded at 519 (offset -10 lines).
> > 1 out of 4 hunks FAILED -- saving rejects to file 
> > tboot/common/cmdline.c.rej patching file
> > tboot/common/e820.c patching file tboot/include/cmdline.h Hunk #3 FAILED at 
> > 48.
> > 1 out of 3 hunks FAILED -- saving rejects to file 
> > tboot/include/cmdline.h.rej patching file
> > tboot/include/e820.h
> > 
> > I fixed up the rejections and compiled it. It does boot, but ends up
> > http://darnok.org/tboot/tboot-patched-cant-bootup-anymore.jpg
> > 
> > So just in case it was something on my side, I applied your patch to 1.7 - 
> > where  it applies
> > cleanly.
> > With 1.7 + your patch, the E820 looks correct now:
> > http://darnok.org/tboot/tboot-patched-e820-ok.jpg
> 
> This image looks the same as tboot-patched-cant-bootup-anymore.jpg.

Whoops. I will retake the photo shortly.
> 
> > But sadly it hits the same exact problem the tip does:
> > http://darnok.org/tboot/tboot-patched-cant-bootup-anymore.jpg
> 
> This output doesn't show the Linux console output--can you have Linux also 
> write to VGA or otherwise get its boot console output?  The "cpu xx waking 
> up..." lines indicate that Linux has gotten as far as waking all of the CPUs.

Will double check, but the grub2.conf file was exactly the same when
using the non-patched version of tboot and it had booted. But I will
double check - I might have made a mistake.

> 
> Joe
> 

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
tboot-devel mailing list
tboot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tboot-devel

Reply via email to