From: Konrad R. W. <ko...@da...> - 2012-01-26 15:15:07
|
On Wed, Jan 25, 2012 at 7:30 PM, Cihula, Joseph <jos...@in...> 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 But sadly it hits the same exact problem the tip does: http://darnok.org/tboot/tboot-patched-cant-bootup-anymore.jpg |