Hi,

Symptoms - When i boot the system using new kernel and tboot, I am not able to see my desktop/display. It shows lines/boxes. You can not see anything at all. When it boots i can see TBOOT: messages after the boot process, nothing is coming up. So i can not do anything, just need to hard boot the system.

The last two boot options of my grub.conf do not work and having problems as described above. System is sierra, and original kernel is 2.6.33.1-24 FC13.

T kernel source which i used to build my own kernel is 2.6.33.4-95 which is newer than my original. Do you think it should matter? Because when i executed 'yumdownloader --source kernel' i got this version of kernel.

Please let me know.

Thanks,
Satish.

On Thu, May 20, 2010 at 5:30 PM, Corrion, Bradley W <bradley.w.corrion@intel.com> wrote:

Hi Satish,

 

Nice to meet you.  For the most part you should have success booting any kernel from tboot, with or without TXT.  Obviously if the kernel doesn’t have TXT explicitly enabled, the benefits won’t be present, but the kernel will still boot.

 

Nothing jumped out at me from the grub options in this entry:

 

title TBOOT Fedora (SK.fc13.i686)

    root (hd0,0)

    kernel /boot/tboot.gz logging=serial,vga,memory

    module /boot/vmlinuz-2.6.33.4-95.SK.fc13.i686 ro root=UUID=e5dd1252-13a8-4516-b44d-52e6ee335f36 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb tpm_tis.force=1 tpm_tis.itpm=1 tpm_tis.interrupts=0 intel_iommu=on

    module /boot/initramfs-2.6.33.4-95.SK.fc13.i686.img

    module /boot/Q45_Q43_SINIT_19.BIN

 

But what are the symptoms you are seeing?  And is the difference simply invoking TBOOT or not invoking TBOOT on the same kernel?

 

Thanks,

Brad

 

Brad Corrion

Platform Architect

Embedded & Communications Group

480-552-3366

 

From: Satish Kagathara [mailto:satishkagathara@gmail.com]
Sent: Thursday, May 20, 2010 10:35 AM
To: Corrion, Bradley W
Subject: Re: [tboot-devel] Problem in desktop display with TBOOT & Custom Kernel (FC13)

 

Hi Brad,

Thank you for prompt response. Yes you are right. I am working with team in Diebold and referred FC tutorial. I have been trying to identify & resolve this problem from last 3 days but could not. Then i updated softwares on original kernel using Software Updates to see whether it resolves the problem or not. With the software updates i see another kernel-2.6.33.3-85 added to my grub.conf and i was able to up the system with that too.

Finally i ended up with different options in my grub.conf (few automatically added by installing kernel) to verify which all works. I have copied grub.conf and some other info for your reference.

I have added my initials "SK" to custom kernel.

If i run "rpm -qa | grep kernel", i can see following result -
kernel-PAE-devel-2.6.33.1-24.fc13.i686
kernel-PAE-2.6.33.1-24.fc13.i686
kernel-headers-2.6.33.4-95.SK.fc13.i686
kernel-PAE-2.6.33.3-85.fc13.i686
kernel-PAE-devel-2.6.33.3-85.fc13.i686
abrt-addon-kerneloops-1.1.0-1.fc13.i686
kernel-PAE-2.6.33.4-95.SK.fc13.i686
kernel-headers-2.6.33.3-85.fc13.i686
kernel-2.6.33.4-95.SK.fc13.i686
kernel-PAE-devel-2.6.33.4-95.SK.fc13.i686

Versions of -
tpm-tools-1.3.5-2.fc13.i686
trousers-devel-0.3.4-2.fc13.i686
trousers-0.3.4-2.fc13.i686

grub.conf
-----------------------------------------------------------------------
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,0)
#          kernel /boot/vmlinuz-version ro root=/dev/sda1
#          initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=6
timeout=6
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu

title Fedora (2.6.33.1-24.fc13.i686.PAE)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.33.1-24.fc13.i686.PAE ro root=UUID=e5dd1252-13a8-4516-b44d-52e6ee335f36 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb tpm_tis.force=1 tpm_tis.itpm=1 tpm_tis.interrupts=0
    initrd /boot/initramfs-2.6.33.1-24.fc13.i686.PAE.img

title Fedora (2.6.33.3-85.fc13.i686.PAE)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.33.3-85.fc13.i686.PAE ro root=UUID=e5dd1252-13a8-4516-b44d-52e6ee335f36 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb tpm_tis.force=1 tpm_tis.itpm=1 tpm_tis.interrupts=0
    initrd /boot/initramfs-2.6.33.3-85.fc13.i686.PAE.img

title Fedora (2.6.33.4-95.SK.fc13.i686)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.33.4-95.SK.fc13.i686 ro root=UUID=e5dd1252-13a8-4516-b44d-52e6ee335f36 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb tpm_tis.force=1 tpm_tis.itpm=1 tpm_tis.interrupts=0
    initrd /boot/initramfs-2.6.33.4-95.SK.fc13.i686.img

title Fedora (2.6.33.4-95.SK.fc13.i686.PAE)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.33.4-95.SK.fc13.i686.PAE ro root=UUID=e5dd1252-13a8-4516-b44d-52e6ee335f36 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb tpm_tis.force=1 tpm_tis.itpm=1 tpm_tis.interrupts=0
    initrd /boot/initramfs-2.6.33.4-95.SK.fc13.i686.PAE.img

title TBOOT Fedora (Original)
    root (hd0,0)
    kernel /boot/tboot.gz logging=serial,vga,memory
    module /boot/vmlinuz-2.6.33.1-24.fc13.i686.PAE ro root=UUID=e5dd1252-13a8-4516-b44d-52e6ee335f36 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb tpm_tis.force=1 tpm_tis.itpm=1 tpm_tis.interrupts=0 intel_iommu=on
    module /boot/initramfs-2.6.33.1-24.fc13.i686.PAE.img
    module /boot/Q45_Q43_SINIT_19.BIN

title TBOOT Fedora (Updated)
    root (hd0,0)
    kernel /boot/tboot.gz logging=serial,vga,memory
    module /boot/vmlinuz-2.6.33.3-85.fc13.i686.PAE ro root=UUID=e5dd1252-13a8-4516-b44d-52e6ee335f36 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb tpm_tis.force=1 tpm_tis.itpm=1 tpm_tis.interrupts=0 intel_iommu=on
    module /boot/initramfs-2.6.33.3-85.fc13.i686.PAE.img
    module /boot/Q45_Q43_SINIT_19.BIN

title TBOOT Fedora (SK.fc13.i686)
    root (hd0,0)
    kernel /boot/tboot.gz logging=serial,vga,memory
    module /boot/vmlinuz-2.6.33.4-95.SK.fc13.i686 ro root=UUID=e5dd1252-13a8-4516-b44d-52e6ee335f36 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb tpm_tis.force=1 tpm_tis.itpm=1 tpm_tis.interrupts=0 intel_iommu=on
    module /boot/initramfs-2.6.33.4-95.SK.fc13.i686.img
    module /boot/Q45_Q43_SINIT_19.BIN

title TBOOT Fedora (SK.fc13.i686.PAE)
    root (hd0,0)
    kernel /boot/tboot.gz logging=serial,vga,memory
    module /boot/vmlinuz-2.6.33.4-95.SK.fc13.i686.PAE ro root=UUID=e5dd1252-13a8-4516-b44d-52e6ee335f36 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb tpm_tis.force=1 tpm_tis.itpm=1 tpm_tis.interrupts=0 intel_iommu=on
    module /boot/initramfs-2.6.33.4-95.SK.fc13.i686.PAE.img
    module /boot/Q45_Q43_SINIT_19.BIN
#
---------------------------------------------------------------------------------

Currently i am in Canton, OH. My contact no - 330 498 2754

Thanks,
Satish.

On Thu, May 20, 2010 at 12:43 PM, Corrion, Bradley W <bradley.w.corrion@intel.com> wrote:

Hi Satish,

 

Are you working with the team in Akron, too (are you using the FC tutorial I provided them)?  Would you be able to share your grub.conf with me?

 

Thanks

Brad

 

Brad Corrion

Platform Architect

Embedded & Communications Group

480-552-3366

 

From: Satish Kagathara [mailto:satishkagathara@gmail.com]
Sent: Thursday, May 20, 2010 8:52 AM
To: tboot-devel@lists.sourceforge.net; Cihula, Joseph
Subject: [tboot-devel] Problem in desktop display with TBOOT & Custom Kernel (FC13)

 

 

Hello,

I have rebuild custom kernel by just enabling Intel Trusted Exceution Technology option under Security configuration option. After that i am trying to boot the system using kernel tboot, SINIT for trusted boot using this newly build kernel. It boots properly and shows TBOOT messages during boot but it does not shows proper desktop/display. It shows some square boxes/lines on my display. Cursor is square box which i was able to move it.

Original kernel - 2.6.33.1-24.fc13.i686
Custom kernel - 2.6.33.4-95.SK.fc13.i686

I built custom kernel using rpmbuild -bp --target=i686 kernel.spec (build all kernel flavors). Link - http://fedoraproject.org/wiki/Docs/CustomKernel

Please note that i am facing this problem when i boot with tboot. If i boot using custom kernel which i built without tboot it works fine. Display/desktop is proper. So i am not able to figure out where exactly the problem is? Also, i am able to boot properly with tboot and my original kernel (2.6.33.1-24) and desktop is also coming up properly.

Can you please provide any help to resolve this issue? I had installed tpm-tools, trousers trousers-devel, tboot.gz, modified grub.conf accordingly.

I started the system with my original kernel and was getting below error messages in Automatic Bug Reporting Tool.


WARNING: at mm/highmem.c:444 debug_kmap_atomic+0xad/0x12a()
Hardware name: Sierra
Modules linked in: tpm_infineon ipv6 uinput snd_hda_codec_analog snd_hda_intel snd_hda_codec e1000e snd_hwdep i2c_i801 snd_seq iTCO_wdt iTCO_vendor_support snd_seq_device snd_pcm snd_timer snd soundcore serio_raw snd_page_alloc microcode dm_multipath pata_acpi ata_generic i915 drm_kms_helper drm i2c_algo_bit i2c_core video output [last unloaded: scsi_wait_scan]
Pid: 0, comm: swapper Tainted: G        W  2.6.33.4-95.SK.fc13.i686 #1
Call Trace:
[<c0c36e2d>] warn_slowpath_common+0x65/0x7c
[<c0caa681>] ? debug_kmap_atomic+0xad/0x12a
[<c0c36e51>] warn_slowpath_null+0xd/0x10
[<c0caa681>] debug_kmap_atomic+0xad/0x12a
[<c0c240a4>] kmap_atomic_prot+0x51/0xd2
[<f7ff5f4d>] ? i915_error_object_create+0x5d/0xfa [i915]
[<c0c24133>] kmap_atomic+0xe/0x10
[<f7ff5f8f>] i915_error_object_create+0x9f/0xfa [i915]
[<f7ff631a>] i915_handle_error+0x330/0x813 [i915]
[<f7ff69a3>] i915_driver_irq_handler+0xc7/0x2f4 [i915]
[<c0c504a3>] ? sched_clock_local+0x17/0x11e
[<c0c78fb4>] handle_IRQ_event+0x52/0xf8
[<c0c7a74a>] handle_edge_irq+0xc7/0x10b
[<c0c04cd3>] handle_irq+0x3b/0x48
[<c0c04558>] do_IRQ+0x41/0x9a
[<c0c03830>] common_interrupt+0x30/0x38
[<c0c5007b>] ? update_target+0x4/0xc0
[<c0df52c9>] ? acpi_idle_enter_bm+0x251/0x282
[<c0ec78b6>] cpuidle_idle_call+0x6d/0xbf
[<c0c024b8>] cpu_idle+0x91/0xad
[<c0f5e59e>] rest_init+0x62/0x64
[<c11b78f1>] start_kernel+0x346/0x34b
[<c11b7099>] i386_start_kernel+0x99/0xa0


 




--
Thanks & Regards,
Satish Kagathara.
Team Lead,
Diebold Software Services Pvt. Ltd.
Mumbai, India.

E-Mail: satishkagathara@gmail.com
Phone: +91-22-66497573(O) / +91-98693 95421(Mobile)