Hi,

if I have the following ACM modules in /boot

018c4c0bc64cad7c939061e111937849f61af395c9981a03ac4a10083058aa5d 4th_gen_i5_i7_SINIT_75.BIN
0848adfea4c9479b1cd096aeda1d4a3afe309dd45ca43a1e8d8b3cf972c9c14f
6th_7th_gen_i5_i7-SINIT_79.bin
193fc2b763bae1b1eebaf15452b395fd5153043190eb61dd86e246914ee7d80e
6th_gen_i5_i7_SINIT_71.BIN

update-grub generates a configuration file like

echo    'Loading tboot 1.9.7 ...'
         multiboot2      /tboot.gz logging=serial,memory
         echo    'Loading Linux...
         module2 /vmlinuz...
         echo    'Loading initial ramdisk ...'
         module2 /initrd.img...
         echo    'Loading sinit 4th_gen_i5_i7_SINIT_75.BIN ...'
         module2 /4th_gen_i5_i7_SINIT_75.BIN
         echo    'Loading sinit 6th_7th_gen_i5_i7-SINIT_79.bin ...'
         module2 /6th_7th_gen_i5_i7-SINIT_79.bin
         echo    'Loading sinit 6th_gen_i5_i7_SINIT_71.BIN ...'
         module2 /6th_gen_i5_i7_SINIT_71.BIN

Unfortunately if modules are ordered like this the machine will just reboot after a while.

The machine boots correctly if I order "6th_gen" to be before "6th_7th_gen" in the above list.

I'm not quite sure which part should be fixed here:

1) Is this a bug in the file 6th_7th_gen? If yes, should it be somehow blacklisted and/or documented so that users would avoid it?

2) Is this a bug in tboot's logic that tries to pick a matching module? I could not see anything wrong in the code.

3) Should we fix this in the shell script that generates the configuration file so that it orders the files "correctly"?


Here's the cpu information and tboot version

cpu:
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 94
model name    : Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
stepping    : 3
microcode    : 0xcc
cpu MHz        : 844.213
cache size    : 8192 KB
physical id    : 0
siblings    : 8
core id        : 0
cpu cores    : 4
apicid        : 0
initial apicid    : 0
fpu        : yes
fpu_exception    : yes
cpuid level    : 22
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall
nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good
nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq
dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid
sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c
rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd
ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase
tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap
clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln
pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf
mds swapgs taa itlb_multihit
bogomips    : 5424.00
clflush size    : 64
cache_alignment    : 64
address sizes    : 39 bits physical, 48 bits virtual
power management:

ii  tboot          1.9.7-0ubuntu1 amd64        Trusted Boot (tboot)


best regards,
Timo Lindfors



_______________________________________________
tboot-devel mailing list
tboot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tboot-devel

Reply via email to