Hi Ning,
I can't test a newer kernel because we're in an isolated lab (tightly
controlled, can't bring outside software in). However, your question gave me
an idea: The problem I'm seeing is with an SBC we're developing. In our lab,
we've got CentOS 7 on Dell workstations (also running kernel 3.10), and loading
tboot/kernel/initramfs on those works just fine. So, I copied the kernel &
initramfs from the SBC in question to one of the Dells, and loaded them and
tboot, and they all loaded just fine there. Then I copied the Dell's kernel to
the SBC, rebooted, loaded tboot, then loaded the Dell kernel, and it hung
again. So, swapping tboot modules and kernels between the Dell and the SBC
results in no change: the Dell always loads tboot and the kernel just fine, and
the SBC always hangs when I try to load the kernel. This says to me that grub
is the problem, as that's the only part that hasn't changed. I'll dig into
that more.
Thanks for your help.
Peter
From: Sun, Ning [mailto:ning....@intel.com]
Sent: Friday, March 30, 2018 7:56 PM
To: Scheie, Peter M; tboot-devel@lists.sourceforge.net
Subject: RE: grub hangs after loading tboot and kernel
Hi Peter,
Did you see this hang with more recent Kernel versions, for example, kernel 4.x?
-Ning
From: Scheie, Peter M [mailto:petre.sch...@gd-ms.com]
Sent: Thursday, March 29, 2018 9:08 AM
To: tboot-devel@lists.sourceforge.net<mailto:tboot-devel@lists.sourceforge.net>
Subject: [tboot-devel] grub hangs after loading tboot and kernel
In grub, I'm loading the tboot module with no problem using the multiboot
command. But then when I load the kernel, grub just hangs. My kernel is 3.10
and I'm using tboot 1.9.6, and grub2. Here's my grub.cfg:
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
multiboot /tboot.gz /tboot.gz logging=vga,memory,serial
module /bzImage /bzImage ro console=tty0 console=ttyS0,115200
module /rootfs.cpio.gz /rootfs.cpio.gz
module /7th_gen_i5_i7-SINIT_74.bin /7th_gen_i5_i7-SINIT_74.bin
Also, is it the version of grub that determines whether I need to pass the
arguments to multiboot & module once or twice?
(BTW, I know this is a dev list, but I didn't see a user list for tboot. If
there's a more appropriate list to ask this question, let me know).
Peter
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
tboot-devel mailing list
tboot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tboot-devel