Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Talos II under Heads rolling release: TPM module (revision prior of 1.1) : not detected #272

Closed
tlaurion opened this issue Nov 23, 2022 · 53 comments

Comments

@tlaurion
Copy link

tlaurion commented Nov 23, 2022

Dasharo version
Heads running release. Command line download of required images, links obtained from CircleCI build of master's server board's artifacts:
user@talos-tests:~/QubesIncoming/heads-tests$ rm * && wget https://output.circle-artifacts.com/output/job/90adf917-76d4-4d26-be2a-e1f0cf121724/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1296-g139ecb8-zImage.bundled https://output.circle-artifacts.com/output/job/90adf917-76d4-4d26-be2a-e1f0cf121724/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1296-g139ecb8.bootblock https://output.circle-artifacts.com/output/job/90adf917-76d4-4d26-be2a-e1f0cf121724/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1296-g139ecb8.rom

Upload:
rsync -ravczz --inplace --delete /home/user/QubesIncoming/heads-tests root@192.168.2.187:/tmp/images/

BMC creation of test image (boot from BMC flash without actually flashing):
ssh -l root 192.168.2.187 "pflash -r /tmp/talos.pnor && cd /tmp/images/heads-tests && pflash -F ../../talos.pnor -f -P HBB -p *.bootblock && pflash -F ../../talos.pnor -f -P HBI -p *.rom && pflash -F ../../talos.pnor -f -P BOOTKERNEL -p *zImage.bundled && mboxctl --backend file:/tmp/talos.pnor"

Boot from modified BMC image:
ssh -l root 192.168.2.187
obmcutil poweron && obmc-console-client

Dasharo variant

Server

Affected component(s) or functionality

TPM module, first revision is not detected

Brief summary

# cbmem -L
No tcpa log found in coreboot table.
~ # dmesg | grep -i tpm
[    4.802683] ima: No TPM chip found, activating TPM-bypass!
~ # ls /dev/tpm0
ls: /dev/tpm0: No such file or directory

How reproducible

100%

How to reproduce
Test with above instructions with a TPM module connected

Expected behavior

TPM being detected from coreboot (cbmem -L) then detected under Heads and used to extend measurements

Actual behavior

TPM is not discovered

Screenshots

I replicated connection/orientation as shown under 3mdeb/talos-tpm-module#2 (comment), connected with and without jumper to obtain same undetected module from coreboot and Heads

ConnectedTPM

Additional context

From within Heads:
~ # cbmem -1

coreboot--TIMELESS--LESSTIME--Heads-v0.2.0-1296-g139ecb8 Thu Jan  1 00:00:00 UTC 1970 bootblock starting (log level: 7)...
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HBI partition has ECC
HBI is in 0x00426200 through 0x0175f037
FMAP: Found "FLASH" version 1.1 at 0x20000.
FMAP: base = 0x0 size = 0x200000 #areas = 4
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
CBFS: mcache @0xf8231000 built for 10 files, used 0x1f0 of 0x2000 bytes
CBFS: Found 'fallback/romstage' @0x80 size 0x124a1 in mcache @0xf823102c
BS: bootblock times (exec / console): total (unknown) / 2 ms


coreboot--TIMELESS--LESSTIME--Heads-v0.2.0-1296-g139ecb8 Thu Jan  1 00:00:00 UTC 1970 romstage starting (log level: 7)...
IPMI: romstage PNP BT 0xe4
Get BMC self test result...Function Not Implemented
Initializing IPMI BMC watchdog timer
IPMI BMC watchdog initialized and started.
Initializing FSI...
Initialized FSI (chips mask: 0x01)
Building MVPDs...
starting istep 8.1
starting istep 8.2
starting istep 8.3
starting istep 8.4
starting istep 8.9
Base epsilon values read from table:
 R_T[0] = 22
 R_T[1] = 22
 R_T[2] = 103
 W_T[0] = 5
 W_T[1] = 33
Scaled epsilon values based on +20 percent guardband:
 R_T[0] = 27
 R_T[1] = 27
 R_T[2] = 124
 W_T[0] = 6
 W_T[1] = 40
starting istep 8.10
starting istep 8.11
starting istep 9.2
starting istep 9.4
starting istep 9.6
starting istep 9.7
starting istep 10.1
starting istep 10.6
starting istep 10.10
starting istep 10.12
starting istep 10.13
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
MEMD partition has ECC
MEMD is in 0x03cef200 through 0x03cfb917
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address 51
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address 52
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address 53
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D4
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D5
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D6
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D7
SPD @ 0x50
SPD: module type is DDR4
SPD: module part number is M393A1K43BB0-CRC    
SPD: banks 16, ranks 1, rows 16, columns 10, density 8192 Mb
SPD: device width 8 bits, bus width 64 bits
SPD: module size is 8192 MB (per channel)
starting istep 13.1
starting istep 13.2
starting istep 13.3
starting istep 13.4
starting istep 13.5
starting istep 13.6
starting istep 13.7
starting istep 13.8
starting istep 13.9
starting istep 13.10
CCS took 2 us (3 us timeout), 1 instruction(s)
CCS took 2 us (2 us timeout), 14 instruction(s)
RCD dump for I2C address 0x58:
0xf820fa30: 80 b3 40 42 30 00 00 00 02 01 00 03 cb e3 c0 0d  ..@B0...........
0xf820fa40: 00 00 39 00 00 00 00 00 00 00 07 00 00 00 00 00  ..9.............
starting istep 13.11
CCS took 2 us (7 us timeout), 2 instruction(s)
Write Leveling starting
CCS took 12 us (92 us timeout), 5 instruction(s)
Write Leveling done
Initial Pattern Write starting
CCS took 5 us (38 us timeout), 5 instruction(s)
Initial Pattern Write done
DQS alignment starting
CCS took 10 us (44 us timeout), 1 instruction(s)
DQS alignment done
Read Clock Alignment starting
CCS took 8 us (82 us timeout), 1 instruction(s)
Read Clock Alignment done
Read Centering starting
CCS took 37 us (120 us timeout), 1 instruction(s)
Read Centering done
Write Centering starting
CCS took 8961 us (11314 us timeout), 7 instruction(s)
Write Centering done
Coarse write/read starting
CCS took 5 us (24 us timeout), 1 instruction(s)
Coarse write/read done
starting istep 13.12
starting istep 13.13
starting istep 14.1
starting istep 14.2
starting istep 14.3
Initializing PEC0...
Initializing PEC1...
Initializing PEC2...
Initializing PHB0...
Initializing PHB1...
Initializing PHB2...
Initializing PHB3...
Initializing PHB4...
Initializing PHB5...
starting istep 14.4
starting istep 14.5
0xF000F = 221d104900008040
CBMEM:
IMD: root @ 0xffeff000 254 entries.
IMD: root @ 0xffefec00 62 entries.
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HBI partition has ECC
HBI is in 0x00426200 through 0x0175f037
CBFS: Found 'fallback/ramstage' @0x12580 size 0xcca9 in mcache @0xf8231080
BS: romstage times (exec / console): total (unknown) / 17 ms


coreboot--TIMELESS--LESSTIME--Heads-v0.2.0-1296-g139ecb8 Thu Jan  1 00:00:00 UTC 1970 ramstage starting (log level: 7)...
Enumerating buses...
Root Device scanning...
DD21, boot core: 18
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HCODE partition has ECC
HCODE is in 0x01a82200 through 0x01b821ff
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
OCC partition has ECC
OCC is in 0x03822200 through 0x039221ff
Base epsilon values read from table:
 R_T[0] = 22
 R_T[1] = 22
 R_T[2] = 103
 W_T[0] = 5
 W_T[1] = 33
Scaled epsilon values based on +20 percent guardband:
 R_T[0] = 27
 R_T[1] = 27
 R_T[2] = 124
 W_T[0] = 6
 W_T[1] = 40
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
WOFDATA partition has ECC
WOFDATA is in 0x039ea200 through 0x03c94ca7
Matching WOF tables section not found, disabling WOF
Safe mode freq = 1833412 kHZ, voltage = 711 mv
starting istep 15.2
starting istep 15.3
starting istep 15.4
Starting PM complex...
Attempting PGPE activation...
PGPE was activated successfully
Done starting PM complex
Activating OCC...
Done activating OCC
starting istep 16.1
XIVE configured, entering dead man loop
ASSERTION ERROR: file '(filenames not available on timeless builds)', line 404
starting istep 18.11
starting istep 18.12
CPU_CLUSTER: 0 enabled
PNP: 00e4.0 enabled
scan_bus: bus Root Device finished in 3070 msecs
done
BS: BS_DEV_ENUMERATE run times (exec / console): 3065 / 6 ms
Allocating resources...
Reading resources...
CPU_CLUSTER: 0 missing read_resources
Done reading resources.
CPU_CLUSTER: 0 missing set_resources
PNP: 00e4.0 00 <- [0x00000000e4 - 0x00000000e6] size 0x00000003 gran 0x00 io
Done setting resources.
Done allocating resources.
BS: BS_DEV_RESOURCES run times (exec / console): 0 / 1 ms
Enabling resources...
done.
Initializing devices...
PNP: 00e4.0 init
IPMI: PNP BT 0xe4
Get BMC self test result...Function Not Implemented
IPMI: Found man_id 0x6cb0000, prod_id 0x1000000
IPMI: Version 2.0
PNP: 00e4.0 init finished in 37 msecs
Devices initialized
BS: BS_DEV_INIT run times (exec / console): 37 / 1 ms
Finalize devices...
Devices finalized
Writing coreboot table at 0xffed9000
 0. 0000000000000000-00000000f8207fff: RAM
 1. 00000000f8208000-00000000f820ffff: RAMSTAGE
 2. 00000000f8210000-00000000f8ffffff: RAM
 3. 00000000f9000000-00000000f929bfff: RAMSTAGE
 4. 00000000f929c000-00000000ffed8fff: RAM
 5. 00000000ffed9000-00000000ffefffff: CONFIGURATION TABLES
 6. 00000000fff00000-00000001ff3fffff: RAM
 7. 00000001ff400000-00000001ffffffff: RESERVED
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HBI partition has ECC
HBI is in 0x00426200 through 0x0175f037
Wrote coreboot table at: 0xffed9000, 0x214 bytes, checksum 3514
coreboot table: 556 bytes.
IMD ROOT    0. 0xffeff000 0x00001000
IMD SMALL   1. 0xffefe000 0x00001000
CONSOLE     2. 0xffede000 0x00020000
MEM INFO    3. 0xffedb000 0x000022b0
COREBOOT    4. 0xffed9000 0x00002000
IMD small region:
  IMD ROOT    0. 0xffefec00 0x00000400
  RO MCACHE   1. 0xffefea00 0x000001f0
  FMAP        2. 0xffefe920 0x000000e0
BS: BS_WRITE_TABLES run times (exec / console): 1 / 5 ms
CBFS: Found 'fallback/payload' @0x257c0 size 0x632f9 in mcache @0xffefeb84
Checking segment from ROM address 0xf8380000
Checking segment from ROM address 0xf838001c
Checking segment from ROM address 0xf8380038
Loading segment from ROM address 0xf8380000
  code (compression=1)
  New segment dstaddr 0x00000000 memsize 0x173c00 srcaddr 0xf8380054 filesize 0x632a5
Loading Segment: addr: 0x00000000 memsz: 0x0000000000173c00 filesz: 0x00000000000632a5
using LZMA
Loading segment from ROM address 0xf838001c
  BSS 0x00300000 (113776 byte)
Loading Segment: addr: 0x00300000 memsz: 0x000000000001bc70 filesz: 0x0000000000000000
it's not compressed!
Clearing Segment: addr: 0x0000000000300000 memsz: 0x000000000001bc70
Loading segment from ROM address 0xf8380038
  Entry Point 0x00002570
BS: BS_PAYLOAD_LOAD run times (exec / console): 301 / 4 ms
Jumping to boot code at 0x00002570(0xffed9000)
CBFS: Found '1-cpu.dtb' @0x1f700 size 0x24e7 in mcache @0xffefeb3c
~ # dmesg
[    0.000000] dt-cpu-ftrs: setup for ISA 3000
[    0.000000] dt-cpu-ftrs: not enabling: system-call-vectored (disabled or unsupported by kernel)
[    0.000000] dt-cpu-ftrs: final cpu/mmu features = 0x0001c86f8f5fb1a7 0x3c006041
[    0.000000] radix-mmu: Page sizes from device-tree:
[    0.000000] radix-mmu: Page size shift = 12 AP=0x0
[    0.000000] radix-mmu: Page size shift = 16 AP=0x5
[    0.000000] radix-mmu: Page size shift = 21 AP=0x1
[    0.000000] radix-mmu: Page size shift = 30 AP=0x2
[    0.000000] radix-mmu: Activating Kernel Userspace Execution Prevention
[    0.000000] radix-mmu: Activating Kernel Userspace Access Prevention
[    0.000000] radix-mmu: Mapped 0x0000000000000000-0x0000000002600000 with 2.00 MiB pages (exec)
[    0.000000] radix-mmu: Mapped 0x0000000002600000-0x0000000040000000 with 2.00 MiB pages
[    0.000000] radix-mmu: Mapped 0x0000000040000000-0x00000000c0000000 with 1.00 GiB pages
[    0.000000] radix-mmu: Mapped 0x00000000c0000000-0x00000000ffe00000 with 2.00 MiB pages
[    0.000000] radix-mmu: Mapped 0x00000000fff00000-0x0000000100000000 with 64.0 KiB pages
[    0.000000] radix-mmu: Mapped 0x0000000100000000-0x00000001c0000000 with 1.00 GiB pages
[    0.000000] radix-mmu: Mapped 0x00000001c0000000-0x00000001ff400000 with 2.00 MiB pages
[    0.000000] radix-mmu: Initializing Radix MMU
[    0.000000] Linux version 5.5.0-openpower1 (linux-talos-2_server.config@linuxboot) (gcc version 8.3.0 (GCC)) #0 SMP 1970-00-00
[    0.000000] OPAL: Found memory mapped LPC bus on chip 0
[    0.000000] ISA: Non-PCI bridge is /lpcm-opb@6030000000000/lpc@0
[    0.000000] Using PowerNV machine description
[    0.000000] printk: bootconsole [udbg0] enabled
[    0.000000] CPU maps initialized for 4 threads per core
[    0.000000]  (thread shift is 2)
[    0.000000] Allocated 3072 bytes for 16 pacas
[    0.000000] -----------------------------------------------------
[    0.000000] phys_mem_size     = 0x1ff300000
[    0.000000] dcache_bsize      = 0x80
[    0.000000] icache_bsize      = 0x80
[    0.000000] cpu_features      = 0x0001c86f8f5fb1a7
[    0.000000]   possible        = 0x0001fbefcf5fb1a7
[    0.000000]   always          = 0x00000003800081a1
[    0.000000] cpu_user_features = 0xdc0065c2 0xaee00000
[    0.000000] mmu_features      = 0xbc006041
[    0.000000] firmware_features = 0x0000000010000000
[    0.000000] vmalloc start     = 0xc008000000000000
[    0.000000] IO start          = 0xc00a000000000000
[    0.000000] vmemmap start     = 0xc00c000000000000
[    0.000000] -----------------------------------------------------
[    0.000000] numa:   NODE_DATA [mem 0x1ff1ef280-0x1ff1f3fff]
[    0.000000] rfi-flush: fallback displacement flush available
[    0.000000] rfi-flush: patched 5 locations (fallback displacement flush)
[    0.000000] link-stack-flush: software flush disabled.
[    0.000000] count-cache-flush: software flush disabled.
[    0.000000] stf-barrier: eieio barrier available
[    0.000000] stf-barrier: patched 57 entry locations (eieio barrier)
[    0.000000] stf-barrier: patched 5 exit locations (eieio barrier)
[    0.000000] Initializing IODA2 PHB (/pciex@600c3c0000000)
[    0.000000] PCI host bridge /pciex@600c3c0000000 (primary) ranges:
[    0.000000]  MEM 0x000600c000000000..0x000600c07ffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006000000000000..0x0006003fffffffff -> 0x0006000000000000 (M64 #1..31)
[    0.000000]  Using M64 #31 as default window
[    0.000000]   512 (511) PE's M32: 0x80000000 [segment=0x400000]
[    0.000000]                  M64: 0x4000000000 [segment=0x20000000]
[    0.000000]   Allocated bitmap for 4088 MSIs (base IRQ 0xfe000)
[    0.000000] Initializing IODA2 PHB (/pciex@600c3c0100000)
[    0.000000] PCI host bridge /pciex@600c3c0100000  ranges:
[    0.000000]  MEM 0x000600c080000000..0x000600c0fffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006004000000000..0x0006007fffffffff -> 0x0006004000000000 (M64 #1..15)
[    0.000000]  Using M64 #15 as default window
[    0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x4000000000 [segment=0x40000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0xfd800)
[    0.000000] Initializing IODA2 PHB (/pciex@600c3c0200000)
[    0.000000] PCI host bridge /pciex@600c3c0200000  ranges:
[    0.000000]  MEM 0x000600c100000000..0x000600c17ffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006008000000000..0x000600bfffffffff -> 0x0006008000000000 (M64 #1..15)
[    0.000000]  Using M64 #15 as default window
[    0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x4000000000 [segment=0x40000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0xfd000)
[    0.000000] Initializing IODA2 PHB (/pciex@600c3c0300000)
[    0.000000] PCI host bridge /pciex@600c3c0300000  ranges:
[    0.000000]  MEM 0x000600c180000000..0x000600c1fffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006020000000000..0x0006023fffffffff -> 0x0006020000000000 (M64 #1..31)
[    0.000000]  Using M64 #31 as default window
[    0.000000]   512 (511) PE's M32: 0x80000000 [segment=0x400000]
[    0.000000]                  M64: 0x4000000000 [segment=0x20000000]
[    0.000000]   Allocated bitmap for 4088 MSIs (base IRQ 0xfc000)
[    0.000000] Initializing IODA2 PHB (/pciex@600c3c0400000)
[    0.000000] PCI host bridge /pciex@600c3c0400000  ranges:
[    0.000000]  MEM 0x000600c200000000..0x000600c27ffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006024000000000..0x0006027fffffffff -> 0x0006024000000000 (M64 #1..15)
[    0.000000]  Using M64 #15 as default window
[    0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x4000000000 [segment=0x40000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0xfb800)
[    0.000000] Initializing IODA2 PHB (/pciex@600c3c0500000)
[    0.000000] PCI host bridge /pciex@600c3c0500000  ranges:
[    0.000000]  MEM 0x000600c280000000..0x000600c2fffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006028000000000..0x000602bfffffffff -> 0x0006028000000000 (M64 #1..15)
[    0.000000]  Using M64 #15 as default window
[    0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x4000000000 [segment=0x40000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0xfb000)
[    0.000000] OPAL nvram setup, 589824 bytes
[    0.000000] barrier-nospec: using ORI speculation barrier
[    0.000000] barrier-nospec: patched 454 locations
[    0.000000] Top of RAM: 0x1ff400000, Total RAM: 0x1ff300000
[    0.000000] Memory hole size: 1MB
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x00000001ff3fffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x00000000ffdfffff]
[    0.000000]   node   0: [mem 0x00000000fff00000-0x00000001ff3fffff]
[    0.000000] Zeroed struct page in unavailable ranges: 16 pages
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ff3fffff]
[    0.000000] On node 0 totalpages: 130864
[    0.000000]   Normal zone: 112 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 130864 pages, LIFO batch:3
[    0.000000] percpu: Embedded 2 pages/cpu s76056 r0 d55016 u131072
[    0.000000] pcpu-alloc: s76056 r0 d55016 u131072 alloc=2*65536
[    0.000000] pcpu-alloc: [0] 00 [0] 01 [0] 02 [0] 03 [0] 04 [0] 05 [0] 06 [0] 07 
[    0.000000] pcpu-alloc: [0] 08 [0] 09 [0] 10 [0] 11 [0] 12 [0] 13 [0] 14 [0] 15 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130752
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: console=tty0 console=hvc0 powersave=off quiet
[    0.000000] Dentry cache hash table entries: 1048576 (order: 7, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 6, 4194304 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 8235584K/8375296K available (13760K kernel code, 1088K rwdata, 2752K rodata, 4928K init, 1999K bss, 139712K reserved, 0K cma-reserved)
[    0.000000] random: get_random_u64 called from __kmem_cache_create+0x38/0x600 with crng_init=0
[    0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=16, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=2048 to nr_cpu_ids=16.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=16
[    0.000000] NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16
[    0.000000] xive: Interrupt handling initialized with native backend
[    0.000000] xive: Using priority 7 for all interrupts
[    0.000000] xive: Using 64kB queues
[    0.000000] time_init: decrementer frequency = 512.000000 MHz
[    0.000000] time_init: processor frequency   = 18446744071914.584320 MHz
[    0.000004] time_init: 56 bit decrementer (max: 7fffffffffffff)
[    0.000007] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x761537d007, max_idle_ns: 440795202126 ns
[    0.000010] clocksource: timebase mult[1f40000] shift[24] registered
[    0.000018] clockevent: decrementer mult[83126f] shift[24] cpu[0]
[    0.000076] Console: colour dummy device 80x25
[    0.000081] printk: console [tty0] enabled
[    0.000083] printk: console [hvc0] enabled
[    0.000085] printk: bootconsole [udbg0] disabled
[    0.000119] pid_max: default: 32768 minimum: 301
[    0.000184] LSM: Security Framework initializing
[    0.000218] Mount-cache hash table entries: 16384 (order: 1, 131072 bytes, linear)
[    0.000229] Mountpoint-cache hash table entries: 16384 (order: 1, 131072 bytes, linear)
[    0.000819] EEH: PowerNV platform initialized
[    0.000824] POWER9 performance monitor hardware support registered
[    0.000856] rcu: Hierarchical SRCU implementation.
[    0.001080] smp: Bringing up secondary CPUs ...
[    0.005686] smp: Brought up 1 node, 16 CPUs
[    0.005688] numa: Node 0 CPUs: 0-15
[    0.005691] Using shared cache scheduler topology
[    0.006595] devtmpfs: initialized
[    0.013685] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013691] futex hash table entries: 4096 (order: 3, 524288 bytes, linear)
[    0.013850] xor: measuring software checksum speed
[    0.110059]    8regs     :  5241.600 MB/sec
[    0.210093]    8regs_prefetch:  4243.200 MB/sec
[    0.310114]    32regs    :  5344.000 MB/sec
[    0.410144]    32regs_prefetch:  4160.000 MB/sec
[    0.510175]    altivec   :  6944.000 MB/sec
[    0.510177] xor: using function: altivec (6944.000 MB/sec)
[    0.510282] NET: Registered protocol family 16
[    0.510648] cpuidle: using governor menu
[    0.515170] PCI: Probing PCI hardware
[    0.515207] PCI host bridge to bus 0000:00
[    0.515213] pci_bus 0000:00: root bus resource [mem 0x600c000000000-0x600c07ffeffff] (bus address [0x80000000-0xfffeffff])
[    0.515217] pci_bus 0000:00: root bus resource [mem 0x6000000000000-0x6003fbfffffff 64bit pref]
[    0.515220] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.515224] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to ff
[    0.515259] pci 0000:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.515483] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
[    0.521424] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.521464] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to ff
[    0.521495] PCI host bridge to bus 0001:00
[    0.521500] pci_bus 0001:00: root bus resource [mem 0x600c080000000-0x600c0fffeffff] (bus address [0x80000000-0xfffeffff])
[    0.521502] pci_bus 0001:00: root bus resource [mem 0x6004000000000-0x6007f7fffffff 64bit pref]
[    0.521505] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.521508] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to ff
[    0.521535] pci 0001:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.521748] pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
[    0.527664] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.527703] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to ff
[    0.527734] PCI host bridge to bus 0002:00
[    0.527738] pci_bus 0002:00: root bus resource [mem 0x600c100000000-0x600c17ffeffff] (bus address [0x80000000-0xfffeffff])
[    0.527741] pci_bus 0002:00: root bus resource [mem 0x6008000000000-0x600bf7fffffff 64bit pref]
[    0.527743] pci_bus 0002:00: root bus resource [bus 00-ff]
[    0.527746] pci_bus 0002:00: busn_res: [bus 00-ff] end is updated to ff
[    0.527773] pci 0002:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.527987] pci 0002:00:00.0: PME# supported from D0 D3hot D3cold
[    0.533891] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[    0.533930] pci_bus 0002:00: busn_res: [bus 00-ff] end is updated to ff
[    0.533960] PCI host bridge to bus 0003:00
[    0.533964] pci_bus 0003:00: root bus resource [mem 0x600c180000000-0x600c1fffeffff] (bus address [0x80000000-0xfffeffff])
[    0.533967] pci_bus 0003:00: root bus resource [mem 0x6020000000000-0x6023fbfffffff 64bit pref]
[    0.533970] pci_bus 0003:00: root bus resource [bus 00-ff]
[    0.533973] pci_bus 0003:00: busn_res: [bus 00-ff] end is updated to ff
[    0.533999] pci 0003:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.534211] pci 0003:00:00.0: PME# supported from D0 D3hot D3cold
[    0.537276] pci 0003:01:00.0: [104c:8241] type 00 class 0x0c0330
[    0.537333] pci 0003:01:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    0.537359] pci 0003:01:00.0: reg 0x18: [mem 0x00000000-0x00001fff 64bit]
[    0.537428] pci 0003:01:00.0: BAR2 [mem size 0x00002000 64bit]: requesting alignment to 0x10000
[    0.537549] pci 0003:01:00.0: supports D1 D2
[    0.537552] pci 0003:01:00.0: PME# supported from D0 D1 D2 D3hot
[    0.540580] pci 0003:00:00.0: PCI bridge to [bus 01]
[    0.540657] pci_bus 0003:00: busn_res: [bus 00-ff] end is updated to 01
[    0.540687] PCI host bridge to bus 0004:00
[    0.540691] pci_bus 0004:00: root bus resource [mem 0x600c200000000-0x600c27ffeffff] (bus address [0x80000000-0xfffeffff])
[    0.540694] pci_bus 0004:00: root bus resource [mem 0x6024000000000-0x6027f7fffffff 64bit pref]
[    0.540697] pci_bus 0004:00: root bus resource [bus 00-ff]
[    0.540700] pci_bus 0004:00: busn_res: [bus 00-ff] end is updated to ff
[    0.540726] pci 0004:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.540938] pci 0004:00:00.0: PME# supported from D0 D3hot D3cold
[    0.544015] pci 0004:01:00.0: [14e4:1657] type 00 class 0x020000
[    0.544080] pci 0004:01:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.544106] pci 0004:01:00.0: reg 0x18: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.544131] pci 0004:01:00.0: reg 0x20: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.544148] pci 0004:01:00.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.544179] pci 0004:01:00.0: BAR6 [mem size 0x00000800 pref]: requesting alignment to 0x10000
[    0.544364] pci 0004:01:00.0: PME# supported from D0 D3hot D3cold
[    0.544510] pci 0004:01:00.1: [14e4:1657] type 00 class 0x020000
[    0.544576] pci 0004:01:00.1: reg 0x10: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.544602] pci 0004:01:00.1: reg 0x18: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.544628] pci 0004:01:00.1: reg 0x20: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.544644] pci 0004:01:00.1: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.544674] pci 0004:01:00.1: BAR6 [mem size 0x00000800 pref]: requesting alignment to 0x10000
[    0.544861] pci 0004:01:00.1: PME# supported from D0 D3hot D3cold
[    0.547854] pci 0004:00:00.0: PCI bridge to [bus 01]
[    0.547948] pci_bus 0004:00: busn_res: [bus 00-ff] end is updated to 01
[    0.547979] PCI host bridge to bus 0005:00
[    0.547983] pci_bus 0005:00: root bus resource [mem 0x600c280000000-0x600c2fffeffff] (bus address [0x80000000-0xfffeffff])
[    0.547986] pci_bus 0005:00: root bus resource [mem 0x6028000000000-0x602bf7fffffff 64bit pref]
[    0.547989] pci_bus 0005:00: root bus resource [bus 00-ff]
[    0.547992] pci_bus 0005:00: busn_res: [bus 00-ff] end is updated to ff
[    0.548018] pci 0005:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.548231] pci 0005:00:00.0: PME# supported from D0 D3hot D3cold
[    0.551295] pci 0005:01:00.0: [1a03:1150] type 01 class 0x060400
[    0.551426] pci 0005:01:00.0: enabling Extended Tags
[    0.551578] pci 0005:01:00.0: supports D1 D2
[    0.551581] pci 0005:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.554592] pci 0005:00:00.0: PCI bridge to [bus 01-02]
[    0.554721] pci_bus 0005:02: extended config space not accessible
[    0.554772] pci 0005:02:00.0: [1a03:2000] type 00 class 0x030000
[    0.554806] pci 0005:02:00.0: reg 0x10: [mem 0x00000000-0x00ffffff]
[    0.554822] pci 0005:02:00.0: reg 0x14: [mem 0x00000000-0x0001ffff]
[    0.554838] pci 0005:02:00.0: reg 0x18: [io  0x0000-0x007f]
[    0.554984] pci 0005:02:00.0: supports D1 D2
[    0.554987] pci 0005:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.557953] pci 0005:01:00.0: PCI bridge to [bus 02]
[    0.558019] pci_bus 0005:00: busn_res: [bus 00-ff] end is updated to 02
[    0.558034] pci 0000:00     : [PE# 1fe] Secondary bus 0x0000000000000000 associated with PE#1fe
[    0.558272] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.558294] pci_bus 0000:00: resource 4 [mem 0x600c000000000-0x600c07ffeffff]
[    0.558297] pci_bus 0000:00: resource 5 [mem 0x6000000000000-0x6003fbfffffff 64bit pref]
[    0.558302] pci 0001:00     : [PE# fe] Secondary bus 0x0000000000000000 associated with PE#fe
[    0.558538] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.558559] pci_bus 0001:00: resource 4 [mem 0x600c080000000-0x600c0fffeffff]
[    0.558562] pci_bus 0001:00: resource 5 [mem 0x6004000000000-0x6007f7fffffff 64bit pref]
[    0.558566] pci 0002:00     : [PE# fe] Secondary bus 0x0000000000000000 associated with PE#fe
[    0.558801] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[    0.558822] pci_bus 0002:00: resource 4 [mem 0x600c100000000-0x600c17ffeffff]
[    0.558825] pci_bus 0002:00: resource 5 [mem 0x6008000000000-0x600bf7fffffff 64bit pref]
[    0.558833] pci 0003:00:00.0: BAR 8: assigned [mem 0x600c180000000-0x600c1803fffff]
[    0.558837] pci 0003:01:00.0: BAR 0: assigned [mem 0x600c180000000-0x600c18000ffff 64bit]
[    0.558859] pci 0003:01:00.0: BAR 2: assigned [mem 0x600c180010000-0x600c180011fff 64bit]
[    0.558880] pci 0003:00     : [PE# 1fe] Secondary bus 0x0000000000000000 associated with PE#1fe
[    0.559120] pci 0003:01     : [PE# 1fd] Secondary bus 0x0000000000000001 associated with PE#1fd
[    0.559360] pci 0003:01     : [PE# 1fd] Setting up 32-bit TCE table at 0..80000000
[    0.560365] IOMMU table initialized, virtual merging enabled
[    0.560369] pci 0003:01     : [PE# 1fd] Setting up window#0 0..ffffffff pg=10000
[    0.560376] pci 0003:01     : [PE# 1fd] Enabling 64-bit DMA bypass
[    0.560379] pci 0003:00:00.0: PCI bridge to [bus 01]
[    0.560389] pci 0003:00:00.0:   bridge window [mem 0x600c180000000-0x600c1ffefffff]
[    0.560403] pci_bus 0003:00: resource 4 [mem 0x600c180000000-0x600c1fffeffff]
[    0.560406] pci_bus 0003:00: resource 5 [mem 0x6020000000000-0x6023fbfffffff 64bit pref]
[    0.560409] pci_bus 0003:01: resource 1 [mem 0x600c180000000-0x600c1ffefffff]
[    0.560415] pci 0004:00:00.0: BAR 9: assigned [mem 0x6024000000000-0x602403fffffff 64bit pref]
[    0.560418] pci 0004:00:00.0: BAR 8: assigned [mem 0x600c200000000-0x600c2007fffff]
[    0.560423] pci 0004:01:00.0: BAR 0: assigned [mem 0x6024000000000-0x602400000ffff 64bit pref]
[    0.560444] pci 0004:01:00.0: BAR 2: assigned [mem 0x6024000010000-0x602400001ffff 64bit pref]
[    0.560465] pci 0004:01:00.0: BAR 4: assigned [mem 0x6024000020000-0x602400002ffff 64bit pref]
[    0.560485] pci 0004:01:00.0: BAR 6: assigned [mem 0x600c200000000-0x600c2000007ff pref]
[    0.560488] pci 0004:01:00.1: BAR 0: assigned [mem 0x6024000030000-0x602400003ffff 64bit pref]
[    0.560509] pci 0004:01:00.1: BAR 2: assigned [mem 0x6024000040000-0x602400004ffff 64bit pref]
[    0.560530] pci 0004:01:00.1: BAR 4: assigned [mem 0x6024000050000-0x602400005ffff 64bit pref]
[    0.560550] pci 0004:01:00.1: BAR 6: assigned [mem 0x600c200010000-0x600c2000107ff pref]
[    0.560554] pci 0004:00     : [PE# fe] Secondary bus 0x0000000000000000 associated with PE#fe
[    0.560802] pci 0004:01     : [PE# 00] Secondary bus 0x0000000000000001 associated with PE#0
[    0.561041] pci 0004:01     : [PE# 00] Setting up 32-bit TCE table at 0..80000000
[    0.562043] pci 0004:01     : [PE# 00] Setting up window#0 0..ffffffff pg=10000
[    0.562048] pci 0004:01     : [PE# 00] Enabling 64-bit DMA bypass
[    0.562052] pci 0004:00:00.0: PCI bridge to [bus 01]
[    0.562061] pci 0004:00:00.0:   bridge window [mem 0x600c200000000-0x600c27fefffff]
[    0.562067] pci 0004:00:00.0:   bridge window [mem 0x6024000000000-0x6027f7ff0ffff 64bit pref]
[    0.562078] pci_bus 0004:00: resource 4 [mem 0x600c200000000-0x600c27ffeffff]
[    0.562081] pci_bus 0004:00: resource 5 [mem 0x6024000000000-0x6027f7fffffff 64bit pref]
[    0.562084] pci_bus 0004:01: resource 1 [mem 0x600c200000000-0x600c27fefffff]
[    0.562087] pci_bus 0004:01: resource 2 [mem 0x6024000000000-0x6027f7ff0ffff 64bit pref]
[    0.562093] pci 0005:00:00.0: BAR 8: assigned [mem 0x600c280000000-0x600c2817fffff]
[    0.562096] pci 0005:00:00.0: BAR 7: no space for [io  size 0x1000]
[    0.562099] pci 0005:00:00.0: BAR 7: failed to assign [io  size 0x1000]
[    0.562102] pci 0005:01:00.0: BAR 8: assigned [mem 0x600c280000000-0x600c2817fffff]
[    0.562105] pci 0005:01:00.0: BAR 7: no space for [io  size 0x1000]
[    0.562108] pci 0005:01:00.0: BAR 7: failed to assign [io  size 0x1000]
[    0.562112] pci 0005:02:00.0: BAR 0: assigned [mem 0x600c280000000-0x600c280ffffff]
[    0.562120] pci 0005:02:00.0: BAR 1: assigned [mem 0x600c281000000-0x600c28101ffff]
[    0.562128] pci 0005:02:00.0: BAR 2: no space for [io  size 0x0080]
[    0.562131] pci 0005:02:00.0: BAR 2: failed to assign [io  size 0x0080]
[    0.562134] pci 0005:00     : [PE# fe] Secondary bus 0x0000000000000000 associated with PE#fe
[    0.562373] pci 0005:02     : [PE# fd] Secondary bus 0x0000000000000002..0x0000000000000002 associated with PE#fd
[    0.562613] pci 0005:02     : [PE# fd] Setting up 32-bit TCE table at 0..80000000
[    0.563618] pci 0005:02     : [PE# fd] Setting up window#0 0..ffffffff pg=10000
[    0.563623] pci 0005:02     : [PE# fd] Enabling 64-bit DMA bypass
[    0.563627] pci 0005:01:00.0: PCI bridge to [bus 02]
[    0.563636] pci 0005:01:00.0:   bridge window [mem 0x600c280000000-0x600c2ffefffff]
[    0.563655] pci 0005:01     : [PE# fc] Secondary bus 0x0000000000000001 associated with PE#fc
[    0.563893] pci 0005:00:00.0: PCI bridge to [bus 01-02]
[    0.563902] pci 0005:00:00.0:   bridge window [mem 0x600c280000000-0x600c2ffefffff]
[    0.563916] pci_bus 0005:00: Some PCI device resources are unassigned, try booting with pci=realloc
[    0.563919] pci_bus 0005:00: resource 4 [mem 0x600c280000000-0x600c2fffeffff]
[    0.563922] pci_bus 0005:00: resource 5 [mem 0x6028000000000-0x602bf7fffffff 64bit pref]
[    0.563925] pci_bus 0005:01: resource 1 [mem 0x600c280000000-0x600c2ffefffff]
[    0.563927] pci_bus 0005:02: resource 1 [mem 0x600c280000000-0x600c2ffefffff]
[    0.564581] pci 0003:01:00.0: Adding to iommu group 0
[    0.564595] pci 0004:01:00.0: Adding to iommu group 1
[    0.564600] pci 0004:01:00.1: Adding to iommu group 1
[    0.564613] pci 0005:02:00.0: Adding to iommu group 2
[    0.564649] pci 0003:00:00.0: enabling device (0105 -> 0107)
[    0.564664] pci 0004:00:00.0: enabling device (0105 -> 0107)
[    0.564677] pci 0005:00:00.0: enabling device (0105 -> 0107)
[    0.564693] pci 0005:01:00.0: enabling device (0145 -> 0147)
[    0.564705] EEH: Capable adapter found: recovery enabled.
[    0.564771] PCI: Probing PCI hardware done
[    0.740237] raid6: vpermxor8 gen()  5105 MB/s
[    0.910287] raid6: vpermxor4 gen()  5163 MB/s
[    1.080333] raid6: vpermxor2 gen()  4430 MB/s
[    1.250382] raid6: vpermxor1 gen()  3070 MB/s
[    1.420439] raid6: altivecx8 gen()  4412 MB/s
[    1.590478] raid6: altivecx4 gen()  5044 MB/s
[    1.760530] raid6: altivecx2 gen()  4428 MB/s
[    1.930577] raid6: altivecx1 gen()  3071 MB/s
[    2.100646] raid6: int64x8  gen()  2258 MB/s
[    2.270686] raid6: int64x8  xor()   837 MB/s
[    2.440721] raid6: int64x4  gen()  3049 MB/s
[    2.610799] raid6: int64x4  xor()   974 MB/s
[    2.780821] raid6: int64x2  gen()  2694 MB/s
[    2.950868] raid6: int64x2  xor()   825 MB/s
[    3.120925] raid6: int64x1  gen()  1683 MB/s
[    3.291016] raid6: int64x1  xor()   526 MB/s
[    3.291018] raid6: using algorithm vpermxor4 gen() 5163 MB/s
[    3.291019] raid6: using intx1 recovery algorithm
[    3.291115] iommu: Default domain type: Translated 
[    3.291201] pci 0005:02:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[    3.291204] pci 0005:02:00.0: vgaarb: bridge control possible
[    3.291209] pci 0005:02:00.0: vgaarb: setting as boot device (VGA legacy resources not available)
[    3.291210] vgaarb: loaded
[    3.291360] SCSI subsystem initialized
[    3.291423] libata version 3.00 loaded.
[    3.291455] usbcore: registered new interface driver usbfs
[    3.291469] usbcore: registered new interface driver hub
[    3.291520] usbcore: registered new device driver usb
[    3.291776] clocksource: Switched to clocksource timebase
[    3.291924] VFS: Disk quotas dquot_6.6.0
[    3.291973] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
[    3.293802] NET: Registered protocol family 2
[    3.293970] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
[    3.293997] TCP established hash table entries: 65536 (order: 3, 524288 bytes, linear)
[    3.294250] TCP bind hash table entries: 65536 (order: 4, 1048576 bytes, linear)
[    3.294533] TCP: Hash tables configured (established 65536 bind 65536)
[    3.294582] UDP hash table entries: 4096 (order: 1, 131072 bytes, linear)
[    3.294629] UDP-Lite hash table entries: 4096 (order: 1, 131072 bytes, linear)
[    3.294731] NET: Registered protocol family 1
[    3.294868] RPC: Registered named UNIX socket transport module.
[    3.294869] RPC: Registered udp transport module.
[    3.294870] RPC: Registered tcp transport module.
[    3.294871] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.294903] pci 0003:01:00.0: enabling device (0140 -> 0142)
[    3.294959] PCI: CLS 0 bytes, default 128
[    4.268669] Initialise system trusted keyrings
[    4.268722] workingset: timestamp_bits=54 max_order=17 bucket_order=0
[    4.271647] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    4.271922] NFS: Registering the id_resolver key type
[    4.271930] Key type id_resolver registered
[    4.271931] Key type id_legacy registered
[    4.271936] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    4.271947] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    4.272112] JFS: nTxBlock = 4021, nTxLock = 32170
[    4.273160] SGI XFS with ACLs, security attributes, realtime, quota, fatal assert, debug enabled
[    4.273692] F2FS not supported on PAGE_SIZE(65536) != 4096
[    4.273773] Key type asymmetric registered
[    4.273775] Asymmetric key parser 'x509' registered
[    4.273786] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    4.274142] IPMI message handler: version 39.2
[    4.274155] ipmi device interface
[    4.287839] ipmi-powernv ibm,opal:ipmi: IPMI message handler: The GUID response from the BMC was too short, it was 1 but should have been 17.  Assuming GUID is not available.
[    4.303261] ipmi-powernv ibm,opal:ipmi: IPMI message handler: Found new BMC (man_id: 0x00cb06, prod_id: 0x0001, dev_id: 0x00)
[    4.404093] hvc0: raw protocol on /ibm,opal/consoles/serial@0 (boot console)
[    4.404098] hvc0: No interrupts property, using OPAL event
[    4.404361] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    4.404628] Non-volatile memory driver v1.3
[    4.404724] [drm] radeon kernel modesetting enabled.
[    4.404823] ast 0005:02:00.0: enabling device (0140 -> 0142)
[    4.404890] [drm] platform has no IO space, trying MMIO
[    4.404893] [drm] VGA not enabled on entry, requesting chip POST
[    4.404894] [drm] Using device-tree for configuration
[    4.404896] [drm] AST 2500 detected
[    4.404898] [drm] Analog VGA only
[    4.404930] [drm] dram MCLK=800 Mhz type=7 bus_width=16 size=01000000
[    4.405014] [TTM] Zone  kernel: Available graphics memory: 4117792 KiB
[    4.405015] [TTM] Zone   dma32: Available graphics memory: 2097152 KiB
[    4.405017] [TTM] Initializing pool allocator
[    4.539290] mm/pgtable-generic.c:50: bad pmd c00600c2800001be.
[    4.539292] mm/pgtable-generic.c:50: bad pmd c00600c2802001be.
[    4.539293] mm/pgtable-generic.c:50: bad pmd c00600c2804001be.
[    4.540810] Console: switching to colour frame buffer device 240x67
[    4.553652] ast 0005:02:00.0: fb0: astdrmfb frame buffer device
[    4.588111] [drm] Initialized ast 0.1.0 20120228 for 0005:02:00.0 on minor 0
[    4.590488] brd: module loaded
[    4.593789] loop: module loaded
[    4.593808] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[    4.594258] 5 fixed-partitions partitions found on MTD device flash@0
[    4.594260] Creating 5 MTD partitions on "flash@0":
[    4.594263] 0x000000000000-0x000004000000 : "PNOR"
[    4.594788] 0x0000022a1000-0x000002e5a158 : "BOOTKERNEL"
[    4.595278] 0x000003944000-0x000003946000 : "VERSION"
[    4.595763] 0x000003989000-0x0000039c9000 : "IMA_CATALOG"
[    4.596248] 0x000003e10000-0x000003ff0000 : "BOOTKERNFW"
[    4.596825] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.596829] ohci-pci: OHCI PCI platform driver
[    4.621823] rtc-opal opal-rtc: registered as rtc0
[    4.621840] i2c /dev entries driver
[    4.624085] powernv-cpufreq: cpufreq pstate min 0x76 nominal 0x4e max 0x0
[    4.624086] powernv-cpufreq: Workload Optimized Frequency is enabled in the platform
[    4.624444] powernv-cpufreq: Frequency Control disabled from OS
[    4.624446] powernv-cpufreq: PMSR = 4e4e763080000000
[    4.624447] powernv-cpufreq: CPU Frequency could be throttled
[    4.624525] ipip: IPv4 and MPLS over IPv4 tunneling driver
[    4.624694] NET: Registered protocol family 17
[    4.624753] NET: Registered protocol family 33
[    4.624756] Key type rxrpc registered
[    4.624757] Key type rxrpc_s registered
[    4.624772] Key type dns_resolver registered
[    4.624820] drmem: No dynamic reconfiguration memory found
[    4.625151] registered taskstats version 1
[    4.625153] Loading compiled-in X.509 certificates
[    4.627061] Loaded X.509 cert 'Build time autogenerated kernel key: de4e33eea2df7eaa7a7b1527e668d2f77cca4860'
[    4.627066] kAFS: Red Hat AFS client v0.1 registering.
[    4.801785] kAFS: failed to register: -97
[    4.802355] Btrfs loaded, crc32c=crc32c-generic
[    4.802657] Key type encrypted registered
[    4.802683] ima: No TPM chip found, activating TPM-bypass!
[    4.802686] ima: Allocated hash algorithm: sha1
[    4.802700] ima: No architecture policies found
[    4.802717] evm: Initialising EVM extended attributes:
[    4.802718] evm: security.capability
[    4.802719] evm: HMAC attrs: 0x1
[    4.831807] rtc-opal opal-rtc: setting system clock to 2022-11-23T15:13:56 UTC (1669216436)
[    4.832741] Freeing unused kernel memory: 4928K
[    4.921811] Run /init as init process
[    4.923401] [U] hello world
[    5.393715] random: fast init done
[    6.600766] ehci_hcd: module verification failed: signature and/or required key missing - tainting kernel
[    6.601018] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.601019] Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
[    6.603486] ehci-pci: EHCI PCI platform driver
[    6.610687] xhci_hcd 0003:01:00.0: xHCI Host Controller
[    6.610749] xhci_hcd 0003:01:00.0: new USB bus registered, assigned bus number 1
[    6.610869] xhci_hcd 0003:01:00.0: hcc params 0x0270f06d hci version 0x96 quirks 0x0000000004000000
[    6.611489] hub 1-0:1.0: USB hub found
[    6.611504] hub 1-0:1.0: 4 ports detected
[    6.611657] xhci_hcd 0003:01:00.0: xHCI Host Controller
[    6.611695] xhci_hcd 0003:01:00.0: new USB bus registered, assigned bus number 2
[    6.611700] xhci_hcd 0003:01:00.0: Host supports USB 3.0 SuperSpeed
[    6.611728] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.611906] hub 2-0:1.0: USB hub found
[    6.611920] hub 2-0:1.0: 4 ports detected
[    6.981784] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    7.028221] hub 1-1:1.0: USB hub found
[    7.028822] hub 1-1:1.0: 4 ports detected
[    7.191784] usb 1-2: new high-speed USB device number 3 using xhci_hcd
[    7.371783] usb 1-3: new high-speed USB device number 4 using xhci_hcd
[    7.420066] hub 1-3:1.0: USB hub found
[    7.420417] hub 1-3:1.0: 5 ports detected
[    7.501785] usb 1-1.1: new low-speed USB device number 5 using xhci_hcd
[    7.781781] usb 1-4: new high-speed USB device number 6 using xhci_hcd
[    7.828418] hub 1-4:1.0: USB hub found
[    7.829019] hub 1-4:1.0: 4 ports detected
[    7.911780] usb 1-3.1: new high-speed USB device number 7 using xhci_hcd
[    8.041782] usb 1-1.3: new low-speed USB device number 8 using xhci_hcd
[    8.622897] input: LOGITECH G110 G-keys Keypad as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:046D:C22B.0001/input/input0
[    8.691872] hid-generic 0003:046D:C22B.0001: input,hiddev96: USB HID v1.00 Keypad [LOGITECH G110 G-keys] on usb-0003:01:00.0-1.1/input0
[    8.691899] usbhid 1-1.1:1.1: couldn't find an input interrupt endpoint
[    8.693494] input: OpenBMC virtual_input as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-3/1-3.1/1-3.1:1.0/0003:1D6B:0104.0002/input/input2
[    8.761816] hid-generic 0003:1D6B:0104.0002: input: USB HID v1.01 Keyboard [OpenBMC virtual_input] on usb-0003:01:00.0-3.1/input0
[    8.763212] input: OpenBMC virtual_input as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-3/1-3.1/1-3.1:1.1/0003:1D6B:0104.0003/input/input3
[    8.763249] hid-generic 0003:1D6B:0104.0003: input: USB HID v1.01 Mouse [OpenBMC virtual_input] on usb-0003:01:00.0-3.1/input1
[    8.766890] input: Gaming Keyboard G110 as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C22A.0004/input/input4
[    8.831823] hid-generic 0003:046D:C22A.0004: input: USB HID v1.10 Keyboard [Gaming Keyboard G110] on usb-0003:01:00.0-1.3/input0
[    8.836155] input: Gaming Keyboard G110 Consumer Control as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C22A.0005/input/input5
[    8.901855] hid-generic 0003:046D:C22A.0005: input,hiddev97: USB HID v1.10 Device [Gaming Keyboard G110] on usb-0003:01:00.0-1.3/input1
[    8.901887] usbcore: registered new interface driver usbhid
[    8.901888] usbhid: USB HID core driver
[  466.176009] random: crng init done

Solutions you've tried

None

@tlaurion
Copy link
Author

tlaurion commented Nov 23, 2022

Hostboot+petitboot reports the same

$ dmesg | grep -i tpm
[    4.698117] ima: No TPM chip found, activating TPM-bypass!

@tlaurion
Copy link
Author

tlaurion commented Nov 24, 2022

coreboot config in Heads tree was not matching linuxboot/heads@9fc1f1c

Coreboot config adjustment made under linuxboot/heads#1247
For which builds artifacts are available under https://app.circleci.com/pipelines/github/tlaurion/heads/1275/workflows/c1d5c877-f009-4a5b-9497-261de3035663/jobs/12661


Reproducible testing trace:

user@talos-tests:~$ cd /home/user/QubesIncoming/heads-tests
user@talos-tests:~/QubesIncoming/heads-tests$ rm *
user@talos-tests:~/QubesIncoming/heads-tests$ ls
user@talos-tests:~/QubesIncoming/heads-tests$ wget https://output.circle-artifacts.com/output/job/68280d3d-7e2e-49ed-bd70-2aec61c7f7e3/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1299-g9fc1f1c-zImage.bundled https://output.circle-artifacts.com/output/job/68280d3d-7e2e-49ed-bd70-2aec61c7f7e3/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1299-g9fc1f1c.bootblock https://output.circle-artifacts.com/output/job/68280d3d-7e2e-49ed-bd70-2aec61c7f7e3/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1299-g9fc1f1c.rom
--2022-11-24 11:01:12--  https://output.circle-artifacts.com/output/job/68280d3d-7e2e-49ed-bd70-2aec61c7f7e3/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1299-g9fc1f1c-zImage.bundled
user@talos-tests:~/QubesIncoming/heads-tests$ while true; do ssh -l root 192.168.2.187; done^C
(reverse-i-search)`s': while true; do s^C -l root 192.168.2.187; done
user@talos-tests:~/QubesIncoming/heads-tests$ rsync -ravczz --inplace --delete /home/user/QubesIncoming/heads-tests root@192.168.2.187:/tmp/images/
user@talos-tests:~/QubesIncoming/heads-tests$ ssh -l root 192.168.2.187 "pflashl-r /tmp/talos.pnor && cd /tmp/images/heads-tests && pflash  -F ../../talos.pnor -f -P HBB -p *.bootblock && pflash  -F ../../talos.pnor -f -P HBI -p *.rom && pflash  -F ../../talos.pnor -f -P BOOTKERNEL -p *zImage.bundled && mboxctl --backend file:/tmp/talos.pnor && obmcutil poweron"

New observations:

Unfortunately, the behavior is weird. It seems that having coreboot activate the TPM results in TCPA logs even though the TPM is not actually initialized properly nor made available currently. But the measurements are taken but waiting to be reported to the TPM.


Output:

~ # cbmem -1

coreboot--TIMELESS--LESSTIME--Heads-v0.2.0-1299-g9fc1f1c Thu Jan  1 00:00:00 UTC 1970 bootblock starting (log level: 7)...
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HBI partition has ECC
HBI is in 0x00426200 through 0x0175f037
FMAP: Found "FLASH" version 1.1 at 0x20000.
FMAP: base = 0x0 size = 0x200000 #areas = 4
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
CBFS: mcache @0xf8231000 built for 10 files, used 0x1f0 of 0x2000 bytes
CBFS: Found 'fallback/romstage' @0x80 size 0x13a25 in mcache @0xf823102c
TCPA: Clearing coreboot TCPA log
FMAP: area FMAP found @ 20000 (512 bytes)
TPM: Digest of FMAP: FMAP to PCR 2 logged
FMAP: area BOOTBLOCK found @ 0 (131072 bytes)
TPM: Digest of FMAP: BOOTBLOCK to PCR 2 logged
CRTM initialized.
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Digest of FMAP: COREBOOT CBFS: fallback/romstage to PCR 2 logged
BS: bootblock times (exec / console): total (unknown) / 4 ms


coreboot--TIMELESS--LESSTIME--Heads-v0.2.0-1299-g9fc1f1c Thu Jan  1 00:00:00 UTC 1970 romstage starting (log level: 7)...
IPMI: romstage PNP BT 0xe4
Get BMC self test result...Function Not Implemented
Initializing IPMI BMC watchdog timer
IPMI BMC watchdog initialized and started.
Initializing FSI...
Initialized FSI (chips mask: 0x01)
Building MVPDs...
starting istep 8.1
starting istep 8.2
starting istep 8.3
starting istep 8.4
starting istep 8.9
Base epsilon values read from table:
 R_T[0] = 22
 R_T[1] = 22
 R_T[2] = 103
 W_T[0] = 5
 W_T[1] = 33
Scaled epsilon values based on +20 percent guardband:
 R_T[0] = 27
 R_T[1] = 27
 R_T[2] = 124
 W_T[0] = 6
 W_T[1] = 40
starting istep 8.10
starting istep 8.11
starting istep 9.2
starting istep 9.4
starting istep 9.6
starting istep 9.7
starting istep 10.1
starting istep 10.6
starting istep 10.10
starting istep 10.12
starting istep 10.13
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
MEMD partition has ECC
MEMD is in 0x03cef200 through 0x03cfb917
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address 51
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address 52
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address 53
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D4
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D5
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D6
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D7
SPD @ 0x50
SPD: module type is DDR4
SPD: module part number is M393A1K43BB0-CRC    
SPD: banks 16, ranks 1, rows 16, columns 10, density 8192 Mb
SPD: device width 8 bits, bus width 64 bits
SPD: module size is 8192 MB (per channel)
starting istep 13.1
starting istep 13.2
starting istep 13.3
starting istep 13.4
starting istep 13.5
starting istep 13.6
starting istep 13.7
starting istep 13.8
starting istep 13.9
starting istep 13.10
CCS took 2 us (3 us timeout), 1 instruction(s)
CCS took 2 us (2 us timeout), 14 instruction(s)
RCD dump for I2C address 0x58:
0xf820fa30: 80 b3 40 42 30 00 00 00 02 01 00 03 cb e3 c0 0d  ..@B0...........
0xf820fa40: 00 00 39 00 00 00 00 00 00 00 07 00 00 00 00 00  ..9.............
starting istep 13.11
CCS took 2 us (7 us timeout), 2 instruction(s)
Write Leveling starting
CCS took 12 us (92 us timeout), 5 instruction(s)
Write Leveling done
Initial Pattern Write starting
CCS took 5 us (38 us timeout), 5 instruction(s)
Initial Pattern Write done
DQS alignment starting
CCS took 10 us (44 us timeout), 1 instruction(s)
DQS alignment done
Read Clock Alignment starting
CCS took 8 us (82 us timeout), 1 instruction(s)
Read Clock Alignment done
Read Centering starting
CCS took 37 us (120 us timeout), 1 instruction(s)
Read Centering done
Write Centering starting
CCS took 8284 us (11314 us timeout), 7 instruction(s)
Write Centering done
Coarse write/read starting
CCS took 5 us (24 us timeout), 1 instruction(s)
Coarse write/read done
starting istep 13.12
starting istep 13.13
starting istep 14.1
starting istep 14.2
starting istep 14.3
Initializing PEC0...
Initializing PEC1...
Initializing PEC2...
Initializing PHB0...
Initializing PHB1...
Initializing PHB2...
Initializing PHB3...
Initializing PHB4...
Initializing PHB5...
starting istep 14.4
starting istep 14.5
0xF000F = 221d104900008040
CBMEM:
IMD: root @ 0xffeff000 254 entries.
IMD: root @ 0xffefec00 62 entries.
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HBI partition has ECC
HBI is in 0x00426200 through 0x0175f037
CBFS: Found 'fallback/ramstage' @0x13b00 size 0xe9d1 in mcache @0xf8231080
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Digest of FMAP: COREBOOT CBFS: fallback/ramstage to PCR 2 logged
BS: romstage times (exec / console): total (unknown) / 18 ms


coreboot--TIMELESS--LESSTIME--Heads-v0.2.0-1299-g9fc1f1c Thu Jan  1 00:00:00 UTC 1970 ramstage starting (log level: 7)...
Enumerating buses...
Root Device scanning...
DD21, boot core: 18
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HCODE partition has ECC
HCODE is in 0x01a82200 through 0x01b821ff
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
OCC partition has ECC
OCC is in 0x03822200 through 0x039221ff
Base epsilon values read from table:
 R_T[0] = 22
 R_T[1] = 22
 R_T[2] = 103
 W_T[0] = 5
 W_T[1] = 33
Scaled epsilon values based on +20 percent guardband:
 R_T[0] = 27
 R_T[1] = 27
 R_T[2] = 124
 W_T[0] = 6
 W_T[1] = 40
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
WOFDATA partition has ECC
WOFDATA is in 0x039ea200 through 0x03c94ca7
Matching WOF tables section not found, disabling WOF
Safe mode freq = 1833412 kHZ, voltage = 711 mv
starting istep 15.2
starting istep 15.3
starting istep 15.4
Starting PM complex...
Attempting PGPE activation...
PGPE was activated successfully
Done starting PM complex
Activating OCC...
Done activating OCC
starting istep 16.1
XIVE configured, entering dead man loop
ASSERTION ERROR: file '(filenames not available on timeless builds)', line 404
starting istep 18.11
starting istep 18.12
CPU_CLUSTER: 0 enabled
PNP: 00e4.0 enabled
scan_bus: bus Root Device finished in 3027 msecs
done
BS: BS_DEV_ENUMERATE run times (exec / console): 3021 / 7 ms
Allocating resources...
Reading resources...
CPU_CLUSTER: 0 missing read_resources
Done reading resources.
CPU_CLUSTER: 0 missing set_resources
PNP: 00e4.0 00 <- [0x00000000e4 - 0x00000000e6] size 0x00000003 gran 0x00 io
Done setting resources.
Done allocating resources.
BS: BS_DEV_RESOURCES run times (exec / console): 0 / 2 ms
Enabling resources...
done.
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)

A total of 2263 entrees like those shows in cbmem -1

~ # cbmem -1 | grep -i failed | wc -l
2263

Let's resume output:

I2C transfer failed to complete (0x04011f0104000000)
tpm_vendor_probe: ValidSts bit clear(0) in TPM_ACCESS register after 1000 ms
TPM: Can't initialize.
BS: BS_DEV_INIT entry times (exec / console): 252 / 749 ms
Initializing devices...
PNP: 00e4.0 init
IPMI: PNP BT 0xe4
Get BMC self test result...Function Not Implemented
IPMI: Found man_id 0x6cb0000, prod_id 0x1000000
IPMI: Version 2.0
PNP: 00e4.0 init finished in 26 msecs
Devices initialized
BS: BS_DEV_INIT run times (exec / console): 25 / 2 ms
Finalize devices...
Devices finalized
Writing coreboot table at 0xffed7000
 0. 0000000000000000-00000000f8207fff: RAM
 1. 00000000f8208000-00000000f820ffff: RAMSTAGE
 2. 00000000f8210000-00000000f8ffffff: RAM
 3. 00000000f9000000-00000000f92a0fff: RAMSTAGE
 4. 00000000f92a1000-00000000ffed6fff: RAM
 5. 00000000ffed7000-00000000ffefffff: CONFIGURATION TABLES
 6. 00000000fff00000-00000001ff3fffff: RAM
 7. 00000001ff400000-00000001ffffffff: RESERVED
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HBI partition has ECC
HBI is in 0x00426200 through 0x0175f037
Wrote coreboot table at: 0xffed7000, 0x25c bytes, checksum 60d4
coreboot table: 628 bytes.
IMD ROOT    0. 0xffeff000 0x00001000
IMD SMALL   1. 0xffefe000 0x00001000
CONSOLE     2. 0xffede000 0x00020000
TCPASPECLOG 3. 0xffedc000 0x00001179
MEM INFO    4. 0xffed9000 0x000022b0
COREBOOT    5. 0xffed7000 0x00002000
IMD small region:
  IMD ROOT    0. 0xffefec00 0x00000400
  RO MCACHE   1. 0xffefea00 0x000001f0
  FMAP        2. 0xffefe920 0x000000e0
  TCPA LOGREF 3. 0xffefe900 0x00000010
BS: BS_WRITE_TABLES run times (exec / console): 1 / 6 ms
CBFS: Found 'fallback/payload' @0x28ac0 size 0x632f9 in mcache @0xffefeb84
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Digest of FMAP: COREBOOT CBFS: fallback/payload to PCR 2 logged
Checking segment from ROM address 0xf8380000
Checking segment from ROM address 0xf838001c
Checking segment from ROM address 0xf8380038
Loading segment from ROM address 0xf8380000
  code (compression=1)
  New segment dstaddr 0x00000000 memsize 0x173c00 srcaddr 0xf8380054 filesize 0x632a5
Loading Segment: addr: 0x00000000 memsz: 0x0000000000173c00 filesz: 0x00000000000632a5
using LZMA
Loading segment from ROM address 0xf838001c
  BSS 0x00300000 (113776 byte)
Loading Segment: addr: 0x00300000 memsz: 0x000000000001bc70 filesz: 0x0000000000000000
it's not compressed!
Clearing Segment: addr: 0x0000000000300000 memsz: 0x000000000001bc70
Loading segment from ROM address 0xf8380038
  Entry Point 0x00002570
BS: BS_PAYLOAD_LOAD run times (exec / console): 553 / 5 ms
coreboot TCPA measurements:

 PCR-2 f78a530fb5a70afcffdc86a98529abd24a90bac9 SHA1 [FMAP: FMAP]
 PCR-2 98604aa1b2add7d0083bfdd8c928543d3bc72460 SHA1 [FMAP: BOOTBLOCK]
 PCR-2 58e302820cc9b7b2182d426acb4b7dc826c83f6a SHA1 [FMAP: COREBOOT CBFS: fallback/romstage]
 PCR-2 076f93c6b07ae89e94487c4cccf4b76a97bd12c4 SHA1 [FMAP: COREBOOT CBFS: fallback/ramstage]
 PCR-2 5033246432f7ab358f45788c2cc971b1adf04591 SHA1 [FMAP: COREBOOT CBFS: fallback/payload]

BS: BS_PAYLOAD_BOOT entry times (exec / console): 0 / 3 ms
Jumping to boot code at 0x00002570(0xffed7000)
CBFS: Found '1-cpu.dtb' @0x22a00 size 0x24e7 in mcache @0xffefeb3c
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Digest of FMAP: COREBOOT CBFS: 1-cpu.dtb to PCR 2 logged
~ # cbmem -L
TPM2 log:
	Specification: 2.00
	Platform class: PC Client
	No vendor information provided
TPM2 log entry 1:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: f78a530fb5a70afcffdc86a98529abd24a90bac9
	Event data: FMAP: FMAP
TPM2 log entry 2:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 98604aa1b2add7d0083bfdd8c928543d3bc72460
	Event data: FMAP: BOOTBLOCK
TPM2 log entry 3:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 58e302820cc9b7b2182d426acb4b7dc826c83f6a
	Event data: FMAP: COREBOOT CBFS: fallback/romstage
TPM2 log entry 4:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 076f93c6b07ae89e94487c4cccf4b76a97bd12c4
	Event data: FMAP: COREBOOT CBFS: fallback/ramstage
TPM2 log entry 5:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 5033246432f7ab358f45788c2cc971b1adf04591
	Event data: FMAP: COREBOOT CBFS: fallback/payload
TPM2 log entry 6:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 47b49026133377e05193f8440c9a7cad239e883c
	Event data: FMAP: COREBOOT CBFS: 1-cpu.dtb
~ # dmesg
[    0.000000] dt-cpu-ftrs: setup for ISA 3000
[    0.000000] dt-cpu-ftrs: not enabling: system-call-vectored (disabled or unsupported by kernel)
[    0.000000] dt-cpu-ftrs: final cpu/mmu features = 0x0001c86f8f5fb1a7 0x3c006041
[    0.000000] radix-mmu: Page sizes from device-tree:
[    0.000000] radix-mmu: Page size shift = 12 AP=0x0
[    0.000000] radix-mmu: Page size shift = 16 AP=0x5
[    0.000000] radix-mmu: Page size shift = 21 AP=0x1
[    0.000000] radix-mmu: Page size shift = 30 AP=0x2
[    0.000000] radix-mmu: Activating Kernel Userspace Execution Prevention
[    0.000000] radix-mmu: Activating Kernel Userspace Access Prevention
[    0.000000] radix-mmu: Mapped 0x0000000000000000-0x0000000002600000 with 2.00 MiB pages (exec)
[    0.000000] radix-mmu: Mapped 0x0000000002600000-0x0000000040000000 with 2.00 MiB pages
[    0.000000] radix-mmu: Mapped 0x0000000040000000-0x00000000c0000000 with 1.00 GiB pages
[    0.000000] radix-mmu: Mapped 0x00000000c0000000-0x00000000ffe00000 with 2.00 MiB pages
[    0.000000] radix-mmu: Mapped 0x00000000fff00000-0x0000000100000000 with 64.0 KiB pages
[    0.000000] radix-mmu: Mapped 0x0000000100000000-0x00000001c0000000 with 1.00 GiB pages
[    0.000000] radix-mmu: Mapped 0x00000001c0000000-0x00000001ff400000 with 2.00 MiB pages
[    0.000000] radix-mmu: Initializing Radix MMU
[    0.000000] Linux version 5.5.0-openpower1 (linux-talos-2_server.config@linuxboot) (gcc version 8.3.0 (GCC)) #0 SMP 1970-00-00
[    0.000000] OPAL: Found memory mapped LPC bus on chip 0
[    0.000000] ISA: Non-PCI bridge is /lpcm-opb@6030000000000/lpc@0
[    0.000000] Using PowerNV machine description
[    0.000000] printk: bootconsole [udbg0] enabled
[    0.000000] CPU maps initialized for 4 threads per core
[    0.000000]  (thread shift is 2)
[    0.000000] Allocated 3072 bytes for 16 pacas
[    0.000000] -----------------------------------------------------
[    0.000000] phys_mem_size     = 0x1ff300000
[    0.000000] dcache_bsize      = 0x80
[    0.000000] icache_bsize      = 0x80
[    0.000000] cpu_features      = 0x0001c86f8f5fb1a7
[    0.000000]   possible        = 0x0001fbefcf5fb1a7
[    0.000000]   always          = 0x00000003800081a1
[    0.000000] cpu_user_features = 0xdc0065c2 0xaee00000
[    0.000000] mmu_features      = 0xbc006041
[    0.000000] firmware_features = 0x0000000010000000
[    0.000000] vmalloc start     = 0xc008000000000000
[    0.000000] IO start          = 0xc00a000000000000
[    0.000000] vmemmap start     = 0xc00c000000000000
[    0.000000] -----------------------------------------------------
[    0.000000] numa:   NODE_DATA [mem 0x1ff1ef280-0x1ff1f3fff]
[    0.000000] rfi-flush: fallback displacement flush available
[    0.000000] rfi-flush: patched 5 locations (fallback displacement flush)
[    0.000000] link-stack-flush: software flush disabled.
[    0.000000] count-cache-flush: software flush disabled.
[    0.000000] stf-barrier: eieio barrier available
[    0.000000] stf-barrier: patched 57 entry locations (eieio barrier)
[    0.000000] stf-barrier: patched 5 exit locations (eieio barrier)
[    0.000000] Initializing IODA2 PHB (/pciex@600c3c0000000)
[    0.000000] PCI host bridge /pciex@600c3c0000000 (primary) ranges:
[    0.000000]  MEM 0x000600c000000000..0x000600c07ffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006000000000000..0x0006003fffffffff -> 0x0006000000000000 (M64 #1..31)
[    0.000000]  Using M64 #31 as default window
[    0.000000]   512 (511) PE's M32: 0x80000000 [segment=0x400000]
[    0.000000]                  M64: 0x4000000000 [segment=0x20000000]
[    0.000000]   Allocated bitmap for 4088 MSIs (base IRQ 0xfe000)
[    0.000000] Initializing IODA2 PHB (/pciex@600c3c0100000)
[    0.000000] PCI host bridge /pciex@600c3c0100000  ranges:
[    0.000000]  MEM 0x000600c080000000..0x000600c0fffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006004000000000..0x0006007fffffffff -> 0x0006004000000000 (M64 #1..15)
[    0.000000]  Using M64 #15 as default window
[    0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x4000000000 [segment=0x40000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0xfd800)
[    0.000000] Initializing IODA2 PHB (/pciex@600c3c0200000)
[    0.000000] PCI host bridge /pciex@600c3c0200000  ranges:
[    0.000000]  MEM 0x000600c100000000..0x000600c17ffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006008000000000..0x000600bfffffffff -> 0x0006008000000000 (M64 #1..15)
[    0.000000]  Using M64 #15 as default window
[    0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x4000000000 [segment=0x40000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0xfd000)
[    0.000000] Initializing IODA2 PHB (/pciex@600c3c0300000)
[    0.000000] PCI host bridge /pciex@600c3c0300000  ranges:
[    0.000000]  MEM 0x000600c180000000..0x000600c1fffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006020000000000..0x0006023fffffffff -> 0x0006020000000000 (M64 #1..31)
[    0.000000]  Using M64 #31 as default window
[    0.000000]   512 (511) PE's M32: 0x80000000 [segment=0x400000]
[    0.000000]                  M64: 0x4000000000 [segment=0x20000000]
[    0.000000]   Allocated bitmap for 4088 MSIs (base IRQ 0xfc000)
[    0.000000] Initializing IODA2 PHB (/pciex@600c3c0400000)
[    0.000000] PCI host bridge /pciex@600c3c0400000  ranges:
[    0.000000]  MEM 0x000600c200000000..0x000600c27ffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006024000000000..0x0006027fffffffff -> 0x0006024000000000 (M64 #1..15)
[    0.000000]  Using M64 #15 as default window
[    0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x4000000000 [segment=0x40000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0xfb800)
[    0.000000] Initializing IODA2 PHB (/pciex@600c3c0500000)
[    0.000000] PCI host bridge /pciex@600c3c0500000  ranges:
[    0.000000]  MEM 0x000600c280000000..0x000600c2fffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006028000000000..0x000602bfffffffff -> 0x0006028000000000 (M64 #1..15)
[    0.000000]  Using M64 #15 as default window
[    0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x4000000000 [segment=0x40000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0xfb000)
[    0.000000] OPAL nvram setup, 589824 bytes
[    0.000000] barrier-nospec: using ORI speculation barrier
[    0.000000] barrier-nospec: patched 454 locations
[    0.000000] Top of RAM: 0x1ff400000, Total RAM: 0x1ff300000
[    0.000000] Memory hole size: 1MB
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x00000001ff3fffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x00000000ffdfffff]
[    0.000000]   node   0: [mem 0x00000000fff00000-0x00000001ff3fffff]
[    0.000000] Zeroed struct page in unavailable ranges: 16 pages
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ff3fffff]
[    0.000000] On node 0 totalpages: 130864
[    0.000000]   Normal zone: 112 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 130864 pages, LIFO batch:3
[    0.000000] percpu: Embedded 2 pages/cpu s76056 r0 d55016 u131072
[    0.000000] pcpu-alloc: s76056 r0 d55016 u131072 alloc=2*65536
[    0.000000] pcpu-alloc: [0] 00 [0] 01 [0] 02 [0] 03 [0] 04 [0] 05 [0] 06 [0] 07 
[    0.000000] pcpu-alloc: [0] 08 [0] 09 [0] 10 [0] 11 [0] 12 [0] 13 [0] 14 [0] 15 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130752
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: console=tty0 console=hvc0 powersave=off quiet
[    0.000000] Dentry cache hash table entries: 1048576 (order: 7, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 6, 4194304 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 8235584K/8375296K available (13760K kernel code, 1088K rwdata, 2752K rodata, 4928K init, 1999K bss, 139712K reserved, 0K cma-reserved)
[    0.000000] random: get_random_u64 called from __kmem_cache_create+0x38/0x600 with crng_init=0
[    0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=16, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=2048 to nr_cpu_ids=16.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=16
[    0.000000] NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16
[    0.000000] xive: Interrupt handling initialized with native backend
[    0.000000] xive: Using priority 7 for all interrupts
[    0.000000] xive: Using 64kB queues
[    0.000000] time_init: decrementer frequency = 512.000000 MHz
[    0.000000] time_init: processor frequency   = 18446744071914.584320 MHz
[    0.000004] time_init: 56 bit decrementer (max: 7fffffffffffff)
[    0.000008] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x761537d007, max_idle_ns: 440795202126 ns
[    0.000010] clocksource: timebase mult[1f40000] shift[24] registered
[    0.000019] clockevent: decrementer mult[83126f] shift[24] cpu[0]
[    0.000077] Console: colour dummy device 80x25
[    0.000082] printk: console [tty0] enabled
[    0.000084] printk: console [hvc0] enabled
[    0.000085] printk: bootconsole [udbg0] disabled
[    0.000121] pid_max: default: 32768 minimum: 301
[    0.000185] LSM: Security Framework initializing
[    0.000220] Mount-cache hash table entries: 16384 (order: 1, 131072 bytes, linear)
[    0.000230] Mountpoint-cache hash table entries: 16384 (order: 1, 131072 bytes, linear)
[    0.000823] EEH: PowerNV platform initialized
[    0.000827] POWER9 performance monitor hardware support registered
[    0.000858] rcu: Hierarchical SRCU implementation.
[    0.001082] smp: Bringing up secondary CPUs ...
[    0.005625] smp: Brought up 1 node, 16 CPUs
[    0.005627] numa: Node 0 CPUs: 0-15
[    0.005631] Using shared cache scheduler topology
[    0.006535] devtmpfs: initialized
[    0.013644] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013649] futex hash table entries: 4096 (order: 3, 524288 bytes, linear)
[    0.013808] xor: measuring software checksum speed
[    0.110057]    8regs     :  5248.000 MB/sec
[    0.210088]    8regs_prefetch:  4243.200 MB/sec
[    0.310121]    32regs    :  5344.000 MB/sec
[    0.410148]    32regs_prefetch:  4160.000 MB/sec
[    0.510164]    altivec   :  6944.000 MB/sec
[    0.510166] xor: using function: altivec (6944.000 MB/sec)
[    0.510272] NET: Registered protocol family 16
[    0.510640] cpuidle: using governor menu
[    0.515148] PCI: Probing PCI hardware
[    0.515186] PCI host bridge to bus 0000:00
[    0.515193] pci_bus 0000:00: root bus resource [mem 0x600c000000000-0x600c07ffeffff] (bus address [0x80000000-0xfffeffff])
[    0.515196] pci_bus 0000:00: root bus resource [mem 0x6000000000000-0x6003fbfffffff 64bit pref]
[    0.515200] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.515204] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to ff
[    0.515239] pci 0000:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.515462] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
[    0.521439] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.521478] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to ff
[    0.521510] PCI host bridge to bus 0001:00
[    0.521514] pci_bus 0001:00: root bus resource [mem 0x600c080000000-0x600c0fffeffff] (bus address [0x80000000-0xfffeffff])
[    0.521517] pci_bus 0001:00: root bus resource [mem 0x6004000000000-0x6007f7fffffff 64bit pref]
[    0.521519] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.521522] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to ff
[    0.521550] pci 0001:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.521763] pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
[    0.527709] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.527748] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to ff
[    0.527778] PCI host bridge to bus 0002:00
[    0.527782] pci_bus 0002:00: root bus resource [mem 0x600c100000000-0x600c17ffeffff] (bus address [0x80000000-0xfffeffff])
[    0.527785] pci_bus 0002:00: root bus resource [mem 0x6008000000000-0x600bf7fffffff 64bit pref]
[    0.527787] pci_bus 0002:00: root bus resource [bus 00-ff]
[    0.527790] pci_bus 0002:00: busn_res: [bus 00-ff] end is updated to ff
[    0.527817] pci 0002:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.528030] pci 0002:00:00.0: PME# supported from D0 D3hot D3cold
[    0.533979] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[    0.534018] pci_bus 0002:00: busn_res: [bus 00-ff] end is updated to ff
[    0.534048] PCI host bridge to bus 0003:00
[    0.534052] pci_bus 0003:00: root bus resource [mem 0x600c180000000-0x600c1fffeffff] (bus address [0x80000000-0xfffeffff])
[    0.534055] pci_bus 0003:00: root bus resource [mem 0x6020000000000-0x6023fbfffffff 64bit pref]
[    0.534058] pci_bus 0003:00: root bus resource [bus 00-ff]
[    0.534061] pci_bus 0003:00: busn_res: [bus 00-ff] end is updated to ff
[    0.534087] pci 0003:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.534300] pci 0003:00:00.0: PME# supported from D0 D3hot D3cold
[    0.537386] pci 0003:01:00.0: [104c:8241] type 00 class 0x0c0330
[    0.537443] pci 0003:01:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    0.537469] pci 0003:01:00.0: reg 0x18: [mem 0x00000000-0x00001fff 64bit]
[    0.537537] pci 0003:01:00.0: BAR2 [mem size 0x00002000 64bit]: requesting alignment to 0x10000
[    0.537658] pci 0003:01:00.0: supports D1 D2
[    0.537661] pci 0003:01:00.0: PME# supported from D0 D1 D2 D3hot
[    0.540708] pci 0003:00:00.0: PCI bridge to [bus 01]
[    0.540785] pci_bus 0003:00: busn_res: [bus 00-ff] end is updated to 01
[    0.540815] PCI host bridge to bus 0004:00
[    0.540819] pci_bus 0004:00: root bus resource [mem 0x600c200000000-0x600c27ffeffff] (bus address [0x80000000-0xfffeffff])
[    0.540822] pci_bus 0004:00: root bus resource [mem 0x6024000000000-0x6027f7fffffff 64bit pref]
[    0.540825] pci_bus 0004:00: root bus resource [bus 00-ff]
[    0.540828] pci_bus 0004:00: busn_res: [bus 00-ff] end is updated to ff
[    0.540854] pci 0004:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.541066] pci 0004:00:00.0: PME# supported from D0 D3hot D3cold
[    0.544168] pci 0004:01:00.0: [14e4:1657] type 00 class 0x020000
[    0.544234] pci 0004:01:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.544259] pci 0004:01:00.0: reg 0x18: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.544285] pci 0004:01:00.0: reg 0x20: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.544301] pci 0004:01:00.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.544332] pci 0004:01:00.0: BAR6 [mem size 0x00000800 pref]: requesting alignment to 0x10000
[    0.544516] pci 0004:01:00.0: PME# supported from D0 D3hot D3cold
[    0.544653] pci 0004:01:00.1: [14e4:1657] type 00 class 0x020000
[    0.544719] pci 0004:01:00.1: reg 0x10: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.544744] pci 0004:01:00.1: reg 0x18: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.544770] pci 0004:01:00.1: reg 0x20: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.544786] pci 0004:01:00.1: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.544816] pci 0004:01:00.1: BAR6 [mem size 0x00000800 pref]: requesting alignment to 0x10000
[    0.545002] pci 0004:01:00.1: PME# supported from D0 D3hot D3cold
[    0.548018] pci 0004:00:00.0: PCI bridge to [bus 01]
[    0.548112] pci_bus 0004:00: busn_res: [bus 00-ff] end is updated to 01
[    0.548143] PCI host bridge to bus 0005:00
[    0.548147] pci_bus 0005:00: root bus resource [mem 0x600c280000000-0x600c2fffeffff] (bus address [0x80000000-0xfffeffff])
[    0.548150] pci_bus 0005:00: root bus resource [mem 0x6028000000000-0x602bf7fffffff 64bit pref]
[    0.548153] pci_bus 0005:00: root bus resource [bus 00-ff]
[    0.548156] pci_bus 0005:00: busn_res: [bus 00-ff] end is updated to ff
[    0.548182] pci 0005:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.548394] pci 0005:00:00.0: PME# supported from D0 D3hot D3cold
[    0.551479] pci 0005:01:00.0: [1a03:1150] type 01 class 0x060400
[    0.551610] pci 0005:01:00.0: enabling Extended Tags
[    0.551762] pci 0005:01:00.0: supports D1 D2
[    0.551764] pci 0005:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.554797] pci 0005:00:00.0: PCI bridge to [bus 01-02]
[    0.554927] pci_bus 0005:02: extended config space not accessible
[    0.554977] pci 0005:02:00.0: [1a03:2000] type 00 class 0x030000
[    0.555011] pci 0005:02:00.0: reg 0x10: [mem 0x00000000-0x00ffffff]
[    0.555028] pci 0005:02:00.0: reg 0x14: [mem 0x00000000-0x0001ffff]
[    0.555043] pci 0005:02:00.0: reg 0x18: [io  0x0000-0x007f]
[    0.555188] pci 0005:02:00.0: supports D1 D2
[    0.555191] pci 0005:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.558168] pci 0005:01:00.0: PCI bridge to [bus 02]
[    0.558234] pci_bus 0005:00: busn_res: [bus 00-ff] end is updated to 02
[    0.558250] pci 0000:00     : [PE# 1fe] Secondary bus 0x0000000000000000 associated with PE#1fe
[    0.558491] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.558513] pci_bus 0000:00: resource 4 [mem 0x600c000000000-0x600c07ffeffff]
[    0.558516] pci_bus 0000:00: resource 5 [mem 0x6000000000000-0x6003fbfffffff 64bit pref]
[    0.558521] pci 0001:00     : [PE# fe] Secondary bus 0x0000000000000000 associated with PE#fe
[    0.558757] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.558778] pci_bus 0001:00: resource 4 [mem 0x600c080000000-0x600c0fffeffff]
[    0.558781] pci_bus 0001:00: resource 5 [mem 0x6004000000000-0x6007f7fffffff 64bit pref]
[    0.558785] pci 0002:00     : [PE# fe] Secondary bus 0x0000000000000000 associated with PE#fe
[    0.559020] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[    0.559042] pci_bus 0002:00: resource 4 [mem 0x600c100000000-0x600c17ffeffff]
[    0.559044] pci_bus 0002:00: resource 5 [mem 0x6008000000000-0x600bf7fffffff 64bit pref]
[    0.559052] pci 0003:00:00.0: BAR 8: assigned [mem 0x600c180000000-0x600c1803fffff]
[    0.559057] pci 0003:01:00.0: BAR 0: assigned [mem 0x600c180000000-0x600c18000ffff 64bit]
[    0.559078] pci 0003:01:00.0: BAR 2: assigned [mem 0x600c180010000-0x600c180011fff 64bit]
[    0.559099] pci 0003:00     : [PE# 1fe] Secondary bus 0x0000000000000000 associated with PE#1fe
[    0.559340] pci 0003:01     : [PE# 1fd] Secondary bus 0x0000000000000001 associated with PE#1fd
[    0.559581] pci 0003:01     : [PE# 1fd] Setting up 32-bit TCE table at 0..80000000
[    0.560589] IOMMU table initialized, virtual merging enabled
[    0.560592] pci 0003:01     : [PE# 1fd] Setting up window#0 0..ffffffff pg=10000
[    0.560600] pci 0003:01     : [PE# 1fd] Enabling 64-bit DMA bypass
[    0.560603] pci 0003:00:00.0: PCI bridge to [bus 01]
[    0.560612] pci 0003:00:00.0:   bridge window [mem 0x600c180000000-0x600c1ffefffff]
[    0.560627] pci_bus 0003:00: resource 4 [mem 0x600c180000000-0x600c1fffeffff]
[    0.560630] pci_bus 0003:00: resource 5 [mem 0x6020000000000-0x6023fbfffffff 64bit pref]
[    0.560633] pci_bus 0003:01: resource 1 [mem 0x600c180000000-0x600c1ffefffff]
[    0.560639] pci 0004:00:00.0: BAR 9: assigned [mem 0x6024000000000-0x602403fffffff 64bit pref]
[    0.560642] pci 0004:00:00.0: BAR 8: assigned [mem 0x600c200000000-0x600c2007fffff]
[    0.560647] pci 0004:01:00.0: BAR 0: assigned [mem 0x6024000000000-0x602400000ffff 64bit pref]
[    0.560668] pci 0004:01:00.0: BAR 2: assigned [mem 0x6024000010000-0x602400001ffff 64bit pref]
[    0.560689] pci 0004:01:00.0: BAR 4: assigned [mem 0x6024000020000-0x602400002ffff 64bit pref]
[    0.560709] pci 0004:01:00.0: BAR 6: assigned [mem 0x600c200000000-0x600c2000007ff pref]
[    0.560712] pci 0004:01:00.1: BAR 0: assigned [mem 0x6024000030000-0x602400003ffff 64bit pref]
[    0.560733] pci 0004:01:00.1: BAR 2: assigned [mem 0x6024000040000-0x602400004ffff 64bit pref]
[    0.560754] pci 0004:01:00.1: BAR 4: assigned [mem 0x6024000050000-0x602400005ffff 64bit pref]
[    0.560774] pci 0004:01:00.1: BAR 6: assigned [mem 0x600c200010000-0x600c2000107ff pref]
[    0.560778] pci 0004:00     : [PE# fe] Secondary bus 0x0000000000000000 associated with PE#fe
[    0.561028] pci 0004:01     : [PE# 00] Secondary bus 0x0000000000000001 associated with PE#0
[    0.561266] pci 0004:01     : [PE# 00] Setting up 32-bit TCE table at 0..80000000
[    0.562267] pci 0004:01     : [PE# 00] Setting up window#0 0..ffffffff pg=10000
[    0.562272] pci 0004:01     : [PE# 00] Enabling 64-bit DMA bypass
[    0.562275] pci 0004:00:00.0: PCI bridge to [bus 01]
[    0.562284] pci 0004:00:00.0:   bridge window [mem 0x600c200000000-0x600c27fefffff]
[    0.562291] pci 0004:00:00.0:   bridge window [mem 0x6024000000000-0x6027f7ff0ffff 64bit pref]
[    0.562302] pci_bus 0004:00: resource 4 [mem 0x600c200000000-0x600c27ffeffff]
[    0.562305] pci_bus 0004:00: resource 5 [mem 0x6024000000000-0x6027f7fffffff 64bit pref]
[    0.562307] pci_bus 0004:01: resource 1 [mem 0x600c200000000-0x600c27fefffff]
[    0.562310] pci_bus 0004:01: resource 2 [mem 0x6024000000000-0x6027f7ff0ffff 64bit pref]
[    0.562316] pci 0005:00:00.0: BAR 8: assigned [mem 0x600c280000000-0x600c2817fffff]
[    0.562319] pci 0005:00:00.0: BAR 7: no space for [io  size 0x1000]
[    0.562322] pci 0005:00:00.0: BAR 7: failed to assign [io  size 0x1000]
[    0.562326] pci 0005:01:00.0: BAR 8: assigned [mem 0x600c280000000-0x600c2817fffff]
[    0.562329] pci 0005:01:00.0: BAR 7: no space for [io  size 0x1000]
[    0.562331] pci 0005:01:00.0: BAR 7: failed to assign [io  size 0x1000]
[    0.562335] pci 0005:02:00.0: BAR 0: assigned [mem 0x600c280000000-0x600c280ffffff]
[    0.562343] pci 0005:02:00.0: BAR 1: assigned [mem 0x600c281000000-0x600c28101ffff]
[    0.562352] pci 0005:02:00.0: BAR 2: no space for [io  size 0x0080]
[    0.562354] pci 0005:02:00.0: BAR 2: failed to assign [io  size 0x0080]
[    0.562357] pci 0005:00     : [PE# fe] Secondary bus 0x0000000000000000 associated with PE#fe
[    0.562597] pci 0005:02     : [PE# fd] Secondary bus 0x0000000000000002..0x0000000000000002 associated with PE#fd
[    0.562836] pci 0005:02     : [PE# fd] Setting up 32-bit TCE table at 0..80000000
[    0.563842] pci 0005:02     : [PE# fd] Setting up window#0 0..ffffffff pg=10000
[    0.563848] pci 0005:02     : [PE# fd] Enabling 64-bit DMA bypass
[    0.563851] pci 0005:01:00.0: PCI bridge to [bus 02]
[    0.563861] pci 0005:01:00.0:   bridge window [mem 0x600c280000000-0x600c2ffefffff]
[    0.563879] pci 0005:01     : [PE# fc] Secondary bus 0x0000000000000001 associated with PE#fc
[    0.564115] pci 0005:00:00.0: PCI bridge to [bus 01-02]
[    0.564125] pci 0005:00:00.0:   bridge window [mem 0x600c280000000-0x600c2ffefffff]
[    0.564139] pci_bus 0005:00: Some PCI device resources are unassigned, try booting with pci=realloc
[    0.564142] pci_bus 0005:00: resource 4 [mem 0x600c280000000-0x600c2fffeffff]
[    0.564145] pci_bus 0005:00: resource 5 [mem 0x6028000000000-0x602bf7fffffff 64bit pref]
[    0.564148] pci_bus 0005:01: resource 1 [mem 0x600c280000000-0x600c2ffefffff]
[    0.564151] pci_bus 0005:02: resource 1 [mem 0x600c280000000-0x600c2ffefffff]
[    0.564803] pci 0003:01:00.0: Adding to iommu group 0
[    0.564816] pci 0004:01:00.0: Adding to iommu group 1
[    0.564821] pci 0004:01:00.1: Adding to iommu group 1
[    0.564834] pci 0005:02:00.0: Adding to iommu group 2
[    0.564870] pci 0003:00:00.0: enabling device (0105 -> 0107)
[    0.564885] pci 0004:00:00.0: enabling device (0105 -> 0107)
[    0.564899] pci 0005:00:00.0: enabling device (0105 -> 0107)
[    0.564914] pci 0005:01:00.0: enabling device (0145 -> 0147)
[    0.564926] EEH: Capable adapter found: recovery enabled.
[    0.564992] PCI: Probing PCI hardware done
[    0.740235] raid6: vpermxor8 gen()  5096 MB/s
[    0.910277] raid6: vpermxor4 gen()  5163 MB/s
[    1.080328] raid6: vpermxor2 gen()  4426 MB/s
[    1.250389] raid6: vpermxor1 gen()  3071 MB/s
[    1.420422] raid6: altivecx8 gen()  4413 MB/s
[    1.590476] raid6: altivecx4 gen()  5045 MB/s
[    1.760528] raid6: altivecx2 gen()  4428 MB/s
[    1.930577] raid6: altivecx1 gen()  3071 MB/s
[    2.100632] raid6: int64x8  gen()  2259 MB/s
[    2.270687] raid6: int64x8  xor()   837 MB/s
[    2.440716] raid6: int64x4  gen()  3049 MB/s
[    2.610771] raid6: int64x4  xor()   974 MB/s
[    2.780811] raid6: int64x2  gen()  2696 MB/s
[    2.950854] raid6: int64x2  xor()   825 MB/s
[    3.120902] raid6: int64x1  gen()  1683 MB/s
[    3.290990] raid6: int64x1  xor()   526 MB/s
[    3.290992] raid6: using algorithm vpermxor4 gen() 5163 MB/s
[    3.290993] raid6: using intx1 recovery algorithm
[    3.291089] iommu: Default domain type: Translated 
[    3.291180] pci 0005:02:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[    3.291183] pci 0005:02:00.0: vgaarb: bridge control possible
[    3.291187] pci 0005:02:00.0: vgaarb: setting as boot device (VGA legacy resources not available)
[    3.291189] vgaarb: loaded
[    3.291340] SCSI subsystem initialized
[    3.291402] libata version 3.00 loaded.
[    3.291435] usbcore: registered new interface driver usbfs
[    3.291449] usbcore: registered new interface driver hub
[    3.291495] usbcore: registered new device driver usb
[    3.291757] clocksource: Switched to clocksource timebase
[    3.291905] VFS: Disk quotas dquot_6.6.0
[    3.291955] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
[    3.293800] NET: Registered protocol family 2
[    3.293992] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
[    3.294018] TCP established hash table entries: 65536 (order: 3, 524288 bytes, linear)
[    3.294258] TCP bind hash table entries: 65536 (order: 4, 1048576 bytes, linear)
[    3.294541] TCP: Hash tables configured (established 65536 bind 65536)
[    3.294591] UDP hash table entries: 4096 (order: 1, 131072 bytes, linear)
[    3.294636] UDP-Lite hash table entries: 4096 (order: 1, 131072 bytes, linear)
[    3.294736] NET: Registered protocol family 1
[    3.294882] RPC: Registered named UNIX socket transport module.
[    3.294883] RPC: Registered udp transport module.
[    3.294884] RPC: Registered tcp transport module.
[    3.294885] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.294917] pci 0003:01:00.0: enabling device (0140 -> 0142)
[    3.294986] PCI: CLS 0 bytes, default 128
[    4.269646] Initialise system trusted keyrings
[    4.269702] workingset: timestamp_bits=54 max_order=17 bucket_order=0
[    4.272626] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    4.272891] NFS: Registering the id_resolver key type
[    4.272896] Key type id_resolver registered
[    4.272898] Key type id_legacy registered
[    4.272902] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    4.272913] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    4.273078] JFS: nTxBlock = 4021, nTxLock = 32170
[    4.274130] SGI XFS with ACLs, security attributes, realtime, quota, fatal assert, debug enabled
[    4.274663] F2FS not supported on PAGE_SIZE(65536) != 4096
[    4.274741] Key type asymmetric registered
[    4.274743] Asymmetric key parser 'x509' registered
[    4.274754] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    4.275117] IPMI message handler: version 39.2
[    4.275130] ipmi device interface
[    4.289343] ipmi-powernv ibm,opal:ipmi: IPMI message handler: The GUID response from the BMC was too short, it was 1 but should have been 17.  Assuming GUID is not available.
[    4.302068] ipmi-powernv ibm,opal:ipmi: IPMI message handler: Found new BMC (man_id: 0x00cb06, prod_id: 0x0001, dev_id: 0x00)
[    4.409526] hvc0: raw protocol on /ibm,opal/consoles/serial@0 (boot console)
[    4.409531] hvc0: No interrupts property, using OPAL event
[    4.409789] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    4.410055] Non-volatile memory driver v1.3
[    4.410136] [drm] radeon kernel modesetting enabled.
[    4.410236] ast 0005:02:00.0: enabling device (0140 -> 0142)
[    4.410306] [drm] platform has no IO space, trying MMIO
[    4.410309] [drm] VGA not enabled on entry, requesting chip POST
[    4.410311] [drm] Using device-tree for configuration
[    4.410312] [drm] AST 2500 detected
[    4.410315] [drm] Analog VGA only
[    4.410347] [drm] dram MCLK=800 Mhz type=7 bus_width=16 size=01000000
[    4.410424] [TTM] Zone  kernel: Available graphics memory: 4117792 KiB
[    4.410426] [TTM] Zone   dma32: Available graphics memory: 2097152 KiB
[    4.410427] [TTM] Initializing pool allocator
[    4.543675] mm/pgtable-generic.c:50: bad pmd c00600c2800001be.
[    4.543677] mm/pgtable-generic.c:50: bad pmd c00600c2802001be.
[    4.543679] mm/pgtable-generic.c:50: bad pmd c00600c2804001be.
[    4.545199] Console: switching to colour frame buffer device 240x67
[    4.558126] ast 0005:02:00.0: fb0: astdrmfb frame buffer device
[    4.592123] [drm] Initialized ast 0.1.0 20120228 for 0005:02:00.0 on minor 0
[    4.594571] brd: module loaded
[    4.597931] loop: module loaded
[    4.597951] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[    4.598440] 5 fixed-partitions partitions found on MTD device flash@0
[    4.598442] Creating 5 MTD partitions on "flash@0":
[    4.598446] 0x000000000000-0x000004000000 : "PNOR"
[    4.598971] 0x0000022a1000-0x000002e5b158 : "BOOTKERNEL"
[    4.599465] 0x000003944000-0x000003946000 : "VERSION"
[    4.599961] 0x000003989000-0x0000039c9000 : "IMA_CATALOG"
[    4.600461] 0x000003e10000-0x000003ff0000 : "BOOTKERNFW"
[    4.601041] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.601044] ohci-pci: OHCI PCI platform driver
[    4.621801] rtc-opal opal-rtc: registered as rtc0
[    4.621820] i2c /dev entries driver
[    4.624108] powernv-cpufreq: cpufreq pstate min 0x76 nominal 0x4e max 0x0
[    4.624110] powernv-cpufreq: Workload Optimized Frequency is enabled in the platform
[    4.624461] powernv-cpufreq: Frequency Control disabled from OS
[    4.624463] powernv-cpufreq: PMSR = 4e4e763080000000
[    4.624464] powernv-cpufreq: CPU Frequency could be throttled
[    4.624535] ipip: IPv4 and MPLS over IPv4 tunneling driver
[    4.624701] NET: Registered protocol family 17
[    4.624764] NET: Registered protocol family 33
[    4.624767] Key type rxrpc registered
[    4.624768] Key type rxrpc_s registered
[    4.624783] Key type dns_resolver registered
[    4.624831] drmem: No dynamic reconfiguration memory found
[    4.625150] registered taskstats version 1
[    4.625151] Loading compiled-in X.509 certificates
[    4.626992] Loaded X.509 cert 'Build time autogenerated kernel key: ccdda39870bcc193a7856fb116f3ce3eeecdedb6'
[    4.626998] kAFS: Red Hat AFS client v0.1 registering.
[    4.881752] kAFS: failed to register: -97
[    4.882432] Btrfs loaded, crc32c=crc32c-generic
[    4.882689] Key type encrypted registered
[    4.882709] ima: No TPM chip found, activating TPM-bypass!
[    4.882712] ima: Allocated hash algorithm: sha1
[    4.882726] ima: No architecture policies found
[    4.882742] evm: Initialising EVM extended attributes:
[    4.882743] evm: security.capability
[    4.882744] evm: HMAC attrs: 0x1
[    4.911780] rtc-opal opal-rtc: setting system clock to 2022-11-24T16:11:40 UTC (1669306300)
[    4.912696] Freeing unused kernel memory: 4928K
[    5.021784] Run /init as init process
[    5.023357] [U] hello world
[    5.493136] random: fast init done
[    6.685026] ehci_hcd: module verification failed: signature and/or required key missing - tainting kernel
[    6.685287] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.685289] Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
[    6.687680] ehci-pci: EHCI PCI platform driver
[    6.694986] xhci_hcd 0003:01:00.0: xHCI Host Controller
[    6.695046] xhci_hcd 0003:01:00.0: new USB bus registered, assigned bus number 1
[    6.695169] xhci_hcd 0003:01:00.0: hcc params 0x0270f06d hci version 0x96 quirks 0x0000000004000000
[    6.695783] hub 1-0:1.0: USB hub found
[    6.695799] hub 1-0:1.0: 4 ports detected
[    6.695950] xhci_hcd 0003:01:00.0: xHCI Host Controller
[    6.695990] xhci_hcd 0003:01:00.0: new USB bus registered, assigned bus number 2
[    6.695994] xhci_hcd 0003:01:00.0: Host supports USB 3.0 SuperSpeed
[    6.696027] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.696185] hub 2-0:1.0: USB hub found
[    6.696199] hub 2-0:1.0: 4 ports detected
[    7.061759] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    7.104523] hub 1-1:1.0: USB hub found
[    7.105115] hub 1-1:1.0: 4 ports detected
[    7.271757] usb 1-2: new high-speed USB device number 3 using xhci_hcd
[    7.451755] usb 1-3: new high-speed USB device number 4 using xhci_hcd
[    7.496361] hub 1-3:1.0: USB hub found
[    7.496712] hub 1-3:1.0: 5 ports detected
[    7.581754] usb 1-1.1: new low-speed USB device number 5 using xhci_hcd
[    7.861755] usb 1-4: new high-speed USB device number 6 using xhci_hcd
[    7.904713] hub 1-4:1.0: USB hub found
[    7.905313] hub 1-4:1.0: 4 ports detected
[    7.991756] usb 1-3.1: new high-speed USB device number 7 using xhci_hcd
[    8.121755] usb 1-1.3: new low-speed USB device number 8 using xhci_hcd
[    8.351757] usb 1-4.3: new full-speed USB device number 9 using xhci_hcd
[    8.707326] input: LOGITECH G110 G-keys Keypad as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:046D:C22B.0001/input/input0
[    8.771855] hid-generic 0003:046D:C22B.0001: input,hiddev96: USB HID v1.00 Keypad [LOGITECH G110 G-keys] on usb-0003:01:00.0-1.1/input0
[    8.771882] usbhid 1-1.1:1.1: couldn't find an input interrupt endpoint
[    8.773411] input: OpenBMC virtual_input as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-3/1-3.1/1-3.1:1.0/0003:1D6B:0104.0002/input/input2
[    8.841783] hid-generic 0003:1D6B:0104.0002: input: USB HID v1.01 Keyboard [OpenBMC virtual_input] on usb-0003:01:00.0-3.1/input0
[    8.843253] input: OpenBMC virtual_input as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-3/1-3.1/1-3.1:1.1/0003:1D6B:0104.0003/input/input3
[    8.843290] hid-generic 0003:1D6B:0104.0003: input: USB HID v1.01 Mouse [OpenBMC virtual_input] on usb-0003:01:00.0-3.1/input1
[    8.846935] input: Gaming Keyboard G110 as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C22A.0004/input/input4
[    8.911796] hid-generic 0003:046D:C22A.0004: input: USB HID v1.10 Keyboard [Gaming Keyboard G110] on usb-0003:01:00.0-1.3/input0
[    8.916201] input: Gaming Keyboard G110 Consumer Control as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C22A.0005/input/input5
[    8.981837] hid-generic 0003:046D:C22A.0005: input,hiddev97: USB HID v1.10 Device [Gaming Keyboard G110] on usb-0003:01:00.0-1.3/input1
[    8.985471] input: Nitrokey Nitrokey Pro as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-4/1-4.3/1-4.3:1.0/0003:20A0:4108.0006/input/input7
[    9.051794] hid-generic 0003:20A0:4108.0006: input: USB HID v1.10 Keyboard [Nitrokey Nitrokey Pro] on usb-0003:01:00.0-4.3/input0
[    9.051826] usbcore: registered new interface driver usbhid
[    9.051827] usbhid: USB HID core driver
[  173.995455] random: crng init done

~ # dmesg | grep -i i2c
[    4.621820] i2c /dev entries driver
~ # dmesg | grep -i tpm
[    4.882709] ima: No TPM chip found, activating TPM-bypass!
~ # 
~ # find /proc/device-tree/ | grep -i i2c
/proc/device-tree/xscom@603fc00000000/i2cm@a1000
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/#address-cells
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/chip-engine#
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@2
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@2/#address-cells
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@2/bus-frequency
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@2/eeprom@50
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@2/eeprom@50/link-id
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@2/eeprom@50/label
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@2/eeprom@50/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@2/eeprom@50/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@2/eeprom@50/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@2/eeprom@50/name
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@2/#size-cells
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@2/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@2/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@2/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@2/ibm,opal-id
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@2/name
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@2/ibm,port-name
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@0
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@0/#address-cells
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@0/bus-frequency
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@0/eeprom@50
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@0/eeprom@50/link-id
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@0/eeprom@50/label
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@0/eeprom@50/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@0/eeprom@50/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@0/eeprom@50/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@0/eeprom@50/name
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@0/#size-cells
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@0/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@0/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@0/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@0/ibm,opal-id
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@0/name
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/i2c-bus@0/ibm,port-name
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/#size-cells
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/clock-frequency
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a1000/name
/proc/device-tree/xscom@603fc00000000/i2cm@a3000
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/#address-cells
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/chip-engine#
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/#address-cells
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@52
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@52/link-id
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@52/label
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@52/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@52/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@52/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@52/name
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/bus-frequency
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@50
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@50/link-id
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@50/label
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@50/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@50/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@50/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@50/name
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/#size-cells
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@53
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@53/link-id
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@53/label
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@53/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@53/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@53/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@53/name
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@51
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@51/link-id
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@51/label
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@51/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@51/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@51/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/eeprom@51/name
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/ibm,opal-id
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/name
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@0/ibm,port-name
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/#size-cells
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/clock-frequency
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@54
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@54/link-id
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@54/label
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@54/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@54/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@54/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@54/name
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/#address-cells
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/bus-frequency
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@57
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@57/link-id
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@57/label
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@57/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@57/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@57/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@57/name
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/#size-cells
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@55
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@55/link-id
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@55/label
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@55/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@55/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@55/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@55/name
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/ibm,opal-id
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/name
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@56
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@56/link-id
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@56/label
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@56/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@56/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@56/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/eeprom@56/name
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/i2c-bus@1/ibm,port-name
/proc/device-tree/xscom@603fc00000000/i2cm@a3000/name
/proc/device-tree/xscom@603fc00000000/i2cm@a2000
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/#address-cells
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/chip-engine#
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/tpm@20
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/tpm@20/ibm,sml-base
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/tpm@20/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/tpm@20/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/tpm@20/ibm,sml-size
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/tpm@20/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/tpm@20/name
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/#address-cells
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/bus-frequency
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/eeprom@50
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/eeprom@50/link-id
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/eeprom@50/label
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/eeprom@50/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/eeprom@50/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/eeprom@50/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/eeprom@50/name
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/#size-cells
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/ibm,opal-id
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/name
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/ibm,port-name
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/#size-cells
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/clock-frequency
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/name
~ # find /proc/device-tree/ | grep -i tpm
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/tpm@20
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/tpm@20/ibm,sml-base
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/tpm@20/compatible
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/tpm@20/reg
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/tpm@20/ibm,sml-size
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/tpm@20/phandle
/proc/device-tree/xscom@603fc00000000/i2cm@a2000/i2c-bus@0/tpm@20/name

@tlaurion
Copy link
Author

@SergiiDmytruk :

Same roms as above test

Artifacts are available under https://app.circleci.com/pipelines/github/tlaurion/heads/1275/workflows/c1d5c877-f009-4a5b-9497-261de3035663/jobs/12661

Without TPM module connected.


cbmem -L reports measurements without TPM

~ # cbmem -L
TPM2 log:
	Specification: 2.00
	Platform class: PC Client
	No vendor information provided
TPM2 log entry 1:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: f78a530fb5a70afcffdc86a98529abd24a90bac9
	Event data: FMAP: FMAP
TPM2 log entry 2:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 98604aa1b2add7d0083bfdd8c928543d3bc72460
	Event data: FMAP: BOOTBLOCK
TPM2 log entry 3:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 58e302820cc9b7b2182d426acb4b7dc826c83f6a
	Event data: FMAP: COREBOOT CBFS: fallback/romstage
TPM2 log entry 4:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 076f93c6b07ae89e94487c4cccf4b76a97bd12c4
	Event data: FMAP: COREBOOT CBFS: fallback/ramstage
TPM2 log entry 5:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 5033246432f7ab358f45788c2cc971b1adf04591
	Event data: FMAP: COREBOOT CBFS: fallback/payload
TPM2 log entry 6:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 47b49026133377e05193f8440c9a7cad239e883c
	Event data: FMAP: COREBOOT CBFS: 1-cpu.dtb

Not normal:

~ # cbmem -1 | grep -i TPM
TPM: Digest of FMAP: FMAP to PCR 2 logged
TPM: Digest of FMAP: BOOTBLOCK to PCR 2 logged
TPM: Digest of FMAP: COREBOOT CBFS: fallback/romstage to PCR 2 logged
TPM: Digest of FMAP: COREBOOT CBFS: fallback/ramstage to PCR 2 logged
tpm_vendor_probe: ValidSts bit clear(0) in TPM_ACCESS register after 1000 ms
TPM: Can't initialize.
TPM: Digest of FMAP: COREBOOT CBFS: fallback/payload to PCR 2 logged
TPM: Digest of FMAP: COREBOOT CBFS: 1-cpu.dtb to PCR 2 logged

Also those messages are showed on screen BMC screen at boot, but not recorded neither in cbmem nor in dmesg:

[   24.326733498,3] STB: EV_SEPARATOR (pcr0) NOT MEASURED. No TPM registered/enabled
[   24.326809458,3] STB: EV_SEPARATOR (pcr1) NOT MEASURED. No TPM registered/enabled
[   24.326871604,3] STB: EV_SEPARATOR (pcr2) NOT MEASURED. No TPM registered/enabled
[   24.326935338,3] STB: EV_SEPARATOR (pcr3) NOT MEASURED. No TPM registered/enabled
[   24.326992042,3] STB: EV_SEPARATOR (pcr4) NOT MEASURED. No TPM registered/enabled
[   24.327046184,3] STB: EV_SEPARATOR (pcr5) NOT MEASURED. No TPM registered/enabled
[   24.327095034,3] STB: EV_SEPARATOR (pcr6) NOT MEASURED. No TPM registered/enabled
[   24.327144039,3] STB: EV_SEPARATOR (pcr7) NOT MEASURED. No TPM registered/enabled

For good measure, to make sure my TPM module is not at fault, rebooting with TPM module connected to see if messages related to "No TPM registered/enabled" are present as well:

[   18.396994444,3] STB: VERSION NOT VERIFIED, invalid param. buf=0x306010e0, len=4326 key-hash=0x0 hash-size=64
[   18.397120208,5] STB: VERSION hash calculated
[   18.397158028,3] STB: VERSION (pcr3) NOT MEASURED. No TPM registered/enabled
[   20.002906272,3] STB: IMA_CATALOG NOT VERIFIED, invalid param. buf=0x30603170, len=73728 key-hash=0x0 hash-size=64
[   20.003205266,5] STB: IMA_CATALOG hash calculated
[   20.003272364,3] STB: IMA_CATALOG (pcr2) NOT MEASURED. No TPM registered/enabled

Possible next steps:

@tlaurion
Copy link
Author

tlaurion commented Nov 24, 2022

@SergiiDmytruk I guess we would want STB logs recorded, since the most relevant information from logs

~ # cbmem -c | grep STB
~ # dmesg | grep STB
~ # 

While with TPM module connected/not connected (hope I do not have a faulty TPM module) as built from Heads and made easily reproducible from above traces:

[last logs on screen]

coreboot TCPA measurements:

 PCR-2 f78a530fb5a70afcffdc86a98529abd24a90bac9 SHA1 [FMAP: FMAP]
 PCR-2 98604aa1b2add7d0083bfdd8c928543d3bc72460 SHA1 [FMAP: BOOTBLOCK]
 PCR-2 58e302820cc9b7b2182d426acb4b7dc826c83f6a SHA1 [FMAP: COREBOOT CBFS: fallback/romstage]
 PCR-2 076f93c6b07ae89e94487c4cccf4b76a97bd12c4 SHA1 [FMAP: COREBOOT CBFS: fallback/ramstage]
 PCR-2 5033246432f7ab358f45788c2cc971b1adf04591 SHA1 [FMAP: COREBOOT CBFS: fallback/payload]

BS: BS_PAYLOAD_BOOT entry times (exec / console): 0 / 2 ms
Jumping to boot code at 0x00002570(0xffed7000)
CBFS: Found '1-cpu.dtb' @0x22a00 size 0x24e7 in mcache @0xffefeb3c
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Digest of FMAP: COREBOOT CBFS: 1-cpu.dtb to PCR 2 logg[   12.477464656,5] OPAL v6.3-rc2-32-gfa060c2c starting...
[   12.477468159,7] initial console log level: memory 7, driver 5
[   12.477470212,6] CPU: P9 generation processor (max 4 threads/core)
[   12.477472039,7] CPU: Boot CPU PIR is 0x0048 PVR is 0x004e1201
[   12.477474559,7] OPAL table: 0x30108230 .. 0x30108810, branch table: 0x30002000
[   12.477477608,7] Assigning physical memory map table for nimbus
[   12.477480004,7] FDT: Parsing fdt @0xf90aa408
[   12.478190124,6] CHIP: Initialised chip 0 from xscom@603fc00000000
[   12.478214244,6] P9 DD2.10 detected
[   12.478215770,5] CHIP: Chip ID 0000 type: P9N DD2.10
[   12.478217828,7] XSCOM: Base address: 0x603fc00000000
[   12.478226757,7] XSTOP: XSCOM addr = 0x5012000, FIR bit = 31
[   12.478228913,6] MFSI 0:0: Initialized
[   12.478230321,6] MFSI 0:2: Initialized
[   12.478231692,6] MFSI 0:1: Initialized
[   12.478285913,6] LPC: LPC[000]: Initialized
[   12.478287317,7] LPC: access via MMIO @0x6030000000000
[   12.478300459,7] LPC: Default bus on chip 0x0
[   12.478307347,7] CPU: New max PIR set to 0x57
[   12.478338091,6] MEM: parsing reserved memory from node /reserved-memory
[   12.478342291,7] HOMER: Init chip 0
[   12.478344642,7]   PBA BAR0 : 0x00000001ff400000
[   12.478346360,7]   PBA MASK0: 0x0000000000300000
[   12.478348062,7]   HOMER Image at 0x1ff400000 size 4MB
[   12.478350927,7]   PBA BAR2 : 0x00000001ff800000
[   12.478352565,7]   PBA MASK2: 0x0000000000700000
[   12.478354200,7]   OCC Common Area at 0x1ff800000 size 8MB
[   12.478356545,7] CPU: decrementer bits 56
[   12.478361106,6] CPU: CPU from DT PIR=0x0048 Server#=0x48 State=3
[   12.478366426,6] CPU:  4 secondary threads
[   12.478369532,6] CPU: CPU from DT PIR=0x004c Server#=0x4c State=3
[   12.478375025,6] CPU:  4 secondary threads
[   12.478378021,6] CPU: CPU from DT PIR=0x0050 Server#=0x50 State=3
[   12.478383429,6] CPU:  4 secondary threads
[   12.478386424,6] CPU: CPU from DT PIR=0x0054 Server#=0x54 State=3
[   12.478391863,6] CPU:  4 secondary threads
[   12.478440199,6] PLAT: AST SIO unavailable!
[   12.478452734,7] UART: Using LPC IRQ 4
[   12.480530804,5] PLAT: Detected Talos platform
[   12.480572260,5] PLAT: Detected BMC platform ast2500:openbmc
[   12.495653619,5] CPU: All 16 processors called in...
[   13.076558123,7] LPC: Routing irq 10, policy: 0 (r=1)
[   13.076559175,7] LPC: SerIRQ 10 using route 0 targetted at OPAL
[   14.081872089,5] HIOMAP: Negotiated hiomap protocol v2
[   14.081933464,5] HIOMAP: Block size is 4KiB
[   14.081966767,5] HIOMAP: BMC suggested flash timeout of 8s
[   14.082005701,5] HIOMAP: Flash size is 64MiB
[   14.082044966,5] HIOMAP: Erase granule size is 4KiB
[   17.296749424,5] FLASH: Found system flash: (unnamed) id:0
[   18.087503629,3] STB: hw-key-hash not found
[   18.087550636,3] STB: hw_key-hash wrong size 0 (expected=64)
[   18.087630508,7] LPC: Routing irq 4, policy: 0 (r=1)
[   18.087631570,7] LPC: SerIRQ 4 using route 1 targetted at OPAL
[   18.087753959,5] OCC: All Chip Rdy after 0 ms
[   18.396994444,3] STB: VERSION NOT VERIFIED, invalid param. buf=0x306010e0, len=4326 key-hash=0x0 hash-size=64
[   18.397120208,5] STB: VERSION hash calculated
[   18.397158028,3] STB: VERSION (pcr3) NOT MEASURED. No TPM registered/enabled
[   20.002906272,3] STB: IMA_CATALOG NOT VERIFIED, invalid param. buf=0x30603170, len=73728 key-hash=0x0 hash-size=64
[   20.003205266,5] STB: IMA_CATALOG hash calculated
[   20.003272364,3] STB: IMA_CATALOG (pcr2) NOT MEASURED. No TPM registered/enabled
[   20.194329120,3] CAPP: Error loading ucode lid. index=201d1
[   20.208506047,5] PCI: Resetting PHBs and training links...
[   21.229093077,5] PCI: Probing slots...
[   21.285637340,3] PCI: PHB  (80000) not found
[   21.285685210,3] PCI: PHB  (80001) not found
[   21.285713959,3] PCI: PHB  (80003) not found
[   21.285749544,5] PCI Summary:
[   21.285808913,5] PHB#0000:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU1 Slot2 (16x) 
[   21.285882859,5] PHB#0001:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU1 Slot1 (8x) 
[   21.285966877,5] PHB#0002:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=Builtin SAS 
[   21.286048659,5] PHB#0003:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin USB 
[   21.286115180,5] PHB#0003:01:00.0 [EP  ] 104c 8241 R:02 C:0c0330 (      usb-xhci) LOC_CODE=Builtin USB
[   21.286181287,5] PHB#0004:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin Ethernet 
[   21.286250739,5] PHB#0004:01:00.0 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[   21.286328267,5] PHB#0004:01:00.1 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[   21.286416018,5] PHB#0005:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..02 SLOT=BMC 
[   21.286468663,5] PHB#0005:01:00.0 [ETOX] 1a03 1150 R:04 C:060400 B:02..02 LOC_CODE=BMC
[   21.286537639,5] PHB#0005:02:00.0 [PCID] 1a03 2000 R:41 C:030000 (           vga) LOC_CODE=BMC
[   21.286614578,4] WARNING! Skiboot version does not match VERSION partition!
[   21.290358033,5] IPMI: Resetting boot count on successful boot
[   21.290415644,5] INIT: Waiting for kernel...
[   25.484320674,3] STB: BOOTKERNEL NOT VERIFIED, invalid param. buf=0x20000000, len=12296536 key-hash=0x0 hash-size=64
[   26.009075185,5] STB: BOOTKERNEL hash calculated
[   26.009138841,3] STB: BOOTKERNEL (pcr4) NOT MEASURED. No TPM registered/enabled
[   26.009537815,5] INIT: 64-bit LE kernel discovered
[   26.222227482,3] STB: EV_SEPARATOR (pcr0) NOT MEASURED. No TPM registered/enabled
[   26.222312790,3] STB: EV_SEPARATOR (pcr1) NOT MEASURED. No TPM registered/enabled
[   26.222375205,3] STB: EV_SEPARATOR (pcr2) NOT MEASURED. No TPM registered/enabled
[   26.222429452,3] STB: EV_SEPARATOR (pcr3) NOT MEASURED. No TPM registered/enabled
[   26.222491749,3] STB: EV_SEPARATOR (pcr4) NOT MEASURED. No TPM registered/enabled
[   26.222555453,3] STB: EV_SEPARATOR (pcr5) NOT MEASURED. No TPM registered/enabled
[   26.222610124,3] STB: EV_SEPARATOR (pcr6) NOT MEASURED. No TPM registered/enabled
[   26.222659009,3] STB: EV_SEPARATOR (pcr7) NOT MEASURED. No TPM registered/enabled
[   26.239160341,5] INIT: Starting kernel at 0x20010000, fdt at 0x306e0b08 128763 bytes

zImage starting: loaded at 0x0000000020010000 (sp: 0x0000000020bb8ee0)
Allocating 0x27d3e80 bytes for kernel...
Decompressing (0x0000000000000000 <- 0x0000000020024000:0x0000000020bb64ec)...
Done! Decompressed 0x25d98e0 bytes

Linux/PowerPC load: 
Finalizing device tree... flat tree at 0x20bb9ce0
[   27.170438533,3] LPC[000]: Got SYNC no-response error. Error address reg: 0xd0010080
[   27.170450955,6] IPMI: dropping non severe PEL event
[   27.170481381,7] UART: IRQ functional !
[    4.539901] mm/pgtable-generic.c:50: bad pmd c00600c2800001be.
[    4.539903] mm/pgtable-generic.c:50: bad pmd c00600c2802001be.
[    4.539904] mm/pgtable-generic.c:50: bad pmd c00600c2804001be.
[    4.821763] kAFS: failed to register: -97
gpg: WARNING: nothing exported
[    8.691891] usbhid 1-1.1:1.1: couldn't find an input interrupt endpoint

***** Normal boot: /bin/gui-init

@tlaurion
Copy link
Author

@krystian-hebel
Copy link

ASSERTION ERROR: file '(filenames not available on timeless builds)', line 404 I wonder what was there. It is around code that brings up other cores, but it seems that all are available in skiboot, so maybe it's something after that.

@tlaurion have you tried full power cycle by cutting power for a while? BMC can be quirky when it comes to I2C, and we've seen cases where nothing but full power loss helped. We've had quite some of those issues while trying to enable I2C wrong way, and given what changes had to be made to fix booting on your platform I2C frequency was probably incorrectly calculated in earlier versions of Dasharo.

@tlaurion
Copy link
Author

tlaurion commented Nov 24, 2022

Full power cycle happened in those tests yes.

The platform was cut of power for 24h between the tests. (PSU power button turned off).

Will redo. Orientation of board validation would be nice as well as consequences if it was connected wrong.

@tlaurion
Copy link
Author

tlaurion commented Nov 25, 2022

ASSERTION ERROR: file '(filenames not available on timeless builds)', line 404 I wonder what was there. It is around code that brings up other cores, but it seems that all are available in skiboot, so maybe it's something after that.

Unfortunately I do not know.

If you have a PR based on linuxboot/heads#1247 to propose so that can be tested, I would be willing to test. (PR is activating TPM, since past merged PRs were not containing required coreboot changes to activate TPM as discovered through community call last thursday with @miczyg1).

Unfortunately, activating TPM doesn't discover bought TPM module, and the behavior is the same with/without TPM module connected, including TCPA logs produced without TPM connected, which is weird, to say the least, and where my TPM module seems dead, even though orientation was replicated (see #272 (comment)).

We might be facing dead TPM module(waiting for instructions on how to proceed), while behavior below is still valid for investigation.


Redoing test, starting with no electricity on motherboard, no led (PSU off), on artifacts produced by linuxboot/heads#1247 under https://app.circleci.com/pipelines/github/tlaurion/heads/1275/workflows/c1d5c877-f009-4a5b-9497-261de3035663/jobs/12661/artifacts

user@talos-tests:~/QubesIncoming/heads-tests$ ls
heads-talos-2_server-v0.2.0-1299-g9fc1f1c.bootblock  heads-talos-2_server-v0.2.0-1299-g9fc1f1c-zImage.bundled
heads-talos-2_server-v0.2.0-1299-g9fc1f1c.rom
user@talos-tests:~/QubesIncoming/heads-tests$ rm *
user@talos-tests:~/QubesIncoming/heads-tests$ wget https://output.circle-artifacts.com/output/job/68280d3d-7e2e-49ed-bd70-2aec61c7f7e3/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1299-g9fc1f1c-zImage.bundled https://output.circle-artifacts.com/output/job/68280d3d-7e2e-49ed-bd70-2aec61c7f7e3/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1299-g9fc1f1c.bootblock https://output.circle-artifacts.com/output/job/68280d3d-7e2e-49ed-bd70-2aec61c7f7e3/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1299-g9fc1f1c.rom
user@talos-tests:~/QubesIncoming/heads-tests$ rsync -ravczz --inplace --delete /home/user/QubesIncoming/heads-tests root@192.168.2.187:/tmp/images/
user@talos-tests:~/QubesIncoming/heads-tests$ ssh -l root 192.168.2.187 "pflash -r /tmp/talos.pnor && cd /tmp/images/heads-tests && pflash  -F ../../talos.pnor -f -P HBB -p *.bootblock && pflash  -F ../../talos.pnor -f -P HBI -p *.rom && pflash  -F ../../talos.pnor -f -P BOOTKERNEL -p *zImage.bundled && mboxctl --backend file:/tmp/talos.pnor"
Reading to "/tmp/talos.pnor" from 0x00000000..0x04000000 !
[==================================================] 100% ETA:0s     
About to program "heads-talos-2_server-v0.2.0-1299-g9fc1f1c.bootblock" at 0x00205000..0x00213004 !
Programming & Verifying...
[==================================================] 100%
Updating actual size in partition header...
About to program "heads-talos-2_server-v0.2.0-1299-g9fc1f1c.rom" at 0x00425000..0x00666200 !
Programming & Verifying...
[==================================================] 100%
Updating actual size in partition header...
About to program "heads-talos-2_server-v0.2.0-1299-g9fc1f1c-zImage.bundled" at 0x022a1000..0x02e5b158 !
Programming & Verifying...
[==================================================] 100%
Updating actual size in partition header...
SetBackend: Success
user@talos-tests:~/QubesIncoming/heads-tests$ while true; do ssh -l root 192.168.2.187; done
root@talos:~# mboxctl --lpc-state
LPC Bus Maps: BMC Memory
root@talos:~# obmcutil poweron && obmc-console-client

Boot test:

root@talos:~# obmcutil poweron && obmc-console-client


coreboot--TIMELESS--LESSTIME--Heads-v0.2.0-1299-g9fc1f1c Thu Jan  1 00:00:00 UTC 1970 bootblock starting (log level: 7)...
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HBI partition has ECC
HBI is in 0x00426200 through 0x0175f037
FMAP: Found "FLASH" version 1.1 at 0x20000.
FMAP: base = 0x0 size = 0x200000 #areas = 4
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
CBFS: mcache @0xf8231000 built for 10 files, used 0x1f0 of 0x2000 bytes
CBFS: Found 'fallback/romstage' @0x80 size 0x13a25 in mcache @0xf823102c
TCPA: Clearing coreboot TCPA log
FMAP: area FMAP found @ 20000 (512 bytes)
TPM: Digest of FMAP: FMAP to PCR 2 logged
FMAP: area BOOTBLOCK found @ 0 (131072 bytes)
TPM: Digest of FMAP: BOOTBLOCK to PCR 2 logged
CRTM initialized.
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Digest of FMAP: COREBOOT CBFS: fallback/romstage to PCR 2 logged
BS: bootblock times (exec / console): total (unknown) / 4 ms


coreboot--TIMELESS--LESSTIME--Heads-v0.2.0-1299-g9fc1f1c Thu Jan  1 00:00:00 UTC 1970 romstage starting (log level: 7)...
IPMI: romstage PNP BT 0xe4
Get BMC self test result...Function Not Implemented
Initializing IPMI BMC watchdog timer
IPMI BMC watchdog initialized and started.
Initializing FSI...
Initialized FSI (chips mask: 0x01)
Building MVPDs...
starting istep 8.1
starting istep 8.2
starting istep 8.3
starting istep 8.4
starting istep 8.9
Base epsilon values read from table:
 R_T[0] = 22
 R_T[1] = 22
 R_T[2] = 103
 W_T[0] = 5
 W_T[1] = 33
Scaled epsilon values based on +20 percent guardband:
 R_T[0] = 27
 R_T[1] = 27
 R_T[2] = 124
 W_T[0] = 6
 W_T[1] = 40
starting istep 8.10
starting istep 8.11
starting istep 9.2
starting istep 9.4
starting istep 9.6
starting istep 9.7
starting istep 10.1
starting istep 10.6
starting istep 10.10
starting istep 10.12
starting istep 10.13
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
MEMD partition has ECC
MEMD is in 0x03cef200 through 0x03cfb917
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address 51
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address 52
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address 53
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D4
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D5
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D6
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D7
SPD @ 0x50
SPD: module type is DDR4
SPD: module part number is M393A1K43BB0-CRC    
SPD: banks 16, ranks 1, rows 16, columns 10, density 8192 Mb
SPD: device width 8 bits, bus width 64 bits
SPD: module size is 8192 MB (per channel)
starting istep 13.1
starting istep 13.2
starting istep 13.3
starting istep 13.4
starting istep 13.5
starting istep 13.6
starting istep 13.7
starting istep 13.8
starting istep 13.9
starting istep 13.10
CCS took 2 us (3 us timeout), 1 instruction(s)
CCS took 2 us (2 us timeout), 14 instruction(s)
RCD dump for I2C address 0x58:
0xf820fa30: 80 b3 40 42 30 00 00 00 02 01 00 03 cb e3 c0 0d  ..@B0...........
0xf820fa40: 00 00 39 00 00 00 00 00 00 00 07 00 00 00 00 00  ..9.............
starting istep 13.11
CCS took 2 us (7 us timeout), 2 instruction(s)
Write Leveling starting
CCS took 12 us (92 us timeout), 5 instruction(s)
Write Leveling done
Initial Pattern Write starting
CCS took 5 us (38 us timeout), 5 instruction(s)
Initial Pattern Write done
DQS alignment starting
CCS took 10 us (44 us timeout), 1 instruction(s)
DQS alignment done
Read Clock Alignment starting
CCS took 8 us (82 us timeout), 1 instruction(s)
Read Clock Alignment done
Read Centering starting
CCS took 36 us (120 us timeout), 1 instruction(s)
Read Centering done
Write Centering starting
CCS took 8430 us (11314 us timeout), 7 instruction(s)
Write Centering done
Coarse write/read starting
CCS took 5 us (24 us timeout), 1 instruction(s)
Coarse write/read done
starting istep 13.12
starting istep 13.13
starting istep 14.1
starting istep 14.2
starting istep 14.3
Initializing PEC0...
Initializing PEC1...
Initializing PEC2...
Initializing PHB0...
Initializing PHB1...
Initializing PHB2...
Initializing PHB3...
Initializing PHB4...
Initializing PHB5...
starting istep 14.4
starting istep 14.5
0xF000F = 221d104900008040
CBMEM:
IMD: root @ 0xffeff000 254 entries.
IMD: root @ 0xffefec00 62 entries.
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HBI partition has ECC
HBI is in 0x00426200 through 0x0175f037
CBFS: Found 'fallback/ramstage' @0x13b00 size 0xe9d1 in mcache @0xf8231080
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Digest of FMAP: COREBOOT CBFS: fallback/ramstage to PCR 2 logged
BS: romstage times (exec / console): total (unknown) / 17 ms


coreboot--TIMELESS--LESSTIME--Heads-v0.2.0-1299-g9fc1f1c Thu Jan  1 00:00:00 UTC 1970 ramstage starting (log level: 7)...
Enumerating buses...
Root Device scanning...
DD21, boot core: 18
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HCODE partition has ECC
HCODE is in 0x01a82200 through 0x01b821ff
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
OCC partition has ECC
OCC is in 0x03822200 through 0x039221ff
Base epsilon values read from table:
 R_T[0] = 22
 R_T[1] = 22
 R_T[2] = 103
 W_T[0] = 5
 W_T[1] = 33
Scaled epsilon values based on +20 percent guardband:
 R_T[0] = 27
 R_T[1] = 27
 R_T[2] = 124
 W_T[0] = 6
 W_T[1] = 40
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
WOFDATA partition has ECC
WOFDATA is in 0x039ea200 through 0x03c94ca7
Matching WOF tables section not found, disabling WOF
Safe mode freq = 1833412 kHZ, voltage = 711 mv
starting istep 15.2
starting istep 15.3
starting istep 15.4
Starting PM complex...
Attempting PGPE activation...
PGPE was activated successfully
Done starting PM complex
Activating OCC...
Done activating OCC
starting istep 16.1
XIVE configured, entering dead man loop
ASSERTION ERROR: file '(filenames not available on timeless builds)', line 404
starting istep 18.11
starting istep 18.12
CPU_CLUSTER: 0 enabled
PNP: 00e4.0 enabled
scan_bus: bus Root Device finished in 3028 msecs
done
BS: BS_DEV_ENUMERATE run times (exec / console): 3023 / 6 ms
Allocating resources...
Reading resources...
CPU_CLUSTER: 0 missing read_resources
Done reading resources.
CPU_CLUSTER: 0 missing set_resources
PNP: 00e4.0 00 <- [0x00000000e4 - 0x00000000e6] size 0x00000003 gran 0x00 io
Done setting resources.
Done allocating resources.
BS: BS_DEV_RESOURCES run times (exec / console): 0 / 1 ms
Enabling resources...
done.
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)

Cutting here since otherwise, buffer is bigger then 64kb which is limit of Qubes clipboard.
Resuming from last error:

I2C transfer failed to complete (0x04011f0104000000)
tpm_vendor_probe: ValidSts bit clear(0) in TPM_ACCESS register after 1000 ms
TPM: Can't initialize.
BS: BS_DEV_INIT entry times (exec / console): 269 / 733 ms
Initializing devices...
PNP: 00e4.0 init
IPMI: PNP BT 0xe4
Get BMC self test result...Function Not Implemented
IPMI: Found man_id 0x6cb0000, prod_id 0x1000000
IPMI: Version 2.0
PNP: 00e4.0 init finished in 171 msecs
Devices initialized
BS: BS_DEV_INIT run times (exec / console): 171 / 1 ms
Finalize devices...
Devices finalized
Writing coreboot table at 0xffed7000
 0. 0000000000000000-00000000f8207fff: RAM
 1. 00000000f8208000-00000000f820ffff: RAMSTAGE
 2. 00000000f8210000-00000000f8ffffff: RAM
 3. 00000000f9000000-00000000f92a0fff: RAMSTAGE
 4. 00000000f92a1000-00000000ffed6fff: RAM
 5. 00000000ffed7000-00000000ffefffff: CONFIGURATION TABLES
 6. 00000000fff00000-00000001ff3fffff: RAM
 7. 00000001ff400000-00000001ffffffff: RESERVED
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HBI partition has ECC
HBI is in 0x00426200 through 0x0175f037
Wrote coreboot table at: 0xffed7000, 0x25c bytes, checksum 60d4
coreboot table: 628 bytes.
IMD ROOT    0. 0xffeff000 0x00001000
IMD SMALL   1. 0xffefe000 0x00001000
CONSOLE     2. 0xffede000 0x00020000
TCPASPECLOG 3. 0xffedc000 0x00001179
MEM INFO    4. 0xffed9000 0x000022b0
COREBOOT    5. 0xffed7000 0x00002000
IMD small region:
  IMD ROOT    0. 0xffefec00 0x00000400
  RO MCACHE   1. 0xffefea00 0x000001f0
  FMAP        2. 0xffefe920 0x000000e0
  TCPA LOGREF 3. 0xffefe900 0x00000010
BS: BS_WRITE_TABLES run times (exec / console): 0 / 6 ms
CBFS: Found 'fallback/payload' @0x28ac0 size 0x632f9 in mcache @0xffefeb84
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Digest of FMAP: COREBOOT CBFS: fallback/payload to PCR 2 logged
Checking segment from ROM address 0xf8380000
Checking segment from ROM address 0xf838001c
Checking segment from ROM address 0xf8380038
Loading segment from ROM address 0xf8380000
  code (compression=1)
  New segment dstaddr 0x00000000 memsize 0x173c00 srcaddr 0xf8380054 filesize 0x632a5
Loading Segment: addr: 0x00000000 memsz: 0x0000000000173c00 filesz: 0x00000000000632a5
using LZMA
Loading segment from ROM address 0xf838001c
  BSS 0x00300000 (113776 byte)
Loading Segment: addr: 0x00300000 memsz: 0x000000000001bc70 filesz: 0x0000000000000000
it's not compressed!
Clearing Segment: addr: 0x0000000000300000 memsz: 0x000000000001bc70
Loading segment from ROM address 0xf8380038
  Entry Point 0x00002570
BS: BS_PAYLOAD_LOAD run times (exec / console): 554 / 5 ms
coreboot TCPA measurements:

 PCR-2 f78a530fb5a70afcffdc86a98529abd24a90bac9 SHA1 [FMAP: FMAP]
 PCR-2 98604aa1b2add7d0083bfdd8c928543d3bc72460 SHA1 [FMAP: BOOTBLOCK]
 PCR-2 58e302820cc9b7b2182d426acb4b7dc826c83f6a SHA1 [FMAP: COREBOOT CBFS: fallback/romstage]
 PCR-2 076f93c6b07ae89e94487c4cccf4b76a97bd12c4 SHA1 [FMAP: COREBOOT CBFS: fallback/ramstage]
 PCR-2 5033246432f7ab358f45788c2cc971b1adf04591 SHA1 [FMAP: COREBOOT CBFS: fallback/payload]

BS: BS_PAYLOAD_BOOT entry times (exec / console): 0 / 2 ms
Jumping to boot code at 0x00002570(0xffed7000)
CBFS: Found '1-cpu.dtb' @0x22a00 size 0x24e7 in mcache @0xffefeb3c
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Digest of FMAP: COREBOOT CBFS: 1-cpu.dtb to PCR 2 logged
[   13.070836329,5] OPAL v6.3-rc2-32-gfa060c2c starting...
[   13.070839855,7] initial console log level: memory 7, driver 5
[   13.070841952,6] CPU: P9 generation processor (max 4 threads/core)
[   13.070843709,7] CPU: Boot CPU PIR is 0x0048 PVR is 0x004e1201
[   13.070846218,7] OPAL table: 0x30108230 .. 0x30108810, branch table: 0x30002000
[   13.070849244,7] Assigning physical memory map table for nimbus
[   13.070851652,7] FDT: Parsing fdt @0xf90aa408
[   13.071560950,6] CHIP: Initialised chip 0 from xscom@603fc00000000
[   13.071585041,6] P9 DD2.10 detected
[   13.071586613,5] CHIP: Chip ID 0000 type: P9N DD2.10
[   13.071588642,7] XSCOM: Base address: 0x603fc00000000
[   13.071597420,7] XSTOP: XSCOM addr = 0x5012000, FIR bit = 31
[   13.071599547,6] MFSI 0:0: Initialized
[   13.071600952,6] MFSI 0:2: Initialized
[   13.071602313,6] MFSI 0:1: Initialized
[   13.071656389,6] LPC: LPC[000]: Initialized
[   13.071657789,7] LPC: access via MMIO @0x6030000000000
[   13.071670535,7] LPC: Default bus on chip 0x0
[   13.071677417,7] CPU: New max PIR set to 0x57
[   13.071708128,6] MEM: parsing reserved memory from node /reserved-memory
[   13.071712347,7] HOMER: Init chip 0
[   13.071714596,7]   PBA BAR0 : 0x00000001ff400000
[   13.071716304,7]   PBA MASK0: 0x0000000000300000
[   13.071717977,7]   HOMER Image at 0x1ff400000 size 4MB
[   13.071720946,7]   PBA BAR2 : 0x00000001ff800000
[   13.071722610,7]   PBA MASK2: 0x0000000000700000
[   13.071724225,7]   OCC Common Area at 0x1ff800000 size 8MB
[   13.071726601,7] CPU: decrementer bits 56
[   13.071731226,6] CPU: CPU from DT PIR=0x0048 Server#=0x48 State=3
[   13.071736615,6] CPU:  4 secondary threads
[   13.071739653,6] CPU: CPU from DT PIR=0x004c Server#=0x4c State=3
[   13.071745240,6] CPU:  4 secondary threads
[   13.071748308,6] CPU: CPU from DT PIR=0x0050 Server#=0x50 State=3
[   13.071753770,6] CPU:  4 secondary threads
[   13.071756725,6] CPU: CPU from DT PIR=0x0054 Server#=0x54 State=3
[   13.071762137,6] CPU:  4 secondary threads
[   13.071810251,6] PLAT: AST SIO unavailable!
[   13.071822808,7] UART: Using LPC IRQ 4
[   13.073882736,5] PLAT: Detected Talos platform
[   13.073924228,5] PLAT: Detected BMC platform ast2500:openbmc
[   13.088966457,5] CPU: All 16 processors called in...
[   13.181865348,7] LPC: Routing irq 10, policy: 0 (r=1)
[   13.181866436,7] LPC: SerIRQ 10 using route 0 targetted at OPAL
[   14.187180290,5] HIOMAP: Negotiated hiomap protocol v2
[   14.187239690,5] HIOMAP: Block size is 4KiB
[   14.187274890,5] HIOMAP: BMC suggested flash timeout of 8s
[   14.187321550,5] HIOMAP: Flash size is 64MiB
[   14.187360732,5] HIOMAP: Erase granule size is 4KiB
[   17.402099959,5] FLASH: Found system flash: (unnamed) id:0
[   18.192929402,3] STB: hw-key-hash not found
[   18.192976013,3] STB: hw_key-hash wrong size 0 (expected=64)
[   18.193058386,7] LPC: Routing irq 4, policy: 0 (r=1)
[   18.193059448,7] LPC: SerIRQ 4 using route 1 targetted at OPAL
[   18.193189115,5] OCC: All Chip Rdy after 0 ms
[   18.502420914,3] STB: VERSION NOT VERIFIED, invalid param. buf=0x306010e0, len=4326 key-hash=0x0 hash-size=64
[   18.502529171,5] STB: VERSION hash calculated
[   18.502557332,3] STB: VERSION (pcr3) NOT MEASURED. No TPM registered/enabled
[   20.108288151,3] STB: IMA_CATALOG NOT VERIFIED, invalid param. buf=0x30603170, len=73728 key-hash=0x0 hash-size=64
[   20.108596437,5] STB: IMA_CATALOG hash calculated
[   20.108663527,3] STB: IMA_CATALOG (pcr2) NOT MEASURED. No TPM registered/enabled
[   20.299760301,3] CAPP: Error loading ucode lid. index=201d1
[   20.313941356,5] PCI: Resetting PHBs and training links...
[   21.334522202,5] PCI: Probing slots...
[   21.391041518,3] PCI: PHB  (80000) not found
[   21.391090046,3] PCI: PHB  (80001) not found
[   21.391120587,3] PCI: PHB  (80003) not found
[   21.391158423,5] PCI Summary:
[   21.391187188,5] PHB#0000:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU1 Slot2 (16x) 
[   21.391259545,5] PHB#0001:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU1 Slot1 (8x) 
[   21.391372504,5] PHB#0002:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=Builtin SAS 
[   21.391435158,5] PHB#0003:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin USB 
[   21.391511186,5] PHB#0003:01:00.0 [EP  ] 104c 8241 R:02 C:0c0330 (      usb-xhci) LOC_CODE=Builtin USB
[   21.391594647,5] PHB#0004:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin Ethernet 
[   21.391666090,5] PHB#0004:01:00.0 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[   21.391743699,5] PHB#0004:01:00.1 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[   21.391820309,5] PHB#0005:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..02 SLOT=BMC 
[   21.391876807,5] PHB#0005:01:00.0 [ETOX] 1a03 1150 R:04 C:060400 B:02..02 LOC_CODE=BMC
[   21.391947800,5] PHB#0005:02:00.0 [PCID] 1a03 2000 R:41 C:030000 (           vga) LOC_CODE=BMC
[   21.392026369,4] WARNING! Skiboot version does not match VERSION partition!
[   21.395775593,5] IPMI: Resetting boot count on successful boot
[   21.395833390,5] INIT: Waiting for kernel...
[   26.076905246,3] STB: BOOTKERNEL NOT VERIFIED, invalid param. buf=0x20000000, len=12296536 key-hash=0x0 hash-size=64
[   26.113638759,5] STB: BOOTKERNEL hash calculated
[   26.113698780,3] STB: BOOTKERNEL (pcr4) NOT MEASURED. No TPM registered/enabled
[   26.114524428,5] INIT: 64-bit LE kernel discovered
[   26.327174610,3] STB: EV_SEPARATOR (pcr0) NOT MEASURED. No TPM registered/enabled
[   26.327250347,3] STB: EV_SEPARATOR (pcr1) NOT MEASURED. No TPM registered/enabled
[   26.327312620,3] STB: EV_SEPARATOR (pcr2) NOT MEASURED. No TPM registered/enabled
[   26.327374455,3] STB: EV_SEPARATOR (pcr3) NOT MEASURED. No TPM registered/enabled
[   26.327426920,3] STB: EV_SEPARATOR (pcr4) NOT MEASURED. No TPM registered/enabled
[   26.327490648,3] STB: EV_SEPARATOR (pcr5) NOT MEASURED. No TPM registered/enabled
[   26.327543437,3] STB: EV_SEPARATOR (pcr6) NOT MEASURED. No TPM registered/enabled
[   26.327609398,3] STB: EV_SEPARATOR (pcr7) NOT MEASURED. No TPM registered/enabled
[   26.344079960,5] INIT: Starting kernel at 0x20010000, fdt at 0x306e0b08 128763 bytes

zImage starting: loaded at 0x0000000020010000 (sp: 0x0000000020bb8ee0)
Allocating 0x27d3e80 bytes for kernel...
Decompressing (0x0000000000000000 <- 0x0000000020024000:0x0000000020bb64ec)...
Done! Decompressed 0x25d98e0 bytes

Linux/PowerPC load: 
Finalizing device tree... flat tree at 0x20bb9ce0
[   27.275535496,3] LPC[000]: Got SYNC no-response error. Error address reg: 0xd0010080
[   27.275548176,6] IPMI: dropping non severe PEL event
[   27.275590654,7] UART: IRQ functional !
[    4.540773] mm/pgtable-generic.c:50: bad pmd c00600c2800001be.
[    4.540775] mm/pgtable-generic.c:50: bad pmd c00600c2802001be.
[    4.540777] mm/pgtable-generic.c:50: bad pmd c00600c2804001be.
[    4.861747] kAFS: failed to register: -97
gpg: WARNING: nothing exported
[    8.741871] usbhid 1-1.1:1.1: couldn't find an input interrupt endpoint

***** Normal boot: /bin/gui-init
~ # cbmem -L
TPM2 log:
	Specification: 2.00
	Platform class: PC Client
	No vendor information provided
TPM2 log entry 1:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: f78a530fb5a70afcffdc86a98529abd24a90bac9
	Event data: FMAP: FMAP
TPM2 log entry 2:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 98604aa1b2add7d0083bfdd8c928543d3bc72460
	Event data: FMAP: BOOTBLOCK
TPM2 log entry 3:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 58e302820cc9b7b2182d426acb4b7dc826c83f6a
	Event data: FMAP: COREBOOT CBFS: fallback/romstage
TPM2 log entry 4:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 076f93c6b07ae89e94487c4cccf4b76a97bd12c4
	Event data: FMAP: COREBOOT CBFS: fallback/ramstage
TPM2 log entry 5:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 5033246432f7ab358f45788c2cc971b1adf04591
	Event data: FMAP: COREBOOT CBFS: fallback/payload
TPM2 log entry 6:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 47b49026133377e05193f8440c9a7cad239e883c
	Event data: FMAP: COREBOOT CBFS: 1-cpu.dtb
cbmem -c
vating OCC
starting istep 16.1
XIVE configured, entering dead man loop
ASSERTION ERROR: file '(filenames not available on timeless builds)', line 404
starting istep 18.11
starting istep 18.12
CPU_CLUSTER: 0 enabled
PNP: 00e4.0 enabled
scan_bus: bus Root Device finished in 3028 msecs
done
BS: BS_DEV_ENUMERATE run times (exec / console): 3023 / 6 ms
Allocating resources...
Reading resources...
CPU_CLUSTER: 0 missing read_resources
Done reading resources.
CPU_CLUSTER: 0 missing set_resources
PNP: 00e4.0 00 <- [0x00000000e4 - 0x00000000e6] size 0x00000003 gran 0x00 io
Done setting resources.
Done allocating resources.
BS: BS_DEV_RESOURCES run times (exec / console): 0 / 1 ms
Enabling resources...
done.
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)

cut.... resume on last:

I2C transfer failed to complete (0x04011f0104000000)
tpm_vendor_probe: ValidSts bit clear(0) in TPM_ACCESS register after 1000 ms
TPM: Can't initialize.
BS: BS_DEV_INIT entry times (exec / console): 269 / 733 ms
Initializing devices...
PNP: 00e4.0 init
IPMI: PNP BT 0xe4
Get BMC self test result...Function Not Implemented
IPMI: Found man_id 0x6cb0000, prod_id 0x1000000
IPMI: Version 2.0
PNP: 00e4.0 init finished in 171 msecs
Devices initialized
BS: BS_DEV_INIT run times (exec / console): 171 / 1 ms
Finalize devices...
Devices finalized
Writing coreboot table at 0xffed7000
 0. 0000000000000000-00000000f8207fff: RAM
 1. 00000000f8208000-00000000f820ffff: RAMSTAGE
 2. 00000000f8210000-00000000f8ffffff: RAM
 3. 00000000f9000000-00000000f92a0fff: RAMSTAGE
 4. 00000000f92a1000-00000000ffed6fff: RAM
 5. 00000000ffed7000-00000000ffefffff: CONFIGURATION TABLES
 6. 00000000fff00000-00000001ff3fffff: RAM
 7. 00000001ff400000-00000001ffffffff: RESERVED
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HBI partition has ECC
HBI is in 0x00426200 through 0x0175f037
Wrote coreboot table at: 0xffed7000, 0x25c bytes, checksum 60d4
coreboot table: 628 bytes.
IMD ROOT    0. 0xffeff000 0x00001000
IMD SMALL   1. 0xffefe000 0x00001000
CONSOLE     2. 0xffede000 0x00020000
TCPASPECLOG 3. 0xffedc000 0x00001179
MEM INFO    4. 0xffed9000 0x000022b0
COREBOOT    5. 0xffed7000 0x00002000
IMD small region:
  IMD ROOT    0. 0xffefec00 0x00000400
  RO MCACHE   1. 0xffefea00 0x000001f0
  FMAP        2. 0xffefe920 0x000000e0
  TCPA LOGREF 3. 0xffefe900 0x00000010
BS: BS_WRITE_TABLES run times (exec / console): 0 / 6 ms
CBFS: Found 'fallback/payload' @0x28ac0 size 0x632f9 in mcache @0xffefeb84
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Digest of FMAP: COREBOOT CBFS: fallback/payload to PCR 2 logged
Checking segment from ROM address 0xf8380000
Checking segment from ROM address 0xf838001c
Checking segment from ROM address 0xf8380038
Loading segment from ROM address 0xf8380000
  code (compression=1)
  New segment dstaddr 0x00000000 memsize 0x173c00 srcaddr 0xf8380054 filesize 0x632a5
Loading Segment: addr: 0x00000000 memsz: 0x0000000000173c00 filesz: 0x00000000000632a5
using LZMA
Loading segment from ROM address 0xf838001c
  BSS 0x00300000 (113776 byte)
Loading Segment: addr: 0x00300000 memsz: 0x000000000001bc70 filesz: 0x0000000000000000
it's not compressed!
Clearing Segment: addr: 0x0000000000300000 memsz: 0x000000000001bc70
Loading segment from ROM address 0xf8380038
  Entry Point 0x00002570
BS: BS_PAYLOAD_LOAD run times (exec / console): 554 / 5 ms
coreboot TCPA measurements:

 PCR-2 f78a530fb5a70afcffdc86a98529abd24a90bac9 SHA1 [FMAP: FMAP]
 PCR-2 98604aa1b2add7d0083bfdd8c928543d3bc72460 SHA1 [FMAP: BOOTBLOCK]
 PCR-2 58e302820cc9b7b2182d426acb4b7dc826c83f6a SHA1 [FMAP: COREBOOT CBFS: fallback/romstage]
 PCR-2 076f93c6b07ae89e94487c4cccf4b76a97bd12c4 SHA1 [FMAP: COREBOOT CBFS: fallback/ramstage]
 PCR-2 5033246432f7ab358f45788c2cc971b1adf04591 SHA1 [FMAP: COREBOOT CBFS: fallback/payload]

BS: BS_PAYLOAD_BOOT entry times (exec / console): 0 / 2 ms
Jumping to boot code at 0x00002570(0xffed7000)
CBFS: Found '1-cpu.dtb' @0x22a00 size 0x24e7 in mcache @0xffefeb3c
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Digest of FMAP: COREBOOT CBFS: 1-cpu.dtb to PCR 2 logged

# dmesg
[    0.000000] dt-cpu-ftrs: setup for ISA 3000
[    0.000000] dt-cpu-ftrs: not enabling: system-call-vectored (disabled or unsupported by kernel)
[    0.000000] dt-cpu-ftrs: final cpu/mmu features = 0x0001c86f8f5fb1a7 0x3c006041
[    0.000000] radix-mmu: Page sizes from device-tree:
[    0.000000] radix-mmu: Page size shift = 12 AP=0x0
[    0.000000] radix-mmu: Page size shift = 16 AP=0x5
[    0.000000] radix-mmu: Page size shift = 21 AP=0x1
[    0.000000] radix-mmu: Page size shift = 30 AP=0x2
[    0.000000] radix-mmu: Activating Kernel Userspace Execution Prevention
[    0.000000] radix-mmu: Activating Kernel Userspace Access Prevention
[    0.000000] radix-mmu: Mapped 0x0000000000000000-0x0000000002600000 with 2.00 MiB pages (exec)
[    0.000000] radix-mmu: Mapped 0x0000000002600000-0x0000000040000000 with 2.00 MiB pages
[    0.000000] radix-mmu: Mapped 0x0000000040000000-0x00000000c0000000 with 1.00 GiB pages
[    0.000000] radix-mmu: Mapped 0x00000000c0000000-0x00000000ffe00000 with 2.00 MiB pages
[    0.000000] radix-mmu: Mapped 0x00000000fff00000-0x0000000100000000 with 64.0 KiB pages
[    0.000000] radix-mmu: Mapped 0x0000000100000000-0x00000001c0000000 with 1.00 GiB pages
[    0.000000] radix-mmu: Mapped 0x00000001c0000000-0x00000001ff400000 with 2.00 MiB pages
[    0.000000] radix-mmu: Initializing Radix MMU
[    0.000000] Linux version 5.5.0-openpower1 (linux-talos-2_server.config@linuxboot) (gcc version 8.3.0 (GCC)) #0 SMP 1970-00-00
[    0.000000] OPAL: Found memory mapped LPC bus on chip 0
[    0.000000] ISA: Non-PCI bridge is /lpcm-opb@6030000000000/lpc@0
[    0.000000] Using PowerNV machine description
[    0.000000] printk: bootconsole [udbg0] enabled
[    0.000000] CPU maps initialized for 4 threads per core
[    0.000000]  (thread shift is 2)
[    0.000000] Allocated 3072 bytes for 16 pacas
[    0.000000] -----------------------------------------------------
[    0.000000] phys_mem_size     = 0x1ff300000
[    0.000000] dcache_bsize      = 0x80
[    0.000000] icache_bsize      = 0x80
[    0.000000] cpu_features      = 0x0001c86f8f5fb1a7
[    0.000000]   possible        = 0x0001fbefcf5fb1a7
[    0.000000]   always          = 0x00000003800081a1
[    0.000000] cpu_user_features = 0xdc0065c2 0xaee00000
[    0.000000] mmu_features      = 0xbc006041
[    0.000000] firmware_features = 0x0000000010000000
[    0.000000] vmalloc start     = 0xc008000000000000
[    0.000000] IO start          = 0xc00a000000000000
[    0.000000] vmemmap start     = 0xc00c000000000000
[    0.000000] -----------------------------------------------------
[    0.000000] numa:   NODE_DATA [mem 0x1ff1ef280-0x1ff1f3fff]
[    0.000000] rfi-flush: fallback displacement flush available
[    0.000000] rfi-flush: patched 5 locations (fallback displacement flush)
[    0.000000] link-stack-flush: software flush disabled.
[    0.000000] count-cache-flush: software flush disabled.
[    0.000000] stf-barrier: eieio barrier available
[    0.000000] stf-barrier: patched 57 entry locations (eieio barrier)
[    0.000000] stf-barrier: patched 5 exit locations (eieio barrier)
[    0.000000] Initializing IODA2 PHB (/pciex@600c3c0000000)
[    0.000000] PCI host bridge /pciex@600c3c0000000 (primary) ranges:
[    0.000000]  MEM 0x000600c000000000..0x000600c07ffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006000000000000..0x0006003fffffffff -> 0x0006000000000000 (M64 #1..31)
[    0.000000]  Using M64 #31 as default window
[    0.000000]   512 (511) PE's M32: 0x80000000 [segment=0x400000]
[    0.000000]                  M64: 0x4000000000 [segment=0x20000000]
[    0.000000]   Allocated bitmap for 4088 MSIs (base IRQ 0xfe000)
[    0.000000] Initializing IODA2 PHB (/pciex@600c3c0100000)
[    0.000000] PCI host bridge /pciex@600c3c0100000  ranges:
[    0.000000]  MEM 0x000600c080000000..0x000600c0fffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006004000000000..0x0006007fffffffff -> 0x0006004000000000 (M64 #1..15)
[    0.000000]  Using M64 #15 as default window
[    0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x4000000000 [segment=0x40000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0xfd800)
[    0.000000] Initializing IODA2 PHB (/pciex@600c3c0200000)
[    0.000000] PCI host bridge /pciex@600c3c0200000  ranges:
[    0.000000]  MEM 0x000600c100000000..0x000600c17ffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006008000000000..0x000600bfffffffff -> 0x0006008000000000 (M64 #1..15)
[    0.000000]  Using M64 #15 as default window
[    0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x4000000000 [segment=0x40000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0xfd000)
[    0.000000] Initializing IODA2 PHB (/pciex@600c3c0300000)
[    0.000000] PCI host bridge /pciex@600c3c0300000  ranges:
[    0.000000]  MEM 0x000600c180000000..0x000600c1fffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006020000000000..0x0006023fffffffff -> 0x0006020000000000 (M64 #1..31)
[    0.000000]  Using M64 #31 as default window
[    0.000000]   512 (511) PE's M32: 0x80000000 [segment=0x400000]
[    0.000000]                  M64: 0x4000000000 [segment=0x20000000]
[    0.000000]   Allocated bitmap for 4088 MSIs (base IRQ 0xfc000)
[    0.000000] Initializing IODA2 PHB (/pciex@600c3c0400000)
[    0.000000] PCI host bridge /pciex@600c3c0400000  ranges:
[    0.000000]  MEM 0x000600c200000000..0x000600c27ffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006024000000000..0x0006027fffffffff -> 0x0006024000000000 (M64 #1..15)
[    0.000000]  Using M64 #15 as default window
[    0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x4000000000 [segment=0x40000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0xfb800)
[    0.000000] Initializing IODA2 PHB (/pciex@600c3c0500000)
[    0.000000] PCI host bridge /pciex@600c3c0500000  ranges:
[    0.000000]  MEM 0x000600c280000000..0x000600c2fffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006028000000000..0x000602bfffffffff -> 0x0006028000000000 (M64 #1..15)
[    0.000000]  Using M64 #15 as default window
[    0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x4000000000 [segment=0x40000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0xfb000)
[    0.000000] OPAL nvram setup, 589824 bytes
[    0.000000] barrier-nospec: using ORI speculation barrier
[    0.000000] barrier-nospec: patched 454 locations
[    0.000000] Top of RAM: 0x1ff400000, Total RAM: 0x1ff300000
[    0.000000] Memory hole size: 1MB
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x00000001ff3fffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x00000000ffdfffff]
[    0.000000]   node   0: [mem 0x00000000fff00000-0x00000001ff3fffff]
[    0.000000] Zeroed struct page in unavailable ranges: 16 pages
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ff3fffff]
[    0.000000] On node 0 totalpages: 130864
[    0.000000]   Normal zone: 112 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 130864 pages, LIFO batch:3
[    0.000000] percpu: Embedded 2 pages/cpu s76056 r0 d55016 u131072
[    0.000000] pcpu-alloc: s76056 r0 d55016 u131072 alloc=2*65536
[    0.000000] pcpu-alloc: [0] 00 [0] 01 [0] 02 [0] 03 [0] 04 [0] 05 [0] 06 [0] 07 
[    0.000000] pcpu-alloc: [0] 08 [0] 09 [0] 10 [0] 11 [0] 12 [0] 13 [0] 14 [0] 15 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130752
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: console=tty0 console=hvc0 powersave=off quiet
[    0.000000] Dentry cache hash table entries: 1048576 (order: 7, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 6, 4194304 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 8235584K/8375296K available (13760K kernel code, 1088K rwdata, 2752K rodata, 4928K init, 1999K bss, 139712K reserved, 0K cma-reserved)
[    0.000000] random: get_random_u64 called from __kmem_cache_create+0x38/0x600 with crng_init=0
[    0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=16, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=2048 to nr_cpu_ids=16.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=16
[    0.000000] NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16
[    0.000000] xive: Interrupt handling initialized with native backend
[    0.000000] xive: Using priority 7 for all interrupts
[    0.000000] xive: Using 64kB queues
[    0.000000] time_init: decrementer frequency = 512.000000 MHz
[    0.000000] time_init: processor frequency   = 18446744071914.584320 MHz
[    0.000004] time_init: 56 bit decrementer (max: 7fffffffffffff)
[    0.000007] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x761537d007, max_idle_ns: 440795202126 ns
[    0.000009] clocksource: timebase mult[1f40000] shift[24] registered
[    0.000018] clockevent: decrementer mult[83126f] shift[24] cpu[0]
[    0.000076] Console: colour dummy device 80x25
[    0.000081] printk: console [tty0] enabled
[    0.000083] printk: console [hvc0] enabled
[    0.000085] printk: bootconsole [udbg0] disabled
[    0.000121] pid_max: default: 32768 minimum: 301
[    0.000184] LSM: Security Framework initializing
[    0.000220] Mount-cache hash table entries: 16384 (order: 1, 131072 bytes, linear)
[    0.000231] Mountpoint-cache hash table entries: 16384 (order: 1, 131072 bytes, linear)
[    0.000821] EEH: PowerNV platform initialized
[    0.000826] POWER9 performance monitor hardware support registered
[    0.000857] rcu: Hierarchical SRCU implementation.
[    0.001079] smp: Bringing up secondary CPUs ...
[    0.005625] smp: Brought up 1 node, 16 CPUs
[    0.005627] numa: Node 0 CPUs: 0-15
[    0.005631] Using shared cache scheduler topology
[    0.006530] devtmpfs: initialized
[    0.013637] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013643] futex hash table entries: 4096 (order: 3, 524288 bytes, linear)
[    0.013803] xor: measuring software checksum speed
[    0.110061]    8regs     :  5248.000 MB/sec
[    0.210084]    8regs_prefetch:  4236.800 MB/sec
[    0.310118]    32regs    :  5344.000 MB/sec
[    0.410138]    32regs_prefetch:  4160.000 MB/sec
[    0.510173]    altivec   :  6956.800 MB/sec
[    0.510175] xor: using function: altivec (6956.800 MB/sec)
[    0.510279] NET: Registered protocol family 16
[    0.510645] cpuidle: using governor menu
[    0.515158] PCI: Probing PCI hardware
[    0.515196] PCI host bridge to bus 0000:00
[    0.515202] pci_bus 0000:00: root bus resource [mem 0x600c000000000-0x600c07ffeffff] (bus address [0x80000000-0xfffeffff])
[    0.515206] pci_bus 0000:00: root bus resource [mem 0x6000000000000-0x6003fbfffffff 64bit pref]
[    0.515209] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.515213] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to ff
[    0.515248] pci 0000:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.515471] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
[    0.521447] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.521488] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to ff
[    0.521519] PCI host bridge to bus 0001:00
[    0.521523] pci_bus 0001:00: root bus resource [mem 0x600c080000000-0x600c0fffeffff] (bus address [0x80000000-0xfffeffff])
[    0.521526] pci_bus 0001:00: root bus resource [mem 0x6004000000000-0x6007f7fffffff 64bit pref]
[    0.521529] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.521532] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to ff
[    0.521559] pci 0001:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.521773] pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
[    0.527719] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.527757] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to ff
[    0.527788] PCI host bridge to bus 0002:00
[    0.527792] pci_bus 0002:00: root bus resource [mem 0x600c100000000-0x600c17ffeffff] (bus address [0x80000000-0xfffeffff])
[    0.527795] pci_bus 0002:00: root bus resource [mem 0x6008000000000-0x600bf7fffffff 64bit pref]
[    0.527797] pci_bus 0002:00: root bus resource [bus 00-ff]
[    0.527801] pci_bus 0002:00: busn_res: [bus 00-ff] end is updated to ff
[    0.527827] pci 0002:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.528041] pci 0002:00:00.0: PME# supported from D0 D3hot D3cold
[    0.533984] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[    0.534023] pci_bus 0002:00: busn_res: [bus 00-ff] end is updated to ff
[    0.534054] PCI host bridge to bus 0003:00
[    0.534058] pci_bus 0003:00: root bus resource [mem 0x600c180000000-0x600c1fffeffff] (bus address [0x80000000-0xfffeffff])
[    0.534061] pci_bus 0003:00: root bus resource [mem 0x6020000000000-0x6023fbfffffff 64bit pref]
[    0.534063] pci_bus 0003:00: root bus resource [bus 00-ff]
[    0.534066] pci_bus 0003:00: busn_res: [bus 00-ff] end is updated to ff
[    0.534092] pci 0003:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.534305] pci 0003:00:00.0: PME# supported from D0 D3hot D3cold
[    0.537389] pci 0003:01:00.0: [104c:8241] type 00 class 0x0c0330
[    0.537446] pci 0003:01:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    0.537472] pci 0003:01:00.0: reg 0x18: [mem 0x00000000-0x00001fff 64bit]
[    0.537541] pci 0003:01:00.0: BAR2 [mem size 0x00002000 64bit]: requesting alignment to 0x10000
[    0.537662] pci 0003:01:00.0: supports D1 D2
[    0.537665] pci 0003:01:00.0: PME# supported from D0 D1 D2 D3hot
[    0.540710] pci 0003:00:00.0: PCI bridge to [bus 01]
[    0.540787] pci_bus 0003:00: busn_res: [bus 00-ff] end is updated to 01
[    0.540818] PCI host bridge to bus 0004:00
[    0.540822] pci_bus 0004:00: root bus resource [mem 0x600c200000000-0x600c27ffeffff] (bus address [0x80000000-0xfffeffff])
[    0.540825] pci_bus 0004:00: root bus resource [mem 0x6024000000000-0x6027f7fffffff 64bit pref]
[    0.540828] pci_bus 0004:00: root bus resource [bus 00-ff]
[    0.540830] pci_bus 0004:00: busn_res: [bus 00-ff] end is updated to ff
[    0.540857] pci 0004:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.541069] pci 0004:00:00.0: PME# supported from D0 D3hot D3cold
[    0.544172] pci 0004:01:00.0: [14e4:1657] type 00 class 0x020000
[    0.544239] pci 0004:01:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.544264] pci 0004:01:00.0: reg 0x18: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.544290] pci 0004:01:00.0: reg 0x20: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.544306] pci 0004:01:00.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.544336] pci 0004:01:00.0: BAR6 [mem size 0x00000800 pref]: requesting alignment to 0x10000
[    0.544521] pci 0004:01:00.0: PME# supported from D0 D3hot D3cold
[    0.544658] pci 0004:01:00.1: [14e4:1657] type 00 class 0x020000
[    0.544724] pci 0004:01:00.1: reg 0x10: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.544750] pci 0004:01:00.1: reg 0x18: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.544775] pci 0004:01:00.1: reg 0x20: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.544791] pci 0004:01:00.1: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.544822] pci 0004:01:00.1: BAR6 [mem size 0x00000800 pref]: requesting alignment to 0x10000
[    0.545007] pci 0004:01:00.1: PME# supported from D0 D3hot D3cold
[    0.548022] pci 0004:00:00.0: PCI bridge to [bus 01]
[    0.548116] pci_bus 0004:00: busn_res: [bus 00-ff] end is updated to 01
[    0.548146] PCI host bridge to bus 0005:00
[    0.548150] pci_bus 0005:00: root bus resource [mem 0x600c280000000-0x600c2fffeffff] (bus address [0x80000000-0xfffeffff])
[    0.548153] pci_bus 0005:00: root bus resource [mem 0x6028000000000-0x602bf7fffffff 64bit pref]
[    0.548156] pci_bus 0005:00: root bus resource [bus 00-ff]
[    0.548159] pci_bus 0005:00: busn_res: [bus 00-ff] end is updated to ff
[    0.548185] pci 0005:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.548396] pci 0005:00:00.0: PME# supported from D0 D3hot D3cold
[    0.551480] pci 0005:01:00.0: [1a03:1150] type 01 class 0x060400
[    0.551611] pci 0005:01:00.0: enabling Extended Tags
[    0.551763] pci 0005:01:00.0: supports D1 D2
[    0.551766] pci 0005:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.554799] pci 0005:00:00.0: PCI bridge to [bus 01-02]
[    0.554928] pci_bus 0005:02: extended config space not accessible
[    0.554978] pci 0005:02:00.0: [1a03:2000] type 00 class 0x030000
[    0.555012] pci 0005:02:00.0: reg 0x10: [mem 0x00000000-0x00ffffff]
[    0.555028] pci 0005:02:00.0: reg 0x14: [mem 0x00000000-0x0001ffff]
[    0.555044] pci 0005:02:00.0: reg 0x18: [io  0x0000-0x007f]
[    0.555189] pci 0005:02:00.0: supports D1 D2
[    0.555192] pci 0005:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.558175] pci 0005:01:00.0: PCI bridge to [bus 02]
[    0.558240] pci_bus 0005:00: busn_res: [bus 00-ff] end is updated to 02
[    0.558256] pci 0000:00     : [PE# 1fe] Secondary bus 0x0000000000000000 associated with PE#1fe
[    0.558496] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.558518] pci_bus 0000:00: resource 4 [mem 0x600c000000000-0x600c07ffeffff]
[    0.558521] pci_bus 0000:00: resource 5 [mem 0x6000000000000-0x6003fbfffffff 64bit pref]
[    0.558525] pci 0001:00     : [PE# fe] Secondary bus 0x0000000000000000 associated with PE#fe
[    0.558763] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.558784] pci_bus 0001:00: resource 4 [mem 0x600c080000000-0x600c0fffeffff]
[    0.558787] pci_bus 0001:00: resource 5 [mem 0x6004000000000-0x6007f7fffffff 64bit pref]
[    0.558791] pci 0002:00     : [PE# fe] Secondary bus 0x0000000000000000 associated with PE#fe
[    0.559027] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[    0.559048] pci_bus 0002:00: resource 4 [mem 0x600c100000000-0x600c17ffeffff]
[    0.559051] pci_bus 0002:00: resource 5 [mem 0x6008000000000-0x600bf7fffffff 64bit pref]
[    0.559059] pci 0003:00:00.0: BAR 8: assigned [mem 0x600c180000000-0x600c1803fffff]
[    0.559064] pci 0003:01:00.0: BAR 0: assigned [mem 0x600c180000000-0x600c18000ffff 64bit]
[    0.559085] pci 0003:01:00.0: BAR 2: assigned [mem 0x600c180010000-0x600c180011fff 64bit]
[    0.559106] pci 0003:00     : [PE# 1fe] Secondary bus 0x0000000000000000 associated with PE#1fe
[    0.559347] pci 0003:01     : [PE# 1fd] Secondary bus 0x0000000000000001 associated with PE#1fd
[    0.559588] pci 0003:01     : [PE# 1fd] Setting up 32-bit TCE table at 0..80000000
[    0.560594] IOMMU table initialized, virtual merging enabled
[    0.560598] pci 0003:01     : [PE# 1fd] Setting up window#0 0..ffffffff pg=10000
[    0.560605] pci 0003:01     : [PE# 1fd] Enabling 64-bit DMA bypass
[    0.560609] pci 0003:00:00.0: PCI bridge to [bus 01]
[    0.560618] pci 0003:00:00.0:   bridge window [mem 0x600c180000000-0x600c1ffefffff]
[    0.560633] pci_bus 0003:00: resource 4 [mem 0x600c180000000-0x600c1fffeffff]
[    0.560636] pci_bus 0003:00: resource 5 [mem 0x6020000000000-0x6023fbfffffff 64bit pref]
[    0.560639] pci_bus 0003:01: resource 1 [mem 0x600c180000000-0x600c1ffefffff]
[    0.560645] pci 0004:00:00.0: BAR 9: assigned [mem 0x6024000000000-0x602403fffffff 64bit pref]
[    0.560648] pci 0004:00:00.0: BAR 8: assigned [mem 0x600c200000000-0x600c2007fffff]
[    0.560653] pci 0004:01:00.0: BAR 0: assigned [mem 0x6024000000000-0x602400000ffff 64bit pref]
[    0.560674] pci 0004:01:00.0: BAR 2: assigned [mem 0x6024000010000-0x602400001ffff 64bit pref]
[    0.560694] pci 0004:01:00.0: BAR 4: assigned [mem 0x6024000020000-0x602400002ffff 64bit pref]
[    0.560714] pci 0004:01:00.0: BAR 6: assigned [mem 0x600c200000000-0x600c2000007ff pref]
[    0.560718] pci 0004:01:00.1: BAR 0: assigned [mem 0x6024000030000-0x602400003ffff 64bit pref]
[    0.560739] pci 0004:01:00.1: BAR 2: assigned [mem 0x6024000040000-0x602400004ffff 64bit pref]
[    0.560759] pci 0004:01:00.1: BAR 4: assigned [mem 0x6024000050000-0x602400005ffff 64bit pref]
[    0.560780] pci 0004:01:00.1: BAR 6: assigned [mem 0x600c200010000-0x600c2000107ff pref]
[    0.560784] pci 0004:00     : [PE# fe] Secondary bus 0x0000000000000000 associated with PE#fe
[    0.561031] pci 0004:01     : [PE# 00] Secondary bus 0x0000000000000001 associated with PE#0
[    0.561269] pci 0004:01     : [PE# 00] Setting up 32-bit TCE table at 0..80000000
[    0.562270] pci 0004:01     : [PE# 00] Setting up window#0 0..ffffffff pg=10000
[    0.562275] pci 0004:01     : [PE# 00] Enabling 64-bit DMA bypass
[    0.562279] pci 0004:00:00.0: PCI bridge to [bus 01]
[    0.562288] pci 0004:00:00.0:   bridge window [mem 0x600c200000000-0x600c27fefffff]
[    0.562295] pci 0004:00:00.0:   bridge window [mem 0x6024000000000-0x6027f7ff0ffff 64bit pref]
[    0.562305] pci_bus 0004:00: resource 4 [mem 0x600c200000000-0x600c27ffeffff]
[    0.562308] pci_bus 0004:00: resource 5 [mem 0x6024000000000-0x6027f7fffffff 64bit pref]
[    0.562311] pci_bus 0004:01: resource 1 [mem 0x600c200000000-0x600c27fefffff]
[    0.562313] pci_bus 0004:01: resource 2 [mem 0x6024000000000-0x6027f7ff0ffff 64bit pref]
[    0.562319] pci 0005:00:00.0: BAR 8: assigned [mem 0x600c280000000-0x600c2817fffff]
[    0.562322] pci 0005:00:00.0: BAR 7: no space for [io  size 0x1000]
[    0.562325] pci 0005:00:00.0: BAR 7: failed to assign [io  size 0x1000]
[    0.562329] pci 0005:01:00.0: BAR 8: assigned [mem 0x600c280000000-0x600c2817fffff]
[    0.562331] pci 0005:01:00.0: BAR 7: no space for [io  size 0x1000]
[    0.562334] pci 0005:01:00.0: BAR 7: failed to assign [io  size 0x1000]
[    0.562338] pci 0005:02:00.0: BAR 0: assigned [mem 0x600c280000000-0x600c280ffffff]
[    0.562346] pci 0005:02:00.0: BAR 1: assigned [mem 0x600c281000000-0x600c28101ffff]
[    0.562355] pci 0005:02:00.0: BAR 2: no space for [io  size 0x0080]
[    0.562357] pci 0005:02:00.0: BAR 2: failed to assign [io  size 0x0080]
[    0.562361] pci 0005:00     : [PE# fe] Secondary bus 0x0000000000000000 associated with PE#fe
[    0.562599] pci 0005:02     : [PE# fd] Secondary bus 0x0000000000000002..0x0000000000000002 associated with PE#fd
[    0.562839] pci 0005:02     : [PE# fd] Setting up 32-bit TCE table at 0..80000000
[    0.563845] pci 0005:02     : [PE# fd] Setting up window#0 0..ffffffff pg=10000
[    0.563850] pci 0005:02     : [PE# fd] Enabling 64-bit DMA bypass
[    0.563854] pci 0005:01:00.0: PCI bridge to [bus 02]
[    0.563863] pci 0005:01:00.0:   bridge window [mem 0x600c280000000-0x600c2ffefffff]
[    0.563881] pci 0005:01     : [PE# fc] Secondary bus 0x0000000000000001 associated with PE#fc
[    0.564117] pci 0005:00:00.0: PCI bridge to [bus 01-02]
[    0.564126] pci 0005:00:00.0:   bridge window [mem 0x600c280000000-0x600c2ffefffff]
[    0.564141] pci_bus 0005:00: Some PCI device resources are unassigned, try booting with pci=realloc
[    0.564144] pci_bus 0005:00: resource 4 [mem 0x600c280000000-0x600c2fffeffff]
[    0.564147] pci_bus 0005:00: resource 5 [mem 0x6028000000000-0x602bf7fffffff 64bit pref]
[    0.564150] pci_bus 0005:01: resource 1 [mem 0x600c280000000-0x600c2ffefffff]
[    0.564152] pci_bus 0005:02: resource 1 [mem 0x600c280000000-0x600c2ffefffff]
[    0.564803] pci 0003:01:00.0: Adding to iommu group 0
[    0.564817] pci 0004:01:00.0: Adding to iommu group 1
[    0.564822] pci 0004:01:00.1: Adding to iommu group 1
[    0.564834] pci 0005:02:00.0: Adding to iommu group 2
[    0.564870] pci 0003:00:00.0: enabling device (0105 -> 0107)
[    0.564885] pci 0004:00:00.0: enabling device (0105 -> 0107)
[    0.564899] pci 0005:00:00.0: enabling device (0105 -> 0107)
[    0.564914] pci 0005:01:00.0: enabling device (0145 -> 0147)
[    0.564926] EEH: Capable adapter found: recovery enabled.
[    0.564992] PCI: Probing PCI hardware done
[    0.740242] raid6: vpermxor8 gen()  5107 MB/s
[    0.910289] raid6: vpermxor4 gen()  5163 MB/s
[    1.080333] raid6: vpermxor2 gen()  4427 MB/s
[    1.250394] raid6: vpermxor1 gen()  3070 MB/s
[    1.420426] raid6: altivecx8 gen()  4412 MB/s
[    1.590475] raid6: altivecx4 gen()  5045 MB/s
[    1.760518] raid6: altivecx2 gen()  4427 MB/s
[    1.930587] raid6: altivecx1 gen()  3070 MB/s
[    2.100633] raid6: int64x8  gen()  2258 MB/s
[    2.270677] raid6: int64x8  xor()   839 MB/s
[    2.440713] raid6: int64x4  gen()  3049 MB/s
[    2.610759] raid6: int64x4  xor()   985 MB/s
[    2.780818] raid6: int64x2  gen()  2695 MB/s
[    2.950854] raid6: int64x2  xor()   825 MB/s
[    3.120930] raid6: int64x1  gen()  1685 MB/s
[    3.290984] raid6: int64x1  xor()   526 MB/s
[    3.290986] raid6: using algorithm vpermxor4 gen() 5163 MB/s
[    3.290987] raid6: using intx1 recovery algorithm
[    3.291084] iommu: Default domain type: Translated 
[    3.291170] pci 0005:02:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[    3.291173] pci 0005:02:00.0: vgaarb: bridge control possible
[    3.291178] pci 0005:02:00.0: vgaarb: setting as boot device (VGA legacy resources not available)
[    3.291179] vgaarb: loaded
[    3.291327] SCSI subsystem initialized
[    3.291392] libata version 3.00 loaded.
[    3.291425] usbcore: registered new interface driver usbfs
[    3.291439] usbcore: registered new interface driver hub
[    3.291489] usbcore: registered new device driver usb
[    3.291746] clocksource: Switched to clocksource timebase
[    3.291892] VFS: Disk quotas dquot_6.6.0
[    3.291940] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
[    3.293760] NET: Registered protocol family 2
[    3.293928] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
[    3.293956] TCP established hash table entries: 65536 (order: 3, 524288 bytes, linear)
[    3.294207] TCP bind hash table entries: 65536 (order: 4, 1048576 bytes, linear)
[    3.294489] TCP: Hash tables configured (established 65536 bind 65536)
[    3.294540] UDP hash table entries: 4096 (order: 1, 131072 bytes, linear)
[    3.294586] UDP-Lite hash table entries: 4096 (order: 1, 131072 bytes, linear)
[    3.294690] NET: Registered protocol family 1
[    3.294825] RPC: Registered named UNIX socket transport module.
[    3.294826] RPC: Registered udp transport module.
[    3.294827] RPC: Registered tcp transport module.
[    3.294829] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.294860] pci 0003:01:00.0: enabling device (0140 -> 0142)
[    3.294915] PCI: CLS 0 bytes, default 128
[    4.266338] Initialise system trusted keyrings
[    4.266409] workingset: timestamp_bits=54 max_order=17 bucket_order=0
[    4.269339] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    4.269623] NFS: Registering the id_resolver key type
[    4.269629] Key type id_resolver registered
[    4.269630] Key type id_legacy registered
[    4.269636] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    4.269646] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    4.269814] JFS: nTxBlock = 4021, nTxLock = 32170
[    4.270896] SGI XFS with ACLs, security attributes, realtime, quota, fatal assert, debug enabled
[    4.271435] F2FS not supported on PAGE_SIZE(65536) != 4096
[    4.271512] Key type asymmetric registered
[    4.271514] Asymmetric key parser 'x509' registered
[    4.271526] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    4.271881] IPMI message handler: version 39.2
[    4.271894] ipmi device interface
[    4.286365] ipmi-powernv ibm,opal:ipmi: IPMI message handler: The GUID response from the BMC was too short, it was 1 but should have been 17.  Assuming GUID is not available.
[    4.302194] ipmi-powernv ibm,opal:ipmi: IPMI message handler: Found new BMC (man_id: 0x00cb06, prod_id: 0x0001, dev_id: 0x00)
[    4.406597] hvc0: raw protocol on /ibm,opal/consoles/serial@0 (boot console)
[    4.406602] hvc0: No interrupts property, using OPAL event
[    4.406863] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    4.407132] Non-volatile memory driver v1.3
[    4.407207] [drm] radeon kernel modesetting enabled.
[    4.407309] ast 0005:02:00.0: enabling device (0140 -> 0142)
[    4.407395] [drm] platform has no IO space, trying MMIO
[    4.407398] [drm] VGA not enabled on entry, requesting chip POST
[    4.407400] [drm] Using device-tree for configuration
[    4.407401] [drm] AST 2500 detected
[    4.407404] [drm] Analog VGA only
[    4.407436] [drm] dram MCLK=800 Mhz type=7 bus_width=16 size=01000000
[    4.407488] [TTM] Zone  kernel: Available graphics memory: 4117792 KiB
[    4.407490] [TTM] Zone   dma32: Available graphics memory: 2097152 KiB
[    4.407491] [TTM] Initializing pool allocator
[    4.540773] mm/pgtable-generic.c:50: bad pmd c00600c2800001be.
[    4.540775] mm/pgtable-generic.c:50: bad pmd c00600c2802001be.
[    4.540777] mm/pgtable-generic.c:50: bad pmd c00600c2804001be.
[    4.542302] Console: switching to colour frame buffer device 240x67
[    4.555146] ast 0005:02:00.0: fb0: astdrmfb frame buffer device
[    4.589248] [drm] Initialized ast 0.1.0 20120228 for 0005:02:00.0 on minor 0
[    4.591630] brd: module loaded
[    4.594954] loop: module loaded
[    4.594973] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[    4.595411] 5 fixed-partitions partitions found on MTD device flash@0
[    4.595413] Creating 5 MTD partitions on "flash@0":
[    4.595416] 0x000000000000-0x000004000000 : "PNOR"
[    4.595944] 0x0000022a1000-0x000002e5b158 : "BOOTKERNEL"
[    4.596445] 0x000003944000-0x000003946000 : "VERSION"
[    4.596937] 0x000003989000-0x0000039c9000 : "IMA_CATALOG"
[    4.597429] 0x000003e10000-0x000003ff0000 : "BOOTKERNFW"
[    4.598034] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.598038] ohci-pci: OHCI PCI platform driver
[    4.621792] rtc-opal opal-rtc: registered as rtc0
[    4.621809] i2c /dev entries driver
[    4.624075] powernv-cpufreq: cpufreq pstate min 0x76 nominal 0x4e max 0x0
[    4.624077] powernv-cpufreq: Workload Optimized Frequency is enabled in the platform
[    4.624433] powernv-cpufreq: Frequency Control disabled from OS
[    4.624435] powernv-cpufreq: Frequency Control disabled from OS
[    4.624437] powernv-cpufreq: PMSR = 4e4e763080000000
[    4.624438] powernv-cpufreq: CPU Frequency could be throttled
[    4.624440] powernv-cpufreq: PMSR = 4e4e763080000000
[    4.624441] powernv-cpufreq: CPU Frequency could be throttled
[    4.624519] ipip: IPv4 and MPLS over IPv4 tunneling driver
[    4.624685] NET: Registered protocol family 17
[    4.624746] NET: Registered protocol family 33
[    4.624749] Key type rxrpc registered
[    4.624750] Key type rxrpc_s registered
[    4.624766] Key type dns_resolver registered
[    4.624815] drmem: No dynamic reconfiguration memory found
[    4.625136] registered taskstats version 1
[    4.625138] Loading compiled-in X.509 certificates
[    4.627026] Loaded X.509 cert 'Build time autogenerated kernel key: ccdda39870bcc193a7856fb116f3ce3eeecdedb6'
[    4.627034] kAFS: Red Hat AFS client v0.1 registering.
[    4.861747] kAFS: failed to register: -97
[    4.862492] Btrfs loaded, crc32c=crc32c-generic
[    4.862825] Key type encrypted registered
[    4.862834] ima: No TPM chip found, activating TPM-bypass!
[    4.862837] ima: Allocated hash algorithm: sha1
[    4.862850] ima: No architecture policies found
[    4.862867] evm: Initialising EVM extended attributes:
[    4.862869] evm: security.capability
[    4.862870] evm: HMAC attrs: 0x1
[    4.901771] rtc-opal opal-rtc: setting system clock to 2022-11-25T20:42:09 UTC (1669408929)
[    4.902684] Freeing unused kernel memory: 4928K
[    4.971786] Run /init as init process
[    4.973273] [U] hello world
[    5.443563] random: fast init done
[    6.650684] ehci_hcd: module verification failed: signature and/or required key missing - tainting kernel
[    6.650936] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.650938] Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
[    6.653346] ehci-pci: EHCI PCI platform driver
[    6.660480] xhci_hcd 0003:01:00.0: xHCI Host Controller
[    6.660545] xhci_hcd 0003:01:00.0: new USB bus registered, assigned bus number 1
[    6.660666] xhci_hcd 0003:01:00.0: hcc params 0x0270f06d hci version 0x96 quirks 0x0000000004000000
[    6.661284] hub 1-0:1.0: USB hub found
[    6.661299] hub 1-0:1.0: 4 ports detected
[    6.661453] xhci_hcd 0003:01:00.0: xHCI Host Controller
[    6.661508] xhci_hcd 0003:01:00.0: new USB bus registered, assigned bus number 2
[    6.661513] xhci_hcd 0003:01:00.0: Host supports USB 3.0 SuperSpeed
[    6.661546] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.661705] hub 2-0:1.0: USB hub found
[    6.661719] hub 2-0:1.0: 4 ports detected
[    7.021761] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    7.070032] hub 1-1:1.0: USB hub found
[    7.070634] hub 1-1:1.0: 4 ports detected
[    7.231751] usb 1-2: new high-speed USB device number 3 using xhci_hcd
[    7.411749] usb 1-3: new high-speed USB device number 4 using xhci_hcd
[    7.453877] hub 1-3:1.0: USB hub found
[    7.454229] hub 1-3:1.0: 5 ports detected
[    7.541750] usb 1-1.1: new low-speed USB device number 5 using xhci_hcd
[    7.821750] usb 1-4: new high-speed USB device number 6 using xhci_hcd
[    7.870231] hub 1-4:1.0: USB hub found
[    7.870832] hub 1-4:1.0: 4 ports detected
[    7.951753] usb 1-3.1: new high-speed USB device number 7 using xhci_hcd
[    8.081748] usb 1-1.3: new low-speed USB device number 8 using xhci_hcd
[    8.311753] usb 1-4.3: new full-speed USB device number 9 using xhci_hcd
[    8.672463] input: LOGITECH G110 G-keys Keypad as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:046D:C22B.0001/input/input0
[    8.741846] hid-generic 0003:046D:C22B.0001: input,hiddev96: USB HID v1.00 Keypad [LOGITECH G110 G-keys] on usb-0003:01:00.0-1.1/input0
[    8.741871] usbhid 1-1.1:1.1: couldn't find an input interrupt endpoint
[    8.743429] input: OpenBMC virtual_input as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-3/1-3.1/1-3.1:1.0/0003:1D6B:0104.0002/input/input2
[    8.821794] hid-generic 0003:1D6B:0104.0002: input: USB HID v1.01 Keyboard [OpenBMC virtual_input] on usb-0003:01:00.0-3.1/input0
[    8.823287] input: OpenBMC virtual_input as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-3/1-3.1/1-3.1:1.1/0003:1D6B:0104.0003/input/input3
[    8.823329] hid-generic 0003:1D6B:0104.0003: input: USB HID v1.01 Mouse [OpenBMC virtual_input] on usb-0003:01:00.0-3.1/input1
[    8.826961] input: Gaming Keyboard G110 as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C22A.0004/input/input4
[    8.891794] hid-generic 0003:046D:C22A.0004: input: USB HID v1.10 Keyboard [Gaming Keyboard G110] on usb-0003:01:00.0-1.3/input0
[    8.896229] input: Gaming Keyboard G110 Consumer Control as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C22A.0005/input/input5
[    8.961824] hid-generic 0003:046D:C22A.0005: input,hiddev97: USB HID v1.10 Device [Gaming Keyboard G110] on usb-0003:01:00.0-1.3/input1
[    8.965494] input: Nitrokey Nitrokey Pro as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-4/1-4.3/1-4.3:1.0/0003:20A0:4108.0006/input/input7
[    9.031798] hid-generic 0003:20A0:4108.0006: input: USB HID v1.10 Keyboard [Nitrokey Nitrokey Pro] on usb-0003:01:00.0-4.3/input0
[    9.031830] usbcore: registered new interface driver usbhid
[    9.031831] usbhid: USB HID core driver
[  424.335300] random: crng init done


@krystian-hebel

So:

  • no TPM detected. Dead how to troubleshoot? Should I return the item to continue testing?
  • some important messages are given on console but not in logs
  • cbmem -L reports measurements even though no TPM detected (weird)
  • cbmem -c as reported before
  • dmesg as before.
  • Waiting to confirm/infirm dead TPM and documentation/troubelshooting guidelines under Orientation diagram or example when connected to talos II 3mdeb/talos-tpm-module#2

@SergiiDmytruk
Copy link
Member

If TPM is present on the bus, running i2cdetect 2 should detect it on 0x20 address.

cbmem -L reports measurements even though no TPM detected (weird)

Dasharo/coreboot#185 (comment), but success of initialization can be checked (need to add a function for that).

@krystian-hebel
Copy link

Regarding assert after dead loop, I've managed to reproduce it (at least I think so, though line numbers are different) and it seems to be caused by RNG initialization in chip.c. Hostboot was significantly slower than coreboot so it worked there, it also worked with more verbose output and/or with more RAM in coreboot so I haven't seen it earlier. I've left this assert() so it would pop out just in case like this one, seems to have worked. This is not an error, just an indication that we can probably reorder some code for even faster booting. This is not related to TPM issues, I'm just leaving this comment here in case someone finds this by googling for log output.

some important messages are given on console but not in logs

These would likely be messages produced by Skiboot. It should be exposed by kernel through /sys/firmware/opal/msglog, according to Skiboot documentation.

@SergiiDmytruk
Copy link
Member

though line numbers are different

404 is probably a reference to HTTP 404 error code. 0 or -1 would be less confusing.

/* Do not use filenames nor line numbers on timeless builds, to preserve reproducibility */
#if ENV_TIMELESS
#define __ASSERT_FILE__ "(filenames not available on timeless builds)"
#define __ASSERT_LINE__ 404
#else
#define __ASSERT_FILE__ __FILE__
#define __ASSERT_LINE__ __LINE__
#endif

@tlaurion
Copy link
Author

tlaurion commented Nov 28, 2022

If TPM is present on the bus, running i2cdetect 2 should detect it on 0x20 address.

cbmem -L reports measurements even though no TPM detected (weird)

Dasharo/coreboot#185 (comment), but success of initialization can be checked (need to add a function for that).

@SergiiDmytruk

~ # i2cdetect 2
i2cdetect: WARNING! This program can confuse your I2C bus
Continue? [y/N] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
~ # 

Edit: that was from Heads pr pointed in this issue to have TPM enabled in coreboot (missing otherwise).

ConnectedTPM

Is as of #192 (comment)

Should I conclude that my TPM module is broken?

@macpijan
Copy link
Contributor

macpijan commented Nov 28, 2022

Should I conclude that my TPM module is broken?

Could be. It was verified before shipping, though.

We will re-check on our side with the same set of the firmware binaries as you listed in the issue description to see if we can see similar problems on our side. If not, it is more likely that there is some platform difference or something else with the module is broken. @sulewskiprzemyslaw will report results of the test here.

@SergiiDmytruk
Copy link
Member

SergiiDmytruk commented Nov 28, 2022

@tlaurion You can also list i2c buses via i2cdetect -l and probe the rest of them looking for 0x20. The address is fixed on the device to be 0x20, the bus should be the same on all Talos 2 systems (bus number 2 on hardware), but it's easy to check all buses and exclude different bus numbering as a possible cause of issues (I think there is also a chance of /dev/i2c-* devices being renumbered by skiboot and/or Linux).

@krystian-hebel
Copy link

Interesting and possibly connected find in Skiboot. This is for HDATA (i.e. Hostboot) path, we skip it by passing FDT directly. We probably should add this workaround to coreboot.

@tlaurion
Copy link
Author

@tlaurion You can also list i2c buses via i2cdetect -l and probe the rest of them looking for 0x20. The address is fixed on the device to be 0x20, the bus should be the same on all Talos 2 systems (bus number 2 on hardware), but it's easy to check all buses and exclude different bus numbering as a possible cause of issues


~ # i2cdetect -l
i2c-3	i2c       	p8_00000000_e2p0                	I2C adapter
i2c-1	i2c       	p8_00000000_e1p0                	I2C adapter
i2c-4	i2c       	p8_00000000_e3p0                	I2C adapter
i2c-2	i2c       	p8_00000000_e1p2                	I2C adapter
i2c-0	i2c       	AST i2c bit bus                 	I2C adapter
i2c-5	i2c       	p8_00000000_e3p1                	I2C adapter
~ # i2cdetect 1
i2cdetect: WARNING! This program can confuse your I2C bus
Continue? [y/N] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: 50 51 52 53 -- -- -- -- 58 59 5a 5b -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
~ # i2cdetect 2
i2cdetect: WARNING! This program can confuse your I2C bus
Continue? [y/N] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
~ # i2cdetect 3
i2cdetect: WARNING! This program can confuse your I2C bus
Continue? [y/N] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
0[  208.132623669,3] I2C: Initial error status 0x04011f0104000000
0:          ^[[A-- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
~ # i2cdetect 4
i2cdetect: WARNING! This program can confuse your I2C bus
Continue? [y/N] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- 18 -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: 30 -- -- -- -- 35 36 -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: 50 -- -- -- -- -- -- -- 58 -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
~ # i2cdetect 5
i2cdetect: WARNING! This program can confuse your I2C bus
Continue? [y/N] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         

(I think there is also a chance of /dev/i2c-* devices being renumbered by skiboot and/or Linux).

~ # ls /dev/i2c-*
/dev/i2c-0  /dev/i2c-1  /dev/i2c-2  /dev/i2c-3  /dev/i2c-4  /dev/i2c-5

@krystian-hebel :

Regarding assert after dead loop, I've managed to reproduce it (at least I think so, though line numbers are different) and it seems to be caused by RNG initialization in chip.c. Hostboot was significantly slower than coreboot so it worked there, it also worked with more verbose output and/or with more RAM in coreboot so I haven't seen it earlier. I've left this assert() so it would pop out just in case like this one, seems to have worked. This is not an error, just an indication that we can probably reorder some code for even faster booting. This is not related to TPM issues, I'm just leaving this comment here in case someone finds this by googling for log output.

some important messages are given on console but not in logs

These would likely be messages produced by Skiboot. It should be exposed by kernel through /sys/firmware/opal/msglog, according to Skiboot documentation.

~ # cat /sys/firmware/opal/msglog 
[   12.471827448,5] OPAL v6.3-rc2-32-gfa060c2c starting...
[   12.471830987,7] initial console log level: memory 7, driver 5
[   12.471833031,6] CPU: P9 generation processor (max 4 threads/core)
[   12.471834787,7] CPU: Boot CPU PIR is 0x0048 PVR is 0x004e1201
[   12.471837355,7] OPAL table: 0x30108230 .. 0x30108810, branch table: 0x30002000
[   12.471840398,7] Assigning physical memory map table for nimbus
[   12.471842781,7] FDT: Parsing fdt @0xf90aa408
[   12.472552776,6] CHIP: Initialised chip 0 from xscom@603fc00000000
[   12.472576751,6] P9 DD2.10 detected
[   12.472578305,5] CHIP: Chip ID 0000 type: P9N DD2.10
[   12.472580374,7] XSCOM: Base address: 0x603fc00000000
[   12.472589224,7] XSTOP: XSCOM addr = 0x5012000, FIR bit = 31
[   12.472591377,6] MFSI 0:0: Initialized
[   12.472592778,6] MFSI 0:2: Initialized
[   12.472594173,6] MFSI 0:1: Initialized
[   12.472648486,6] LPC: LPC[000]: Initialized
[   12.472649927,7] LPC: access via MMIO @0x6030000000000
[   12.472662900,7] LPC: Default bus on chip 0x0
[   12.472669781,7] CPU: New max PIR set to 0x57
[   12.472700568,6] MEM: parsing reserved memory from node /reserved-memory
[   12.472704907,7] HOMER: Init chip 0
[   12.472707118,7]   PBA BAR0 : 0x00000001ff400000
[   12.472708810,7]   PBA MASK0: 0x0000000000300000
[   12.472710478,7]   HOMER Image at 0x1ff400000 size 4MB
[   12.472713368,7]   PBA BAR2 : 0x00000001ff800000
[   12.472715030,7]   PBA MASK2: 0x0000000000700000
[   12.472716644,7]   OCC Common Area at 0x1ff800000 size 8MB
[   12.472718984,7] CPU: decrementer bits 56
[   12.472723544,6] CPU: CPU from DT PIR=0x0048 Server#=0x48 State=3
[   12.472728855,6] CPU:  4 secondary threads
[   12.472731917,6] CPU: CPU from DT PIR=0x004c Server#=0x4c State=3
[   12.472737420,6] CPU:  4 secondary threads
[   12.472740436,6] CPU: CPU from DT PIR=0x0050 Server#=0x50 State=3
[   12.472745892,6] CPU:  4 secondary threads
[   12.472748869,6] CPU: CPU from DT PIR=0x0054 Server#=0x54 State=3
[   12.472754262,6] CPU:  4 secondary threads
[   12.472801903,6] PLAT: AST SIO unavailable!
[   12.472814343,7] UART: Using LPC IRQ 4
[   12.474887583,5] PLAT: Detected Talos platform
[   12.474929237,5] PLAT: Detected BMC platform ast2500:openbmc
[   12.475218599,7] XIVE[ IC 00  ] Initializing rev 2 block ID 0...
[   12.475234482,7] XIVE[ IC 00  ] Handling interrupts [00000000..000fffff]
[   12.475242109,7] XIVE[ IC 00  ] IC: 0x6030203100000 [0x000000080000/16]
[   12.475244603,7] XIVE[ IC 00  ] TM: 0x6030203180000 [0x000000040000/16]
[   12.475246988,7] XIVE[ IC 00  ] PC: 0x6018000000000 [0x001000000000]
[   12.475249285,7] XIVE[ IC 00  ] VC: 0x6010000000000 [0x008000000000]
[   12.475252334,7] XIVE[ IC 00  ] PC_GLOBAL_CONFIG=00000000c0800000
[   12.475254527,7] XIVE[ IC 00  ] PC_TCTXT_CFG=e3c0c40200000000
[   12.475256638,7] XIVE[ IC 00  ] store EOI is disabled
[   12.475262604,7]  CQ_CFG_PB_GEN = 5000002400000000
[   12.475264302,7]  CQ_MSGSND     = ffffff0000000000
[   12.475652251,7] XIVE[ IC 00  ] SBE at 0x100340000 size 0x800000
[   12.477362282,7] XIVE[ IC 00  ] IVT at 0x100800000 size 0x800000
[   12.477385024,7] XIVE[ IC 00  ] EQi at 0x101010000 size 0x10000
[   12.477403559,7] XIVE[ IC 00  ] VPi at 0x101030000 size 0x10000
[   12.477408647,7] XIVE[ IC 00  ] Allocating pages 0 to 0 of VPs (for 128 VPs)
[   12.477426911,7] XIVE[ IC 00  ] VP0 at 0x101050000 size 0x10000
[   12.477451496,7] IRQ: Registering 0000..fffff ops @0x300da420 (data 0x0) [secondary]
[   12.477454730,7] IRQ: Registering 1000000..10fffff ops @0x300da420 (data 0x0)
[   12.477457479,6] XIVE: 1 chips considered for VP allocations
[   12.489855927,7] PSI[0x000]: ESB MMIO at @0x60302031c0000
[   12.489858523,7] PSI[0x000]: Interrupts sources registered for P9 DD2.x
[   12.489860653,7] IRQ: Registering ffff0..ffffd ops @0x300da420 (data 0x3047a570)
[   12.489893208,6] PSI[0x000]: Found PSI bridge [active=0]
[   12.489896604,6] CPU: Setting up secondary CPU state
[   12.489899307,6] CPU: Calling in all processors...
[    3.220927641,7] INIT: CPU PIR 0x0049 called in
[    3.220927549,7] INIT: CPU PIR 0x004c called in
[    3.220927641,7] INIT: CPU PIR 0x004a called in
[    0.016439901,7] INIT: CPU PIR 0x0053 called in
[    0.016439639,7] INIT: CPU PIR 0x0055 called in
[    0.016439648,7] INIT: CPU PIR 0x0057 called in
[    0.016439641,7] INIT: CPU PIR 0x0056 called in
[    3.220927634,7] INIT: CPU PIR 0x004d called in
[    0.016439902,7] INIT: CPU PIR 0x0051 called in
[    0.016439907,7] INIT: CPU PIR 0x0052 called in
[    0.016439916,7] INIT: CPU PIR 0x0050 called in
[    0.016439653,7] INIT: CPU PIR 0x0054 called in
[    3.220927631,7] INIT: CPU PIR 0x004f called in
[    3.220927637,7] INIT: CPU PIR 0x004e called in
[    3.220927536,7] INIT: CPU PIR 0x004b called in
[   12.489997151,5] CPU: All 16 processors called in...
[   12.490110354,6] CHIPTOD: Calculated MCBS is 0x55e63b67 (Cfreq=-1794967296 Tfreq=32000000)
[   12.490112462,7] CHIPTOD: Base TFMR=0x6712000000000000
[   12.490114012,7] CHIPTOD: Master sync on CPU PIR 0x0048...
[    3.240496442,7] CHIPTOD: Slave sync on CPU PIR 0x004c...
[    0.060951528,7] CHIPTOD: Slave sync on CPU PIR 0x0050...
[    0.085894868,7] CHIPTOD: Slave sync on CPU PIR 0x0054...
[   13.055458017,7] CHIPTOD: PIR 0x0048 TB=19008b8d3
[   13.055459868,7] CHIPTOD: PIR 0x004c TB=19008c010
[   13.060580408,7] CHIPTOD: PIR 0x0050 TB=19056e22a
[   13.065700858,7] CHIPTOD: PIR 0x0054 TB=190a503ed
[   13.070823219,7] CHIPTOD: TOD Topology in Use: Primary
[   13.070824217,7] CHIPTOD:   Primary configuration:
[   13.070824994,7] CHIPTOD:   Chip id: 0, Role: MDMT, Status: Active Master
[   13.070826503,7] CHIPTOD:   Secondary configuration:
[   13.070827356,7] CHIPTOD:   Chip id: -1, Role: MDMT, Status: Active Master
[   13.070836150,7] SBE: Master chip id : 0
[   13.070840156,6] SBE: Timer facility on chip 0
[   13.070849032,6] I2C: Chip 00000000 Eng. 1 Clock 116 Mhz
[   13.070850401,6] I2C: Interrupts functional
[   13.070852396,6]  P0: <p8_00000000_e1p0> 1000 kHz
[   13.070854104,6]  P2: <p8_00000000_e1p2> 1000 kHz
[   13.070856439,6] I2C: Chip 00000000 Eng. 2 Clock 116 Mhz
[   13.070858520,6]  P0: <p8_00000000_e2p0> 400 kHz
[   13.070860498,6] I2C: Chip 00000000 Eng. 3 Clock 116 Mhz
[   13.070862429,6]  P0: <p8_00000000_e3p0> 400 kHz
[   13.070863896,6]  P1: <p8_00000000_e3p1> 400 kHz
[   13.070885965,6] BT: Interface initialized, IO 0x00e4
[   13.070889013,7] LPC: Routing irq 10, policy: 0 (r=1)
[   13.070890101,7] LPC: SerIRQ 10 using route 0 targetted at OPAL
[   13.070996724,7] BT: Using LPC IRQ 10
[   13.173408906,7] BT: Got a input buffer len (63) cap which differs from the default
[   13.173410208,7] BT: Got a output buffer len (63) cap which differs from the default
[   13.173411401,7] BT: BMC BT capabilities received:
[   13.173412085,7] BT: buffer sizes: 64 input 64 output
[   13.173412933,7] BT: number of requests: 1
[   13.173413657,7] BT: msg timeout: 10 max retries: 1
[   13.280949815,7] HIOMAP: Acked events: 0x3
[   13.485781483,5] HIOMAP: Negotiated hiomap protocol v2
[   13.485833163,5] HIOMAP: Block size is 4KiB
[   13.485864589,5] HIOMAP: BMC suggested flash timeout of 8s
[   13.485909358,5] HIOMAP: Flash size is 64MiB
[   13.485948672,5] HIOMAP: Erase granule size is 4KiB
[   14.076402881,6] FLASH: registering flash device (unnamed) (size 0x4000000, blocksize 0x1000)
[   14.281237580,7] HIOMAP: Opened read window from 0x0 for 1048576 bytes at 0xc000000
[   14.490179361,7] FLASH: No ROOTFS partition
[   15.081964906,7] FLASH: No CAPP partition
[   15.393323323,5] FLASH: Found system flash: (unnamed) id:0
[   15.393397511,6] FLASH: registered system flash device (unnamed)
[   15.393398528,6] FLASH: probing for NVRAM
[   16.086247169,6] IPMI: Requesting IPMI_BMC_GET_DEVICE_ID
[   16.086248161,6] IPMI: setting power state: sys 80, dev 7f
[   16.086250007,6] IPMI: setting fw progress sensor 02 to 14
[   16.086251380,6] NVRAM: Size is 576 KB
[   16.184036252,6] NVRAM: Layout appears sane
[   16.184038136,7] NVRAM: 'log-level-driver' not found
[   16.184039063,7] NVRAM: 'log-level-memory' not found
[   16.184041156,7] STB: Found ibm,secureboot-v1-softrom
[   16.184042613,7] NVRAM: 'force-secure-mode' not found
[   16.184043764,6] STB: secure mode off
[   16.184044516,3] STB: hw-key-hash not found
[   16.184094876,3] STB: hw_key-hash wrong size 0 (expected=64)
[   16.184147667,7] NVRAM: 'force-trusted-mode' not found
[   16.184148842,6] STB: trusted mode on
[   16.184168842,6] STB: no compatible tpm device found!
[   16.184169541,6] FLASH: Loading VERSION section
[   16.184170564,7] FLASH: Queueing preload of 4/0
[   16.184172598,7] FLASH: Queueing preload of 3/4e0200
[   16.184173724,6] OPAL: Using OPAL UART console
[   16.184174722,7] NVRAM: 'uart-con-policy' not found
[   16.184178852,7] LPC: Routing irq 4, policy: 0 (r=1)
[   16.184179853,7] LPC: SerIRQ 4 using route 1 targetted at OPAL
[   16.184286459,7] SLW: Init chip 0x0
[   16.184290867,6] SLW: Configuring self-restore for HRMOR
[   16.184294018,7] CPU idle state device tree init
[   16.184295265,6] SLW: Configuring self-restore for HRMOR
[   16.184297897,6] SLW: Configuring self-restore for NCU_SPEC_BAR
[   16.184299831,6] SLW: Configuring self-restore for P9X_EX_NCU_DARN_BAR
[   16.184302109,7] NVRAM: 'opal-stop-state-disable-mask' not found
[   16.184303886,7] NVRAM stop disable mask: 0
[   16.184304605,6] SLW: Enabling: stop0_lite
[   16.184305659,6] SLW: Enabling: stop0
[   16.184306296,6] SLW: Enabling: stop1
[   16.184306891,6] SLW: Enabling: stop2
[   16.184307481,6] SLW: Enabling: stop4
[   16.184308112,6] SLW: Enabling: stop5
[   16.184311829,7] OCC: Chip 00 Data (00000001ff4e2000) = 019001764e300000
[   16.184313322,5] OCC: All Chip Rdy after 0 ms
[   16.184366935,7] OCC: CPU pstate state device tree init
[   16.184367653,7] OCC: Data (       1ff4e2000) =  19001764e300000                0
[   16.184369313,7] OCC: Version 90 Min 118 Nom 78 Max 0 Nr States 119
[   16.184377432,7] NVRAM: 'pcie-max-link-speed' not found
[   16.184402667,6] CAPI: Preloading ucode 201d1
[   16.184403562,7] FLASH: Queueing preload of 2/201d1
[   16.184404685,7] FLASH: Queueing preload of 0/0
[   16.184405654,7] FLASH: Queueing preload of 1/0
[   16.293118185,7] FLASH: VERSION partition doesn't have ECC
[   16.492809127,7] HIOMAP: Opened read window from 0x3900000 for 1048576 bytes at 0xc100000
[   16.493503431,7] FLASH: VERSION partition is signed
[   16.493544677,3] STB: VERSION NOT VERIFIED, invalid param. buf=0x306010e0, len=4326 key-hash=0x0 hash-size=64
[   16.493649315,5] STB: VERSION hash calculated
[   16.493679301,3] STB: VERSION (pcr3) NOT MEASURED. No TPM registered/enabled
[   17.082200060,7] IPMI: Got error response. cmd=0x6, netfn=0x7, rc=0xff
[   17.287101784,7] IPMI: Got error response. cmd=0x2e, netfn=0x7, rc=0xcc
[   17.287102854,7] ASTBMC: error sending msg. cc = cc
[   17.391353662,7] HIOMAP: Opened read window from 0x0 for 1048576 bytes at 0xc000000
[   17.392747868,7] FLASH: IMA_CATALOG partition has ECC
[   18.085558752,7] HIOMAP: Opened read window from 0x3900000 for 1048576 bytes at 0xc100000
[   18.086329498,7] FLASH: IMA_CATALOG partition is signed
[   18.099413781,7] FLASH: flash subpartition eyecatcher IMCC
[   18.099414877,3] STB: IMA_CATALOG NOT VERIFIED, invalid param. buf=0x30603170, len=73728 key-hash=0x0 hash-size=64
[   18.099709620,5] STB: IMA_CATALOG hash calculated
[   18.099782518,3] STB: IMA_CATALOG (pcr2) NOT MEASURED. No TPM registered/enabled
[   18.100508967,6] NX RNG[0] pace:2000
[   18.107534755,7] NVRAM: 'pci-eeh-verbose' not found
[   18.107535781,6] PHB4: Verbose EEH enabled
[   18.107536530,7] NVRAM: 'pci-tracing' not found
[   18.107537464,7] NVRAM: 'pci-eeh-mmio' not found
[   18.107538333,7] NVRAM: 'pci-retry-all' not found
[   18.107539244,7] NVRAM: 'phb-rx-err-max' not found
[   18.107540184,7] PHB4: Maximum RX errors during training: 8
[   18.107563816,6] PHB: Chip 0 Found PHB4 PBCQ0 Stack 0 at /xscom@603fc00000000/pbcq@4010c00/stack@0
[   18.107566579,7] PHB[0:0] X[PE]=0x04010c00/0x04010c40 X[PCI]=0x0d010800/0x0d010840 X[ETU]=0x0d010900
[   18.107571987,7] ETU reset: 0
[   18.108085309,7] Version reg: 0x000000a400000002
[   18.108091683,6] PHB: Chip 0 Found PHB4 PBCQ1 Stack 0 at /xscom@603fc00000000/pbcq@4011000/stack@0
[   18.108094365,7] PHB[0:1] X[PE]=0x04011000/0x04011040 X[PCI]=0x0e010800/0x0e010840 X[ETU]=0x0e010900
[   18.108616809,6] PHB: Chip 0 Found PHB4 PBCQ1 Stack 1 at /xscom@603fc00000000/pbcq@4011000/stack@1
[   18.108619780,7] PHB[0:2] X[PE]=0x04011000/0x04011080 X[PCI]=0x0e010800/0x0e010880 X[ETU]=0x0e010940
[   18.109142753,6] PHB: Chip 0 Found PHB4 PBCQ2 Stack 0 at /xscom@603fc00000000/pbcq@4011400/stack@0
[   18.109145837,7] PHB[0:3] X[PE]=0x04011400/0x04011440 X[PCI]=0x0f010800/0x0f010840 X[ETU]=0x0f010900
[   18.109667996,6] PHB: Chip 0 Found PHB4 PBCQ2 Stack 1 at /xscom@603fc00000000/pbcq@4011400/stack@1
[   18.109670708,7] PHB[0:4] X[PE]=0x04011400/0x04011480 X[PCI]=0x0f010800/0x0f010880 X[ETU]=0x0f010940
[   18.110192939,6] PHB: Chip 0 Found PHB4 PBCQ2 Stack 2 at /xscom@603fc00000000/pbcq@4011400/stack@2
[   18.110195321,7] PHB[0:5] X[PE]=0x04011400/0x040114c0 X[PCI]=0x0f010800/0x0f0108c0 X[ETU]=0x0f010980
[   18.110739958,7] PHB#0000:00:00.0 PCI: Registered PHB
[   18.110741593,6] PHB#0000[0:0]: Found /pciex@600c3c0000000 @0x600c3c0000000
[   18.110743157,6] PHB#0000[0:0]:   M32 [0x000600c000000000..0x000600c07fffffff]
[   18.110744737,6] PHB#0000[0:0]:   M64 [0x0006000000000000..0x0006003fffffffff]
[   18.110746455,7] PHB#0000[0:0]: Base location code not found !
[   18.110748072,7] PHB#0000[0:0]: Core revision 0xa40002
[   18.110749372,7] PHB#0000[0:0]: Found 512 max PEs and 4096 IRQs 
[   18.110750643,6] PHB#0000[0:0]: Max link speed: GEN4
[   18.110751677,7] PHB#0000[0:0]: Override lane equalization settings:
[   18.110752620,7] PHB#0000[0:0]:   0x5454545454545454 0x5454545454545454
[   18.110754115,7] PHB#0000[0:0]:   0x5454545454545454 0x5454545454545454
[   18.110755580,7] PHB#0000[0:0]:   0x7777777777777777 0x7777777777777777
[   18.110871895,7] PHB#0000[0:0]: Initializing PHB4...
[   18.110873184,7] PHB#0000[0:0]: Default system config: 0x4410000040400000
[   18.110874690,7] PHB#0000[0:0]: New system config    : 0x4410000040400000
[   18.110876114,7] PHB#0000[0:0]: Initial PHB CRESET is 0xe000000000000000
[   18.110877672,7] PHB#0000[0:0]: Waiting for DLP PG reset to complete...
[   18.111391498,7] PHB#0000[0:0]: Reset state SRC_ID: 0ff8000000000000
[   18.111566560,7] PHB#0000[0:0]: Initialization complete
[   18.289304557,7] HIOMAP: Opened read window from 0x0 for 1048576 bytes at 0xc000000
[   18.290681143,7] FLASH: No CAPP partition
[   18.290859032,3] CAPP: Error loading ucode lid. index=201d1
[   18.290954201,7] IRQ: Registering fe000..feff7 ops @0x300da420 (data 0x0)
[   18.290955719,7] IRQ: Registering feff8..fefff ops @0x300da420 (data 0x1012f0010)
[   18.290960499,7] PHB#0001:00:00.0 PCI: Registered PHB
[   18.290962233,6] PHB#0001[0:1]: Found /pciex@600c3c0100000 @0x600c3c0100000
[   18.290963809,6] PHB#0001[0:1]:   M32 [0x000600c080000000..0x000600c0ffffffff]
[   18.290965335,6] PHB#0001[0:1]:   M64 [0x0006004000000000..0x0006007fffffffff]
[   18.290967082,7] PHB#0001[0:1]: Base location code not found !
[   18.290968759,7] PHB#0001[0:1]: Core revision 0xa40002
[   18.290969862,7] PHB#0001[0:1]: Found 256 max PEs and 2048 IRQs 
[   18.290971118,6] PHB#0001[0:1]: Max link speed: GEN4
[   18.290972108,7] PHB#0001[0:1]: Override lane equalization settings:
[   18.290973104,7] PHB#0001[0:1]:   0x5454545454545454 0x5454545454545454
[   18.290974368,7] PHB#0001[0:1]:   0x5454545454545454 0x5454545454545454
[   18.290975733,7] PHB#0001[0:1]:   0x7777777777777777 0x7777777777777777
[   18.291085475,7] PHB#0001[0:1]: Initializing PHB4...
[   18.291086597,7] PHB#0001[0:1]: Default system config: 0x4210000040200000
[   18.291088024,7] PHB#0001[0:1]: New system config    : 0x4210000040200000
[   18.291089429,7] PHB#0001[0:1]: Initial PHB CRESET is 0xe000000000000000
[   18.291090946,7] PHB#0001[0:1]: Waiting for DLP PG reset to complete...
[   18.291604647,7] PHB#0001[0:1]: Reset state SRC_ID: 0ff8000000000000
[   18.291696121,7] PHB#0001[0:1]: Initialization complete
[   18.291697188,7] IRQ: Registering fd800..fdff7 ops @0x300da420 (data 0x0)
[   18.291698660,7] IRQ: Registering fdff8..fdfff ops @0x300da420 (data 0x101364010)
[   18.291703259,7] PHB#0002:00:00.0 PCI: Registered PHB
[   18.291704919,6] PHB#0002[0:2]: Found /pciex@600c3c0200000 @0x600c3c0200000
[   18.291706356,6] PHB#0002[0:2]:   M32 [0x000600c100000000..0x000600c17fffffff]
[   18.291707685,6] PHB#0002[0:2]:   M64 [0x0006008000000000..0x000600bfffffffff]
[   18.291709430,7] PHB#0002[0:2]: Base location code not found !
[   18.291711168,7] PHB#0002[0:2]: Core revision 0xa40002
[   18.291712233,7] PHB#0002[0:2]: Found 256 max PEs and 2048 IRQs 
[   18.291713464,6] PHB#0002[0:2]: Max link speed: GEN4
[   18.291714440,7] PHB#0002[0:2]: Override lane equalization settings:
[   18.291715456,7] PHB#0002[0:2]:   0x5454545454545454 0x5454545454545454
[   18.291716634,7] PHB#0002[0:2]:   0x5454545454545454 0x5454545454545454
[   18.291717950,7] PHB#0002[0:2]:   0x7777777777777777 0x7777777777777777
[   18.291828012,7] PHB#0002[0:2]: Initializing PHB4...
[   18.291829091,7] PHB#0002[0:2]: Default system config: 0x4210000040200000
[   18.291830428,7] PHB#0002[0:2]: New system config    : 0x4210000040200000
[   18.291831865,7] PHB#0002[0:2]: Initial PHB CRESET is 0xe000000000000000
[   18.291833417,7] PHB#0002[0:2]: Waiting for DLP PG reset to complete...
[   18.292347066,7] PHB#0002[0:2]: Reset state SRC_ID: 0ff8000000000000
[   18.292438541,7] PHB#0002[0:2]: Initialization complete
[   18.292439617,7] IRQ: Registering fd000..fd7f7 ops @0x300da420 (data 0x0)
[   18.292441063,7] IRQ: Registering fd7f8..fd7ff ops @0x300da420 (data 0x1013e2010)
[   18.292445530,7] PHB#0003:00:00.0 PCI: Registered PHB
[   18.292447130,6] PHB#0003[0:3]: Found /pciex@600c3c0300000 @0x600c3c0300000
[   18.292448554,6] PHB#0003[0:3]:   M32 [0x000600c180000000..0x000600c1ffffffff]
[   18.292449803,6] PHB#0003[0:3]:   M64 [0x0006020000000000..0x0006023fffffffff]
[   18.292451478,7] PHB#0003[0:3]: Base location code not found !
[   18.292453222,7] PHB#0003[0:3]: Core revision 0xa40002
[   18.292454309,7] PHB#0003[0:3]: Found 512 max PEs and 4096 IRQs 
[   18.292455476,6] PHB#0003[0:3]: Max link speed: GEN4
[   18.292456433,7] PHB#0003[0:3]: Override lane equalization settings:
[   18.292457462,7] PHB#0003[0:3]:   0x5454545454545454 0x5454545454545454
[   18.292458612,7] PHB#0003[0:3]:   0x5454545454545454 0x5454545454545454
[   18.292459897,7] PHB#0003[0:3]:   0x7777777777777777 0x7777777777777777
[   18.292581492,7] PHB#0003[0:3]: Initializing PHB4...
[   18.292582678,7] PHB#0003[0:3]: Default system config: 0x4410000040400000
[   18.292583945,7] PHB#0003[0:3]: New system config    : 0x4410000040400000
[   18.292585413,7] PHB#0003[0:3]: Initial PHB CRESET is 0xe000000000000000
[   18.292587019,7] PHB#0003[0:3]: Waiting for DLP PG reset to complete...
[   18.293100661,7] PHB#0003[0:3]: Reset state SRC_ID: 0ff8000000000000
[   18.293275545,7] PHB#0003[0:3]: Initialization complete
[   18.293276808,7] IRQ: Registering fc000..fcff7 ops @0x300da420 (data 0x0)
[   18.293278318,7] IRQ: Registering fcff8..fcfff ops @0x300da420 (data 0x101462010)
[   18.293282760,7] PHB#0004:00:00.0 PCI: Registered PHB
[   18.293284309,6] PHB#0004[0:4]: Found /pciex@600c3c0400000 @0x600c3c0400000
[   18.293285820,6] PHB#0004[0:4]:   M32 [0x000600c200000000..0x000600c27fffffff]
[   18.293287067,6] PHB#0004[0:4]:   M64 [0x0006024000000000..0x0006027fffffffff]
[   18.293288692,7] PHB#0004[0:4]: Base location code not found !
[   18.293290471,7] PHB#0004[0:4]: Core revision 0xa40002
[   18.293291528,7] PHB#0004[0:4]: Found 256 max PEs and 2048 IRQs 
[   18.293292631,6] PHB#0004[0:4]: Max link speed: GEN4
[   18.293293584,7] PHB#0004[0:4]: Override lane equalization settings:
[   18.293294638,7] PHB#0004[0:4]:   0x5454545454545454 0x5454545454545454
[   18.293295803,7] PHB#0004[0:4]:   0x5454545454545454 0x5454545454545454
[   18.293297044,7] PHB#0004[0:4]:   0x7777777777777777 0x7777777777777777
[   18.293405733,7] PHB#0004[0:4]: Initializing PHB4...
[   18.293406925,7] PHB#0004[0:4]: Default system config: 0x4210000040200000
[   18.293408197,7] PHB#0004[0:4]: New system config    : 0x4210000040200000
[   18.293409598,7] PHB#0004[0:4]: Initial PHB CRESET is 0xe000000000000000
[   18.293411207,7] PHB#0004[0:4]: Waiting for DLP PG reset to complete...
[   18.293924837,7] PHB#0004[0:4]: Reset state SRC_ID: 0ff8000000000000
[   18.294016238,7] PHB#0004[0:4]: Initialization complete
[   18.294017262,7] IRQ: Registering fb800..fbff7 ops @0x300da420 (data 0x0)
[   18.294018731,7] IRQ: Registering fbff8..fbfff ops @0x300da420 (data 0x1014e4010)
[   18.294023091,7] PHB#0005:00:00.0 PCI: Registered PHB
[   18.294024808,6] PHB#0005[0:5]: Found /pciex@600c3c0500000 @0x600c3c0500000
[   18.294026253,6] PHB#0005[0:5]:   M32 [0x000600c280000000..0x000600c2ffffffff]
[   18.294027517,6] PHB#0005[0:5]:   M64 [0x0006028000000000..0x000602bfffffffff]
[   18.294029133,7] PHB#0005[0:5]: Base location code not found !
[   18.294030847,7] PHB#0005[0:5]: Core revision 0xa40002
[   18.294031992,7] PHB#0005[0:5]: Found 256 max PEs and 2048 IRQs 
[   18.294033098,6] PHB#0005[0:5]: Max link speed: GEN4
[   18.294034082,7] PHB#0005[0:5]: Override lane equalization settings:
[   18.294035142,7] PHB#0005[0:5]:   0x5454545454545454 0x5454545454545454
[   18.294036428,7] PHB#0005[0:5]:   0x5454545454545454 0x5454545454545454
[   18.294037608,7] PHB#0005[0:5]:   0x7777777777777777 0x7777777777777777
[   18.294147614,7] PHB#0005[0:5]: Initializing PHB4...
[   18.294148806,7] PHB#0005[0:5]: Default system config: 0x4210000040200000
[   18.294150118,7] PHB#0005[0:5]: New system config    : 0x4210000040200000
[   18.294151463,7] PHB#0005[0:5]: Initial PHB CRESET is 0xe000000000000000
[   18.294153061,7] PHB#0005[0:5]: Waiting for DLP PG reset to complete...
[   18.294666714,7] PHB#0005[0:5]: Reset state SRC_ID: 0ff8000000000000
[   18.294758082,7] PHB#0005[0:5]: Initialization complete
[   18.294759135,7] IRQ: Registering fb000..fb7f7 ops @0x300da420 (data 0x0)
[   18.294760681,7] IRQ: Registering fb7f8..fb7ff ops @0x300da420 (data 0x101562010)
[   18.294817217,7] NVRAM: 'nv_zcal_override' not found
[   18.294818309,6] NPU: Platform does not support NPU
[   18.305059602,5] PCI: Resetting PHBs and training links...
[   18.305133019,7] PHB#0001[0:1]: FRESET: Starts
[   18.305132868,7] PHB#0000[0:0]: FRESET: Starts
[   18.305134034,7] PHB#0001[0:1]: FRESET: Prepare for link down
[   18.305134795,7] PHB#0003[0:3]: FRESET: Starts
[   18.305137411,7] PHB#0005[0:5]: FRESET: Starts
[   18.305134588,7] PHB#0000[0:0]: FRESET: Prepare for link down
[   18.305137046,7] PHB#0001[0:1]: FRESET: Assert skipped
[   18.305145578,7] PHB#0005[0:5]: FRESET: Prepare for link down
[   18.305136037,7] PHB#0004[0:4]: FRESET: Starts
[   18.305155083,7] PHB#0005[0:5]: FRESET: Assert skipped
[   18.305161200,7] PHB#0004[0:4]: FRESET: Prepare for link down
[   18.305163893,7] PHB#0005[0:5]: FRESET: Deassert
[   18.305133927,7] PHB#0002[0:2]: FRESET: Starts
[   18.305151561,7] PHB#0001[0:1]: FRESET: Deassert
[   18.305143939,7] PHB#0003[0:3]: FRESET: Prepare for link down
[   18.305179560,7] PHB#0002[0:2]: FRESET: Prepare for link down
[   18.305173461,7] PHB#0005[0:5]: LINK: Start polling
[   18.305198761,7] PHB#0002[0:2]: FRESET: Assert skipped
[   18.305190997,7] PHB#0003[0:3]: FRESET: Assert skipped
[   18.305172066,7] PHB#0004[0:4]: FRESET: Assert skipped
[   18.305206412,7] PHB#0002[0:2]: FRESET: Deassert
[   18.305183130,7] PHB#0001[0:1]: LINK: Start polling
[   18.305149479,7] PHB#0000[0:0]: FRESET: Assert skipped
[   18.305218161,7] PHB#0004[0:4]: FRESET: Deassert
[   18.305227486,7] PHB#0000[0:0]: FRESET: Deassert
[   18.305212313,7] PHB#0003[0:3]: FRESET: Deassert
[   18.305224418,7] PHB#0002[0:2]: LINK: Start polling
[   18.305239532,7] PHB#0003[0:3]: LINK: Start polling
[   18.305234037,7] PHB#0000[0:0]: LINK: Start polling
[   18.305232064,7] PHB#0004[0:4]: LINK: Start polling
[   18.305758332,7] PHB#0003[0:3]: LINK: Electrical link detected
[   18.305760689,7] PHB#0004[0:4]: LINK: Electrical link detected
[   18.311392407,7] PHB#0003[0:3]: LINK: Link is up
[   18.315953992,7] PHB#0005[0:5]: LINK: Electrical link detected
[   18.316467473,7] PHB#0005[0:5]: LINK: Link is up
[   18.321635465,7] PHB#0004[0:4]: LINK: Link is up
[   18.394459401,7] FLASH: BOOTKERNEL partition doesn't have ECC
[   18.501997351,7] HIOMAP: Opened read window from 0x2200000 for 1048576 bytes at 0xc200000
[   18.502676359,7] FLASH: BOOTKERNEL partition isn't signed
[   18.502677477,7] FLASH: computed BOOTKERNEL size 12296536
[   19.093095077,7] HIOMAP: Opened read window from 0x2200000 for 1048576 bytes at 0xc200000
[   19.193378551,7] HIOMAP: Opened read window from 0x2300000 for 1048576 bytes at 0xc300000
[   19.305770907,7] PHB#0001[0:1]: LINK: No in-band presence
[   19.305791977,7] PHB#0000[0:0]: LINK: No in-band presence
[   19.305803742,7] PHB#0002[0:2]: LINK: No in-band presence
[   19.310283681,7] cpu_wait_job(pciex@600c3c0000000) for 1010ms
[   19.311394289,7] PHB#0003[0:3]: LINK: Link is stable
[   19.311398998,7] PHB#0003[0:3]: LINK: Card [104c:8241] Optimal Retry:disabled
[   19.311400424,7] PHB#0003[0:3]: LINK: Speed Train:GEN2 PHB:GEN4 DEV:GEN2
[   19.311401690,7] PHB#0003[0:3]: LINK: Width Train:x01 PHB:x16 DEV:x01
[   19.311403064,7] PHB#0003[0:3]: LINK: RX Errors Now:0 Max:8 Lane:0x0000
[   19.316469761,7] PHB#0005[0:5]: LINK: Link is stable
[   19.316474849,7] PHB#0005[0:5]: LINK: Card [1a03:1150] Optimal Retry:disabled
[   19.316476678,7] PHB#0005[0:5]: LINK: Speed Train:GEN2 PHB:GEN4 DEV:GEN2
[   19.316478034,7] PHB#0005[0:5]: LINK: Width Train:x01 PHB:x08 DEV:x01
[   19.316479430,7] PHB#0005[0:5]: LINK: RX Errors Now:0 Max:8 Lane:0x0000
[   19.321637192,7] PHB#0004[0:4]: LINK: Link is stable
[   19.321642958,7] PHB#0004[0:4]: LINK: Card [14e4:1657] Degraded Retry:disabled
[   19.321644261,7] PHB#0004[0:4]: LINK: Speed Train:GEN2 PHB:GEN4 DEV:GEN1
[   19.321645495,7] PHB#0004[0:4]: LINK: Width Train:x02 PHB:x08 DEV:x04 *
[   19.321646867,7] PHB#0004[0:4]: LINK: RX Errors Now:0 Max:8 Lane:0x0000
[   19.325646488,5] PCI: Probing slots...
[   19.325833096,7] PHB#0000:00:00.0 Link down
[   19.325833435,7] PHB#0001:00:00.0 Link down
[   19.325834059,7] PHB#0000:00:00.0 Scanning (upstream only)...
[   19.325834566,7] PHB#0001:00:00.0 Scanning (upstream only)...
[   19.325835427,7] PHB#0003:00:00.0 Link up at x1 width
[   19.325839035,7] PHB#0000:00:00.0 Found VID:1014 DEV:04c1 TYP:4 MF- BR+ EX+
[   19.325841386,7] PHB#0001:00:00.0 Found VID:1014 DEV:04c1 TYP:4 MF- BR+ EX+
[   19.325838315,7] PHB#0005:00:00.0 Link up at x1 width
[   19.325836764,7] PHB#0004:00:00.0 Link up at x2 width
[   19.325852606,7] PHB#0005:00:00.0 Scanning (upstream+downsteam)...
[   19.325853496,7] PHB#0000:00:00.0 Powering off hotpluggable slot
[   19.325855019,7] PHB#0001:00:00.0 Powering off hotpluggable slot
[   19.325834385,7] PHB#0002:00:00.0 Link down
[   19.325865003,7] PHB#0005:00:00.0 Found VID:1014 DEV:04c1 TYP:4 MF- BR+ EX+
[   19.325858944,7] PHB#0004:00:00.0 Scanning (upstream+downsteam)...
[   19.325844427,7] PHB#0003:00:00.0 Scanning (upstream+downsteam)...
[   19.325869643,7] PHB#0002:00:00.0 Scanning (upstream only)...
[   19.325874469,7] PHB#0005:00:00.0 Bus 01..ff  scanning...
[   19.325886410,7] PHB#0003:00:00.0 Found VID:1014 DEV:04c1 TYP:4 MF- BR+ EX+
[   19.325889941,7] PHB#0005:00:00.0 waiting for link... 
[   19.325891722,7] PHB#0002:00:00.0 Found VID:1014 DEV:04c1 TYP:4 MF- BR+ EX+
[   19.325880466,7] PHB#0004:00:00.0 Found VID:1014 DEV:04c1 TYP:4 MF- BR+ EX+
[   19.325898755,7] PHB#0003:00:00.0 Bus 01..ff  scanning...
[   19.325905076,7] PHB#0002:00:00.0 Powering off hotpluggable slot
[   19.325910551,7] PHB#0004:00:00.0 Bus 01..ff  scanning...
[   19.325912618,7] PHB#0003:00:00.0 waiting for link... 
[   19.325914138,7] PHB#0004:00:00.0 waiting for link... 
[   19.377095893,7] PHB#0005:00:00.0 link is up
[   19.377104847,7] PHB#0005:01:00.0 Found VID:1a03 DEV:1150 TYP:7 MF- BR+ EX+
[   19.377110692,7] PHB#0005:01:00.0 Bus 02..ff  scanning...
[   19.377114666,7] PHB#0003:00:00.0 link is up
[   19.377116306,7] PHB#0004:00:00.0 link is up
[   19.377122779,7] PHB#0005:02:00.0 Found VID:1a03 DEV:2000 TYP:1 MF- BR- EX-
[   19.377123059,7] PHB#0003:01:00.0 Found VID:104c DEV:8241 TYP:0 MF- BR- EX+
[   19.377127386,7] PHB#0004:01:00.0 Found VID:14e4 DEV:1657 TYP:0 MF+ BR- EX+
[   19.377142689,7] PHB#0004:01:00.1 Found VID:14e4 DEV:1657 TYP:0 MF+ BR- EX+
[   19.382161563,7] PCI: Checking slot table against detected devices
[   19.382166883,3] PCI: PHB  (80000) not found
[   19.382213117,3] PCI: PHB  (80001) not found
[   19.382243748,3] PCI: PHB  (80003) not found
[   19.382277285,5] PCI Summary:
[   19.382304000,5] PHB#0000:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU1 Slot2 (16x) 
[   19.382374412,5] PHB#0001:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU1 Slot1 (8x) 
[   19.382456515,5] PHB#0002:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=Builtin SAS 
[   19.382523662,5] PHB#0003:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin USB 
[   19.382592083,5] PHB#0003:01:00.0 [EP  ] 104c 8241 R:02 C:0c0330 (      usb-xhci) LOC_CODE=Builtin USB
[   19.382665689,5] PHB#0004:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin Ethernet 
[   19.382737194,5] PHB#0004:01:00.0 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[   19.382818380,5] PHB#0004:01:00.1 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[   19.382902791,5] PHB#0005:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..02 SLOT=BMC 
[   19.382960969,5] PHB#0005:01:00.0 [ETOX] 1a03 1150 R:04 C:060400 B:02..02 LOC_CODE=BMC
[   19.383026489,6] PCI-QUIRK: Assumed platform default parameters for quirk_astbmc_vga
[   19.383030105,5] PHB#0005:02:00.0 [PCID] 1a03 2000 R:41 C:030000 (           vga) LOC_CODE=BMC
[   19.383149308,4] WARNING! Skiboot version does not match VERSION partition!
[   19.383204106,6] IPMI: setting fw progress sensor 02 to 07
[   19.386450323,7] irq ffff0 name: psi:fsp [level]
[   19.386451626,7] irq ffff1 name: psi:occ [level]
[   19.386452835,7] irq ffff2 name: psi:fsi [level]
[   19.386454131,7] irq ffff3 name: psi:lpchc [level]
[   19.386455634,7] irq ffff4 name: psi:local_err [level]
[   19.386457105,7] irq ffff5 name: psi:global_err [level]
[   19.386458412,7] irq ffff6 name: psi:external [level]
[   19.386459827,7] irq ffff7 name: psi:lpc_serirq_mux0 [level]
[   19.386461483,7] irq ffff8 name: psi:lpc_serirq_mux1 [level]
[   19.386463158,7] irq ffff9 name: psi:lpc_serirq_mux2 [level]
[   19.386464615,7] irq ffffa name: psi:lpc_serirq_mux3 [level]
[   19.386466114,7] irq ffffb name: psi:i2c [level]
[   19.386467378,7] irq ffffc name: psi:dio [level]
[   19.386468618,7] irq ffffd name: psi:psu [level]
[   19.386528034,6] Releasing unused memory:
[   19.386528982,6]     ibm,firmware-heap: 3017464/12582912 used
[   19.386530906,6]     ibm,firmware-allocs-memory@fff00000: 23994368/4283432960 used
[   19.386533484,6]     ibm,firmware-allocs-memory@0: 0/3455320064 used
[   19.386536454,6] Reserved regions:
[   19.386537096,6]   0x0001ff400000..0001ffffffff : coreboot@1ff400000
[   19.386538746,6]   0x0000ffe00000..0000ffefffff : coreboot@ffe00000
[   19.386540280,6]   0x000031c00000..000031ebffff : ibm,firmware-stacks
[   19.386542936,6]   0x000031000000..000031bfffff : ibm,firmware-data
[   19.386545572,6]   0x000030400000..000030ffffff : ibm,firmware-heap
[   19.386548196,6]   0x000030000000..0000303fffff : ibm,firmware-code
[   19.386550796,6]   0x0000fff00000..0001015e1fff : ibm,firmware-allocs-memory@fff00000
[   19.386890054,5] IPMI: Resetting boot count on successful boot
[   19.386941900,5] INIT: Waiting for kernel...
[   19.408419151,7] HIOMAP: Opened read window from 0x2400000 for 1048576 bytes at 0xc400000
[   20.205012408,7] HIOMAP: Opened read window from 0x2500000 for 1048576 bytes at 0xc500000
[   20.304429940,7] IPMI: Got error response. cmd=0x30, netfn=0x5, rc=0xcd
[   20.409308474,7] HIOMAP: Opened read window from 0x2600000 for 1048576 bytes at 0xc600000
[   21.101730052,7] HIOMAP: Opened read window from 0x2700000 for 1048576 bytes at 0xc700000
[   21.311221788,7] HIOMAP: Opened read window from 0x2800000 for 1048576 bytes at 0xc800000
[   22.003666232,7] HIOMAP: Opened read window from 0x2900000 for 1048576 bytes at 0xc900000
[   22.208214198,7] HIOMAP: Opened read window from 0x2a00000 for 1048576 bytes at 0xca00000
[   22.412487781,7] HIOMAP: Opened read window from 0x2b00000 for 1048576 bytes at 0xcb00000
[   23.109962740,7] HIOMAP: Opened read window from 0x2c00000 for 1048576 bytes at 0xcc00000
[   23.314344400,7] HIOMAP: Opened read window from 0x2d00000 for 1048576 bytes at 0xcd00000
[   24.006811795,7] HIOMAP: Opened read window from 0x2e00000 for 1048576 bytes at 0xce00000
[   24.068572854,3] STB: BOOTKERNEL NOT VERIFIED, invalid param. buf=0x20000000, len=12296536 key-hash=0x0 hash-size=64
[   24.105302964,5] STB: BOOTKERNEL hash calculated
[   24.105357077,3] STB: BOOTKERNEL (pcr4) NOT MEASURED. No TPM registered/enabled
[   24.106521982,7] INIT: Kernel loaded, size: 12296536 bytes (0 = unknown preload)
[   24.106523186,5] INIT: 64-bit LE kernel discovered
[   24.106588833,7] INIT: 64-bit kernel entry at 0x20010000, size 0xbba158
[   24.212940641,7] HIOMAP: Opened read window from 0x0 for 1048576 bytes at 0xc000000
[   24.214314952,7] FLASH: No ROOTFS partition
[   24.216742035,3] STB: EV_SEPARATOR (pcr0) NOT MEASURED. No TPM registered/enabled
[   24.216835265,3] STB: EV_SEPARATOR (pcr1) NOT MEASURED. No TPM registered/enabled
[   24.216885990,3] STB: EV_SEPARATOR (pcr2) NOT MEASURED. No TPM registered/enabled
[   24.216955592,3] STB: EV_SEPARATOR (pcr3) NOT MEASURED. No TPM registered/enabled
[   24.217012350,3] STB: EV_SEPARATOR (pcr4) NOT MEASURED. No TPM registered/enabled
[   24.217077892,3] STB: EV_SEPARATOR (pcr5) NOT MEASURED. No TPM registered/enabled
[   24.217140016,3] STB: EV_SEPARATOR (pcr6) NOT MEASURED. No TPM registered/enabled
[   24.217190878,3] STB: EV_SEPARATOR (pcr7) NOT MEASURED. No TPM registered/enabled
[   24.217247474,6] IPMI: setting fw progress sensor 02 to 13
[   24.217411905,7] NVRAM: 'bootargs' not found
[   24.233660670,6] Free space in HEAP memory regions:
[   24.233686454,6] Region ibm,firmware-heap free: 923920
[   24.233692119,6] Region ibm,firmware-allocs-memory@fff00000 free: 755a30
[   24.233694326,6] Total free: 17273680
[   24.233695180,7] INIT: stdout-path: /ibm,opal/consoles/serial@0
[   24.233710451,7] cpu_idle_p9 called pm disabled
[   24.233710452,7] cpu_idle_p9 called pm disabled
[   24.233722871,5] INIT: Starting kernel at 0x20010000, fdt at 0x306e0b08 128763 bytes
[   24.371337184,7] OPAL: CPU re-init with flags: 0xe
[   24.371339322,6] OPAL: Switch to little-endian OS
[   24.371366942,7] CPU: [0000004c] HID0 change 0x0080000000000000 -> 0x0880000000000000
[   24.371367697,7] CPU: [00000054] HID0 change 0x0080000000000000 -> 0x0880000000000000
[   24.371367447,7] CPU: [00000048] HID0 change 0x0080000000000000 -> 0x0880000000000000
[   24.371367406,7] CPU: [00000050] HID0 change 0x0080000000000000 -> 0x0880000000000000
[   24.380897714,7] PHB#0000[0:0]: Purging all IODA tables...
[   24.381257499,7] PHB#0001[0:1]: Purging all IODA tables...
[   24.381528525,7] PHB#0002[0:2]: Purging all IODA tables...
[   24.381803361,7] PHB#0003[0:3]: Purging all IODA tables...
[   24.382161040,7] PHB#0004[0:4]: Purging all IODA tables...
[   24.382434468,7] PHB#0005[0:5]: Purging all IODA tables...
[   24.387449531,7] XIVE reset, version: 1...
[   24.393128222,7] XIVE[ IC 00  ] Resetting one xive...
[   24.393172978,7] XIVE[ IC 00  ] freeing alloc map 0x3043a008/0x3043a008
[   24.393177892,7] XIVE[ IC 00  ] Resetting EQs...
[   24.404804643,7] XIVE[ IC 00  ] Cleaning up 512 VP ind entries...
[   24.404806296,7] XIVE[ IC 00  ]  0000 ... skip (firmware)
[   24.404810613,7] XIVE[ IC 00  ] Cleaning up 512 EQ ind entries...
[   24.404812200,7] XIVE[ IC 00  ]  0000 ... skip (firmware)
[   24.415600789,7] OPAL: Start CPU 0x0049 (PIR 0x0049) -> 0x000000000000abdc
[   24.415742363,7] OPAL: Start CPU 0x004a (PIR 0x004a) -> 0x000000000000abdc
[   24.415878514,7] OPAL: Start CPU 0x004b (PIR 0x004b) -> 0x000000000000abdc
[   24.416016058,7] OPAL: Start CPU 0x004c (PIR 0x004c) -> 0x000000000000abdc
[   24.416152501,7] OPAL: Start CPU 0x004d (PIR 0x004d) -> 0x000000000000abdc
[   24.416289594,7] OPAL: Start CPU 0x004e (PIR 0x004e) -> 0x000000000000abdc
[   24.416428614,7] OPAL: Start CPU 0x004f (PIR 0x004f) -> 0x000000000000abdc
[   24.416568990,7] OPAL: Start CPU 0x0050 (PIR 0x0050) -> 0x000000000000abdc
[   24.416724210,7] OPAL: Start CPU 0x0051 (PIR 0x0051) -> 0x000000000000abdc
[   24.416869014,7] OPAL: Start CPU 0x0052 (PIR 0x0052) -> 0x000000000000abdc
[   24.417025390,7] OPAL: Start CPU 0x0053 (PIR 0x0053) -> 0x000000000000abdc
[   24.417187460,7] OPAL: Start CPU 0x0054 (PIR 0x0054) -> 0x000000000000abdc
[   24.417357754,7] OPAL: Start CPU 0x0055 (PIR 0x0055) -> 0x000000000000abdc
[   24.417535825,7] OPAL: Start CPU 0x0056 (PIR 0x0056) -> 0x000000000000abdc
[   24.417728806,7] OPAL: Start CPU 0x0057 (PIR 0x0057) -> 0x000000000000abdc
[   25.164792235,3] LPC[000]: Got SYNC no-response error. Error address reg: 0xd0010080
[   25.164804818,6] IPMI: dropping non severe PEL event
[   25.164840989,7] UART: IRQ functional !
[   29.038588275,7] IMC: Configuring stopapi for IMC
[   29.038591772,7] IMC: Configuring stopapi for IMC
[   29.038610334,7] IMC: Configuring stopapi for IMC
[   29.038612342,7] IMC: Configuring stopapi for IMC
[   29.038629976,7] IMC: Configuring stopapi for IMC
[   29.038632177,7] IMC: Configuring stopapi for IMC
[   29.038654870,7] IMC: Configuring stopapi for IMC
[   29.038656743,7] IMC: Configuring stopapi for IMC
[   29.065237503,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xc9
[   29.068192611,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   29.070980505,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   29.073714451,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   29.077225732,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   29.079954836,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   29.082842668,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   29.085645964,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   29.088523505,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   29.091357907,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   29.094449589,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   29.097404166,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   29.429475586,7] HIOMAP: Opened read window from 0x400000 for 1048576 bytes at 0xcf00000
[   30.094901682,7] HIOMAP: Opened read window from 0x400000 for 1048576 bytes at 0xcf00000
[   30.111500460,7] HIOMAP: Opened read window from 0x500000 for 1048576 bytes at 0xd000000
[   30.319354008,7] HIOMAP: Opened read window from 0x500000 for 1048576 bytes at 0xd000000
[   30.335956114,7] HIOMAP: Opened read window from 0x600000 for 1048576 bytes at 0xd100000
[  208.132623669,3] I2C: Initial error status 0x04011f0104000000
[  208.132693844,6] IPMI: dropping non severe PEL event

@SergiiDmytruk , note the error "[ 208.132623669,3] I2C: Initial error status 0x04011f0104000000" above? (All the above of course with TPM module connected).

@tlaurion
Copy link
Author

The BMC sees way more then Heads (above):

root@talos:~# i2cdetect 2
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-2.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
root@talos:~# i2cdetect -l
i2c-105	i2c       	i2c_bus-5                       	I2C adapter
i2c-3	i2c       	1e78a100.i2c-bus                	I2C adapter
i2c-113	i2c       	i2c_bus-13                      	I2C adapter
i2c-103	i2c       	i2c_bus-3                       	I2C adapter
i2c-1	i2c       	1e78a080.i2c-bus                	I2C adapter
i2c-111	i2c       	i2c_bus-11                      	I2C adapter
i2c-101	i2c       	i2c_bus-1                       	I2C adapter
i2c-11	i2c       	1e78a400.i2c-bus                	I2C adapter
i2c-8	i2c       	1e78a340.i2c-bus                	I2C adapter
i2c-108	i2c       	i2c_bus-8                       	I2C adapter
i2c-6	i2c       	1e78a1c0.i2c-bus                	I2C adapter
i2c-106	i2c       	i2c_bus-6                       	I2C adapter
i2c-4	i2c       	1e78a140.i2c-bus                	I2C adapter
i2c-114	i2c       	i2c_bus-14                      	I2C adapter
i2c-104	i2c       	i2c_bus-4                       	I2C adapter
i2c-2	i2c       	1e78a0c0.i2c-bus                	I2C adapter
i2c-112	i2c       	i2c_bus-12                      	I2C adapter
i2c-102	i2c       	i2c_bus-2                       	I2C adapter
i2c-12	i2c       	1e78a440.i2c-bus                	I2C adapter
i2c-0	i2c       	1e78a040.i2c-bus                	I2C adapter
i2c-110	i2c       	i2c_bus-10                      	I2C adapter
i2c-100	i2c       	i2c_bus-0                       	I2C adapter
i2c-9	i2c       	1e78a380.i2c-bus                	I2C adapter
i2c-10	i2c       	1e78a3c0.i2c-bus                	I2C adapter
i2c-109	i2c       	i2c_bus-9                       	I2C adapter
i2c-7	i2c       	1e78a300.i2c-bus                	I2C adapter
i2c-107	i2c       	i2c_bus-7                       	I2C adapter
i2c-5	i2c       	1e78a180.i2c-bus                	I2C adapter
root@talos:~# 
root@talos:~# ls /dev/i2c-*
/dev/i2c-0    /dev/i2c-100  /dev/i2c-103  /dev/i2c-106  /dev/i2c-109  /dev/i2c-111  /dev/i2c-114  /dev/i2c-3    /dev/i2c-6    /dev/i2c-9
/dev/i2c-1    /dev/i2c-101  /dev/i2c-104  /dev/i2c-107  /dev/i2c-11   /dev/i2c-112  /dev/i2c-12   /dev/i2c-4    /dev/i2c-7
/dev/i2c-10   /dev/i2c-102  /dev/i2c-105  /dev/i2c-108  /dev/i2c-110  /dev/i2c-113  /dev/i2c-2    /dev/i2c-5    /dev/i2c-8

@tlaurion You can also list i2c buses via i2cdetect -l and probe the rest of them looking for 0x20. The address is fixed on the device to be 0x20, the bus should be the same on all Talos 2 systems (bus number 2 on hardware), but it's easy to check all buses and exclude different bus numbering as a possible cause of issues (I think there is also a chance of /dev/i2c-* devices being renumbered by skiboot and/or Linux).

@SergiiDmytruk you want me to grab some output?

@SergiiDmytruk
Copy link
Member

@SergiiDmytruk you want me to grab some output?

No, I haven't figured out the mapping of the buses there and not sure I was able to see TPM from BMC in my tests.

Interesting thing is that your Talos has fewer buses than ours (detection results differ too):

~ # i2cdetect -l
i2c-3   i2c             p8_00000000_e2p0                        I2C adapter
i2c-1   i2c             p8_00000000_e1p0                        I2C adapter
i2c-8   i2c             p8_00000008_e3p0                        I2C adapter
i2c-6   i2c             p8_00000008_e1p0                        I2C adapter
i2c-4   i2c             p8_00000000_e3p0                        I2C adapter
i2c-2   i2c             p8_00000000_e1p2                        I2C adapter
i2c-0   i2c             AST i2c bit bus                         I2C adapter
i2c-9   i2c             p8_00000008_e3p1                        I2C adapter
i2c-7   i2c             p8_00000008_e1p2                        I2C adapter
i2c-5   i2c             p8_00000000_e3p1                        I2C adapter

Same output from Debian:

root@debian:~# i2cdetect -l
i2c-3   i2c             p8_00000000_e3p0                        I2C adapter
i2c-1   i2c             p8_00000000_e1p2                        I2C adapter
i2c-8   i2c             p8_00000008_e3p1                        I2C adapter
i2c-6   i2c             p8_00000008_e1p2                        I2C adapter
i2c-4   i2c             p8_00000000_e3p1                        I2C adapter
i2c-2   i2c             p8_00000000_e2p0                        I2C adapter
i2c-0   i2c             p8_00000000_e1p0                        I2C adapter
i2c-9   i2c             AST i2c bit bus                         I2C adapter
i2c-7   i2c             p8_00000008_e3p0                        I2C adapter
i2c-5   i2c             p8_00000008_e1p0                        I2C adapter

Note that p8_00000000_e1p2 is i2c-2 in Heads but i2c-1 in Debian. It's also i2c-2 in your output, so i2cdetect 2 should detect connected TPM if schematics match (otherwise bus 3 and 5 look like possible candidates, I don't really like these differences in hardware).

@Pokisiekk
Copy link

I have reproduced the problem, using the firmware components given in the issue /dev/tpm0 is not visible

Using the latest firmware components in version v0.6.0 from dasharo, /dev/tpm0 is visible

@tlaurion
Copy link
Author

@Pokisiekk we are talking about those artifacts, correct? #272 (comment)

@Pokisiekk
Copy link

@tlaurion I used the following command to reproduce the issue:
wget https://output.circle-artifacts.com/output/job/90adf917-76d4-4d26-be2a-e1f0cf121724/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1296-g139ecb8-zImage.bundled https://output.circle-artifacts.com/output/job/90adf917-76d4-4d26-be2a-e1f0cf121724/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1296-g139ecb8.bootblock https://output.circle-artifacts.com/output/job/90adf917-76d4-4d26-be2a-e1f0cf121724/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1296-g139ecb8.rom

@tlaurion
Copy link
Author

tlaurion commented Nov 29, 2022

@Pokisiekk the main post of this issue was artifacts based on Heads master, which was not pointing to correct dasharo/coreboot Talos II config as documented under this reply of this issue: #272 (comment)

To have TPM enabled under coreboot, as specified again in comment #272 (comment) the correct versioned artifacts are product of PR linuxboot/heads#1247 :

wget https://output.circle-artifacts.com/output/job/68280d3d-7e2e-49ed-bd70-2aec61c7f7e3/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1299-g9fc1f1c-zImage.bundled https://output.circle-artifacts.com/output/job/68280d3d-7e2e-49ed-bd70-2aec61c7f7e3/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1299-g9fc1f1c.bootblock https://output.circle-artifacts.com/output/job/68280d3d-7e2e-49ed-bd70-2aec61c7f7e3/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1299-g9fc1f1c.rom

I'm glad I asked for clarifications. Upstream Heads is not having TPM support without that change in coreboot config.

@tlaurion I used the following command to reproduce the issue:
wget https://output.circle-artifacts.com/output/job/90adf917-76d4-4d26-be2a-e1f0cf121724/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1296-g139ecb8-zImage.bundled https://output.circle-artifacts.com/output/job/90adf917-76d4-4d26-be2a-e1f0cf121724/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1296-g139ecb8.bootblock https://output.circle-artifacts.com/output/job/90adf917-76d4-4d26-be2a-e1f0cf121724/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1296-g139ecb8.rom

Basically, you tested coreboot without TPM enablement.

@tlaurion
Copy link
Author

tlaurion commented Nov 29, 2022

I just retested 0.6 release on my side with same results: my TPM module doesn't get detected:


user@talos-tests:~/QubesIncoming/heads-tests$ wget https://3mdeb.com/open-source-firmware/Dasharo/raptor-cs_talos-2/v0.6.0/raptor-cs_talos-2_zImage_v0.6.0.bundled https://3mdeb.com/open-source-firmware/Dasharo/raptor-cs_talos-2/v0.6.0/raptor-cs_talos-2_coreboot_v0.6.0.rom.signed.ecc https://3mdeb.com/open-source-firmware/Dasharo/raptor-cs_talos-2/v0.6.0/raptor-cs_talos-2_bootblock_v0.6.0.signed.ecc

user@talos-tests:~/QubesIncoming/heads-tests$ rsync -ravczz --inplace --delete /home/user/QubesIncoming/heads-tests root@192.168.2.187:/tmp/images/

user@talos-tests:~/QubesIncoming/heads-tests$ ssh -l root 192.168.2.187 "pflash -r /tmp/talos.pnor && cd /tmp/images/heads-tests && pflash  -F ../../talos.pnor -f -P HBB -p *bootblock* && pflash  -F ../../talos.pnor -f -P HBI -p *.rom* && pflash  -F ../../talos.pnor -f -P BOOTKERNEL -p *zImage* && mboxctl --backend file:/tmp/talos.pnor"
Reading to "/tmp/talos.pnor" from 0x00000000..0x04000000 !
[==================================================] 100% ETA:0s     
About to program "raptor-cs_talos-2_bootblock_v0.6.0.signed.ecc" at 0x00205000..0x00213004 !
Programming & Verifying...
[==================================================] 100%
Updating actual size in partition header...
About to program "raptor-cs_talos-2_coreboot_v0.6.0.rom.signed.ecc" at 0x00425000..0x00666200 !
Programming & Verifying...
[==================================================] 100%
Updating actual size in partition header...
About to program "raptor-cs_talos-2_zImage_v0.6.0.bundled" at 0x022a1000..0x02e12158 !
Programming & Verifying...
[==================================================] 100%
Updating actual size in partition header...
SetBackend: Success


user@talos-tests:~/QubesIncoming/heads-tests$ while true; do ssh -l root 192.168.2.187; done
root@talos:~# obmcutil poweron && obmc-console-client


coreboot-raptor-cs_talos-2_v0.6.0 Fri Aug 19 15:00:24 UTC 2022 bootblock starting (log level: 7)...
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HBI partition has ECC
HBI is in 0x00426200 through 0x0175f037
FMAP: Found "FLASH" version 1.1 at 0x20000.
FMAP: base = 0x0 size = 0x200000 #areas = 4
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
CBFS: mcache @0xf8231000 built for 10 files, used 0x1f0 of 0x2000 bytes
CBFS: Found 'fallback/romstage' @0x80 size 0x13abb in mcache @0xf823102c
TCPA: Clearing coreboot TCPA log
FMAP: area FMAP found @ 20000 (512 bytes)
TPM: Digest of FMAP: FMAP to PCR 2 logged
FMAP: area BOOTBLOCK found @ 0 (131072 bytes)
TPM: Digest of FMAP: BOOTBLOCK to PCR 2 logged
CRTM initialized.
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Digest of FMAP: COREBOOT CBFS: fallback/romstage to PCR 2 logged
BS: bootblock times (exec / console): total (unknown) / 4 ms


coreboot-raptor-cs_talos-2_v0.6.0 Fri Aug 19 15:00:24 UTC 2022 romstage starting (log level: 7)...
IPMI: romstage PNP BT 0xe4
Get BMC self test result...Function Not Implemented
Initializing IPMI BMC watchdog timer
IPMI BMC watchdog initialized and started.
Initializing FSI...
Initialized FSI (chips mask: 0x01)
Building MVPDs...
starting istep 8.1
starting istep 8.2
starting istep 8.3
starting istep 8.4
starting istep 8.9
Base epsilon values read from table:
 R_T[0] = 22
 R_T[1] = 22
 R_T[2] = 103
 W_T[0] = 5
 W_T[1] = 33
Scaled epsilon values based on +20 percent guardband:
 R_T[0] = 27
 R_T[1] = 27
 R_T[2] = 124
 W_T[0] = 6
 W_T[1] = 40
starting istep 8.10
starting istep 8.11
starting istep 9.2
starting istep 9.4
starting istep 9.6
starting istep 9.7
starting istep 10.1
starting istep 10.6
starting istep 10.10
starting istep 10.12
starting istep 10.13
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
MEMD partition has ECC
MEMD is in 0x03cef200 through 0x03cfb917
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address 51
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address 52
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address 53
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D4
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D5
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D6
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D7
SPD @ 0x50
SPD: module type is DDR4
SPD: module part number is M393A1K43BB0-CRC    
SPD: banks 16, ranks 1, rows 16, columns 10, density 8192 Mb
SPD: device width 8 bits, bus width 64 bits
SPD: module size is 8192 MB (per channel)
starting istep 13.1
starting istep 13.2
starting istep 13.3
starting istep 13.4
starting istep 13.5
starting istep 13.6
starting istep 13.7
starting istep 13.8
starting istep 13.9
starting istep 13.10
CCS took 2 us (3 us timeout), 1 instruction(s)
CCS took 2 us (2 us timeout), 14 instruction(s)
RCD dump for I2C address 0x58:
0xf820fa30: 80 b3 40 42 30 00 00 00 02 01 00 03 cb e3 c0 0d  ..@B0...........
0xf820fa40: 00 00 39 00 00 00 00 00 00 00 07 00 00 00 00 00  ..9.............
starting istep 13.11
CCS took 2 us (7 us timeout), 2 instruction(s)
Write Leveling starting
CCS took 13 us (92 us timeout), 5 instruction(s)
Write Leveling done
Initial Pattern Write starting
CCS took 5 us (38 us timeout), 5 instruction(s)
Initial Pattern Write done
DQS alignment starting
CCS took 9 us (44 us timeout), 1 instruction(s)
DQS alignment done
Read Clock Alignment starting
CCS took 8 us (82 us timeout), 1 instruction(s)
Read Clock Alignment done
Read Centering starting
CCS took 36 us (120 us timeout), 1 instruction(s)
Read Centering done
Write Centering starting
CCS took 8707 us (11314 us timeout), 7 instruction(s)
Write Centering done
Coarse write/read starting
CCS took 5 us (24 us timeout), 1 instruction(s)
Coarse write/read done
starting istep 13.12
starting istep 13.13
starting istep 14.1
starting istep 14.2
starting istep 14.3
Initializing PEC0...
Initializing PEC1...
Initializing PEC2...
Initializing PHB0...
Initializing PHB1...
Initializing PHB2...
Initializing PHB3...
Initializing PHB4...
Initializing PHB5...
starting istep 14.4
starting istep 14.5
0xF000F = 221d104900008040
CBMEM:
IMD: root @ 0xffeff000 254 entries.
IMD: root @ 0xffefec00 62 entries.
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HBI partition has ECC
HBI is in 0x00426200 through 0x0175f037
CBFS: Found 'fallback/ramstage' @0x13bc0 size 0xeaac in mcache @0xf8231080
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Digest of FMAP: COREBOOT CBFS: fallback/ramstage to PCR 2 logged
BS: romstage times (exec / console): total (unknown) / 17 ms


coreboot-raptor-cs_talos-2_v0.6.0 Fri Aug 19 15:00:24 UTC 2022 ramstage starting (log level: 7)...
Enumerating buses...
Root Device scanning...
DD21, boot core: 18
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HCODE partition has ECC
HCODE is in 0x01a82200 through 0x01b821ff
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
OCC partition has ECC
OCC is in 0x03822200 through 0x039221ff
Base epsilon values read from table:
 R_T[0] = 22
 R_T[1] = 22
 R_T[2] = 103
 W_T[0] = 5
 W_T[1] = 33
Scaled epsilon values based on +20 percent guardband:
 R_T[0] = 27
 R_T[1] = 27
 R_T[2] = 124
 W_T[0] = 6
 W_T[1] = 40
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
WOFDATA partition has ECC
WOFDATA is in 0x039ea200 through 0x03c94ca7
Matching WOF tables section not found, disabling WOF
Safe mode freq = 1833412 kHZ, voltage = 711 mv
starting istep 15.2
starting istep 15.3
starting istep 15.4
Starting PM complex...
Attempting PGPE activation...
PGPE was activated successfully
Done starting PM complex
Activating OCC...
Done activating OCC
starting istep 16.1
XIVE configured, entering dead man loop
ASSERTION ERROR: file 'src/soc/ibm/power9/chip.c', line 695
starting istep 18.11
starting istep 18.12
CPU_CLUSTER: 0 enabled
PNP: 00e4.0 enabled
scan_bus: bus Root Device finished in 3026 msecs
done
BS: BS_DEV_ENUMERATE run times (exec / console): 3020 / 7 ms
Allocating resources...
Reading resources...
CPU_CLUSTER: 0 missing read_resources
Done reading resources.
CPU_CLUSTER: 0 missing set_resources
PNP: 00e4.0 00 <- [0x00000000e4 - 0x00000000e6] size 0x00000003 gran 0x00 io
Done setting resources.
Done allocating resources.
BS: BS_DEV_RESOURCES run times (exec / console): 0 / 1 ms
Enabling resources...
done.
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)

cut here. Resume at last repeated message:

I2C transfer failed to complete (0x04011f0104000000)
tpm_vendor_probe: ValidSts bit clear(0) in TPM_ACCESS register after 1000 ms
TPM: Can't initialize.
BS: BS_DEV_INIT entry times (exec / console): 265 / 736 ms
Initializing devices...
PNP: 00e4.0 init
IPMI: PNP BT 0xe4
Get BMC self test result...Function Not Implemented
IPMI: Found man_id 0x6cb0000, prod_id 0x1000000
IPMI: Version 2.0
PNP: 00e4.0 init finished in 154 msecs
Devices initialized
BS: BS_DEV_INIT run times (exec / console): 153 / 2 ms
Finalize devices...
Devices finalized
Writing coreboot table at 0xffed7000
 0. 0000000000000000-00000000f8207fff: RAM
 1. 00000000f8208000-00000000f820ffff: RAMSTAGE
 2. 00000000f8210000-00000000f8ffffff: RAM
 3. 00000000f9000000-00000000f92a0fff: RAMSTAGE
 4. 00000000f92a1000-00000000ffed6fff: RAM
 5. 00000000ffed7000-00000000ffefffff: CONFIGURATION TABLES
 6. 00000000fff00000-00000001ff3fffff: RAM
 7. 00000001ff400000-00000001ffffffff: RESERVED
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HBI partition has ECC
HBI is in 0x00426200 through 0x0175f037
Wrote coreboot table at: 0xffed7000, 0x24c bytes, checksum 7ac7
coreboot table: 612 bytes.
IMD ROOT    0. 0xffeff000 0x00001000
IMD SMALL   1. 0xffefe000 0x00001000
CONSOLE     2. 0xffede000 0x00020000
TCPASPECLOG 3. 0xffedc000 0x00001179
MEM INFO    4. 0xffed9000 0x000022b0
COREBOOT    5. 0xffed7000 0x00002000
IMD small region:
  IMD ROOT    0. 0xffefec00 0x00000400
  RO MCACHE   1. 0xffefea00 0x000001f0
  FMAP        2. 0xffefe920 0x000000e0
  TCPA LOGREF 3. 0xffefe900 0x00000010
BS: BS_WRITE_TABLES run times (exec / console): 0 / 6 ms
CBFS: Found 'fallback/payload' @0x28c00 size 0x6323c in mcache @0xffefeb84
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Digest of FMAP: COREBOOT CBFS: fallback/payload to PCR 2 logged
Checking segment from ROM address 0xf8380000
Checking segment from ROM address 0xf838001c
Checking segment from ROM address 0xf8380038
Loading segment from ROM address 0xf8380000
  code (compression=1)
  New segment dstaddr 0x00000000 memsize 0x173c00 srcaddr 0xf8380054 filesize 0x631e8
Loading Segment: addr: 0x00000000 memsz: 0x0000000000173c00 filesz: 0x00000000000631e8
using LZMA
Loading segment from ROM address 0xf838001c
  BSS 0x00300000 (113776 byte)
Loading Segment: addr: 0x00300000 memsz: 0x000000000001bc70 filesz: 0x0000000000000000
it's not compressed!
Clearing Segment: addr: 0x0000000000300000 memsz: 0x000000000001bc70
Loading segment from ROM address 0xf8380038
  Entry Point 0x00002570
BS: BS_PAYLOAD_LOAD run times (exec / console): 554 / 5 ms
coreboot TCPA measurements:

 PCR-2 f78a530fb5a70afcffdc86a98529abd24a90bac9 SHA1 [FMAP: FMAP]
 PCR-2 369155e6eab3b0a874140e591a4c0e992268b4b9 SHA1 [FMAP: BOOTBLOCK]
 PCR-2 5e785c080264aa6e169f70c80ac40b556066292b SHA1 [FMAP: COREBOOT CBFS: fallback/romstage]
 PCR-2 ba2a5af955811fbac58a5198545539596eb38c3e SHA1 [FMAP: COREBOOT CBFS: fallback/ramstage]
 PCR-2 ba35d4ce29d7b633b5644e2a3206c6069cf7f24d SHA1 [FMAP: COREBOOT CBFS: fallback/payload]

BS: BS_PAYLOAD_BOOT entry times (exec / console): 0 / 2 ms
Jumping to boot code at 0x00002570(0xffed7000)
CBFS: Found '1-cpu.dtb' @0x22b40 size 0x24e7 in mcache @0xffefeb3c
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Digest of FMAP: COREBOOT CBFS: 1-cpu.dtb to PCR 2 logged
[   13.059847335,5] OPAL v6.3-rc2-32-gfa060c2c starting...
[   13.059850752,7] initial console log level: memory 7, driver 5
[   13.059852798,6] CPU: P9 generation processor (max 4 threads/core)
[   13.059854556,7] CPU: Boot CPU PIR is 0x0048 PVR is 0x004e1201
[   13.059857081,7] OPAL table: 0x30108230 .. 0x30108810, branch table: 0x30002000
[   13.059860097,7] Assigning physical memory map table for nimbus
[   13.059862470,7] FDT: Parsing fdt @0xf90aa508
[   13.060572660,6] CHIP: Initialised chip 0 from xscom@603fc00000000
[   13.060597228,6] P9 DD2.10 detected
[   13.060598740,5] CHIP: Chip ID 0000 type: P9N DD2.10
[   13.060600795,7] XSCOM: Base address: 0x603fc00000000
[   13.060609791,7] XSTOP: XSCOM addr = 0x5012000, FIR bit = 31
[   13.060611963,6] MFSI 0:0: Initialized
[   13.060613367,6] MFSI 0:2: Initialized
[   13.060614772,6] MFSI 0:1: Initialized
[   13.060669891,6] LPC: LPC[000]: Initialized
[   13.060671331,7] LPC: access via MMIO @0x6030000000000
[   13.060684464,7] LPC: Default bus on chip 0x0
[   13.060691372,7] CPU: New max PIR set to 0x57
[   13.060722051,6] MEM: parsing reserved memory from node /reserved-memory
[   13.060726294,7] HOMER: Init chip 0
[   13.060728509,7]   PBA BAR0 : 0x00000001ff400000
[   13.060730215,7]   PBA MASK0: 0x0000000000300000
[   13.060731865,7]   HOMER Image at 0x1ff400000 size 4MB
[   13.060734778,7]   PBA BAR2 : 0x00000001ff800000
[   13.060736458,7]   PBA MASK2: 0x0000000000700000
[   13.060738086,7]   OCC Common Area at 0x1ff800000 size 8MB
[   13.060740396,7] CPU: decrementer bits 56
[   13.060745003,6] CPU: CPU from DT PIR=0x0048 Server#=0x48 State=3
[   13.060750370,6] CPU:  4 secondary threads
[   13.060753444,6] CPU: CPU from DT PIR=0x004c Server#=0x4c State=3
[   13.060758895,6] CPU:  4 secondary threads
[   13.060761926,6] CPU: CPU from DT PIR=0x0050 Server#=0x50 State=3
[   13.060767367,6] CPU:  4 secondary threads
[   13.060770443,6] CPU: CPU from DT PIR=0x0054 Server#=0x54 State=3
[   13.060775885,6] CPU:  4 secondary threads
[   13.060824259,6] PLAT: AST SIO unavailable!
[   13.060836755,7] UART: Using LPC IRQ 4
[   13.062909358,5] PLAT: Detected Talos platform
[   13.062950693,5] PLAT: Detected BMC platform ast2500:openbmc
[   13.077797779,5] CPU: All 16 processors called in...
[   13.170692052,7] LPC: Routing irq 10, policy: 0 (r=1)
[   13.170693233,7] LPC: SerIRQ 10 using route 0 targetted at OPAL
[   14.176001890,5] HIOMAP: Negotiated hiomap protocol v2
[   14.176053799,5] HIOMAP: Block size is 4KiB
[   14.176087061,5] HIOMAP: BMC suggested flash timeout of 8s
[   14.176131782,5] HIOMAP: Flash size is 64MiB
[   14.176161325,5] HIOMAP: Erase granule size is 4KiB
[   17.390880504,5] FLASH: Found system flash: (unnamed) id:0
[   18.181705940,3] STB: hw-key-hash not found
[   18.181760597,3] STB: hw_key-hash wrong size 0 (expected=64)
[   18.181850592,7] LPC: Routing irq 4, policy: 0 (r=1)
[   18.181851672,7] LPC: SerIRQ 4 using route 1 targetted at OPAL
[   18.181976083,5] OCC: All Chip Rdy after 0 ms
[   18.491214677,3] STB: VERSION NOT VERIFIED, invalid param. buf=0x306010e0, len=4326 key-hash=0x0 hash-size=64
[   18.491323009,5] STB: VERSION hash calculated
[   18.491347352,3] STB: VERSION (pcr3) NOT MEASURED. No TPM registered/enabled
[   20.097084776,3] STB: IMA_CATALOG NOT VERIFIED, invalid param. buf=0x30603170, len=73728 key-hash=0x0 hash-size=64
[   20.097389602,5] STB: IMA_CATALOG hash calculated
[   20.097458618,3] STB: IMA_CATALOG (pcr2) NOT MEASURED. No TPM registered/enabled
[   20.288506748,3] CAPP: Error loading ucode lid. index=201d1
[   20.302680334,5] PCI: Resetting PHBs and training links...
[   21.323269066,5] PCI: Probing slots...
[   21.379856475,3] PCI: PHB  (80000) not found
[   21.379908381,3] PCI: PHB  (80001) not found
[   21.379948729,3] PCI: PHB  (80003) not found
[   21.379978538,5] PCI Summary:
[   21.380014943,5] PHB#0000:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU1 Slot2 (16x) 
[   21.380085295,5] PHB#0001:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU1 Slot1 (8x) 
[   21.380165556,5] PHB#0002:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=Builtin SAS 
[   21.380234103,5] PHB#0003:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin USB 
[   21.380300482,5] PHB#0003:01:00.0 [EP  ] 104c 8241 R:02 C:0c0330 (      usb-xhci) LOC_CODE=Builtin USB
[   21.380370650,5] PHB#0004:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin Ethernet 
[   21.380449831,5] PHB#0004:01:00.0 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[   21.380523655,5] PHB#0004:01:00.1 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[   21.380594544,5] PHB#0005:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..02 SLOT=BMC 
[   21.380653092,5] PHB#0005:01:00.0 [ETOX] 1a03 1150 R:04 C:060400 B:02..02 LOC_CODE=BMC
[   21.380724059,5] PHB#0005:02:00.0 [PCID] 1a03 2000 R:41 C:030000 (           vga) LOC_CODE=BMC
[   21.380789532,4] WARNING! Skiboot version does not match VERSION partition!
[   21.384527633,5] IPMI: Resetting boot count on successful boot
[   21.384589214,5] INIT: Waiting for kernel...
[   26.016762780,3] STB: BOOTKERNEL NOT VERIFIED, invalid param. buf=0x20000000, len=11997528 key-hash=0x0 hash-size=64
[   26.052593494,5] STB: BOOTKERNEL hash calculated
[   26.052651367,3] STB: BOOTKERNEL (pcr4) NOT MEASURED. No TPM registered/enabled
[   26.054839666,5] INIT: 64-bit LE kernel discovered
[   26.213708579,3] STB: EV_SEPARATOR (pcr0) NOT MEASURED. No TPM registered/enabled
[   26.213788131,3] STB: EV_SEPARATOR (pcr1) NOT MEASURED. No TPM registered/enabled
[   26.213839001,3] STB: EV_SEPARATOR (pcr2) NOT MEASURED. No TPM registered/enabled
[   26.213895290,3] STB: EV_SEPARATOR (pcr3) NOT MEASURED. No TPM registered/enabled
[   26.213961287,3] STB: EV_SEPARATOR (pcr4) NOT MEASURED. No TPM registered/enabled
[   26.214017354,3] STB: EV_SEPARATOR (pcr5) NOT MEASURED. No TPM registered/enabled
[   26.214068121,3] STB: EV_SEPARATOR (pcr6) NOT MEASURED. No TPM registered/enabled
[   26.214113046,3] STB: EV_SEPARATOR (pcr7) NOT MEASURED. No TPM registered/enabled
[   26.230662582,5] INIT: Starting kernel at 0x20010000, fdt at 0x306e0b08 128763 bytes

zImage starting: loaded at 0x0000000020010000 (sp: 0x0000000020b6fee0)
Allocating 0x2783e80 bytes for kernel...
Decompressing (0x0000000000000000 <- 0x0000000020024000:0x0000000020b6d563)...
Done! Decompressed 0x2589970 bytes

Linux/PowerPC load: 
Finalizing device tree... flat tree at 0x20b70ce0
[   27.161764305,3] LPC[000]: Got SYNC no-response error. Error address reg: 0xd0010080
[   27.161777058,6] IPMI: dropping non severe PEL event
[   27.161815599,7] UART: IRQ functional !
[    4.457198] mm/pgtable-generic.c:50: bad pmd c00600c2800001be.
[    4.457200] mm/pgtable-generic.c:50: bad pmd c00600c2802001be.
[    4.457202] mm/pgtable-generic.c:50: bad pmd c00600c2804001be.
[    4.731743] kAFS: failed to register: -97
gpg: WARNING: nothing exported
[    6.611891] usbhid 1-1.1:1.1: couldn't find an input interrupt endpoint

***** Normal boot: /bin/gui-init

Skiboot logs:

~ # cat /sys/firmware/opal/msglog 
[   13.059847335,5] OPAL v6.3-rc2-32-gfa060c2c starting...
[   13.059850752,7] initial console log level: memory 7, driver 5
[   13.059852798,6] CPU: P9 generation processor (max 4 threads/core)
[   13.059854556,7] CPU: Boot CPU PIR is 0x0048 PVR is 0x004e1201
[   13.059857081,7] OPAL table: 0x30108230 .. 0x30108810, branch table: 0x30002000
[   13.059860097,7] Assigning physical memory map table for nimbus
[   13.059862470,7] FDT: Parsing fdt @0xf90aa508
[   13.060572660,6] CHIP: Initialised chip 0 from xscom@603fc00000000
[   13.060597228,6] P9 DD2.10 detected
[   13.060598740,5] CHIP: Chip ID 0000 type: P9N DD2.10
[   13.060600795,7] XSCOM: Base address: 0x603fc00000000
[   13.060609791,7] XSTOP: XSCOM addr = 0x5012000, FIR bit = 31
[   13.060611963,6] MFSI 0:0: Initialized
[   13.060613367,6] MFSI 0:2: Initialized
[   13.060614772,6] MFSI 0:1: Initialized
[   13.060669891,6] LPC: LPC[000]: Initialized
[   13.060671331,7] LPC: access via MMIO @0x6030000000000
[   13.060684464,7] LPC: Default bus on chip 0x0
[   13.060691372,7] CPU: New max PIR set to 0x57
[   13.060722051,6] MEM: parsing reserved memory from node /reserved-memory
[   13.060726294,7] HOMER: Init chip 0
[   13.060728509,7]   PBA BAR0 : 0x00000001ff400000
[   13.060730215,7]   PBA MASK0: 0x0000000000300000
[   13.060731865,7]   HOMER Image at 0x1ff400000 size 4MB
[   13.060734778,7]   PBA BAR2 : 0x00000001ff800000
[   13.060736458,7]   PBA MASK2: 0x0000000000700000
[   13.060738086,7]   OCC Common Area at 0x1ff800000 size 8MB
[   13.060740396,7] CPU: decrementer bits 56
[   13.060745003,6] CPU: CPU from DT PIR=0x0048 Server#=0x48 State=3
[   13.060750370,6] CPU:  4 secondary threads
[   13.060753444,6] CPU: CPU from DT PIR=0x004c Server#=0x4c State=3
[   13.060758895,6] CPU:  4 secondary threads
[   13.060761926,6] CPU: CPU from DT PIR=0x0050 Server#=0x50 State=3
[   13.060767367,6] CPU:  4 secondary threads
[   13.060770443,6] CPU: CPU from DT PIR=0x0054 Server#=0x54 State=3
[   13.060775885,6] CPU:  4 secondary threads
[   13.060824259,6] PLAT: AST SIO unavailable!
[   13.060836755,7] UART: Using LPC IRQ 4
[   13.062909358,5] PLAT: Detected Talos platform
[   13.062950693,5] PLAT: Detected BMC platform ast2500:openbmc
[   13.063235273,7] XIVE[ IC 00  ] Initializing rev 2 block ID 0...
[   13.063250922,7] XIVE[ IC 00  ] Handling interrupts [00000000..000fffff]
[   13.063258163,7] XIVE[ IC 00  ] IC: 0x6030203100000 [0x000000080000/16]
[   13.063260725,7] XIVE[ IC 00  ] TM: 0x6030203180000 [0x000000040000/16]
[   13.063263153,7] XIVE[ IC 00  ] PC: 0x6018000000000 [0x001000000000]
[   13.063265408,7] XIVE[ IC 00  ] VC: 0x6010000000000 [0x008000000000]
[   13.063268409,7] XIVE[ IC 00  ] PC_GLOBAL_CONFIG=00000000c0800000
[   13.063270434,7] XIVE[ IC 00  ] PC_TCTXT_CFG=e3c0c40200000000
[   13.063272515,7] XIVE[ IC 00  ] store EOI is disabled
[   13.063278231,7]  CQ_CFG_PB_GEN = 5000002400000000
[   13.063279932,7]  CQ_MSGSND     = ffffff0000000000
[   13.063663874,7] XIVE[ IC 00  ] SBE at 0x100340000 size 0x800000
[   13.065308923,7] XIVE[ IC 00  ] IVT at 0x100800000 size 0x800000
[   13.065330823,7] XIVE[ IC 00  ] EQi at 0x101010000 size 0x10000
[   13.065349660,7] XIVE[ IC 00  ] VPi at 0x101030000 size 0x10000
[   13.065354616,7] XIVE[ IC 00  ] Allocating pages 0 to 0 of VPs (for 128 VPs)
[   13.065373154,7] XIVE[ IC 00  ] VP0 at 0x101050000 size 0x10000
[   13.065397480,7] IRQ: Registering 0000..fffff ops @0x300da408 (data 0x0) [secondary]
[   13.065400691,7] IRQ: Registering 1000000..10fffff ops @0x300da408 (data 0x0)
[   13.065403430,6] XIVE: 1 chips considered for VP allocations
[   13.077658993,7] PSI[0x000]: ESB MMIO at @0x60302031c0000
[   13.077661332,7] PSI[0x000]: Interrupts sources registered for P9 DD2.x
[   13.077663473,7] IRQ: Registering ffff0..ffffd ops @0x300da408 (data 0x3047a570)
[   13.077696097,6] PSI[0x000]: Found PSI bridge [active=0]
[   13.077699637,6] CPU: Setting up secondary CPU state
[   13.077702162,6] CPU: Calling in all processors...
[    3.319949756,7] INIT: CPU PIR 0x0049 called in
[    3.319949741,7] INIT: CPU PIR 0x004b called in
[    3.319949694,7] INIT: CPU PIR 0x004f called in
[    3.319949684,7] INIT: CPU PIR 0x004c called in
[    0.016219682,7] INIT: CPU PIR 0x0057 called in
[    0.016219825,7] INIT: CPU PIR 0x0052 called in
[    0.016219828,7] INIT: CPU PIR 0x0050 called in
[    0.016219830,7] INIT: CPU PIR 0x0053 called in
[    0.016219677,7] INIT: CPU PIR 0x0056 called in
[    0.016219681,7] INIT: CPU PIR 0x0054 called in
[    0.016219675,7] INIT: CPU PIR 0x0055 called in
[    0.016219834,7] INIT: CPU PIR 0x0051 called in
[    3.319949670,7] INIT: CPU PIR 0x004e called in
[    3.319949606,7] INIT: CPU PIR 0x004d called in
[    3.319949866,7] INIT: CPU PIR 0x004a called in
[   13.077797779,5] CPU: All 16 processors called in...
[   13.077911095,6] CHIPTOD: Calculated MCBS is 0x55e63b67 (Cfreq=-1794967296 Tfreq=32000000)
[   13.077913103,7] CHIPTOD: Base TFMR=0x6712000000000000
[   13.077914619,7] CHIPTOD: Master sync on CPU PIR 0x0048...
[    3.339508531,7] CHIPTOD: Slave sync on CPU PIR 0x004c...
[    0.060721153,7] CHIPTOD: Slave sync on CPU PIR 0x0050...
[    0.085664541,7] CHIPTOD: Slave sync on CPU PIR 0x0054...
[   13.155261255,7] CHIPTOD: PIR 0x0048 TB=195fb9939
[   13.155262977,7] CHIPTOD: PIR 0x004c TB=195fb9ff3
[   13.160383560,7] CHIPTOD: PIR 0x0050 TB=19649c23a
[   13.165503992,7] CHIPTOD: PIR 0x0054 TB=19697e3e9
[   13.170626572,7] CHIPTOD: TOD Topology in Use: Primary
[   13.170627474,7] CHIPTOD:   Primary configuration:
[   13.170628180,7] CHIPTOD:   Chip id: 0, Role: MDMT, Status: Active Master
[   13.170629704,7] CHIPTOD:   Secondary configuration:
[   13.170630545,7] CHIPTOD:   Chip id: -1, Role: MDMT, Status: Active Master
[   13.170639156,7] SBE: Master chip id : 0
[   13.170643038,6] SBE: Timer facility on chip 0
[   13.170652045,6] I2C: Chip 00000000 Eng. 1 Clock 116 Mhz
[   13.170653401,6] I2C: Interrupts functional
[   13.170655366,6]  P0: <p8_00000000_e1p0> 1000 kHz
[   13.170657138,6]  P2: <p8_00000000_e1p2> 1000 kHz
[   13.170659497,6] I2C: Chip 00000000 Eng. 2 Clock 116 Mhz
[   13.170661572,6]  P0: <p8_00000000_e2p0> 400 kHz
[   13.170663607,6] I2C: Chip 00000000 Eng. 3 Clock 116 Mhz
[   13.170665550,6]  P0: <p8_00000000_e3p0> 400 kHz
[   13.170667092,6]  P1: <p8_00000000_e3p1> 400 kHz
[   13.170689093,6] BT: Interface initialized, IO 0x00e4
[   13.170692052,7] LPC: Routing irq 10, policy: 0 (r=1)
[   13.170693233,7] LPC: SerIRQ 10 using route 0 targetted at OPAL
[   13.170802214,7] BT: Using LPC IRQ 10
[   13.273214140,7] BT: Got a input buffer len (63) cap which differs from the default
[   13.273215418,7] BT: Got a output buffer len (63) cap which differs from the default
[   13.273216642,7] BT: BMC BT capabilities received:
[   13.273217303,7] BT: buffer sizes: 64 input 64 output
[   13.273218203,7] BT: number of requests: 1
[   13.273218951,7] BT: msg timeout: 10 max retries: 1
[   13.380754567,7] HIOMAP: Acked events: 0x3
[   14.068462262,7] IPMI Get Message Flags: 02
[   14.176001890,5] HIOMAP: Negotiated hiomap protocol v2
[   14.176053799,5] HIOMAP: Block size is 4KiB
[   14.176087061,5] HIOMAP: BMC suggested flash timeout of 8s
[   14.176131782,5] HIOMAP: Flash size is 64MiB
[   14.176161325,5] HIOMAP: Erase granule size is 4KiB
[   14.273510005,7] IPMI read event 35 complete: 16 bytes. cc: 00
[   14.273511091,7] IPMI: SEL received (16 bytes, netfn 58, cmd 15)
[   14.273512190,7] HIOMAP: Received events: 0x81
[   14.381049959,6] FLASH: registering flash device (unnamed) (size 0x4000000, blocksize 0x1000)
[   14.483467888,7] HIOMAP: Acked events: 0x1
[   14.483468625,6] HIOMAP: Protocol was reset
[   15.068758582,7] IPMI Get Message Flags: 02
[   15.273592402,7] IPMI read event 35 complete: 16 bytes. cc: 00
[   15.273593327,7] IPMI: SEL received (16 bytes, netfn 58, cmd 15)
[   15.273594344,7] HIOMAP: Received events: 0x80
[   15.381134054,6] HIOMAP: Restored state after protocol reset
[   15.478424088,7] IPMI Get Message Flags: 02
[   16.171258333,7] IPMI read event 35 complete: 16 bytes. cc: 00
[   16.171259314,7] IPMI: SEL received (16 bytes, netfn 58, cmd 15)
[   16.171260338,7] HIOMAP: Received events: 0x80
[   16.278799777,7] HIOMAP: Opened read window from 0x0 for 1048576 bytes at 0xc000000
[   16.487740930,7] FLASH: No ROOTFS partition
[   17.079525318,7] FLASH: No CAPP partition
[   17.390880504,5] FLASH: Found system flash: (unnamed) id:0
[   17.390937609,6] FLASH: registered system flash device (unnamed)
[   17.390938535,6] FLASH: probing for NVRAM
[   18.083787057,6] IPMI: Requesting IPMI_BMC_GET_DEVICE_ID
[   18.083788185,6] IPMI: setting power state: sys 80, dev 7f
[   18.083790184,6] IPMI: setting fw progress sensor 02 to 14
[   18.083791463,6] NVRAM: Size is 576 KB
[   18.181697518,6] NVRAM: Layout appears sane
[   18.181699560,7] NVRAM: 'log-level-driver' not found
[   18.181700573,7] NVRAM: 'log-level-memory' not found
[   18.181702621,7] STB: Found ibm,secureboot-v1-softrom
[   18.181704045,7] NVRAM: 'force-secure-mode' not found
[   18.181705130,6] STB: secure mode off
[   18.181705940,3] STB: hw-key-hash not found
[   18.181760597,3] STB: hw_key-hash wrong size 0 (expected=64)
[   18.181819280,7] NVRAM: 'force-trusted-mode' not found
[   18.181820305,6] STB: trusted mode on
[   18.181840742,6] STB: no compatible tpm device found!
[   18.181841546,6] FLASH: Loading VERSION section
[   18.181842635,7] FLASH: Queueing preload of 4/0
[   18.181844652,7] FLASH: Queueing preload of 3/4e0200
[   18.181845596,6] OPAL: Using OPAL UART console
[   18.181846600,7] NVRAM: 'uart-con-policy' not found
[   18.181850592,7] LPC: Routing irq 4, policy: 0 (r=1)
[   18.181851672,7] LPC: SerIRQ 4 using route 1 targetted at OPAL
[   18.181949707,7] SLW: Init chip 0x0
[   18.181954185,6] SLW: Configuring self-restore for HRMOR
[   18.181957367,7] CPU idle state device tree init
[   18.181958679,6] SLW: Configuring self-restore for HRMOR
[   18.181961262,6] SLW: Configuring self-restore for NCU_SPEC_BAR
[   18.181963097,6] SLW: Configuring self-restore for P9X_EX_NCU_DARN_BAR
[   18.181965489,7] NVRAM: 'opal-stop-state-disable-mask' not found
[   18.181967122,7] NVRAM stop disable mask: 0
[   18.181967859,6] SLW: Enabling: stop0_lite
[   18.181968595,6] SLW: Enabling: stop0
[   18.181969214,6] SLW: Enabling: stop1
[   18.181969857,6] SLW: Enabling: stop2
[   18.181970514,6] SLW: Enabling: stop4
[   18.181971169,6] SLW: Enabling: stop5
[   18.181974758,7] OCC: Chip 00 Data (00000001ff4e2000) = 019001764e300000
[   18.181976083,5] OCC: All Chip Rdy after 0 ms
[   18.182037194,7] OCC: CPU pstate state device tree init
[   18.182038038,7] OCC: Data (       1ff4e2000) =  19001764e300000                0
[   18.182039606,7] OCC: Version 90 Min 118 Nom 78 Max 0 Nr States 119
[   18.182047765,7] NVRAM: 'pcie-max-link-speed' not found
[   18.182072908,6] CAPI: Preloading ucode 201d1
[   18.182073843,7] FLASH: Queueing preload of 2/201d1
[   18.182074851,7] FLASH: Queueing preload of 0/0
[   18.182075719,7] FLASH: Queueing preload of 1/0
[   18.290790622,7] FLASH: VERSION partition doesn't have ECC
[   18.490481606,7] HIOMAP: Opened read window from 0x3900000 for 1048576 bytes at 0xc100000
[   18.491173901,7] FLASH: VERSION partition is signed
[   18.491214677,3] STB: VERSION NOT VERIFIED, invalid param. buf=0x306010e0, len=4326 key-hash=0x0 hash-size=64
[   18.491323009,5] STB: VERSION hash calculated
[   18.491347352,3] STB: VERSION (pcr3) NOT MEASURED. No TPM registered/enabled
[   19.079870123,7] IPMI: Got error response. cmd=0x6, netfn=0x7, rc=0xff
[   19.284772007,7] IPMI: Got error response. cmd=0x2e, netfn=0x7, rc=0xcc
[   19.284773189,7] ASTBMC: error sending msg. cc = cc
[   19.389023581,7] HIOMAP: Opened read window from 0x0 for 1048576 bytes at 0xc000000
[   19.390415844,7] FLASH: IMA_CATALOG partition has ECC
[   20.083226801,7] HIOMAP: Opened read window from 0x3900000 for 1048576 bytes at 0xc100000
[   20.083997320,7] FLASH: IMA_CATALOG partition is signed
[   20.097083785,7] FLASH: flash subpartition eyecatcher IMCC
[   20.097084776,3] STB: IMA_CATALOG NOT VERIFIED, invalid param. buf=0x30603170, len=73728 key-hash=0x0 hash-size=64
[   20.097389602,5] STB: IMA_CATALOG hash calculated
[   20.097458618,3] STB: IMA_CATALOG (pcr2) NOT MEASURED. No TPM registered/enabled
[   20.098162698,6] NX RNG[0] pace:2000
[   20.105182571,7] NVRAM: 'pci-eeh-verbose' not found
[   20.105183650,6] PHB4: Verbose EEH enabled
[   20.105184344,7] NVRAM: 'pci-tracing' not found
[   20.105185181,7] NVRAM: 'pci-eeh-mmio' not found
[   20.105186035,7] NVRAM: 'pci-retry-all' not found
[   20.105186977,7] NVRAM: 'phb-rx-err-max' not found
[   20.105187884,7] PHB4: Maximum RX errors during training: 8
[   20.105211370,6] PHB: Chip 0 Found PHB4 PBCQ0 Stack 0 at /xscom@603fc00000000/pbcq@4010c00/stack@0
[   20.105214169,7] PHB[0:0] X[PE]=0x04010c00/0x04010c40 X[PCI]=0x0d010800/0x0d010840 X[ETU]=0x0d010900
[   20.105219850,7] ETU reset: 0
[   20.105733180,7] Version reg: 0x000000a400000002
[   20.105739621,6] PHB: Chip 0 Found PHB4 PBCQ1 Stack 0 at /xscom@603fc00000000/pbcq@4011000/stack@0
[   20.105742070,7] PHB[0:1] X[PE]=0x04011000/0x04011040 X[PCI]=0x0e010800/0x0e010840 X[ETU]=0x0e010900
[   20.106264742,6] PHB: Chip 0 Found PHB4 PBCQ1 Stack 1 at /xscom@603fc00000000/pbcq@4011000/stack@1
[   20.106267116,7] PHB[0:2] X[PE]=0x04011000/0x04011080 X[PCI]=0x0e010800/0x0e010880 X[ETU]=0x0e010940
[   20.106790257,6] PHB: Chip 0 Found PHB4 PBCQ2 Stack 0 at /xscom@603fc00000000/pbcq@4011400/stack@0
[   20.106792572,7] PHB[0:3] X[PE]=0x04011400/0x04011440 X[PCI]=0x0f010800/0x0f010840 X[ETU]=0x0f010900
[   20.107315035,6] PHB: Chip 0 Found PHB4 PBCQ2 Stack 1 at /xscom@603fc00000000/pbcq@4011400/stack@1
[   20.107317401,7] PHB[0:4] X[PE]=0x04011400/0x04011480 X[PCI]=0x0f010800/0x0f010880 X[ETU]=0x0f010940
[   20.107839838,6] PHB: Chip 0 Found PHB4 PBCQ2 Stack 2 at /xscom@603fc00000000/pbcq@4011400/stack@2
[   20.107842369,7] PHB[0:5] X[PE]=0x04011400/0x040114c0 X[PCI]=0x0f010800/0x0f0108c0 X[ETU]=0x0f010980
[   20.108387197,7] PHB#0000:00:00.0 PCI: Registered PHB
[   20.108389009,6] PHB#0000[0:0]: Found /pciex@600c3c0000000 @0x600c3c0000000
[   20.108390684,6] PHB#0000[0:0]:   M32 [0x000600c000000000..0x000600c07fffffff]
[   20.108392226,6] PHB#0000[0:0]:   M64 [0x0006000000000000..0x0006003fffffffff]
[   20.108393995,7] PHB#0000[0:0]: Base location code not found !
[   20.108395787,7] PHB#0000[0:0]: Core revision 0xa40002
[   20.108397032,7] PHB#0000[0:0]: Found 512 max PEs and 4096 IRQs 
[   20.108398198,6] PHB#0000[0:0]: Max link speed: GEN4
[   20.108399225,7] PHB#0000[0:0]: Override lane equalization settings:
[   20.108400264,7] PHB#0000[0:0]:   0x5454545454545454 0x5454545454545454
[   20.108401765,7] PHB#0000[0:0]:   0x5454545454545454 0x5454545454545454
[   20.108403044,7] PHB#0000[0:0]:   0x7777777777777777 0x7777777777777777
[   20.108520043,7] PHB#0000[0:0]: Initializing PHB4...
[   20.108521322,7] PHB#0000[0:0]: Default system config: 0x4410000040400000
[   20.108522702,7] PHB#0000[0:0]: New system config    : 0x4410000040400000
[   20.108524057,7] PHB#0000[0:0]: Initial PHB CRESET is 0xe000000000000000
[   20.108525714,7] PHB#0000[0:0]: Waiting for DLP PG reset to complete...
[   20.109039476,7] PHB#0000[0:0]: Reset state SRC_ID: 0ff8000000000000
[   20.109214384,7] PHB#0000[0:0]: Initialization complete
[   20.286990211,7] HIOMAP: Opened read window from 0x0 for 1048576 bytes at 0xc000000
[   20.288359637,7] FLASH: No CAPP partition
[   20.288506748,3] CAPP: Error loading ucode lid. index=201d1
[   20.288574973,7] IRQ: Registering fe000..feff7 ops @0x300da408 (data 0x0)
[   20.288576604,7] IRQ: Registering feff8..fefff ops @0x300da408 (data 0x1012f0010)
[   20.288581264,7] PHB#0001:00:00.0 PCI: Registered PHB
[   20.288582855,6] PHB#0001[0:1]: Found /pciex@600c3c0100000 @0x600c3c0100000
[   20.288584410,6] PHB#0001[0:1]:   M32 [0x000600c080000000..0x000600c0ffffffff]
[   20.288585985,6] PHB#0001[0:1]:   M64 [0x0006004000000000..0x0006007fffffffff]
[   20.288587704,7] PHB#0001[0:1]: Base location code not found !
[   20.288589365,7] PHB#0001[0:1]: Core revision 0xa40002
[   20.288590610,7] PHB#0001[0:1]: Found 256 max PEs and 2048 IRQs 
[   20.288591844,6] PHB#0001[0:1]: Max link speed: GEN4
[   20.288592686,7] PHB#0001[0:1]: Override lane equalization settings:
[   20.288593660,7] PHB#0001[0:1]:   0x5454545454545454 0x5454545454545454
[   20.288595069,7] PHB#0001[0:1]:   0x5454545454545454 0x5454545454545454
[   20.288596402,7] PHB#0001[0:1]:   0x7777777777777777 0x7777777777777777
[   20.288705740,7] PHB#0001[0:1]: Initializing PHB4...
[   20.288707012,7] PHB#0001[0:1]: Default system config: 0x4210000040200000
[   20.288708553,7] PHB#0001[0:1]: New system config    : 0x4210000040200000
[   20.288709813,7] PHB#0001[0:1]: Initial PHB CRESET is 0xe000000000000000
[   20.288711374,7] PHB#0001[0:1]: Waiting for DLP PG reset to complete...
[   20.289225187,7] PHB#0001[0:1]: Reset state SRC_ID: 0ff8000000000000
[   20.289316667,7] PHB#0001[0:1]: Initialization complete
[   20.289317599,7] IRQ: Registering fd800..fdff7 ops @0x300da408 (data 0x0)
[   20.289319222,7] IRQ: Registering fdff8..fdfff ops @0x300da408 (data 0x101364010)
[   20.289323974,7] PHB#0002:00:00.0 PCI: Registered PHB
[   20.289325421,6] PHB#0002[0:2]: Found /pciex@600c3c0200000 @0x600c3c0200000
[   20.289326944,6] PHB#0002[0:2]:   M32 [0x000600c100000000..0x000600c17fffffff]
[   20.289328406,6] PHB#0002[0:2]:   M64 [0x0006008000000000..0x000600bfffffffff]
[   20.289330070,7] PHB#0002[0:2]: Base location code not found !
[   20.289331734,7] PHB#0002[0:2]: Core revision 0xa40002
[   20.289333000,7] PHB#0002[0:2]: Found 256 max PEs and 2048 IRQs 
[   20.289334272,6] PHB#0002[0:2]: Max link speed: GEN4
[   20.289335117,7] PHB#0002[0:2]: Override lane equalization settings:
[   20.289336022,7] PHB#0002[0:2]:   0x5454545454545454 0x5454545454545454
[   20.289337425,7] PHB#0002[0:2]:   0x5454545454545454 0x5454545454545454
[   20.289338743,7] PHB#0002[0:2]:   0x7777777777777777 0x7777777777777777
[   20.289448576,7] PHB#0002[0:2]: Initializing PHB4...
[   20.289449735,7] PHB#0002[0:2]: Default system config: 0x4210000040200000
[   20.289451156,7] PHB#0002[0:2]: New system config    : 0x4210000040200000
[   20.289452441,7] PHB#0002[0:2]: Initial PHB CRESET is 0xe000000000000000
[   20.289453972,7] PHB#0002[0:2]: Waiting for DLP PG reset to complete...
[   20.289967754,7] PHB#0002[0:2]: Reset state SRC_ID: 0ff8000000000000
[   20.290059218,7] PHB#0002[0:2]: Initialization complete
[   20.290060168,7] IRQ: Registering fd000..fd7f7 ops @0x300da408 (data 0x0)
[   20.290061730,7] IRQ: Registering fd7f8..fd7ff ops @0x300da408 (data 0x1013e2010)
[   20.290066251,7] PHB#0003:00:00.0 PCI: Registered PHB
[   20.290067747,6] PHB#0003[0:3]: Found /pciex@600c3c0300000 @0x600c3c0300000
[   20.290069158,6] PHB#0003[0:3]:   M32 [0x000600c180000000..0x000600c1ffffffff]
[   20.290070676,6] PHB#0003[0:3]:   M64 [0x0006020000000000..0x0006023fffffffff]
[   20.290072347,7] PHB#0003[0:3]: Base location code not found !
[   20.290073938,7] PHB#0003[0:3]: Core revision 0xa40002
[   20.290075161,7] PHB#0003[0:3]: Found 512 max PEs and 4096 IRQs 
[   20.290076391,6] PHB#0003[0:3]: Max link speed: GEN4
[   20.290077312,7] PHB#0003[0:3]: Override lane equalization settings:
[   20.290078180,7] PHB#0003[0:3]:   0x5454545454545454 0x5454545454545454
[   20.290079533,7] PHB#0003[0:3]:   0x5454545454545454 0x5454545454545454
[   20.290080835,7] PHB#0003[0:3]:   0x7777777777777777 0x7777777777777777
[   20.290202529,7] PHB#0003[0:3]: Initializing PHB4...
[   20.290203709,7] PHB#0003[0:3]: Default system config: 0x4410000040400000
[   20.290205110,7] PHB#0003[0:3]: New system config    : 0x4410000040400000
[   20.290206414,7] PHB#0003[0:3]: Initial PHB CRESET is 0xe000000000000000
[   20.290207824,7] PHB#0003[0:3]: Waiting for DLP PG reset to complete...
[   20.290721613,7] PHB#0003[0:3]: Reset state SRC_ID: 0ff8000000000000
[   20.290896434,7] PHB#0003[0:3]: Initialization complete
[   20.290897569,7] IRQ: Registering fc000..fcff7 ops @0x300da408 (data 0x0)
[   20.290899078,7] IRQ: Registering fcff8..fcfff ops @0x300da408 (data 0x101462010)
[   20.290903429,7] PHB#0004:00:00.0 PCI: Registered PHB
[   20.290904930,6] PHB#0004[0:4]: Found /pciex@600c3c0400000 @0x600c3c0400000
[   20.290906269,6] PHB#0004[0:4]:   M32 [0x000600c200000000..0x000600c27fffffff]
[   20.290907698,6] PHB#0004[0:4]:   M64 [0x0006024000000000..0x0006027fffffffff]
[   20.290909328,7] PHB#0004[0:4]: Base location code not found !
[   20.290910931,7] PHB#0004[0:4]: Core revision 0xa40002
[   20.290912122,7] PHB#0004[0:4]: Found 256 max PEs and 2048 IRQs 
[   20.290913266,6] PHB#0004[0:4]: Max link speed: GEN4
[   20.290914185,7] PHB#0004[0:4]: Override lane equalization settings:
[   20.290915063,7] PHB#0004[0:4]:   0x5454545454545454 0x5454545454545454
[   20.290916322,7] PHB#0004[0:4]:   0x5454545454545454 0x5454545454545454
[   20.290917537,7] PHB#0004[0:4]:   0x7777777777777777 0x7777777777777777
[   20.291026709,7] PHB#0004[0:4]: Initializing PHB4...
[   20.291027788,7] PHB#0004[0:4]: Default system config: 0x4210000040200000
[   20.291029204,7] PHB#0004[0:4]: New system config    : 0x4210000040200000
[   20.291030531,7] PHB#0004[0:4]: Initial PHB CRESET is 0xe000000000000000
[   20.291031958,7] PHB#0004[0:4]: Waiting for DLP PG reset to complete...
[   20.291545812,7] PHB#0004[0:4]: Reset state SRC_ID: 0ff8000000000000
[   20.291637316,7] PHB#0004[0:4]: Initialization complete
[   20.291638223,7] IRQ: Registering fb800..fbff7 ops @0x300da408 (data 0x0)
[   20.291639655,7] IRQ: Registering fbff8..fbfff ops @0x300da408 (data 0x1014e4010)
[   20.291644001,7] PHB#0005:00:00.0 PCI: Registered PHB
[   20.291645600,6] PHB#0005[0:5]: Found /pciex@600c3c0500000 @0x600c3c0500000
[   20.291646935,6] PHB#0005[0:5]:   M32 [0x000600c280000000..0x000600c2ffffffff]
[   20.291648315,6] PHB#0005[0:5]:   M64 [0x0006028000000000..0x000602bfffffffff]
[   20.291649965,7] PHB#0005[0:5]: Base location code not found !
[   20.291651531,7] PHB#0005[0:5]: Core revision 0xa40002
[   20.291652686,7] PHB#0005[0:5]: Found 256 max PEs and 2048 IRQs 
[   20.291653849,6] PHB#0005[0:5]: Max link speed: GEN4
[   20.291654792,7] PHB#0005[0:5]: Override lane equalization settings:
[   20.291655680,7] PHB#0005[0:5]:   0x5454545454545454 0x5454545454545454
[   20.291656922,7] PHB#0005[0:5]:   0x5454545454545454 0x5454545454545454
[   20.291658153,7] PHB#0005[0:5]:   0x7777777777777777 0x7777777777777777
[   20.291767926,7] PHB#0005[0:5]: Initializing PHB4...
[   20.291768998,7] PHB#0005[0:5]: Default system config: 0x4210000040200000
[   20.291770449,7] PHB#0005[0:5]: New system config    : 0x4210000040200000
[   20.291771825,7] PHB#0005[0:5]: Initial PHB CRESET is 0xe000000000000000
[   20.291773246,7] PHB#0005[0:5]: Waiting for DLP PG reset to complete...
[   20.292286971,7] PHB#0005[0:5]: Reset state SRC_ID: 0ff8000000000000
[   20.292378440,7] PHB#0005[0:5]: Initialization complete
[   20.292379454,7] IRQ: Registering fb000..fb7f7 ops @0x300da408 (data 0x0)
[   20.292380825,7] IRQ: Registering fb7f8..fb7ff ops @0x300da408 (data 0x101562010)
[   20.292438055,7] NVRAM: 'nv_zcal_override' not found
[   20.292439145,6] NPU: Platform does not support NPU
[   20.302680334,5] PCI: Resetting PHBs and training links...
[   20.302755185,7] PHB#0000[0:0]: FRESET: Starts
[   20.302755451,7] PHB#0001[0:1]: FRESET: Starts
[   20.302756487,7] PHB#0000[0:0]: FRESET: Prepare for link down
[   20.302756984,7] PHB#0001[0:1]: FRESET: Prepare for link down
[   20.302760066,7] PHB#0005[0:5]: FRESET: Starts
[   20.302757300,7] PHB#0003[0:3]: FRESET: Starts
[   20.302758641,7] PHB#0004[0:4]: FRESET: Starts
[   20.302763501,7] PHB#0005[0:5]: FRESET: Prepare for link down
[   20.302759441,7] PHB#0000[0:0]: FRESET: Assert skipped
[   20.302762077,7] PHB#0001[0:1]: FRESET: Assert skipped
[   20.302779300,7] PHB#0000[0:0]: FRESET: Deassert
[   20.302782531,7] PHB#0001[0:1]: FRESET: Deassert
[   20.302784925,7] PHB#0000[0:0]: LINK: Start polling
[   20.302787180,7] PHB#0001[0:1]: LINK: Start polling
[   20.302777677,7] PHB#0005[0:5]: FRESET: Assert skipped
[   20.302756391,7] PHB#0002[0:2]: FRESET: Starts
[   20.302792263,7] PHB#0005[0:5]: FRESET: Deassert
[   20.302775254,7] PHB#0004[0:4]: FRESET: Prepare for link down
[   20.302798032,7] PHB#0005[0:5]: LINK: Start polling
[   20.302797184,7] PHB#0002[0:2]: FRESET: Prepare for link down
[   20.302769279,7] PHB#0003[0:3]: FRESET: Prepare for link down
[   20.302809362,7] PHB#0002[0:2]: FRESET: Assert skipped
[   20.302803742,7] PHB#0004[0:4]: FRESET: Assert skipped
[   20.302814197,7] PHB#0003[0:3]: FRESET: Assert skipped
[   20.302820918,7] PHB#0004[0:4]: FRESET: Deassert
[   20.302817246,7] PHB#0002[0:2]: FRESET: Deassert
[   20.302828806,7] PHB#0004[0:4]: LINK: Start polling
[   20.302825447,7] PHB#0003[0:3]: FRESET: Deassert
[   20.302832226,7] PHB#0002[0:2]: LINK: Start polling
[   20.302839502,7] PHB#0003[0:3]: LINK: Start polling
[   20.303348840,7] PHB#0004[0:4]: LINK: Electrical link detected
[   20.303352997,7] PHB#0003[0:3]: LINK: Electrical link detected
[   20.308986965,7] PHB#0003[0:3]: LINK: Link is up
[   20.313557241,7] PHB#0005[0:5]: LINK: Electrical link detected
[   20.314070691,7] PHB#0005[0:5]: LINK: Link is up
[   20.319223623,7] PHB#0004[0:4]: LINK: Link is up
[   20.392143319,7] FLASH: BOOTKERNEL partition doesn't have ECC
[   20.499681533,7] HIOMAP: Opened read window from 0x2200000 for 1048576 bytes at 0xc200000
[   20.500361002,7] FLASH: BOOTKERNEL partition isn't signed
[   20.500362037,7] FLASH: computed BOOTKERNEL size 11997528
[   21.090779853,7] HIOMAP: Opened read window from 0x2200000 for 1048576 bytes at 0xc200000
[   21.191162961,7] HIOMAP: Opened read window from 0x2300000 for 1048576 bytes at 0xc300000
[   21.303333788,7] PHB#0000[0:0]: LINK: No in-band presence
[   21.303335612,7] PHB#0001[0:1]: LINK: No in-band presence
[   21.303399856,7] PHB#0002[0:2]: LINK: No in-band presence
[   21.307906362,7] cpu_wait_job(pciex@600c3c0000000) for 1010ms
[   21.308988899,7] PHB#0003[0:3]: LINK: Link is stable
[   21.308993769,7] PHB#0003[0:3]: LINK: Card [104c:8241] Optimal Retry:disabled
[   21.308995244,7] PHB#0003[0:3]: LINK: Speed Train:GEN2 PHB:GEN4 DEV:GEN2
[   21.308996441,7] PHB#0003[0:3]: LINK: Width Train:x01 PHB:x16 DEV:x01
[   21.308997687,7] PHB#0003[0:3]: LINK: RX Errors Now:0 Max:8 Lane:0x0000
[   21.314072629,7] PHB#0005[0:5]: LINK: Link is stable
[   21.314077732,7] PHB#0005[0:5]: LINK: Card [1a03:1150] Optimal Retry:disabled
[   21.314079513,7] PHB#0005[0:5]: LINK: Speed Train:GEN2 PHB:GEN4 DEV:GEN2
[   21.314081021,7] PHB#0005[0:5]: LINK: Width Train:x01 PHB:x08 DEV:x01
[   21.314082534,7] PHB#0005[0:5]: LINK: RX Errors Now:0 Max:8 Lane:0x0000
[   21.319225443,7] PHB#0004[0:4]: LINK: Link is stable
[   21.319230990,7] PHB#0004[0:4]: LINK: Card [14e4:1657] Degraded Retry:disabled
[   21.319232513,7] PHB#0004[0:4]: LINK: Speed Train:GEN2 PHB:GEN4 DEV:GEN1
[   21.319233725,7] PHB#0004[0:4]: LINK: Width Train:x02 PHB:x08 DEV:x04 *
[   21.319234913,7] PHB#0004[0:4]: LINK: RX Errors Now:0 Max:8 Lane:0x0000
[   21.323269066,5] PCI: Probing slots...
[   21.323523280,7] PHB#0000:00:00.0 Link down
[   21.323523687,7] PHB#0001:00:00.0 Link down
[   21.323524297,7] PHB#0000:00:00.0 Scanning (upstream only)...
[   21.323524721,7] PHB#0001:00:00.0 Scanning (upstream only)...
[   21.323525567,7] PHB#0003:00:00.0 Link up at x1 width
[   21.323528771,7] PHB#0005:00:00.0 Link up at x1 width
[   21.323529232,7] PHB#0000:00:00.0 Found VID:1014 DEV:04c1 TYP:4 MF- BR+ EX+
[   21.323534210,7] PHB#0005:00:00.0 Scanning (upstream+downsteam)...
[   21.323530762,7] PHB#0001:00:00.0 Found VID:1014 DEV:04c1 TYP:4 MF- BR+ EX+
[   21.323531880,7] PHB#0003:00:00.0 Scanning (upstream+downsteam)...
[   21.323543593,7] PHB#0005:00:00.0 Found VID:1014 DEV:04c1 TYP:4 MF- BR+ EX+
[   21.323546024,7] PHB#0001:00:00.0 Powering off hotpluggable slot
[   21.323541795,7] PHB#0000:00:00.0 Powering off hotpluggable slot
[   21.323524700,7] PHB#0002:00:00.0 Link down
[   21.323558891,7] PHB#0005:00:00.0 Bus 01..ff  scanning...
[   21.323526898,7] PHB#0004:00:00.0 Link up at x2 width
[   21.323564624,7] PHB#0005:00:00.0 waiting for link... 
[   21.323555723,7] PHB#0003:00:00.0 Found VID:1014 DEV:04c1 TYP:4 MF- BR+ EX+
[   21.323567507,7] PHB#0004:00:00.0 Scanning (upstream+downsteam)...
[   21.323562647,7] PHB#0002:00:00.0 Scanning (upstream only)...
[   21.323577716,7] PHB#0003:00:00.0 Bus 01..ff  scanning...
[   21.323581213,7] PHB#0003:00:00.0 waiting for link... 
[   21.323581399,7] PHB#0004:00:00.0 Found VID:1014 DEV:04c1 TYP:4 MF- BR+ EX+
[   21.323582240,7] PHB#0002:00:00.0 Found VID:1014 DEV:04c1 TYP:4 MF- BR+ EX+
[   21.323587539,7] PHB#0004:00:00.0 Bus 01..ff  scanning...
[   21.323588874,7] PHB#0002:00:00.0 Powering off hotpluggable slot
[   21.323590766,7] PHB#0004:00:00.0 waiting for link... 
[   21.374768509,7] PHB#0005:00:00.0 link is up
[   21.374777481,7] PHB#0005:01:00.0 Found VID:1a03 DEV:1150 TYP:7 MF- BR+ EX+
[   21.374783155,7] PHB#0005:01:00.0 Bus 02..ff  scanning...
[   21.374783347,7] PHB#0003:00:00.0 link is up
[   21.374792129,7] PHB#0003:01:00.0 Found VID:104c DEV:8241 TYP:0 MF- BR- EX+
[   21.374792938,7] PHB#0004:00:00.0 link is up
[   21.374795227,7] PHB#0005:02:00.0 Found VID:1a03 DEV:2000 TYP:1 MF- BR- EX-
[   21.374805788,7] PHB#0004:01:00.0 Found VID:14e4 DEV:1657 TYP:0 MF+ BR- EX+
[   21.374820586,7] PHB#0004:01:00.1 Found VID:14e4 DEV:1657 TYP:0 MF+ BR- EX+
[   21.379851614,7] PCI: Checking slot table against detected devices
[   21.379856475,3] PCI: PHB  (80000) not found
[   21.379908381,3] PCI: PHB  (80001) not found
[   21.379948729,3] PCI: PHB  (80003) not found
[   21.379978538,5] PCI Summary:
[   21.380014943,5] PHB#0000:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU1 Slot2 (16x) 
[   21.380085295,5] PHB#0001:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU1 Slot1 (8x) 
[   21.380165556,5] PHB#0002:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=Builtin SAS 
[   21.380234103,5] PHB#0003:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin USB 
[   21.380300482,5] PHB#0003:01:00.0 [EP  ] 104c 8241 R:02 C:0c0330 (      usb-xhci) LOC_CODE=Builtin USB
[   21.380370650,5] PHB#0004:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin Ethernet 
[   21.380449831,5] PHB#0004:01:00.0 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[   21.380523655,5] PHB#0004:01:00.1 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[   21.380594544,5] PHB#0005:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..02 SLOT=BMC 
[   21.380653092,5] PHB#0005:01:00.0 [ETOX] 1a03 1150 R:04 C:060400 B:02..02 LOC_CODE=BMC
[   21.380720521,6] PCI-QUIRK: Assumed platform default parameters for quirk_astbmc_vga
[   21.380724059,5] PHB#0005:02:00.0 [PCID] 1a03 2000 R:41 C:030000 (           vga) LOC_CODE=BMC
[   21.380789532,4] WARNING! Skiboot version does not match VERSION partition!
[   21.380842424,6] IPMI: setting fw progress sensor 02 to 07
[   21.384088553,7] irq ffff0 name: psi:fsp [level]
[   21.384089965,7] irq ffff1 name: psi:occ [level]
[   21.384091278,7] irq ffff2 name: psi:fsi [level]
[   21.384092564,7] irq ffff3 name: psi:lpchc [level]
[   21.384093884,7] irq ffff4 name: psi:local_err [level]
[   21.384095244,7] irq ffff5 name: psi:global_err [level]
[   21.384096740,7] irq ffff6 name: psi:external [level]
[   21.384098169,7] irq ffff7 name: psi:lpc_serirq_mux0 [level]
[   21.384099731,7] irq ffff8 name: psi:lpc_serirq_mux1 [level]
[   21.384101296,7] irq ffff9 name: psi:lpc_serirq_mux2 [level]
[   21.384102982,7] irq ffffa name: psi:lpc_serirq_mux3 [level]
[   21.384104577,7] irq ffffb name: psi:i2c [level]
[   21.384105787,7] irq ffffc name: psi:dio [level]
[   21.384106945,7] irq ffffd name: psi:psu [level]
[   21.384166331,6] Releasing unused memory:
[   21.384167370,6]     ibm,firmware-heap: 3017464/12582912 used
[   21.384169325,6]     ibm,firmware-allocs-memory@fff00000: 23994368/4283432960 used
[   21.384171638,6]     ibm,firmware-allocs-memory@0: 0/3455320064 used
[   21.384174596,6] Reserved regions:
[   21.384175263,6]   0x0001ff400000..0001ffffffff : coreboot@1ff400000
[   21.384176797,6]   0x0000ffe00000..0000ffefffff : coreboot@ffe00000
[   21.384178090,6]   0x000031c00000..000031ebffff : ibm,firmware-stacks
[   21.384180749,6]   0x000031000000..000031bfffff : ibm,firmware-data
[   21.384183337,6]   0x000030400000..000030ffffff : ibm,firmware-heap
[   21.384185869,6]   0x000030000000..0000303fffff : ibm,firmware-code
[   21.384188205,6]   0x0000fff00000..0001015e1fff : ibm,firmware-allocs-memory@fff00000
[   21.384527633,5] IPMI: Resetting boot count on successful boot
[   21.384589214,5] INIT: Waiting for kernel...
[   21.406190000,7] HIOMAP: Opened read window from 0x2400000 for 1048576 bytes at 0xc400000
[   22.202891937,7] HIOMAP: Opened read window from 0x2500000 for 1048576 bytes at 0xc500000
[   22.301888501,7] IPMI: Got error response. cmd=0x30, netfn=0x5, rc=0xcd
[   22.407196149,7] HIOMAP: Opened read window from 0x2600000 for 1048576 bytes at 0xc600000
[   23.099532011,7] HIOMAP: Opened read window from 0x2700000 for 1048576 bytes at 0xc700000
[   23.309121799,7] HIOMAP: Opened read window from 0x2800000 for 1048576 bytes at 0xc800000
[   24.001461116,7] HIOMAP: Opened read window from 0x2900000 for 1048576 bytes at 0xc900000
[   24.206082188,7] HIOMAP: Opened read window from 0x2a00000 for 1048576 bytes at 0xca00000
[   24.410349620,7] HIOMAP: Opened read window from 0x2b00000 for 1048576 bytes at 0xcb00000
[   25.107745012,7] HIOMAP: Opened read window from 0x2c00000 for 1048576 bytes at 0xcc00000
[   25.312155106,7] HIOMAP: Opened read window from 0x2d00000 for 1048576 bytes at 0xcd00000
[   26.004498221,7] HIOMAP: Opened read window from 0x2e00000 for 1048576 bytes at 0xce00000
[   26.016762780,3] STB: BOOTKERNEL NOT VERIFIED, invalid param. buf=0x20000000, len=11997528 key-hash=0x0 hash-size=64
[   26.052593494,5] STB: BOOTKERNEL hash calculated
[   26.052651367,3] STB: BOOTKERNEL (pcr4) NOT MEASURED. No TPM registered/enabled
[   26.054838295,7] INIT: Kernel loaded, size: 11997528 bytes (0 = unknown preload)
[   26.054839666,5] INIT: 64-bit LE kernel discovered
[   26.054905256,7] INIT: 64-bit kernel entry at 0x20010000, size 0xb71158
[   26.211445248,7] HIOMAP: Opened read window from 0x0 for 1048576 bytes at 0xc000000
[   26.212816466,7] FLASH: No ROOTFS partition
[   26.213708579,3] STB: EV_SEPARATOR (pcr0) NOT MEASURED. No TPM registered/enabled
[   26.213788131,3] STB: EV_SEPARATOR (pcr1) NOT MEASURED. No TPM registered/enabled
[   26.213839001,3] STB: EV_SEPARATOR (pcr2) NOT MEASURED. No TPM registered/enabled
[   26.213895290,3] STB: EV_SEPARATOR (pcr3) NOT MEASURED. No TPM registered/enabled
[   26.213961287,3] STB: EV_SEPARATOR (pcr4) NOT MEASURED. No TPM registered/enabled
[   26.214017354,3] STB: EV_SEPARATOR (pcr5) NOT MEASURED. No TPM registered/enabled
[   26.214068121,3] STB: EV_SEPARATOR (pcr6) NOT MEASURED. No TPM registered/enabled
[   26.214113046,3] STB: EV_SEPARATOR (pcr7) NOT MEASURED. No TPM registered/enabled
[   26.214179298,6] IPMI: setting fw progress sensor 02 to 13
[   26.214343837,7] NVRAM: 'bootargs' not found
[   26.230603925,6] Free space in HEAP memory regions:
[   26.230627062,6] Region ibm,firmware-heap free: 923920
[   26.230632301,6] Region ibm,firmware-allocs-memory@fff00000 free: 755a30
[   26.230634556,6] Total free: 17273680
[   26.230635413,7] INIT: stdout-path: /ibm,opal/consoles/serial@0
[   26.230650122,7] cpu_idle_p9 called pm disabled
[   26.230662582,5] INIT: Starting kernel at 0x20010000, fdt at 0x306e0b08 128763 bytes
[   26.368003240,7] OPAL: CPU re-init with flags: 0xe
[   26.368005346,6] OPAL: Switch to little-endian OS
[   26.368033735,7] CPU: [0000004c] HID0 change 0x0080000000000000 -> 0x0880000000000000
[   26.368034178,7] CPU: [00000048] HID0 change 0x0080000000000000 -> 0x0880000000000000
[   26.368034215,7] CPU: [00000050] HID0 change 0x0080000000000000 -> 0x0880000000000000
[   26.368034391,7] CPU: [00000054] HID0 change 0x0080000000000000 -> 0x0880000000000000
[   26.377679517,7] PHB#0000[0:0]: Purging all IODA tables...
[   26.378040309,7] PHB#0001[0:1]: Purging all IODA tables...
[   26.378312285,7] PHB#0002[0:2]: Purging all IODA tables...
[   26.378589980,7] PHB#0003[0:3]: Purging all IODA tables...
[   26.378948958,7] PHB#0004[0:4]: Purging all IODA tables...
[   26.379222460,7] PHB#0005[0:5]: Purging all IODA tables...
[   26.384405150,7] XIVE reset, version: 1...
[   26.390141825,7] XIVE[ IC 00  ] Resetting one xive...
[   26.390184955,7] XIVE[ IC 00  ] freeing alloc map 0x3043a008/0x3043a008
[   26.390190150,7] XIVE[ IC 00  ] Resetting EQs...
[   26.401707637,7] XIVE[ IC 00  ] Cleaning up 512 VP ind entries...
[   26.401709277,7] XIVE[ IC 00  ]  0000 ... skip (firmware)
[   26.401713648,7] XIVE[ IC 00  ] Cleaning up 512 EQ ind entries...
[   26.401715313,7] XIVE[ IC 00  ]  0000 ... skip (firmware)
[   26.412575169,7] OPAL: Start CPU 0x0049 (PIR 0x0049) -> 0x000000000000abdc
[   26.412717559,7] OPAL: Start CPU 0x004a (PIR 0x004a) -> 0x000000000000abdc
[   26.412852648,7] OPAL: Start CPU 0x004b (PIR 0x004b) -> 0x000000000000abdc
[   26.412988875,7] OPAL: Start CPU 0x004c (PIR 0x004c) -> 0x000000000000abdc
[   26.413125805,7] OPAL: Start CPU 0x004d (PIR 0x004d) -> 0x000000000000abdc
[   26.413262455,7] OPAL: Start CPU 0x004e (PIR 0x004e) -> 0x000000000000abdc
[   26.413401214,7] OPAL: Start CPU 0x004f (PIR 0x004f) -> 0x000000000000abdc
[   26.413542883,7] OPAL: Start CPU 0x0050 (PIR 0x0050) -> 0x000000000000abdc
[   26.413703701,7] OPAL: Start CPU 0x0051 (PIR 0x0051) -> 0x000000000000abdc
[   26.413853240,7] OPAL: Start CPU 0x0052 (PIR 0x0052) -> 0x000000000000abdc
[   26.414015529,7] OPAL: Start CPU 0x0053 (PIR 0x0053) -> 0x000000000000abdc
[   26.414182853,7] OPAL: Start CPU 0x0054 (PIR 0x0054) -> 0x000000000000abdc
[   26.414361509,7] OPAL: Start CPU 0x0055 (PIR 0x0055) -> 0x000000000000abdc
[   26.414545243,7] OPAL: Start CPU 0x0056 (PIR 0x0056) -> 0x000000000000abdc
[   26.414743191,7] OPAL: Start CPU 0x0057 (PIR 0x0057) -> 0x000000000000abdc
[   27.161764305,3] LPC[000]: Got SYNC no-response error. Error address reg: 0xd0010080
[   27.161777058,6] IPMI: dropping non severe PEL event
[   27.161815599,7] UART: IRQ functional !
[   30.507567719,7] IMC: Configuring stopapi for IMC
[   30.507571384,7] IMC: Configuring stopapi for IMC
[   30.507594112,7] IMC: Configuring stopapi for IMC
[   30.507595980,7] IMC: Configuring stopapi for IMC
[   30.507614864,7] IMC: Configuring stopapi for IMC
[   30.507617232,7] IMC: Configuring stopapi for IMC
[   30.507637860,7] IMC: Configuring stopapi for IMC
[   30.507639714,7] IMC: Configuring stopapi for IMC
[   31.022405665,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xc9
[   31.025090738,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   31.028367204,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   31.031270308,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   31.034092025,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   31.037093961,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   31.039905058,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   31.042778090,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   31.045572560,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   31.048617834,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   31.051435275,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc
[   31.054826534,7] IPMI: Got error response. cmd=0x42, netfn=0x7, rc=0xcc

@Pokisiekk
Copy link

@tlaurion I used firmware components from #272 (comment) and the TPM seems to be working fine.

Some command outputs:

~ # dmesg | grep -i tpm
[    4.393022] tpm_i2c_infineon 3-0020: 1.2 TPM (device-id 0x1A)
~ # ls /dev/tpm0
/dev/tpm0

~ # cbmem -1

coreboot--TIMELESS--LESSTIME--Heads-v0.2.0-1299-g9fc1f1c Thu Jan  1 00:00:00 UTC 1970 bootblock starting (log level: 7)...
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HBI partition has ECC
HBI is in 0x00426200 through 0x0175f037
FMAP: Found "FLASH" version 1.1 at 0x20000.
FMAP: base = 0x0 size = 0x200000 #areas = 4
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
CBFS: mcache @0xf8231000 built for 10 files, used 0x1f0 of 0x2000 bytes
CBFS: Found 'fallback/romstage' @0x80 size 0x13a25 in mcache @0xf823102c
TCPA: Clearing coreboot TCPA log
FMAP: area FMAP found @ 20000 (512 bytes)
TPM: Digest of FMAP: FMAP to PCR 2 logged
FMAP: area BOOTBLOCK found @ 0 (131072 bytes)
TPM: Digest of FMAP: BOOTBLOCK to PCR 2 logged
CRTM initialized.
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Digest of FMAP: COREBOOT CBFS: fallback/romstage to PCR 2 logged
BS: bootblock times (exec / console): total (unknown) / 4 ms


coreboot--TIMELESS--LESSTIME--Heads-v0.2.0-1299-g9fc1f1c Thu Jan  1 00:00:00 UTC 1970 romstage starting (log level: 7)...
IPMI: romstage PNP BT 0xe4
Get BMC self test result...Function Not Implemented
Initializing IPMI BMC watchdog timer
IPMI BMC watchdog initialized and started.
Initializing FSI...
Initialized FSI (chips mask: 0x01)
Building MVPDs...
starting istep 8.1
starting istep 8.2
starting istep 8.3
starting istep 8.4
starting istep 8.9
Base epsilon values read from table:
 R_T[0] = 10
 R_T[1] = 10
 R_T[2] = 79
 W_T[0] = 0
 W_T[1] = 21
Scaled epsilon values based on +20 percent guardband:
 R_T[0] = 12
 R_T[1] = 12
 R_T[2] = 95
 W_T[0] = 0
 W_T[1] = 26
starting istep 8.10
starting istep 8.11
starting istep 9.2
starting istep 9.4
starting istep 9.6
starting istep 9.7
starting istep 10.1
starting istep 10.6
starting istep 10.10
starting istep 10.12
starting istep 10.13
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
MEMD partition has ECC
MEMD is in 0x03cef200 through 0x03cfb917
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address 51
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address 52
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address 53
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D4
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D5
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D6
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D7
SPD @ 0x50
SPD: module type is DDR4
SPD: module part number is 9ASF1G72PZ-2G6J1    
SPD: banks 16, ranks 1, rows 16, columns 10, density 8192 Mb
SPD: device width 8 bits, bus width 64 bits
SPD: module size is 8192 MB (per channel)
starting istep 13.1
starting istep 13.2
starting istep 13.3
starting istep 13.4
starting istep 13.5
starting istep 13.6
starting istep 13.7
starting istep 13.8
starting istep 13.9
starting istep 13.10
CCS took 2 us (3 us timeout), 1 instruction(s)
CCS took 2 us (2 us timeout), 14 instruction(s)
RCD dump for I2C address 0x58:
0xf820fa30: c7 18 42 00 00 00 00 00 02 01 00 03 cb e4 40 0d  ..B...........@.
0xf820fa40: 00 00 47 00 00 00 00 00 00 00 07 00 00 00 00 00  ..G.............
starting istep 13.11
CCS took 2 us (7 us timeout), 2 instruction(s)
Write Leveling starting
CCS took 12 us (84 us timeout), 5 instruction(s)
Write Leveling done
Initial Pattern Write starting
CCS took 5 us (38 us timeout), 5 instruction(s)
Initial Pattern Write done
DQS alignment starting
CCS took 9 us (40 us timeout), 1 instruction(s)
DQS alignment done
Read Clock Alignment starting
CCS took 7 us (74 us timeout), 1 instruction(s)
Read Clock Alignment done
Read Centering starting
CCS took 35 us (107 us timeout), 1 instruction(s)
Read Centering done
Write Centering starting
CCS took 8245 us (10526 us timeout), 7 instruction(s)
Write Centering done
Coarse write/read starting
CCS took 5 us (22 us timeout), 1 instruction(s)
Coarse write/read done
starting istep 13.12
starting istep 13.13
starting istep 14.1
starting istep 14.2
starting istep 14.3
Initializing PEC0...
Initializing PEC1...
Initializing PEC2...
Initializing PHB0...
Initializing PHB1...
Initializing PHB2...
Initializing PHB3...
Initializing PHB4...
Initializing PHB5...
starting istep 14.4
starting istep 14.5
0xF000F = 223d104900008040
CBMEM:
IMD: root @ 0xffeff000 254 entries.
IMD: root @ 0xffefec00 62 entries.
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HBI partition has ECC
HBI is in 0x00426200 through 0x0175f037
CBFS: Found 'fallback/ramstage' @0x13b00 size 0xe9d1 in mcache @0xf8231080
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Digest of FMAP: COREBOOT CBFS: fallback/ramstage to PCR 2 logged
BS: romstage times (exec / console): total (unknown) / 17 ms


coreboot--TIMELESS--LESSTIME--Heads-v0.2.0-1299-g9fc1f1c Thu Jan  1 00:00:00 UTC 1970 ramstage starting (log level: 7)...
Enumerating buses...
Root Device scanning...
DD23, boot core: 1
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HCODE partition has ECC
HCODE is in 0x01a82200 through 0x01b821ff
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
OCC partition has ECC
OCC is in 0x03822200 through 0x039221ff
Base epsilon values read from table:
 R_T[0] = 10
 R_T[1] = 10
 R_T[2] = 79
 W_T[0] = 0
 W_T[1] = 21
Scaled epsilon values based on +20 percent guardband:
 R_T[0] = 12
 R_T[1] = 12
 R_T[2] = 95
 W_T[0] = 0
 W_T[1] = 26
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
WOFDATA partition has ECC
WOFDATA is in 0x039ea200 through 0x03c94ca7
Safe mode freq = 2166732 kHZ, voltage = 667 mv
starting istep 15.2
starting istep 15.3
starting istep 15.4
Starting PM complex...
Attempting PGPE activation...
PGPE was activated successfully
Done starting PM complex
Activating OCC...
Done activating OCC
starting istep 16.1
XIVE configured, entering dead man loop
ASSERTION ERROR: file '(filenames not available on timeless builds)', line 404
starting istep 18.11
starting istep 18.12
CPU_CLUSTER: 0 enabled
PNP: 00e4.0 enabled
scan_bus: bus Root Device finished in 2961 msecs
done
BS: BS_DEV_ENUMERATE run times (exec / console): 2956 / 6 ms
Allocating resources...
Reading resources...
CPU_CLUSTER: 0 missing read_resources
Done reading resources.
CPU_CLUSTER: 0 missing set_resources
PNP: 00e4.0 00 <- [0x00000000e4 - 0x00000000e6] size 0x00000003 gran 0x00 io
Done setting resources.
Done allocating resources.
BS: BS_DEV_RESOURCES run times (exec / console): 0 / 1 ms
Enabling resources...
done.
tpm_vendor_probe: ValidSts bit set(1) in TPM_ACCESS register after 0 ms
I2C TPM 2:20 (chip type slb9645tt device-id 0xD115)
TPM: Startup
TPM: command 0x99 returned 0x0
TPM: Asserting physical presence
TPM: command 0x4000000a returned 0x0
TPM: command 0x65 returned 0x0
TPM: flags disable=0, deactivated=0, nvlocked=0
TPM: Write digests cached in TCPA log to PCR
TPM: Write digest for FMAP: FMAP into PCR 2
TPM: command 0x14 returned 0x0
TPM: Write digest for FMAP: BOOTBLOCK into PCR 2
TPM: command 0x14 returned 0x0
TPM: Write digest for FMAP: COREBOOT CBFS: fallback/romstage into PCR 2
TPM: command 0x14 returned 0x0
TPM: Write digest for FMAP: COREBOOT CBFS: fallback/ramstage into PCR 2
TPM: command 0x14 returned 0x0
TPM: setup succeeded
BS: BS_DEV_INIT entry times (exec / console): 92 / 4 ms
Initializing devices...
PNP: 00e4.0 init
IPMI: PNP BT 0xe4
Get BMC self test result...Function Not Implemented
IPMI: Found man_id 0x6cb0000, prod_id 0x1000000
IPMI: Version 2.0
PNP: 00e4.0 init finished in 120 msecs
Devices initialized
BS: BS_DEV_INIT run times (exec / console): 119 / 2 ms
Finalize devices...
Devices finalized
Writing coreboot table at 0xffed7000
 0. 0000000000000000-00000000f8207fff: RAM
 1. 00000000f8208000-00000000f820ffff: RAMSTAGE
 2. 00000000f8210000-00000000f8ffffff: RAM
 3. 00000000f9000000-00000000f92a0fff: RAMSTAGE
 4. 00000000f92a1000-00000000ffed6fff: RAM
 5. 00000000ffed7000-00000000ffefffff: CONFIGURATION TABLES
 6. 00000000fff00000-00000001ff3fffff: RAM
 7. 00000001ff400000-00000001ffffffff: RESERVED
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HBI partition has ECC
HBI is in 0x00426200 through 0x0175f037
Wrote coreboot table at: 0xffed7000, 0x25c bytes, checksum 60d4
coreboot table: 628 bytes.
IMD ROOT    0. 0xffeff000 0x00001000
IMD SMALL   1. 0xffefe000 0x00001000
CONSOLE     2. 0xffede000 0x00020000
TCPASPECLOG 3. 0xffedc000 0x00001179
MEM INFO    4. 0xffed9000 0x000022b0
COREBOOT    5. 0xffed7000 0x00002000
IMD small region:
  IMD ROOT    0. 0xffefec00 0x00000400
  RO MCACHE   1. 0xffefea00 0x000001f0
  FMAP        2. 0xffefe920 0x000000e0
  TCPA LOGREF 3. 0xffefe900 0x00000010
BS: BS_WRITE_TABLES run times (exec / console): 0 / 6 ms
CBFS: Found 'fallback/payload' @0x28ac0 size 0x632f9 in mcache @0xffefeb84
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Extending digest for FMAP: COREBOOT CBFS: fallback/payload into PCR 2
TPM: command 0x14 returned 0x0
TPM: Digest of FMAP: COREBOOT CBFS: fallback/payload to PCR 2 measured
Checking segment from ROM address 0xf8380000
Checking segment from ROM address 0xf838001c
Checking segment from ROM address 0xf8380038
Loading segment from ROM address 0xf8380000
  code (compression=1)
  New segment dstaddr 0x00000000 memsize 0x173c00 srcaddr 0xf8380054 filesize 0x632a5
Loading Segment: addr: 0x00000000 memsz: 0x0000000000173c00 filesz: 0x00000000000632a5
using LZMA
Loading segment from ROM address 0xf838001c
  BSS 0x00300000 (113776 byte)
Loading Segment: addr: 0x00300000 memsz: 0x000000000001bc70 filesz: 0x0000000000000000
it's not compressed!
Clearing Segment: addr: 0x0000000000300000 memsz: 0x000000000001bc70
Loading segment from ROM address 0xf8380038
  Entry Point 0x00002570
BS: BS_PAYLOAD_LOAD run times (exec / console): 736 / 6 ms
coreboot TCPA measurements:

 PCR-2 f78a530fb5a70afcffdc86a98529abd24a90bac9 SHA1 [FMAP: FMAP]
 PCR-2 98604aa1b2add7d0083bfdd8c928543d3bc72460 SHA1 [FMAP: BOOTBLOCK]
 PCR-2 58e302820cc9b7b2182d426acb4b7dc826c83f6a SHA1 [FMAP: COREBOOT CBFS: fallback/romstage]
 PCR-2 076f93c6b07ae89e94487c4cccf4b76a97bd12c4 SHA1 [FMAP: COREBOOT CBFS: fallback/ramstage]
 PCR-2 5033246432f7ab358f45788c2cc971b1adf04591 SHA1 [FMAP: COREBOOT CBFS: fallback/payload]

BS: BS_PAYLOAD_BOOT entry times (exec / console): 0 / 3 ms
Jumping to boot code at 0x00002570(0xffed7000)
CBFS: Found '1-cpu.dtb' @0x22a00 size 0x24e7 in mcache @0xffefeb3c
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Extending digest for FMAP: COREBOOT CBFS: 1-cpu.dtb into PCR 2
TPM: command 0x14 returned 0x0
TPM: Digest of FMAP: COREBOOT CBFS: 1-cpu.dtb to PCR 2 measured

@tlaurion
Copy link
Author

tlaurion commented Feb 17, 2023

I replicated connection/orientation as shown under 3mdeb/talos-tpm-module#2 (comment), connected with and without jumper to obtain same undetected module from coreboot and Heads

Ok. Retrying on top of linuxboot/heads#1313

Unfortunately, no success after having followed https://docs.dasharo.com/variants/talos_2/tpm-support/ with module provided at FOSDEM....

Please replicate:

user@talos-tests:~/QubesIncoming/heads-tests$ wget  https://output.circle-artifacts.com/output/job/dcb7c8ab-bea4-4987-aa70-38e51cd79645/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1371-gb137dd3-zImage.bundled https://output.circle-artifacts.com/output/job/dcb7c8ab-bea4-4987-aa70-38e51cd79645/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1371-gb137dd3.bootblock  https://output.circle-artifacts.com/output/job/dcb7c8ab-bea4-4987-aa70-38e51cd79645/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1371-gb137dd3.rom

user@talos-tests:~/QubesIncoming/heads-tests$ rsync -ravczz --inplace --delete /home/user/QubesIncoming/heads-tests root@192.168.2.187:/tmp/images/

user@talos-tests:~/QubesIncoming/heads-tests$ ssh -t -l root talos 'cd /tmp/images/heads-tests/ && pflash -r /tmp/talos.pnor && pflash  -F ../../talos.pnor -f -P HBB -p *bootblock* && pflash  -F ../../talos.pnor -f -P HBI -p *.rom* && pflash  -F ../../talos.pnor -f -P BOOTKERNEL -p *zImage.bundled* && mboxctl --backend file:/tmp/talos.pnor && echo "ALL GOOD! Booting and attaching BMC console" && obmcutil poweron && obmc-console-client'

Main important output:

~ # cbmem -L
Table not found.

complete console log provided in attachment.
tpm_inserted.log


3mdeb/talos-tpm-module#2 can be closed.

@tlaurion
Copy link
Author

tlaurion commented Feb 17, 2023

As far as I know, I think my motherboard's TPM connector is now fried by having inverted connection prior :(

@macpijan @SergiiDmytruk @krystian-hebel : Not sure what to do next.

If everything TPM related is

Then my conclusion is fried TPM connector on mainboard. :/

@krystian-hebel
Copy link

TPM changes in coreboot may not be fully merged on the CPU frequency branch. At some point develop branch stopped following release because we hoped to get some patches merged upstream by now and do a rebase to something more recent. I planned to look at it after CPU frequency fix is merged, but I may try to find some time to produce testing image earlier.

Then my conclusion is fried TPM connector on mainboard. :/

Let's hope not. It may also be something related to different CPU revision or its frequencies. Register for setting up I2C frequency is differently described in documentation, comments and code, and value read back after Hostboot finishes is different than any of those. We ended up setting it by trial and error, but maybe there is a logic to it.

@tlaurion
Copy link
Author

tlaurion commented Feb 17, 2023

@krystian-hebel well keep me posted. Cpu freq + fan speed seems fixed under linuxboot/heads#1313

You told here above to not merge under Heads, now I get why : different branches not on top of each other.

Please provide another PR as for linuxboot/heads#1313

TPM is inserted properly this time, there is no TCPA log produced when no TPM discovered (cbmem -L), which is improvement from last remembered series of tests.

Tag me when ready to test, ideally producing images from CircleCI that works on your side so I can test them on my side and report on expected working branch and corresponding PR.

@tlaurion
Copy link
Author

@krystian-hebel

complete console log provided in attachment.
tpm_inserted.log

A lot of errors still for i2c transfer. Hopefully those are linked to my non-successful story with TPM!

@tlaurion
Copy link
Author

Then my conclusion is fried TPM connector on mainboard. :/

Let's hope not. It may also be something related to different CPU revision or its frequencies. Register for setting up I2C frequency is differently described in documentation, comments and code, and value read back after Hostboot finishes is different than any of those. We ended up setting it by trial and error, but maybe there is a logic to it.

@krystian-hebel : you also get those i2c transfer errors under

complete console log provided in attachment.
tpm_inserted.log

?

@krystian-hebel
Copy link

No such errors on our side. This may indicate different bus frequency, or any other problem.

@tlaurion
Copy link
Author

TPM changes in coreboot may not be fully merged on the CPU frequency branch. At some point develop branch stopped following release because we hoped to get some patches merged upstream by now and do a rebase to something more recent. I planned to look at it after CPU frequency fix is merged, but I may try to find some time to produce testing image earlier.

@krystian-hebel

Just to make sure. Heads master points to

https://github.com/osresearch/heads/blob/9676c794a2520d7cff22796b8db7f8ee16d7a6c8/modules/coreboot#L40

This is what you want me to test with/ without TPM to provide logs?

@krystian-hebel
Copy link

@tlaurion use the same version that was used to get logs in #272 (comment)

@tlaurion
Copy link
Author

@tlaurion use the same version that was used to get logs in #272 (comment)

#272 (comment) refers to testing for CPU and fan throttling which you said might not have TPM completeness in TPM.

Going back to testing heads master which points to dasharo/coreboot 2207bbcccba31ad89cf21607b0d8d05d8dc47c03
by https://github.com/osresearch/heads/blob/9676c794a2520d7cff22796b8db7f8ee16d7a6c8/modules/coreboot#L40

@tlaurion
Copy link
Author

tlaurion commented Feb 20, 2023

Basically, going to internally upgrade with https://output.circle-artifacts.com/output/job/417ff088-36d7-409a-9971-ec7d3cd65cae/artifacts/0/build/ppc64/talos-2_server/heads-talos-2_server-v0.2.0-1372-g9676c79.tgz from https://app.circleci.com/pipelines/github/osresearch/heads/520/workflows/7f2bbd21-72b5-4857-85a6-c1d4ef6d373a/jobs/7290/artifacts

Gives:
heads_master.log

As discussed on matrix, no cbmem output where last time I checked, there was cbmem -L output even without a TPM.

@krystian-hebel Please update here on current state of things on that regards.

@tlaurion
Copy link
Author

Wait.... what?

On HARD reboot (poweroff, and then botting back):


~ # cbmem -c


coreboot--TIMELESS--LESSTIME--Heads-v0.2.0-1372-g9676c79 Thu Jan  1 00:00:00 UTC 1970 bootblock starting (log level: 7)...
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HBI partition has ECC
HBI is in 0x00426200 through 0x0175f037
FMAP: Found "FLASH" version 1.1 at 0x20000.
FMAP: base = 0x0 size = 0x200000 #areas = 4
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
CBFS: mcache @0xf8231000 built for 10 files, used 0x1f0 of 0x2000 bytes
CBFS: Found 'fallback/romstage' @0x80 size 0x13a25 in mcache @0xf823102c
TCPA: Clearing coreboot TCPA log
FMAP: area FMAP found @ 20000 (512 bytes)
TPM: Digest of FMAP: FMAP to PCR 2 logged
FMAP: area BOOTBLOCK found @ 0 (131072 bytes)
TPM: Digest of FMAP: BOOTBLOCK to PCR 2 logged
CRTM initialized.
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Digest of FMAP: COREBOOT CBFS: fallback/romstage to PCR 2 logged
BS: bootblock times (exec / console): total (unknown) / 4 ms


coreboot--TIMELESS--LESSTIME--Heads-v0.2.0-1372-g9676c79 Thu Jan  1 00:00:00 UTC 1970 romstage starting (log level: 7)...
IPMI: romstage PNP BT 0xe4
Get BMC self test result...Function Not Implemented
Initializing IPMI BMC watchdog timer
IPMI BMC watchdog initialized and started.
Initializing FSI...
Initialized FSI (chips mask: 0x01)
Building MVPDs...
starting istep 8.1
starting istep 8.2
starting istep 8.3
starting istep 8.4
starting istep 8.9
Base epsilon values read from table:
 R_T[0] = 22
 R_T[1] = 22
 R_T[2] = 103
 W_T[0] = 5
 W_T[1] = 33
Scaled epsilon values based on +20 percent guardband:
 R_T[0] = 27
 R_T[1] = 27
 R_T[2] = 124
 W_T[0] = 6
 W_T[1] = 40
starting istep 8.10
starting istep 8.11
starting istep 9.2
starting istep 9.4
starting istep 9.6
starting istep 9.7
starting istep 10.1
starting istep 10.6
starting istep 10.10
starting istep 10.12
starting istep 10.13
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
MEMD partition has ECC
MEMD is in 0x03cef200 through 0x03cfb917
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address 51
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address 52
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address 53
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D4
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D5
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D6
I2C transfer failed to complete (0x04011f0104000000)
No memory DIMM at address D7
SPD @ 0x50
SPD: module type is DDR4
SPD: module part number is M393A1K43BB0-CRC    
SPD: banks 16, ranks 1, rows 16, columns 10, density 8192 Mb
SPD: device width 8 bits, bus width 64 bits
SPD: module size is 8192 MB (per channel)
starting istep 13.1
starting istep 13.2
starting istep 13.3
starting istep 13.4
starting istep 13.5
starting istep 13.6
starting istep 13.7
starting istep 13.8
starting istep 13.9
starting istep 13.10
CCS took 2 us (3 us timeout), 1 instruction(s)
CCS took 2 us (2 us timeout), 14 instruction(s)
RCD dump for I2C address 0x58:
0xf820fa30: 80 b3 40 42 30 00 00 00 02 01 00 03 cb e3 c0 0d  ..@B0...........
0xf820fa40: 00 00 39 00 00 00 00 00 00 00 07 00 00 00 00 00  ..9.............
starting istep 13.11
CCS took 2 us (7 us timeout), 2 instruction(s)
Write Leveling starting
CCS took 12 us (92 us timeout), 5 instruction(s)
Write Leveling done
Initial Pattern Write starting
CCS took 5 us (38 us timeout), 5 instruction(s)
Initial Pattern Write done
DQS alignment starting
CCS took 10 us (44 us timeout), 1 instruction(s)
DQS alignment done
Read Clock Alignment starting
CCS took 8 us (82 us timeout), 1 instruction(s)
Read Clock Alignment done
Read Centering starting
CCS took 36 us (120 us timeout), 1 instruction(s)
Read Centering done
Write Centering starting
CCS took 8539 us (11314 us timeout), 7 instruction(s)
Write Centering done
Coarse write/read starting
CCS took 5 us (24 us timeout), 1 instruction(s)
Coarse write/read done
starting istep 13.12
starting istep 13.13
starting istep 14.1
starting istep 14.2
starting istep 14.3
Initializing PEC0...
Initializing PEC1...
Initializing PEC2...
Initializing PHB0...
Initializing PHB1...
Initializing PHB2...
Initializing PHB3...
Initializing PHB4...
Initializing PHB5...
starting istep 14.4
starting istep 14.5
0xF000F = 221d104900008040
CBMEM:
IMD: root @ 0xffeff000 254 entries.
IMD: root @ 0xffefec00 62 entries.
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HBI partition has ECC
HBI is in 0x00426200 through 0x0175f037
CBFS: Found 'fallback/ramstage' @0x13b00 size 0xe9d1 in mcache @0xf8231080
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Digest of FMAP: COREBOOT CBFS: fallback/ramstage to PCR 2 logged
BS: romstage times (exec / console): total (unknown) / 17 ms


coreboot--TIMELESS--LESSTIME--Heads-v0.2.0-1372-g9676c79 Thu Jan  1 00:00:00 UTC 1970 ramstage starting (log level: 7)...
Enumerating buses...
Root Device scanning...
DD21, boot core: 18
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HCODE partition has ECC
HCODE is in 0x01a82200 through 0x01b821ff
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
OCC partition has ECC
OCC is in 0x03822200 through 0x039221ff
Base epsilon values read from table:
 R_T[0] = 22
 R_T[1] = 22
 R_T[2] = 103
 W_T[0] = 5
 W_T[1] = 33
Scaled epsilon values based on +20 percent guardband:
 R_T[0] = 27
 R_T[1] = 27
 R_T[2] = 124
 W_T[0] = 6
 W_T[1] = 40
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
WOFDATA partition has ECC
WOFDATA is in 0x039ea200 through 0x03c94ca7
Matching WOF tables section not found, disabling WOF
Safe mode freq = 1833412 kHZ, voltage = 711 mv
starting istep 15.2
starting istep 15.3
starting istep 15.4
Starting PM complex...
Attempting PGPE activation...
PGPE was activated successfully
Done starting PM complex
Activating OCC...
Done activating OCC
starting istep 16.1
XIVE configured, entering dead man loop
ASSERTION ERROR: file '(filenames not available on timeless builds)', line 404
starting istep 18.11
starting istep 18.12
CPU_CLUSTER: 0 enabled
PNP: 00e4.0 enabled
scan_bus: bus Root Device finished in 3027 msecs
done
BS: BS_DEV_ENUMERATE run times (exec / console): 3022 / 6 ms
Allocating resources...
Reading resources...
CPU_CLUSTER: 0 missing read_resources
Done reading resources.
CPU_CLUSTER: 0 missing set_resources
PNP: 00e4.0 00 <- [0x00000000e4 - 0x00000000e6] size 0x00000003 gran 0x00 io
Done setting resources.
Done allocating resources.
BS: BS_DEV_RESOURCES run times (exec / console): 0 / 1 ms
Enabling resources...
done.
tpm_vendor_probe: ValidSts bit set(1) in TPM_ACCESS register after 0 ms
I2C TPM 2:20 (chip type slb9645tt device-id 0xD115)
TPM: Startup
TPM: command 0x99 returned 0x0
TPM: Asserting physical presence
TPM: command 0x4000000a returned 0x0
TPM: command 0x65 returned 0x0
TPM: flags disable=0, deactivated=0, nvlocked=0
TPM: Write digests cached in TCPA log to PCR
TPM: Write digest for FMAP: FMAP into PCR 2
TPM: command 0x14 returned 0x0
TPM: Write digest for FMAP: BOOTBLOCK into PCR 2
TPM: command 0x14 returned 0x0
TPM: Write digest for FMAP: COREBOOT CBFS: fallback/romstage into PCR 2
TPM: command 0x14 returned 0x0
TPM: Write digest for FMAP: COREBOOT CBFS: fallback/ramstage into PCR 2
TPM: command 0x14 returned 0x0
TPM: setup succeeded
BS: BS_DEV_INIT entry times (exec / console): 80 / 5 ms
Initializing devices...
PNP: 00e4.0 init
IPMI: PNP BT 0xe4
Get BMC self test result...Function Not Implemented
IPMI: Found man_id 0x6cb0000, prod_id 0x1000000
IPMI: Version 2.0
PNP: 00e4.0 init finished in 25 msecs
Devices initialized
BS: BS_DEV_INIT run times (exec / console): 25 / 1 ms
Finalize devices...
Devices finalized
Writing coreboot table at 0xffed7000
 0. 0000000000000000-00000000f8207fff: RAM
 1. 00000000f8208000-00000000f820ffff: RAMSTAGE
 2. 00000000f8210000-00000000f8ffffff: RAM
 3. 00000000f9000000-00000000f92a0fff: RAMSTAGE
 4. 00000000f92a1000-00000000ffed6fff: RAM
 5. 00000000ffed7000-00000000ffefffff: CONFIGURATION TABLES
 6. 00000000fff00000-00000001ff3fffff: RAM
 7. 00000001ff400000-00000001ffffffff: RESERVED
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
FFS header at 0x80060300ffff7000
PNOR base at 0x80060300fc000000
HBI partition has ECC
HBI is in 0x00426200 through 0x0175f037
Wrote coreboot table at: 0xffed7000, 0x25c bytes, checksum bbff
coreboot table: 628 bytes.
IMD ROOT    0. 0xffeff000 0x00001000
IMD SMALL   1. 0xffefe000 0x00001000
CONSOLE     2. 0xffede000 0x00020000
TCPASPECLOG 3. 0xffedc000 0x00001179
MEM INFO    4. 0xffed9000 0x000022b0
COREBOOT    5. 0xffed7000 0x00002000
IMD small region:
  IMD ROOT    0. 0xffefec00 0x00000400
  RO MCACHE   1. 0xffefea00 0x000001f0
  FMAP        2. 0xffefe920 0x000000e0
  TCPA LOGREF 3. 0xffefe900 0x00000010
BS: BS_WRITE_TABLES run times (exec / console): 0 / 6 ms
CBFS: Found 'fallback/payload' @0x28ac0 size 0x632f9 in mcache @0xffefeb84
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Extending digest for FMAP: COREBOOT CBFS: fallback/payload into PCR 2
TPM: command 0x14 returned 0x0
TPM: Digest of FMAP: COREBOOT CBFS: fallback/payload to PCR 2 measured
Checking segment from ROM address 0xf8380000
Checking segment from ROM address 0xf838001c
Checking segment from ROM address 0xf8380038
Loading segment from ROM address 0xf8380000
  code (compression=1)
  New segment dstaddr 0x00000000 memsize 0x173c00 srcaddr 0xf8380054 filesize 0x632a5
Loading Segment: addr: 0x00000000 memsz: 0x0000000000173c00 filesz: 0x00000000000632a5
using LZMA
Loading segment from ROM address 0xf838001c
  BSS 0x00300000 (113776 byte)
Loading Segment: addr: 0x00300000 memsz: 0x000000000001bc70 filesz: 0x0000000000000000
it's not compressed!
Clearing Segment: addr: 0x0000000000300000 memsz: 0x000000000001bc70
Loading segment from ROM address 0xf8380038
  Entry Point 0x00002570
BS: BS_PAYLOAD_LOAD run times (exec / console): 554 / 6 ms
coreboot TCPA measurements:

 PCR-2 f78a530fb5a70afcffdc86a98529abd24a90bac9 SHA1 [FMAP: FMAP]
 PCR-2 10fc5238efaa691fff57e7b0f0a24b15bac00d8d SHA1 [FMAP: BOOTBLOCK]
 PCR-2 c25009bcbf8f88426253ba00b5e480e769812623 SHA1 [FMAP: COREBOOT CBFS: fallback/romstage]
 PCR-2 4c74ba0e302bd762bcb4d30eb46d75342ed59198 SHA1 [FMAP: COREBOOT CBFS: fallback/ramstage]
 PCR-2 5033246432f7ab358f45788c2cc971b1adf04591 SHA1 [FMAP: COREBOOT CBFS: fallback/payload]

BS: BS_PAYLOAD_BOOT entry times (exec / console): 0 / 2 ms
Jumping to boot code at 0x00002570(0xffed7000)
CBFS: Found '1-cpu.dtb' @0x22a00 size 0x24e7 in mcache @0xffefeb3c
FMAP: area COREBOOT found @ 20200 (1965568 bytes)
TPM: Extending digest for FMAP: COREBOOT CBFS: 1-cpu.dtb into PCR 2
TPM: command 0x14 returned 0x0
TPM: Digest of FMAP: COREBOOT CBFS: 1-cpu.dtb to PCR 2 measured
 # cbmem -L
TPM2 log:
	Specification: 2.00
	Platform class: PC Client
	No vendor information provided
TPM2 log entry 1:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: f78a530fb5a70afcffdc86a98529abd24a90bac9
	Event data: FMAP: FMAP
TPM2 log entry 2:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 10fc5238efaa691fff57e7b0f0a24b15bac00d8d
	Event data: FMAP: BOOTBLOCK
TPM2 log entry 3:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: c25009bcbf8f88426253ba00b5e480e769812623
	Event data: FMAP: COREBOOT CBFS: fallback/romstage
TPM2 log entry 4:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 4c74ba0e302bd762bcb4d30eb46d75342ed59198
	Event data: FMAP: COREBOOT CBFS: fallback/ramstage
TPM2 log entry 5:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 5033246432f7ab358f45788c2cc971b1adf04591
	Event data: FMAP: COREBOOT CBFS: fallback/payload
TPM2 log entry 6:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 47b49026133377e05193f8440c9a7cad239e883c
	Event data: FMAP: COREBOOT CBFS: 1-cpu.dtb
TPM2 log entry 7:
	PCR: 3
	Event type: Action
	Digests:
		 SHA256: 6e7b06693452d997ac534e823b1ea79e5bb8ed19ba8a7af878abf10199c3d515
		 SHA1: 6e7b06693452d997ac534e823b1ea79e5bb8ed19
	Event data: VERSION
TPM2 log entry 8:
	PCR: 2
	Event type: Action

@krystian-hebel
Copy link

@tlaurion was BMC also power cycled? This may be using physical flash instead of mounted file, or vice versa. There may be different older versions that would have worked if it wasn't for broken module.

@tlaurion
Copy link
Author

tlaurion commented Feb 20, 2023

@tlaurion was BMC also power cycled? This may be using physical flash instead of mounted file, or vice versa. There may be different older versions that would have worked if it wasn't for broken module.

Looking.

Past reply

coreboot--TIMELESS--LESSTIME--Heads-v0.2.0-1372-g9676c79 Thu Jan 1 00:00:00 UTC 1970 bootblock starting (log level: 7)...

Which is 9676c79 which corresponds to at linuxboot/heads@9676c79


Lack of cmbem was also g9676c79 as can be seen under

Gives:
heads_master.log

Above.

Let me know what I can do to narrow down or complement your tests.
This firmware was internally flashed from flash.sh /media/heads-talos-2_server-v0.2.0-1372-g9676c79.tgz

Where prior rom was from linuxboot/heads#1313 and flashed to BMC mem. I expect the firmware flashed internally from Heads to also be in BMC since mtd should abstract real physical presence.

Also confirmed:

root@talos:~# mboxctl --lpc-state
LPC Bus Maps: BMC Memory
root@talos:~#

I still have hostboot in pnor, never overwritten it in previous tests until now because scripts used.

@tlaurion
Copy link
Author

tlaurion commented Feb 20, 2023

@tlaurion was BMC also power cycled? This may be using physical flash instead of mounted file, or vice versa. There may be different older versions that would have worked if it wasn't for broken module.

@krystian-hebel : No bmc was not power cycled.

@krystian-hebel
Copy link

Then either OS overwrote coreboot tables or there is another problem with cbmem. Could you add comment about it to #69?

@tlaurion
Copy link
Author

Conclusion off-channel is that flashing internally doesn't do a coldboot with a normal OS reboot.

Possibility here is to hack flash-gui.sh so that reboot/poweroff depends of board configs. In Talos case, poweroff would be required.

@miczyg1
Copy link
Contributor

miczyg1 commented Mar 2, 2023

Also needs a new release like v0.7.0 to close the issue

@tlaurion
Copy link
Author

tlaurion commented Mar 2, 2023

@krystian-hebel @miczyg1
Unanswered question (sorry if I do not remember) is why the errors in past given logs:
I2C transfer failed to complete (0x04011f0104000000)

@krystian-hebel
Copy link

The ones just before No memory DIMM at address xx are expected, this is how code discovers that there is no DIMM in slot. There is no pretty way of hiding those failures without disabling them all.

@tlaurion
Copy link
Author

tlaurion commented Mar 2, 2023

I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)
I2C transfer failed to complete (0x04011f0104000000)

A total of 2263 entrees like those shows in cbmem -1

@krystian-hebel from log provided under #272 (comment) ?

@krystian-hebel
Copy link

Sorry, I've missed it, it doesn't appear on the second/third boot, only the first one. However, on those boots coreboot sees TPM but Skiboot complains, and Linux is totally unpredictable on that matter. This needs more investigation, but I still think this has to do with bus frequency.

@krystian-hebel
Copy link

Might be related: open-power/hostboot#71 (comment)

@macpijan
Copy link
Contributor

macpijan commented Mar 7, 2023

@tlaurion Can you provide some more logs on how you tested the TPM?

@krystian-hebel Is concerned still about these I2C errors, and maybe some measurements in the log are missing. @krystian-hebel Please list commands output you need to judge whether it works ok, or not.

@krystian-hebel
Copy link

  1. No excessive number of I2C transfer failed to complete lines in coreboot (I expect there to be (8 - num_of_DIMMs) * num_of_CPUs such lines)
  2. Output of cat /sys/firmware/opal/msglog | grep -i tpm
  3. If cbmem works (which it really shouldn't because of OS-level access to CBMEM #69) then full log of cbmem -L

We've tested TPM you returned to us and it behaves very strangely. It works in coreboot, but not in Skiboot and because of that also Heads. Another module works reliably on our platform, at least according to preliminary tests.

@krystian-hebel
Copy link

krystian-hebel commented Mar 24, 2023

Interesting find: if Skiboot fails to load kernel, it somehow tells BMC to drop mounted PNOR image and get back to real flash device. After that, mboxctl --lpc-state still reports LPC Bus Maps: BMC Memory. This makes debugging much harder, and may explain some of the strange behaviour we've seen. It is possible that other errors can also somehow change PNOR device.

@tlaurion
Copy link
Author

I am not sure if another issue should be opened or this one bonified with more logs already posted at linuxboot/heads#1313 (comment) ?

@miczyg1
Copy link
Contributor

miczyg1 commented Apr 27, 2023

Continuation here: #415

Closing

@miczyg1 miczyg1 closed this as completed Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants