Hi,

I have been trying to get tboot to work on my thinkpad laptop but have run
into some issues, I have a thinkpad X1 (not carbon) with an i5 cpu, I enabled
vt-x and vt-d and txt in the bios. (also tried disabling, cold boot and
re-enabling to no avail). I got it to boot *once* but can not repeat it as I
am not sure why it worked.

I was using tboot 1.8.1 and 1.8.2 together with grub2 with a UEFI boot. Grub2
loads up all the things then after a second it just reboots. The error code
translates to something about ACPI but I have no idea how to fix it.

As i understand it, the tpmnv entries are not required and the system should
even without them. I have tried both with and without and with and with
re-setting the TPM and after taking ownership with the well known password.

I tried both the 2nd gen and 3rd gen SINIT files as the 3rd gen is supposed
backwards compatible to sandybridge cpus. I also updated my bios to the
latest on lenovo's site but it does not help.

What am I doing wrong? How do I fix the ACPI "RSDP Invalid" error?

$ parse_err 0xc00020c1
ERRORCODE: 0xc00020c1
AC module error : acm_type=0x1, progress=0x0c, error=0x8

For 3rd_gen_i5_i7_SINIT_67.BIN, this means "RDSP Invalid" if i read the table
correctly.

$ uname -a
Linux pippin 3.15.5-hardened-r2 #2 SMP PREEMPT Fri Aug 1 17:05:34 GST 2014
x86_64 Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz GenuineIntel GNU/Linux


txt-stat output after the tboot failure with 3rd_gen_i5_i7_SINIT_67.BIN:

Intel(r) TXT Configuration Registers:
        STS: 0x00000012
            senter_done: FALSE
            sexit_done: TRUE
            mem_config_lock: FALSE
            private_open: FALSE
            locality_1_open: FALSE
            locality_2_open: FALSE
        ESTS: 0x00
            txt_reset: FALSE
        E2STS: 0x0000000000000000
            secrets: FALSE
        ERRORCODE: 0xc00020c1
        DIDVID: 0x00000001b0018086
            vendor_id: 0x8086
            device_id: 0xb001
            revision_id: 0x1
        FSBIF: 0x0000000000000000
        QPIIF: 0x000000009d003000
        SINIT.BASE: 0xdaf00000
        SINIT.SIZE: 131072B (0x20000)
        HEAP.BASE: 0xdaf20000
        HEAP.SIZE: 917504B (0xe0000)
        DPR: 0x00000000db000041
            lock: TRUE
            top: 0xdb000000
            size: 4MB (4194304B)
        PUBLIC.KEY:
            99 9c 2b ef 5f c4 d8 82 77 43 42 10 f4 ae d4 02 
            95 0d 33 33 50 b6 1c 3d db ff a1 6f 3f d5 d3 d1 

***********************************************************
         TXT measured launch: FALSE
         secrets flag set: FALSE
***********************************************************
unable to find TBOOT log


Grub2 config entry:

menuentry 'Gentoo GNU/Linux, with tboot 1.8.2 and Linux 3.15.5-hardened-r2' 
--class gentoo --class gnu-linux --class gnu --class os --class tboot {
        insmod multiboot2
        insmod part_gpt
        insmod fat
        set root='hd0,gpt1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 
--hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  74B8-AEAE
        else
          search --no-floppy --fs-uuid --set=root 74B8-AEAE
        fi
        echo    'Loading tboot 1.8.2 ...'
        multiboot2      /tboot.gz /tboot.gz logging=serial,memory
        echo    'Loading Linux 3.15.5-hardened-r2 ...'
        module2 /vmlinuz-3.15.5-hardened-r2 /vmlinuz-3.15.5-hardened-r2 
crypt_root=/dev/sda3 real_root=ZFS dozfs=force ro intel_iommu=on noefi
        echo    'Loading initial ramdisk ...'
        module2 /initramfs-genkernel-x86_64-3.15.5-hardened-r2 
/initramfs-genkernel-x86_64-3.15.5-hardened-r2
        echo    'Loading sinit 3rd_gen_i5_i7_SINIT_67.BIN ...'
        module2 /3rd_gen_i5_i7_SINIT_67.BIN /3rd_gen_i5_i7_SINIT_67.BIN
}

Dmesg output:

# dmesg | grep -i acpi
[    0.000000] BIOS-e820: [mem 0x0000000000058000-0x0000000000058fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000daa9f000-0x00000000dab9efff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000dab9f000-0x00000000dabfefff] ACPI data
[    0.000000] efi:  ACPI=0xdabfe000  ACPI 2.0=0xdabfe014  SMBIOS=0xdaa9e000 
[    0.000000] ACPI: RSDP 0x00000000DABFE014 000024 (v02 LENOVO)
[    0.000000] ACPI: XSDT 0x00000000DABFE120 0000AC (v01 LENOVO TP-8M    
00001700 PTEC 00000002)
[    0.000000] ACPI: FACP 0x00000000DABE7000 0000F4 (v04 LENOVO TP-8M    
00001700 PTL  00000002)
[    0.000000] ACPI: DSDT 0x00000000DABEA000 00F02B (v01 LENOVO TP-8M    
00001700 INTL 20061109)
[    0.000000] ACPI: FACS 0x00000000DAB2D000 000040
[    0.000000] ACPI: SLIC 0x00000000DABFD000 000176 (v01 LENOVO TP-8M    
00001700 PTEC 00000001)
[    0.000000] ACPI: SSDT 0x00000000DABFC000 000249 (v01 LENOVO TP-SSDT2 
00000200 INTL 20061109)
[    0.000000] ACPI: SSDT 0x00000000DABFB000 000033 (v01 LENOVO TP-SSDT1 
00000100 INTL 20061109)
[    0.000000] ACPI: SSDT 0x00000000DABFA000 000797 (v01 LENOVO SataAhci 
00001000 INTL 20061109)
[    0.000000] ACPI: HPET 0x00000000DABE6000 000038 (v01 LENOVO TP-8M    
00001700 PTL  00000002)
[    0.000000] ACPI: APIC 0x00000000DABE5000 000098 (v01 LENOVO TP-8M    
00001700 PTL  00000002)
[    0.000000] ACPI: MCFG 0x00000000DABE4000 00003C (v01 LENOVO TP-8M    
00001700 PTL  00000002)
[    0.000000] ACPI: ECDT 0x00000000DABE3000 000052 (v01 LENOVO TP-8M    
00001700 PTL  00000002)
[    0.000000] ACPI: ASF! 0x00000000DABE9000 0000A5 (v32 LENOVO TP-8M    
00001700 PTL  00000002)
[    0.000000] ACPI: TCPA 0x00000000DABE2000 000032 (v02 PTL    LENOVO   
06040000 LNVO 00000001)
[    0.000000] ACPI: SSDT 0x00000000DABE1000 000A3A (v01 PmRef  Cpu0Ist  
00003000 INTL 20061109)
[    0.000000] ACPI: SSDT 0x00000000DABE0000 000996 (v01 PmRef  CpuPm    
00003000 INTL 20061109)
[    0.000000] ACPI: DMAR 0x00000000DABDF000 0000E8 (v01 INTEL  SNB      
00000001 INTL 00000001)
[    0.000000] ACPI: UEFI 0x00000000DABDE000 00003E (v01 LENOVO TP-8M    
00001700 PTL  00000002)
[    0.000000] ACPI: UEFI 0x00000000DABDD000 000042 (v01 PTL    COMBUF   
00000001 PTL  00000001)
[    0.000000] ACPI: UEFI 0x00000000DABDC000 000292 (v01 LENOVO TP-8M    
00001700 PTL  00000002)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: PM-Timer IO Port: 0x408
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x07] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x08] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ2 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a301 base: 0xfed00000
[    0.000097] ACPI: Core revision 20140214
[    0.034459] ACPI: All ACPI Tables successfully acquired
[    0.134472] PM: Registering ACPI NVS region [mem 0x00058000-0x00058fff] 
(4096 bytes)
[    0.134491] PM: Registering ACPI NVS region [mem 0xdaa9f000-0xdab9efff] 
(1048576 bytes)
[    0.145846] ACPI FADT declares the system doesn't support PCIe ASPM, so 
disable it
[    0.145861] ACPI: bus type PCI registered
[    0.202744] ACPI: Added _OSI(Module Device)
[    0.202756] ACPI: Added _OSI(Processor Device)
[    0.202765] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.202775] ACPI: Added _OSI(Processor Aggregator Device)
[    0.208325] ACPI : EC: EC description table is found, configuring boot EC
[    0.223209] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    0.240130] ACPI: SSDT 0x00000000DAA8C018 0008C0 (v01 PmRef  Cpu0Cst  
00003001 INTL 20061109)
[    0.241553] ACPI: Dynamic OEM Table Load:
[    0.241567] ACPI: SSDT 0x0000000000000000 0008C0 (v01 PmRef  Cpu0Cst  
00003001 INTL 20061109)
[    0.244470] ACPI: SSDT 0x00000000DAA8DA98 000303 (v01 PmRef  ApIst    
00003000 INTL 20061109)
[    0.246098] ACPI: Dynamic OEM Table Load:
[    0.246111] ACPI: SSDT 0x0000000000000000 000303 (v01 PmRef  ApIst    
00003000 INTL 20061109)
[    0.249081] ACPI: SSDT 0x00000000DAA8BD98 000119 (v01 PmRef  ApCst    
00003000 INTL 20061109)
[    0.250520] ACPI: Dynamic OEM Table Load:
[    0.250534] ACPI: SSDT 0x0000000000000000 000119 (v01 PmRef  ApCst    
00003000 INTL 20061109)
[    0.254509] ACPI: Interpreter enabled
[    0.254532] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State 
[\_S1_] (20140214/hwxface-580)
[    0.254558] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State 
[\_S2_] (20140214/hwxface-580)
[    0.254607] ACPI: (supports S0 S3 S4 S5)
[    0.254617] ACPI: Using IOAPIC for interrupt routing
[    0.258656] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in ACPI 
motherboard resources
[    0.268592] PCI: Using host bridge windows from ACPI; if necessary, use 
"pci=nocrs" and report a bug
[    0.276073] ACPI: Power Resource [PUBS] (on)
[    0.277275] acpi PNP0C0A:01: ACPI dock station (docks/bays count: 1)
[    0.280518] acpi LNXIOBAY:00: ACPI dock station (docks/bays count: 2)
[    0.285910] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11)
[    0.286130] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 11) *0, 
disabled.
[    0.286328] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11) *0, 
disabled.
[    0.286519] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 11) *0, 
disabled.
[    0.286706] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11) *0, 
disabled.
[    0.286893] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11) *0, 
disabled.
[    0.287079] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11) *0, 
disabled.
[    0.287285] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 11) *0, 
disabled.
[    0.287392] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-fe])
[    0.287414] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM 
Segments MSI]
[    0.287941] acpi PNP0A08:00: _OSC: platform does not support [PCIeCapability]
[    0.288205] acpi PNP0A08:00: _OSC: not requesting control; platform does not 
support [PCIeCapability]
[    0.288226] acpi PNP0A08:00: _OSC: OS requested [PCIeHotplug PME AER 
PCIeCapability]
[    0.288242] acpi PNP0A08:00: _OSC: platform willing to grant [PCIeHotplug 
PME AER]
[    0.288257] acpi PNP0A08:00: _OSC failed (AE_SUPPORT); disabling ASPM
[    0.288345] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 
00-3f] only partially covers this bridge
[    0.289991] pci 0000:00:19.0: System wakeup disabled by ACPI
[    0.290490] pci 0000:00:1a.0: System wakeup disabled by ACPI
[    0.290979] pci 0000:00:1b.0: System wakeup disabled by ACPI
[    0.292362] pci 0000:00:1c.3: System wakeup disabled by ACPI
[    0.293313] pci 0000:00:1c.6: System wakeup disabled by ACPI
[    0.293798] pci 0000:00:1d.0: System wakeup disabled by ACPI
[    0.302527] ACPI: Enabled 4 GPEs in block 00 to 3F
[    0.302734] ACPI : EC: GPE = 0x11, I/O: command/status = 0x66, data = 0x62
[    0.303400] ACPI: bus type USB registered
[    0.303842] PCI: Using ACPI for IRQ routing
[    0.326210] pnp: PnP ACPI init
[    0.326261] ACPI: bus type PNP registered
[    0.327689] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active)
[    0.328171] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.328356] pnp 00:02: Plug and Play ACPI device, IDs PNP0103 (active)
[    0.328443] pnp 00:03: Plug and Play ACPI device, IDs PNP0200 (active)
[    0.328523] pnp 00:04: Plug and Play ACPI device, IDs PNP0800 (active)
[    0.328646] pnp 00:05: Plug and Play ACPI device, IDs PNP0c04 (active)
[    0.328741] pnp 00:06: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.328830] pnp 00:07: Plug and Play ACPI device, IDs PNP0303 (active)
[    0.328924] pnp 00:08: Plug and Play ACPI device, IDs LEN0025 PNP0f13 
(active)
[    0.329068] pnp 00:09: Plug and Play ACPI device, IDs SMO1200 PNP0c31 
(active)
[    0.329921] pnp: PnP ACPI: found 10 devices
[    0.329938] ACPI: bus type PNP unregistered
[    1.785930] ACPI: AC Adapter [AC] (off-line)
[    1.791158] ACPI: Lid Switch [LID]
[    1.795987] ACPI: Sleep Button [SLPB]
[    1.800762] ACPI: Power Button [PWRF]
[    1.806465] ACPI: Thermal Zone [THM0] (60 C)
[    1.828631] ACPI: Battery Slot [BAT0] (battery present)
[    2.701020] ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)
[    2.719329] acpi device:00: registered as cooling_device4
[    3.045943] acpi PNP0C0F:02: hash matches
[    3.082008] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[    3.082038] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) 
filtered out
[    3.084385] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered 
out
[    3.089878] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[    3.089884] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) 
filtered out
[    3.091089] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered 
out
[   13.994664] thinkpad_acpi: ThinkPad ACPI Extras v0.25
[   13.994668] thinkpad_acpi: http://ibm-acpi.sf.net/
[   13.994669] thinkpad_acpi: ThinkPad BIOS 8MET70WW (1.70 ), EC unknown
[   13.994671] thinkpad_acpi: Lenovo ThinkPad X1, model 12943DA
[   13.998606] thinkpad_acpi: detected a 16-level brightness capable ThinkPad
[   13.999305] thinkpad_acpi: radio switch found; radios are enabled
[   13.999327] thinkpad_acpi: This ThinkPad has standard ACPI backlight 
brightness control, supported by the ACPI video driver
[   13.999329] thinkpad_acpi: Disabling thinkpad-acpi brightness events by 
default...
[   14.003285] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is 
unblocked
[   14.003759] thinkpad_acpi: Standard ACPI backlight interface available, not 
loading native one
[   14.003762] thinkpad_acpi: volume: disabled as there is no ALSA support in 
this kernel
[   14.004593] input: ThinkPad Extra Buttons as 
/devices/platform/thinkpad_acpi/input/input8

-- Jason

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
tboot-devel mailing list
tboot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tboot-devel

Reply via email to