It is not probably you get hangs here. I guess it might hang in the kernel when booting with tboot. Can you show more messages printed out by kernel on the serial port if you have?


If not, another method you can try is to disable TXT in the BIOS, in that case, tboot will not do verified launch but still pass the control from tboot to the kernel. See what will happen in this way.


From: 魏成龙 []
Sent: Thursday, March 10, 2011 12:05 AM
To: tboot-devel
Subject: [tboot-devel] TBOOT: transfering control to kernel "hang"



I am installing Tboot now, but I have a problem right after tboot. My PC is Thinkpad T400 with Fedora 13, kernel linux-2.6.36. I have downloaded SINIT(GM45_GS45_PM45_SINIT_21.BIN) and installed tboot-20101005-1.fc13.src.rpm.

However, after tboot, it stopped at "TBOOT: transfering control to kernel @0xc00000...". Just hanged on the screen and the mouse cursor flashed as usual. I have updated bios to the newest and enabled TXT, VT-d, TPM, VT in the bios. File grub.conf is as follows:


title Fedora (2.6.36) with tboot
    root (hd0,4)
    kernel /tboot.gz logging=serial,vga,memory vga_delay=5
    module /vmlinuz-2.6.36 intel_iommu=on ro root=/dev/mapper/VolGroup-lv_ root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=zh_CN.UTF-8 KEYTABLE=us rhgb quiet console=ttyS0,115200 3
    module /initramfs-2.6.36.img
    module /GM45_GS45_PM45_SINIT_21.BIN


During Tboot, I can see measured results of PCR 17 and PCR 18 and some message like:

"TBOOT: meseared launch suceeded".

And the last mesage of TBOOT was:

"TBOOT: Error: ELF magic number is not matched.

TBOOT: assuming kernel is Linux format

TBOOT: Initrd from 0x7665f000 to 0x 791a0200

TBOOT: Kernel (protected mode) from 0xc00000 to 0x f58f00

TBOOT: Kernel (real mode) from 0x90000 to 0x93c00

TBOOT: transfering control to kernel @0xc00000...".

Then it stopped right here. I think it just a problem tranfering control to kernel. And without tboot  I could enter the system, so I think it's not the kernel's error. Would you give me some advice to solve this problem.