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 - latest rolling release - TPM discovery and usage unstable #415

Closed
tlaurion opened this issue Apr 20, 2023 · 33 comments
Closed

Talos II - latest rolling release - TPM discovery and usage unstable #415

tlaurion opened this issue Apr 20, 2023 · 33 comments

Comments

@tlaurion
Copy link

linuxboot/heads#1313 (comment)

@tlaurion
Copy link
Author

tlaurion commented May 23, 2023

This is testing rom link provided under #416 (comment)

After selecting new boot device on fresh flash (nvme part 2, flashing backconfig and soft reboot):

        ┌──────────────┤ BIOS Updated Successfully ├───────────────┐
         │                                                          │
         │ BIOS updated successfully.                               │
         │                                                          │
         │ If your keys have changed, be sure to re-sign all files  │
         │ in /boot                                                 │
         │ after you reboot.                                        │
         │                                                          │
         │ Press Enter to reboot                                    │
         │                                                          │
         │                                                          │
         │                                                          │
         │                                                          │
         │                          <Ok>                            │
         │                                                          │
         └──────────────────────────────────────────────────────────┘



[  312.492111] sysrq: Emergency Sync
[  312.492826] sysrq: Emergency Remount R/O
[  312.493135] sysrq: Resetting
[  355.397487466,5] OPAL: Reboot request...
[  355.397820443,5] RESET: Initiating fast reboot 1...
[  356.017926220,5] Clearing unused memory:
[  356.017997331,5] PCI: Clearing all devices...
[  356.018002164,7] Clearing region 35f00000-ffe00000
[  356.028350076,5] PCI: Resetting PHBs and training links...
[  360.259179348,5] PCI: Probing slots...
[  360.504846817,5] PCI Summary:
[  360.504896451,5] PHB#0000:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU1 Slot2 (16x) 
[  360.504987275,5] PHB#0001:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=CPU1 Slot1 (8x) 
[  360.505073117,5] PHB#0001:01:00.0 [EP  ] 126f 2263 R:03 C:010802 (  mass-storage) LOC_CODE=CPU1 Slot1 (8x)
[  360.505158776,5] PHB#0002:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=Builtin SAS 
[  360.505236025,5] PHB#0003:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin USB 
[  360.505310212,5] PHB#0003:01:00.0 [EP  ] 104c 8241 R:02 C:0c0330 (      usb-xhci) LOC_CODE=Builtin USB
[  360.505387080,5] PHB#0004:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin Ethernet 
[  360.505461506,5] PHB#0004:01:00.0 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[  360.505543117,5] PHB#0004:01:00.1 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[  360.505639459,5] PHB#0005:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..02 SLOT=BMC 
[  360.505706203,5] PHB#0005:01:00.0 [ETOX] 1a03 1150 R:04 C:060400 B:02..02 LOC_CODE=BMC
[  360.505784755,5] PHB#0005:02:00.0 [PCID] 1a03 2000 R:41 C:030000 (           vga) LOC_CODE=BMC
[  360.505855133,5] PHB#0030:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot2 (16x) 
[  360.505955333,5] PHB#0031:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot3 (8x) 
[  360.506062884,5] PHB#0032:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:00..00 
[  360.506128521,5] PHB#0033:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot1 (16x) 
[  360.506216939,5] Clearing memory... 3/7GB done
[  360.506263477,5] Clearing memory... 4/7GB done
[  360.506295979,5] Clearing memory... 7/7GB done
[  360.506331684,5] IPMI: Resetting boot count on successful boot
[  360.506389236,5] INIT: Waiting for kernel...
[  361.464506992,3] STB: BOOTKERNEL NOT VERIFIED, invalid param. buf=0x20000000, len=11899224 key-hash=0x0 hash-size=64
[  361.464510721,7] IPMI: Got error response. cmd=0x30, netfn=0x5, rc=0xcd
[  361.464701066,3] STB: BOOTKERNEL NOT MEASURED. Already exited from boot services
[  361.467201499,5] INIT: 64-bit LE kernel discovered
[  361.477539063,3] STB: EV_SEPARATOR (pcr0) NOT MEASURED. No TPM registered/enabled
[  361.477626579,3] STB: EV_SEPARATOR (pcr1) NOT MEASURED. No TPM registered/enabled
[  361.477698395,3] STB: EV_SEPARATOR (pcr2) NOT MEASURED. No TPM registered/enabled
[  361.477772138,3] STB: EV_SEPARATOR (pcr3) NOT MEASURED. No TPM registered/enabled
[  361.477825403,3] STB: EV_SEPARATOR (pcr4) NOT MEASURED. No TPM registered/enabled
[  361.477881316,3] STB: EV_SEPARATOR (pcr5) NOT MEASURED. No TPM registered/enabled
[  361.477947234,3] STB: EV_SEPARATOR (pcr6) NOT MEASURED. No TPM registered/enabled
[  361.478000390,3] STB: EV_SEPARATOR (pcr7) NOT MEASURED. No TPM registered/enabled
[  361.478078152,5] OCC: All Chip Rdy after 0 ms
[  361.507389577,5] INIT: Starting kernel at 0x20010000, fdt at 0x307b5f20 157371 bytes

If I do poweroff from Heads:

┌────────────────────────┤ Talos 2 | Heads Boot Menu ├─────────────────────────┐
│ 2023-05-23 17:30:10 UTC                                                      │
│ TOTP: Error PCR mismatch from TPM_Unseal | HOTP: N/A                         │
│                                                                              │
│                             d  Default boot                                  │
│                             r  Refresh TOTP/HOTP                             │
│                             o  Options -->                                   │
│                             s  System Info                                   │
│                             p  Power Off                                     │
│                                                                              │
│                                                                              │
│                     <Ok>                         <Cancel>                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘




[  307.177622] sysrq: Emergency Sync
[  307.178329] sysrq: Emergency Remount R/O
[  307.178664] sysrq: Power Off

And then poweron from local shell:

user@talos-tests:~/QubesIncoming/heads-tests$ ssh -t root@talos "obmcutil poweron && obmc-console-client"
st typ

[NOTE ]  coreboot-4.17-1346-g09817b263c0-dirty Sat May 20 18:35:25 UTC 2023 bootblock starting (log level: 7)...
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  HBI partition has ECC
[DEBUG]  FMAP: Found "FLASH" version 1.1 at 0x20000.
[DEBUG]  FMAP: base = 0x0 size = 0x100000 #areas = 4
[DEBUG]  FMAP: area COREBOOT found @ 20200 (916992 bytes)
[INFO ]  CBFS: mcache @0xf8231000 built for 11 files, used 0x228 of 0x2000 bytes
[INFO ]  CBFS: Found 'fallback/romstage' @0x80 size 0x13d08 in mcache @0xf823102c
[INFO ]  TPM LOG: clearing the log
[DEBUG]  FMAP: area FMAP found @ 20000 (512 bytes)
[DEBUG]  TPM: Digest of `FMAP: FMAP` to PCR 2 logged
[DEBUG]  FMAP: area BOOTBLOCK found @ 0 (131072 bytes)
[DEBUG]  TPM: Digest of `FMAP: BOOTBLOCK` to PCR 2 logged
[DEBUG]  CRTM initialized.
[DEBUG]  TPM: Digest of `CBFS: fallback/romstage` to PCR 2 logged
[DEBUG]  BS: bootblock times (exec / console): total (unknown) / 5 ms


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


[NOTE ]  coreboot-4.17-1346-g09817b263c0-dirty Sat May 20 18:35:25 UTC 2023 ramstage starting (log level: 7)...
[INFO ]  Enumerating buses...
[DEBUG]  Root Device scanning...
[DEBUG]  DD21, boot core: 18
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  HCODE partition has ECC
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  OCC partition has ECC
[DEBUG]  Base epsilon values read from table:
[DEBUG]   R_T[0] = 22
[DEBUG]   R_T[1] = 22
[DEBUG]   R_T[2] = 103
[DEBUG]   W_T[0] = 5
[DEBUG]   W_T[1] = 33
[DEBUG]  Scaled epsilon values based on +20 percent guardband:
[DEBUG]   R_T[0] = 27
[DEBUG]   R_T[1] = 27
[DEBUG]   R_T[2] = 124
[DEBUG]   W_T[0] = 6
[DEBUG]   W_T[1] = 40
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  WOFDATA partition has ECC
[NOTE ]  Matching WOF tables section not found, disabling WOF
[DEBUG]  Safe mode freq = 1833412 kHZ, voltage = 711 mv
[DEBUG]  Base epsilon values read from table:
[DEBUG]   R_T[0] = 22
[DEBUG]   R_T[1] = 22
[DEBUG]   R_T[2] = 103
[DEBUG]   W_T[0] = 5
[DEBUG]   W_T[1] = 33
[DEBUG]  Scaled epsilon values based on +20 percent guardband:
[DEBUG]   R_T[0] = 27
[DEBUG]   R_T[1] = 27
[DEBUG]   R_T[2] = 124
[DEBUG]   W_T[0] = 6
[DEBUG]   W_T[1] = 40
[NOTE ]  Matching WOF tables section not found, disabling WOF
[DEBUG]  Safe mode freq = 1833412 kHZ, voltage = 737 mv
[INFO ]  starting istep 15.2
[INFO ]  starting istep 15.3
[INFO ]  starting istep 15.4
[DEBUG]  Starting PM complex...
[DEBUG]  Attempting PGPE activation...
[DEBUG]  PGPE was activated successfully
[DEBUG]  Attempting PGPE activation...
[DEBUG]  PGPE was activated successfully
[DEBUG]  Done starting PM complex
[INFO ]  starting istep 16.1
[DEBUG]  XIVE configured, entering dead man loop
[EMERG]  ASSERTION ERROR: file 'src/soc/ibm/power9/chip.c', line 696
[EMERG]  ASSERTION ERROR: file 'src/soc/ibm/power9/chip.c', line 696
[INFO ]  starting istep 18.11
[INFO ]  starting istep 18.12
[DEBUG]  Activating OCC...
[DEBUG]  Done activating OCC
[DEBUG]  CPU_CLUSTER: 0 enabled
[DEBUG]  PNP: 00e4.0 enabled
[DEBUG]  scan_bus: bus Root Device finished in 2496 msecs
[INFO ]  done
[DEBUG]  BS: BS_DEV_ENUMERATE run times (exec / console): 2485 / 13 ms
[INFO ]  Allocating resources...
[INFO ]  Reading resources...
[ERROR]  CPU_CLUSTER: 0 missing read_resources
[INFO ]  Done reading resources.
[ERROR]  CPU_CLUSTER: 0 missing set_resources
[DEBUG]  PNP: 00e4.0 00 <- [0x00000000000000e4 - 0x00000000000000e6] size 0x00000003 gran 0x00 io
[INFO ]  Done setting resources.
[INFO ]  Done allocating resources.
[DEBUG]  BS: BS_DEV_RESOURCES run times (exec / console): 0 / 3 ms
[INFO ]  Enabling resources...
[INFO ]  done.
[INFO ]  tpm_vendor_probe: ValidSts bit set(1) in TPM_ACCESS register after 0 ms
[DEBUG]  I2C TPM 2:20 (chip type slb9645tt device-id 0xD115)
[DEBUG]  TPM: Startup
[DEBUG]  TPM: command 0x99 returned 0x0
[DEBUG]  TPM: Asserting physical presence
[DEBUG]  TPM: command 0x4000000a returned 0x0
[DEBUG]  TPM: command 0x65 returned 0x0
[DEBUG]  TPM: flags disable=0, deactivated=0, nvlocked=0
[DEBUG]  TPM: Write digests cached in TPM log to PCR
[DEBUG]  TPM: Write digest for FMAP: FMAP into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Write digest for FMAP: BOOTBLOCK into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Write digest for CBFS: fallback/romstage into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Write digest for CBFS: fallback/ramstage into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[INFO ]  TPM: setup succeeded
[DEBUG]  BS: BS_DEV_INIT entry times (exec / console): 84 / 7 ms
[INFO ]  Initializing devices...
[DEBUG]  PNP: 00e4.0 init
[DEBUG]  IPMI: PNP BT 0xe4
[INFO ]  Get BMC self test result...Function Not Implemented
[INFO ]  IPMI: Found man_id 0x6cb0000, prod_id 0x1000000
[INFO ]  IPMI: Version 2.0
[DEBUG]  PNP: 00e4.0 init finished in 18 msecs
[INFO ]  Devices initialized
[DEBUG]  BS: BS_DEV_INIT run times (exec / console): 16 / 3 ms
[INFO ]  Finalize devices...
[INFO ]  Devices finalized
[DEBUG]  Writing coreboot table at 0xffed7000
[DEBUG]   0. 0000000000000000-00000000f8207fff: RAM
[DEBUG]   1. 00000000f8208000-00000000f820ffff: RAMSTAGE
[DEBUG]   2. 00000000f8210000-00000000f8ffffff: RAM
[DEBUG]   3. 00000000f9000000-00000000f92a1fff: RAMSTAGE
[DEBUG]   4. 00000000f92a2000-00000000ffed6fff: RAM
[DEBUG]   5. 00000000ffed7000-00000000ffefffff: CONFIGURATION TABLES
[DEBUG]   6. 00000000fff00000-00000001feffffff: RAM
[DEBUG]   7. 00000001ff000000-00000001ffffffff: RESERVED
[DEBUG]  FMAP: area COREBOOT found @ 20200 (916992 bytes)
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  HBI partition has ECC
[DEBUG]  Wrote coreboot table at: 0xffed7000, 0x230 bytes, checksum 2b850000
[DEBUG]  coreboot table: 584 bytes.
[DEBUG]  IMD ROOT    0. 0xffeff000 0x00001000
[DEBUG]  IMD SMALL   1. 0xffefe000 0x00001000
[DEBUG]  CONSOLE     2. 0xffede000 0x00020000
[DEBUG]  TPM2 TCGLOG 3. 0xffedc000 0x00001180
[DEBUG]  MEM INFO    4. 0xffed9000 0x000022b0
[DEBUG]  COREBOOT    5. 0xffed7000 0x00002000
[DEBUG]  IMD small region:
[DEBUG]    IMD ROOT    0. 0xffefec00 0x00000400
[DEBUG]    RO MCACHE   1. 0xffefe9c0 0x00000228
[DEBUG]    FMAP        2. 0xffefe8e0 0x000000e0
[DEBUG]  BS: BS_WRITE_TABLES run times (exec / console): 1 / 9 ms
[INFO ]  CBFS: Found 'fallback/payload' @0x293c0 size 0x6338d in mcache @0xffefeb44
[DEBUG]  TPM: Extending digest for `CBFS: fallback/payload` into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Digest of `CBFS: fallback/payload` to PCR 2 measured
[DEBUG]  Checking segment from ROM address 0xf8380000
[DEBUG]  Checking segment from ROM address 0xf838001c
[DEBUG]  Checking segment from ROM address 0xf8380038
[DEBUG]  Loading segment from ROM address 0xf8380000
[DEBUG]    code (compression=1)
[DEBUG]    New segment dstaddr 0x00000000 memsize 0x173c00 srcaddr 0xf8380054 filesize 0x63339
[DEBUG]  Loading Segment: addr: 0x00000000 memsz: 0x0000000000173c00 filesz: 0x0000000000063339
[DEBUG]  using LZMA
[DEBUG]  Loading segment from ROM address 0xf838001c
[DEBUG]    BSS 0x00300000 (113776 byte)
[DEBUG]  Loading Segment: addr: 0x00300000 memsz: 0x000000000001bc70 filesz: 0x0000000000000000
[DEBUG]  it's not compressed!
[DEBUG]  Clearing Segment: addr: 0x0000000000300000 memsz: 0x000000000001bc70
[DEBUG]  Loading segment from ROM address 0xf8380038
[DEBUG]    Entry Point 0x00002570
[DEBUG]  BS: BS_PAYLOAD_LOAD run times (exec / console): 445 / 8 ms
[INFO ]  coreboot TPM 2.0 measurements:

[INFO ]   PCR-2 27c4f1fa214480c8626397a15981ef3a9323717f SHA1 [FMAP: FMAP]
[INFO ]   PCR-2 636e987833897a21198656706be9b66cb5d10d37 SHA1 [FMAP: BOOTBLOCK]
[INFO ]   PCR-2 6b8537a1f3fc852b53d70b52297c54d698bef16e SHA1 [CBFS: fallback/romstage]
[INFO ]   PCR-2 f05b9a4c314defbf8dfe3d01feabee204aadd065 SHA1 [CBFS: fallback/ramstage]
[INFO ]   PCR-2 a1f9a89cc0d1890af88b86860fcee6406c7ccbf6 SHA1 [CBFS: fallback/payload]

[DEBUG]  BS: BS_PAYLOAD_BOOT entry times (exec / console): 0 / 3 ms
[DEBUG]  Jumping to boot code at 0x00002570(0xffed7000)
[INFO ]  CBFS: Found '2-cpus.dtb' @0x25840 size 0x3b23 in mcache @0xffefeb20
[DEBUG]  TPM: Extending digest for `CBFS: 2-cpus.dtb` into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Digest of `CBFS: 2-cpus.dtb` to PCR 2 measured[    2.140559846,5] OPAL v6.3-rc2-33-g1b14dd0b starting...
[    2.140563326,7] initial console log level: memory 7, driver 5
[    2.140565268,6] CPU: P9 generation processor (max 4 threads/core)
[    2.140567028,7] CPU: Boot CPU PIR is 0x004c PVR is 0x004e1201
[    2.140569515,7] OPAL table: 0x30108230 .. 0x30108810, branch table: 0x30002000
[    2.140572498,7] Assigning physical memory map table for nimbus
[    2.140574823,7] FDT: Parsing fdt @0xf90b1020
[    2.141641212,6] CHIP: Initialised chip 0 from xscom@603fc00000000
[    2.141652480,6] CHIP: Initialised chip 8 from xscom@623fc00000000
[    2.141679119,6] P9 DD2.10 detected
[    2.141680560,5] CHIP: Chip ID 0000 type: P9N DD2.10
[    2.141682560,7] XSCOM: Base address: 0x603fc00000000
[    2.141692755,6] P9 DD2.10 detected
[    2.141694157,5] CHIP: Chip ID 0008 type: P9N DD2.10
[    2.141696060,7] XSCOM: Base address: 0x623fc00000000
[    2.141703712,7] XSTOP: XSCOM addr = 0x5012000, FIR bit = 31
[    2.141705824,6] MFSI 0:0: Initialized
[    2.141707204,6] MFSI 0:2: Initialized
[    2.141708560,6] MFSI 0:1: Initialized
[    2.141710131,6] MFSI 8:0: Initialized
[    2.141711484,6] MFSI 8:2: Initialized
[    2.141712821,6] MFSI 8:1: Initialized
[    2.141784770,6] LPC: LPC[000]: Initialized
[    2.141786128,7] LPC: access via MMIO @0x6030000000000
[    2.141806938,7] LPC: Default bus on chip 0x0
[    2.141818270,7] CPU: New max PIR set to 0x85f
[    2.141857904,6] MEM: parsing reserved memory from node /reserved-memory
[    2.141862113,7] HOMER: Init chip 0
[    2.141864231,7]   PBA BAR0 : 0x00000001ff000000
[    2.141865892,7]   PBA MASK0: 0x0000000000300000
[    2.141867576,7]   HOMER Image at 0x1ff000000 size 4MB
[    2.141870358,7]   PBA BAR2 : 0x00000001ff800000
[    2.141871969,7]   PBA MASK2: 0x0000000000700000
[    2.141873578,7]   OCC Common Area at 0x1ff800000 size 8MB
[    2.141875346,7] HOMER: Init chip 8
[    2.141877608,7]   PBA BAR0 : 0x00000001ff400000
[    2.141879207,7]   PBA MASK0: 0x0000000000300000
[    2.141880803,7]   HOMER Image at 0x1ff400000 size 4MB
[    2.141883572,7]   PBA BAR2 : 0x00000001ff800000
[    2.141885134,7]   PBA MASK2: 0x0000000000700000
[    2.141886708,7]   OCC Common Area at 0x1ff800000 size 8MB
[    2.141888951,7] CPU: decrementer bits 56
[    2.141893423,6] CPU: CPU from DT PIR=0x0048 Server#=0x48 State=3
[    2.141899129,6] CPU:  4 secondary threads
[    2.141902156,6] CPU: CPU from DT PIR=0x004c Server#=0x4c State=3
[    2.141907283,6] CPU:  4 secondary threads
[    2.141910321,6] CPU: CPU from DT PIR=0x0050 Server#=0x50 State=3
[    2.141915976,6] CPU:  4 secondary threads
[    2.141918960,6] CPU: CPU from DT PIR=0x0054 Server#=0x54 State=3
[    2.141924339,6] CPU:  4 secondary threads
[    2.141927327,6] CPU: CPU from DT PIR=0x0850 Server#=0x850 State=3
[    2.141933022,6] CPU:  4 secondary threads
[    2.141936092,6] CPU: CPU from DT PIR=0x0854 Server#=0x854 State=3
[    2.141941493,6] CPU:  4 secondary threads
[    2.141944450,6] CPU: CPU from DT PIR=0x0858 Server#=0x858 State=3
[    2.141950114,6] CPU:  4 secondary threads
[    2.141953105,6] CPU: CPU from DT PIR=0x085c Server#=0x85c State=3
[    2.141958454,6] CPU:  4 secondary threads
[    2.142014671,6] PLAT: AST SIO unavailable!
[    2.142030426,7] UART: Using LPC IRQ 4
[    2.145290343,5] PLAT: Detected Talos platform
[    2.145331836,5] PLAT: Detected BMC platform ast2500:openbmc
[    2.163343299,5] CPU: All 32 processors called in...
[   26.067342437,7] LPC: Routing irq 10, policy: 0 (r=1)
[   26.067343493,7] LPC: SerIRQ 10 using route 0 targetted at OPAL
[   27.175076383,5] HIOMAP: Negotiated hiomap protocol v2
[   27.175141588,5] HIOMAP: Block size is 4KiB
[   27.175169154,5] HIOMAP: BMC suggested flash timeout of 8s
[   27.175209960,5] HIOMAP: Flash size is 64MiB
[   27.175243449,5] HIOMAP: Erase granule size is 4KiB
[   29.287447932,5] FLASH: Found system flash: (unnamed) id:0
[   30.078297780,3] STB: hw-key-hash not found
[   30.078348597,3] STB: hw_key-hash wrong size 0 (expected=64)
[   30.078425195,5] STB: Found tpm0,i2c_tpm_infineon evLogLen=608 evLogSize=4480
[   30.078501960,7] LPC: Routing irq 4, policy: 0 (r=1)
[   30.078503008,7] LPC: SerIRQ 4 using route 1 targetted at OPAL
[   30.078670102,5] OCC: All Chip Rdy after 0 ms
[   30.387858900,3] STB: VERSION NOT VERIFIED, invalid param. buf=0x30653188, len=4326 key-hash=0x0 hash-size=64
[   30.387969667,5] STB: VERSION hash calculated
[   30.473161107,5] STB: VERSION measured on pcr3 (tpm0, evType 0x5, evLogLen 687)
[   31.509055024,3] STB: IMA_CATALOG NOT VERIFIED, invalid param. buf=0x30655218, len=73728 key-hash=0x0 hash-size=64
[   31.509372859,5] STB: IMA_CATALOG hash calculated
[   32.082573264,5] STB: IMA_CATALOG measured on pcr2 (tpm0, evType 0x5, evLogLen 770)
[   32.289948692,3] CAPP: Error loading ucode lid. index=201d1
[   32.307769168,5] PCI: Resetting PHBs and training links...
[   33.328411564,5] PCI: Probing slots...
[   33.384931744,5] PCI Summary:
[   33.384978394,5] PHB#0000:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU1 Slot2 (16x) 
[   33.385050364,5] PHB#0001:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=CPU1 Slot1 (8x) 
[   33.385126279,5] PHB#0001:01:00.0 [EP  ] 126f 2263 R:03 C:010802 (  mass-storage) LOC_CODE=CPU1 Slot1 (8x)
[   33.385208885,5] PHB#0002:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=Builtin SAS 
[   33.385282850,5] PHB#0003:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin USB 
[   33.385355271,5] PHB#0003:01:00.0 [EP  ] 104c 8241 R:02 C:0c0330 (      usb-xhci) LOC_CODE=Builtin USB
[   33.385438445,5] PHB#0004:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin Ethernet 
[   33.385502571,5] PHB#0004:01:00.0 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[   33.385578281,5] PHB#0004:01:00.1 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[   33.385649434,5] PHB#0005:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..02 SLOT=BMC 
[   33.385705973,5] PHB#0005:01:00.0 [ETOX] 1a03 1150 R:04 C:060400 B:02..02 LOC_CODE=BMC
[   33.385775706,5] PHB#0005:02:00.0 [PCID] 1a03 2000 R:41 C:030000 (           vga) LOC_CODE=BMC
[   33.385842230,5] PHB#0030:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot2 (16x) 
[   33.385915617,5] PHB#0031:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot3 (8x) 
[   33.385976161,5] PHB#0032:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:00..00 
[   33.386031975,5] PHB#0033:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot1 (16x) 
[   33.386097261,4] WARNING! Skiboot version does not match VERSION partition!
[   33.393135947,5] IPMI: Resetting boot count on successful boot
[   33.393205082,5] INIT: Waiting for kernel...
[   37.482042442,3] STB: BOOTKERNEL NOT VERIFIED, invalid param. buf=0x20000000, len=11899224 key-hash=0x0 hash-size=64
[   38.005569863,5] STB: BOOTKERNEL hash calculated
[   38.090771933,5] STB: BOOTKERNEL measured on pcr4 (tpm0, evType 0x5, evLogLen 852)
[   38.092800620,5] INIT: 64-bit LE kernel discovered
[   38.295863850,5] STB: EV_SEPARATOR measured on pcr0 (tpm0, evType 0x4, evLogLen 928)
[   38.386303976,5] STB: EV_SEPARATOR measured on pcr1 (tpm0, evType 0x4, evLogLen 1004)
[   38.471518720,5] STB: EV_SEPARATOR measured on pcr2 (tpm0, evType 0x4, evLogLen 1080)
[   39.049965886,5] STB: EV_SEPARATOR measured on pcr3 (tpm0, evType 0x4, evLogLen 1156)
[   39.135216693,5] STB: EV_SEPARATOR measured on pcr4 (tpm0, evType 0x4, evLogLen 1232)
[   39.225673021,5] STB: EV_SEPARATOR measured on pcr5 (tpm0, evType 0x4, evLogLen 1308)
[   39.316139059,5] STB: EV_SEPARATOR measured on pcr6 (tpm0, evType 0x4, evLogLen 1384)
[   39.401399864,5] STB: EV_SEPARATOR measured on pcr7 (tpm0, evType 0x4, evLogLen 1460)
[   39.423559334,5] INIT: Starting kernel at 0x20010000, fdt at 0x30732fc0 157371 bytes

zImage starting: loaded at 0x0000000020010000 (sp: 0x0000000020b57ee0)
Allocating 0x2773e80 bytes for kernel...
Decompressing (0x0000000000000000 <- 0x0000000020024000:0x0000000020b5599d)...
Done! Decompressed 0x25798f8 bytes

Linux/PowerPC load: 
Finalizing device tree... flat tree at 0x20b58ce0
[   40.378508419,3] LPC[000]: Got SYNC no-response error. Error address reg: 0xd0010080
[   40.378521450,6] IPMI: dropping non severe PEL event
[   40.378544291,7] UART: IRQ functional !
[    4.232566] IMC PMU core_imc Register failed
[    4.233476] IMC PMU thread_imc Register failed
[    4.534252] mm/pgtable-generic.c:50: bad pmd c00600c2800001be.
[    4.534254] mm/pgtable-generic.c:50: bad pmd c00600c2802001be.
[    4.534256] mm/pgtable-generic.c:50: bad pmd c00600c2804001be.
[    4.962119] kAFS: failed to register: -97
^CLoading /etc/config.user from CBFS
New value of PCR[7]: 36056e3cb380957e5a538641f4118c9b589ce98b
gpg: WARNING: nothing exported
New value of PCR[5]: cdc4d7f3fb1d26a43e78cb7385edcd514b9b6fcc
New value of PCR[5]: da13840e5348990c97e6dc6a3edd6e96b02b33f7
New value of PCR[5]: 51180fb28d80c4892425d21efcf0879ab54c01cc
New value of PCR[5]: 47577c0039ecadc0a4fb0aed626d4240e7e8ba7a
New value of PCR[5]: aebec14770402b1dabe6b6845ec3125053359b79
[    9.072280] usbhid 1-2.1:1.1: couldn't find an input interrupt endpoint

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

┌─────┤ Clean Boot Detected - Perform OEM Factory Reset / Re-Ownership? ├──────┐
│                                                                              │
│ Connection to talos closed by remote host.                                   ↑
Connection to talos closed.ll automatically:                                   ▮
user@talos-tests:~/QubesIncoming/heads-tests$                                  ▒
│           * ERASE the TPM and own it with a password                         ▒
│                                                                              ▒
│           * ERASE any keys or passwords on the GPG smart card,               ▒
│                                                                              ▒
│             reset it to a factory state, generate new keys                   ▒
│                                                                              ▒
│             and optionally set custom PIN(s)                                 ▒
│                                                                              ▒
│           * Add the new GPG key to the firmware and reflash it               ▒
│                                                                              ▒
│           * Sign all of the files in /boot with the new GPG key              ▒
│                                                                              ▒
│                                                                              ▒
│         It requires that you already have an OS installed on a               ↓
│
│                     <Continue>                   <Cancel>
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

bmc connection died.

On clean boot:

~ # cbmem -L
TPM2 log:
	Specification: 2.00
	Platform class: PC Client
TPM2 log entry 1:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 27c4f1fa214480c8626397a15981ef3a9323717f
	Event data: 50 FMAP: FMAP
TPM2 log entry 2:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 636e987833897a21198656706be9b66cb5d10d37
	Event data: 50 FMAP: BOOTBLOCK
TPM2 log entry 3:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 6b8537a1f3fc852b53d70b52297c54d698bef16e
	Event data: 50 CBFS: fallback/romstage
TPM2 log entry 4:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: f05b9a4c314defbf8dfe3d01feabee204aadd065
	Event data: 50 CBFS: fallback/ramstage
TPM2 log entry 5:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: a1f9a89cc0d1890af88b86860fcee6406c7ccbf6
	Event data: 50 CBFS: fallback/payload
TPM2 log entry 6:
	PCR: 2
	Event type: Action
	Digests:
		 SHA1: 0db5b9953c52a0e3bb30d90891075438190e344c
	Event data: 50 CBFS: 2-cpus.dtb
TPM2 log entry 7:
	PCR: 3
	Event type: Action
	Digests:
		 SHA256: 6e7b06693452d997ac534e823b1ea79e5bb8ed19ba8a7af878abf10199c3d515
		 SHA1: 6e7b06693452d997ac534e823b1ea79e5bb8ed19
	Event data: 7 VERSION
TPM2 log entry 8:
	PCR: 2
	Event type: Action
	Digests:
		 SHA256: de73053377e1ae5ba5d2b637a4f5bfaeb410137722f11ef135e7a1be524e3092
		 SHA1: de73053377e1ae5ba5d2b637a4f5bfaeb4101377
	Event data: 11 IMA_CATALOG
TPM2 log entry 9:
	PCR: 4
	Event type: Action
	Digests:
		 SHA256: f1af78c80c01963894d086928e9a42ba7ca7a1332cb74aa4e5f17d444ca3bce4
		 SHA1: f1af78c80c01963894d086928e9a42ba7ca7a133
	Event data: 10 BOOTKERNEL
TPM2 log entry 10:
	PCR: 0
	Event type: Separator
	Digests:
		 SHA256: ad95131bc0b799c0b1af477fb14fcf26a6a9f76079e48bf090acb7e8367bfd0e
		 SHA1: d9be6524a5f5047db5866813acf3277892a7a30a
	Event data: 4 ����
TPM2 log entry 11:
	PCR: 1
	Event type: Separator
	Digests:
		 SHA256: ad95131bc0b799c0b1af477fb14fcf26a6a9f76079e48bf090acb7e8367bfd0e
		 SHA1: d9be6524a5f5047db5866813acf3277892a7a30a
	Event data: 4 ����
TPM2 log entry 12:
	PCR: 2
	Event type: Separator
	Digests:
		 SHA256: ad95131bc0b799c0b1af477fb14fcf26a6a9f76079e48bf090acb7e8367bfd0e
		 SHA1: d9be6524a5f5047db5866813acf3277892a7a30a
	Event data: 4 ����
TPM2 log entry 13:
	PCR: 3
	Event type: Separator
	Digests:
		 SHA256: ad95131bc0b799c0b1af477fb14fcf26a6a9f76079e48bf090acb7e8367bfd0e
		 SHA1: d9be6524a5f5047db5866813acf3277892a7a30a
	Event data: 4 ����
TPM2 log entry 14:
	PCR: 4
	Event type: Separator
	Digests:
		 SHA256: ad95131bc0b799c0b1af477fb14fcf26a6a9f76079e48bf090acb7e8367bfd0e
		 SHA1: d9be6524a5f5047db5866813acf3277892a7a30a
	Event data: 4 ����
TPM2 log entry 15:
	PCR: 5
	Event type: Separator
	Digests:
		 SHA256: ad95131bc0b799c0b1af477fb14fcf26a6a9f76079e48bf090acb7e8367bfd0e
		 SHA1: d9be6524a5f5047db5866813acf3277892a7a30a
	Event data: 4 ����
TPM2 log entry 16:
	PCR: 6
	Event type: Separator
	Digests:
		 SHA256: ad95131bc0b799c0b1af477fb14fcf26a6a9f76079e48bf090acb7e8367bfd0e
		 SHA1: d9be6524a5f5047db5866813acf3277892a7a30a
	Event data: 4 ����
TPM2 log entry 17:
	PCR: 7
	Event type: Separator
	Digests:
		 SHA256: ad95131bc0b799c0b1af477fb14fcf26a6a9f76079e48bf090acb7e8367bfd0e
		 SHA1: d9be6524a5f5047db5866813acf3277892a7a30a
	Event data: 4 ����

Normal cbmem -1:

cbmem -1

[NOTE ]  coreboot-4.17-1346-g09817b263c0-dirty Sat May 20 18:35:25 UTC 2023 bootblock starting (log level: 7)...
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  HBI partition has ECC
[DEBUG]  FMAP: Found "FLASH" version 1.1 at 0x20000.
[DEBUG]  FMAP: base = 0x0 size = 0x100000 #areas = 4
[DEBUG]  FMAP: area COREBOOT found @ 20200 (916992 bytes)
[INFO ]  CBFS: mcache @0xf8231000 built for 11 files, used 0x228 of 0x2000 bytes
[INFO ]  CBFS: Found 'fallback/romstage' @0x80 size 0x13d08 in mcache @0xf823102c
[INFO ]  TPM LOG: clearing the log
[DEBUG]  FMAP: area FMAP found @ 20000 (512 bytes)
[DEBUG]  TPM: Digest of `FMAP: FMAP` to PCR 2 logged
[DEBUG]  FMAP: area BOOTBLOCK found @ 0 (131072 bytes)
[DEBUG]  TPM: Digest of `FMAP: BOOTBLOCK` to PCR 2 logged
[DEBUG]  CRTM initialized.
[DEBUG]  TPM: Digest of `CBFS: fallback/romstage` to PCR 2 logged
[DEBUG]  BS: bootblock times (exec / console): total (unknown) / 5 ms


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


[NOTE ]  coreboot-4.17-1346-g09817b263c0-dirty Sat May 20 18:35:25 UTC 2023 ramstage starting (log level: 7)...
[INFO ]  Enumerating buses...
[DEBUG]  Root Device scanning...
[DEBUG]  DD21, boot core: 18
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  HCODE partition has ECC
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  OCC partition has ECC
[DEBUG]  Base epsilon values read from table:
[DEBUG]   R_T[0] = 22
[DEBUG]   R_T[1] = 22
[DEBUG]   R_T[2] = 103
[DEBUG]   W_T[0] = 5
[DEBUG]   W_T[1] = 33
[DEBUG]  Scaled epsilon values based on +20 percent guardband:
[DEBUG]   R_T[0] = 27
[DEBUG]   R_T[1] = 27
[DEBUG]   R_T[2] = 124
[DEBUG]   W_T[0] = 6
[DEBUG]   W_T[1] = 40
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  WOFDATA partition has ECC
[NOTE ]  Matching WOF tables section not found, disabling WOF
[DEBUG]  Safe mode freq = 1833412 kHZ, voltage = 711 mv
[DEBUG]  Base epsilon values read from table:
[DEBUG]   R_T[0] = 22
[DEBUG]   R_T[1] = 22
[DEBUG]   R_T[2] = 103
[DEBUG]   W_T[0] = 5
[DEBUG]   W_T[1] = 33
[DEBUG]  Scaled epsilon values based on +20 percent guardband:
[DEBUG]   R_T[0] = 27
[DEBUG]   R_T[1] = 27
[DEBUG]   R_T[2] = 124
[DEBUG]   W_T[0] = 6
[DEBUG]   W_T[1] = 40
[NOTE ]  Matching WOF tables section not found, disabling WOF
[DEBUG]  Safe mode freq = 1833412 kHZ, voltage = 737 mv
[INFO ]  starting istep 15.2
[INFO ]  starting istep 15.3
[INFO ]  starting istep 15.4
[DEBUG]  Starting PM complex...
[DEBUG]  Attempting PGPE activation...
[DEBUG]  PGPE was activated successfully
[DEBUG]  Attempting PGPE activation...
[DEBUG]  PGPE was activated successfully
[DEBUG]  Done starting PM complex
[INFO ]  starting istep 16.1
[DEBUG]  XIVE configured, entering dead man loop
[EMERG]  ASSERTION ERROR: file 'src/soc/ibm/power9/chip.c', line 696
[EMERG]  ASSERTION ERROR: file 'src/soc/ibm/power9/chip.c', line 696
[INFO ]  starting istep 18.11
[INFO ]  starting istep 18.12
[DEBUG]  Activating OCC...
[DEBUG]  Done activating OCC
[DEBUG]  CPU_CLUSTER: 0 enabled
[DEBUG]  PNP: 00e4.0 enabled
[DEBUG]  scan_bus: bus Root Device finished in 2496 msecs
[INFO ]  done
[DEBUG]  BS: BS_DEV_ENUMERATE run times (exec / console): 2484 / 13 ms
[INFO ]  Allocating resources...
[INFO ]  Reading resources...
[ERROR]  CPU_CLUSTER: 0 missing read_resources
[INFO ]  Done reading resources.
[ERROR]  CPU_CLUSTER: 0 missing set_resources
[DEBUG]  PNP: 00e4.0 00 <- [0x00000000000000e4 - 0x00000000000000e6] size 0x00000003 gran 0x00 io
[INFO ]  Done setting resources.
[INFO ]  Done allocating resources.
[DEBUG]  BS: BS_DEV_RESOURCES run times (exec / console): 0 / 3 ms
[INFO ]  Enabling resources...
[INFO ]  done.
[INFO ]  tpm_vendor_probe: ValidSts bit set(1) in TPM_ACCESS register after 0 ms
[DEBUG]  I2C TPM 2:20 (chip type slb9645tt device-id 0xD115)
[DEBUG]  TPM: Startup
[DEBUG]  TPM: command 0x99 returned 0x0
[DEBUG]  TPM: Asserting physical presence
[DEBUG]  TPM: command 0x4000000a returned 0x0
[DEBUG]  TPM: command 0x65 returned 0x0
[DEBUG]  TPM: flags disable=0, deactivated=0, nvlocked=0
[DEBUG]  TPM: Write digests cached in TPM log to PCR
[DEBUG]  TPM: Write digest for FMAP: FMAP into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Write digest for FMAP: BOOTBLOCK into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Write digest for CBFS: fallback/romstage into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Write digest for CBFS: fallback/ramstage into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[INFO ]  TPM: setup succeeded
[DEBUG]  BS: BS_DEV_INIT entry times (exec / console): 83 / 7 ms
[INFO ]  Initializing devices...
[DEBUG]  PNP: 00e4.0 init
[DEBUG]  IPMI: PNP BT 0xe4
[INFO ]  Get BMC self test result...Function Not Implemented
[INFO ]  IPMI: Found man_id 0x6cb0000, prod_id 0x1000000
[INFO ]  IPMI: Version 2.0
[DEBUG]  PNP: 00e4.0 init finished in 19 msecs
[INFO ]  Devices initialized
[DEBUG]  BS: BS_DEV_INIT run times (exec / console): 18 / 3 ms
[INFO ]  Finalize devices...
[INFO ]  Devices finalized
[DEBUG]  Writing coreboot table at 0xffed7000
[DEBUG]   0. 0000000000000000-00000000f8207fff: RAM
[DEBUG]   1. 00000000f8208000-00000000f820ffff: RAMSTAGE
[DEBUG]   2. 00000000f8210000-00000000f8ffffff: RAM
[DEBUG]   3. 00000000f9000000-00000000f92a1fff: RAMSTAGE
[DEBUG]   4. 00000000f92a2000-00000000ffed6fff: RAM
[DEBUG]   5. 00000000ffed7000-00000000ffefffff: CONFIGURATION TABLES
[DEBUG]   6. 00000000fff00000-00000001feffffff: RAM
[DEBUG]   7. 00000001ff000000-00000001ffffffff: RESERVED
[DEBUG]  FMAP: area COREBOOT found @ 20200 (916992 bytes)
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  HBI partition has ECC
[DEBUG]  Wrote coreboot table at: 0xffed7000, 0x230 bytes, checksum 2b850000
[DEBUG]  coreboot table: 584 bytes.
[DEBUG]  IMD ROOT    0. 0xffeff000 0x00001000
[DEBUG]  IMD SMALL   1. 0xffefe000 0x00001000
[DEBUG]  CONSOLE     2. 0xffede000 0x00020000
[DEBUG]  TPM2 TCGLOG 3. 0xffedc000 0x00001180
[DEBUG]  MEM INFO    4. 0xffed9000 0x000022b0
[DEBUG]  COREBOOT    5. 0xffed7000 0x00002000
[DEBUG]  IMD small region:
[DEBUG]    IMD ROOT    0. 0xffefec00 0x00000400
[DEBUG]    RO MCACHE   1. 0xffefe9c0 0x00000228
[DEBUG]    FMAP        2. 0xffefe8e0 0x000000e0
[DEBUG]  BS: BS_WRITE_TABLES run times (exec / console): 1 / 9 ms
[INFO ]  CBFS: Found 'fallback/payload' @0x293c0 size 0x6338d in mcache @0xffefeb44
[DEBUG]  TPM: Extending digest for `CBFS: fallback/payload` into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Digest of `CBFS: fallback/payload` to PCR 2 measured
[DEBUG]  Checking segment from ROM address 0xf8380000
[DEBUG]  Checking segment from ROM address 0xf838001c
[DEBUG]  Checking segment from ROM address 0xf8380038
[DEBUG]  Loading segment from ROM address 0xf8380000
[DEBUG]    code (compression=1)
[DEBUG]    New segment dstaddr 0x00000000 memsize 0x173c00 srcaddr 0xf8380054 filesize 0x63339
[DEBUG]  Loading Segment: addr: 0x00000000 memsz: 0x0000000000173c00 filesz: 0x0000000000063339
[DEBUG]  using LZMA
[DEBUG]  Loading segment from ROM address 0xf838001c
[DEBUG]    BSS 0x00300000 (113776 byte)
[DEBUG]  Loading Segment: addr: 0x00300000 memsz: 0x000000000001bc70 filesz: 0x0000000000000000
[DEBUG]  it's not compressed!
[DEBUG]  Clearing Segment: addr: 0x0000000000300000 memsz: 0x000000000001bc70
[DEBUG]  Loading segment from ROM address 0xf8380038
[DEBUG]    Entry Point 0x00002570
[DEBUG]  BS: BS_PAYLOAD_LOAD run times (exec / console): 446 / 8 ms
[INFO ]  coreboot TPM 2.0 measurements:

[INFO ]   PCR-2 27c4f1fa214480c8626397a15981ef3a9323717f SHA1 [FMAP: FMAP]
[INFO ]   PCR-2 636e987833897a21198656706be9b66cb5d10d37 SHA1 [FMAP: BOOTBLOCK]
[INFO ]   PCR-2 6b8537a1f3fc852b53d70b52297c54d698bef16e SHA1 [CBFS: fallback/romstage]
[INFO ]   PCR-2 f05b9a4c314defbf8dfe3d01feabee204aadd065 SHA1 [CBFS: fallback/ramstage]
[INFO ]   PCR-2 a1f9a89cc0d1890af88b86860fcee6406c7ccbf6 SHA1 [CBFS: fallback/payload]

[DEBUG]  BS: BS_PAYLOAD_BOOT entry times (exec / console): 0 / 3 ms
[DEBUG]  Jumping to boot code at 0x00002570(0xffed7000)
[INFO ]  CBFS: Found '2-cpus.dtb' @0x25840 size 0x3b23 in mcache @0xffefeb20
[DEBUG]  TPM: Extending digest for `CBFS: 2-cpus.dtb` into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Digest of `CBFS: 2-cpus.dtb` to PCR 2 measured
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-0x00000001ff000000 with 2.00 MiB pages
[    0.000000] radix-mmu: Initializing Radix MMU
[    0.000000] Linux version 5.5.0-openpower1 (linux-talos-2.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 3200 bytes for 32 pacas
[    0.000000] -----------------------------------------------------
[    0.000000] phys_mem_size     = 0x1fef00000
[    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 0x1fec83280-0x1fec87fff]
[    0.000000] numa:   NODE_DATA [mem 0x1fec2e500-0x1fec3327f]
[    0.000000] numa:     NODE_DATA(8) on node 0
[    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] Initializing IODA2 PHB (/pciex@620c3c0000000)
[    0.000000] PCI host bridge /pciex@620c3c0000000  ranges:
[    0.000000]  MEM 0x000620c000000000..0x000620c07ffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006200000000000..0x0006203fffffffff -> 0x0006200000000000 (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 0x1fe000)
[    0.000000] Initializing IODA2 PHB (/pciex@620c3c0100000)
[    0.000000] PCI host bridge /pciex@620c3c0100000  ranges:
[    0.000000]  MEM 0x000620c080000000..0x000620c0fffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006204000000000..0x0006207fffffffff -> 0x0006204000000000 (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 0x1fd800)
[    0.000000] Initializing IODA2 PHB (/pciex@620c3c0200000)
[    0.000000] PCI host bridge /pciex@620c3c0200000  ranges:
[    0.000000]  MEM 0x000620c100000000..0x000620c17ffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006208000000000..0x000620bfffffffff -> 0x0006208000000000 (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 0x1fd000)
[    0.000000] Initializing IODA2 PHB (/pciex@620c3c0300000)
[    0.000000] PCI host bridge /pciex@620c3c0300000  ranges:
[    0.000000]  MEM 0x000620c180000000..0x000620c1fffeffff -> 0x0000000080000000 
[    0.000000] ioremap() called early from pnv_pci_init_ioda_phb+0x388/0xc90. Use early_ioremap() instead
[    0.000000]  MEM 0x0006220000000000..0x0006223fffffffff -> 0x0006220000000000 (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 0x1fc000)
[    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: 0x1ff000000, Total RAM: 0x1fef00000
[    0.000000] Memory hole size: 1MB
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x00000001feffffff]
[    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-0x00000001feffffff]
[    0.000000] Zeroed struct page in unavailable ranges: 16 pages
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001feffffff]
[    0.000000] On node 0 totalpages: 130800
[    0.000000]   Normal zone: 112 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 130800 pages, LIFO batch:3
[    0.000000] Could not find start_pfn for node 8
[    0.000000] Initmem setup node 8 [mem 0x0000000000000000-0x0000000000000000]
[    0.000000] On node 8 totalpages: 0
[    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] pcpu-alloc: [1] 16 [1] 17 [1] 18 [1] 19 [1] 20 [1] 21 [1] 22 [1] 23 
[    0.000000] pcpu-alloc: [1] 24 [1] 25 [1] 26 [1] 27 [1] 28 [1] 29 [1] 30 [1] 31 
[    0.000000] Built 2 zonelists, mobility grouping on.  Total pages: 130688
[    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: 8140608K/8371200K available (13760K kernel code, 1088K rwdata, 2752K rodata, 4544K init, 1999K bss, 230592K 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=32, Nodes=9
[    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=32.
[    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=32
[    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   = 2500.000000 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[4]
[    0.000095] Console: colour dummy device 80x25
[    0.000100] printk: console [tty0] enabled
[    0.000102] printk: console [hvc0] enabled
[    0.000104] printk: bootconsole [udbg0] disabled
[    0.000146] pid_max: default: 32768 minimum: 301
[    0.000221] LSM: Security Framework initializing
[    0.000261] Mount-cache hash table entries: 16384 (order: 1, 131072 bytes, linear)
[    0.000273] Mountpoint-cache hash table entries: 16384 (order: 1, 131072 bytes, linear)
[    0.000907] EEH: PowerNV platform initialized
[    0.000912] POWER9 performance monitor hardware support registered
[    0.000945] rcu: Hierarchical SRCU implementation.
[    0.001307] smp: Bringing up secondary CPUs ...
[    0.016638] smp: Brought up 2 nodes, 32 CPUs
[    0.016640] numa: Node 0 CPUs: 0-15
[    0.016644] numa: Node 8 CPUs: 16-31
[    0.016647] Using shared cache scheduler topology
[    0.018531] devtmpfs: initialized
[    0.027400] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.027406] futex hash table entries: 8192 (order: 4, 1048576 bytes, linear)
[    0.027637] xor: measuring software checksum speed
[    0.120078]    8regs     :  5267.200 MB/sec
[    0.220109]    8regs_prefetch:  4230.400 MB/sec
[    0.320131]    32regs    :  5337.600 MB/sec
[    0.420168]    32regs_prefetch:  4166.400 MB/sec
[    0.520203]    altivec   :  6924.800 MB/sec
[    0.520205] xor: using function: altivec (6924.800 MB/sec)
[    0.520326] NET: Registered protocol family 16
[    0.520745] cpuidle: using governor menu
[    0.531840] PCI: Probing PCI hardware
[    0.531877] PCI host bridge to bus 0000:00
[    0.531884] pci_bus 0000:00: root bus resource [mem 0x600c000000000-0x600c07ffeffff] (bus address [0x80000000-0xfffeffff])
[    0.531887] pci_bus 0000:00: root bus resource [mem 0x6000000000000-0x6003fbfffffff 64bit pref]
[    0.531890] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.531894] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to ff
[    0.531930] pci 0000:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.532154] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
[    0.539199] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.539239] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to ff
[    0.539270] PCI host bridge to bus 0001:00
[    0.539275] pci_bus 0001:00: root bus resource [mem 0x600c080000000-0x600c0fffeffff] (bus address [0x80000000-0xfffeffff])
[    0.539278] pci_bus 0001:00: root bus resource [mem 0x6004000000000-0x6007f7fffffff 64bit pref]
[    0.539280] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.539283] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to ff
[    0.539310] pci 0001:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.539523] pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
[    0.543137] pci 0001:01:00.0: [126f:2263] type 00 class 0x010802
[    0.543202] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.543300] pci 0001:01:00.0: BAR0 [mem size 0x00004000 64bit]: requesting alignment to 0x10000
[    0.547015] pci 0001:00:00.0: PCI bridge to [bus 01]
[    0.547093] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to 01
[    0.547123] PCI host bridge to bus 0002:00
[    0.547127] pci_bus 0002:00: root bus resource [mem 0x600c100000000-0x600c17ffeffff] (bus address [0x80000000-0xfffeffff])
[    0.547130] pci_bus 0002:00: root bus resource [mem 0x6008000000000-0x600bf7fffffff 64bit pref]
[    0.547133] pci_bus 0002:00: root bus resource [bus 00-ff]
[    0.547136] pci_bus 0002:00: busn_res: [bus 00-ff] end is updated to ff
[    0.547162] pci 0002:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.547376] pci 0002:00:00.0: PME# supported from D0 D3hot D3cold
[    0.554380] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[    0.554419] pci_bus 0002:00: busn_res: [bus 00-ff] end is updated to ff
[    0.554450] PCI host bridge to bus 0003:00
[    0.554454] pci_bus 0003:00: root bus resource [mem 0x600c180000000-0x600c1fffeffff] (bus address [0x80000000-0xfffeffff])
[    0.554457] pci_bus 0003:00: root bus resource [mem 0x6020000000000-0x6023fbfffffff 64bit pref]
[    0.554460] pci_bus 0003:00: root bus resource [bus 00-ff]
[    0.554463] pci_bus 0003:00: busn_res: [bus 00-ff] end is updated to ff
[    0.554490] pci 0003:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.554702] pci 0003:00:00.0: PME# supported from D0 D3hot D3cold
[    0.558314] pci 0003:01:00.0: [104c:8241] type 00 class 0x0c0330
[    0.558371] pci 0003:01:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    0.558396] pci 0003:01:00.0: reg 0x18: [mem 0x00000000-0x00001fff 64bit]
[    0.558464] pci 0003:01:00.0: BAR2 [mem size 0x00002000 64bit]: requesting alignment to 0x10000
[    0.558585] pci 0003:01:00.0: supports D1 D2
[    0.558587] pci 0003:01:00.0: PME# supported from D0 D1 D2 D3hot
[    0.562158] pci 0003:00:00.0: PCI bridge to [bus 01]
[    0.562222] pci_bus 0003:00: busn_res: [bus 00-ff] end is updated to 01
[    0.562252] PCI host bridge to bus 0004:00
[    0.562257] pci_bus 0004:00: root bus resource [mem 0x600c200000000-0x600c27ffeffff] (bus address [0x80000000-0xfffeffff])
[    0.562260] pci_bus 0004:00: root bus resource [mem 0x6024000000000-0x6027f7fffffff 64bit pref]
[    0.562262] pci_bus 0004:00: root bus resource [bus 00-ff]
[    0.562265] pci_bus 0004:00: busn_res: [bus 00-ff] end is updated to ff
[    0.562291] pci 0004:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.562504] pci 0004:00:00.0: PME# supported from D0 D3hot D3cold
[    0.566122] pci 0004:01:00.0: [14e4:1657] type 00 class 0x020000
[    0.566187] pci 0004:01:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.566213] pci 0004:01:00.0: reg 0x18: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.566239] pci 0004:01:00.0: reg 0x20: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.566255] pci 0004:01:00.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.566286] pci 0004:01:00.0: BAR6 [mem size 0x00000800 pref]: requesting alignment to 0x10000
[    0.566471] pci 0004:01:00.0: PME# supported from D0 D3hot D3cold
[    0.566609] pci 0004:01:00.1: [14e4:1657] type 00 class 0x020000
[    0.566674] pci 0004:01:00.1: reg 0x10: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.566700] pci 0004:01:00.1: reg 0x18: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.566726] pci 0004:01:00.1: reg 0x20: [mem 0x00000000-0x0000ffff 64bit pref]
[    0.566742] pci 0004:01:00.1: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.566773] pci 0004:01:00.1: BAR6 [mem size 0x00000800 pref]: requesting alignment to 0x10000
[    0.566959] pci 0004:01:00.1: PME# supported from D0 D3hot D3cold
[    0.570505] pci 0004:00:00.0: PCI bridge to [bus 01]
[    0.570591] pci_bus 0004:00: busn_res: [bus 00-ff] end is updated to 01
[    0.570622] PCI host bridge to bus 0005:00
[    0.570626] pci_bus 0005:00: root bus resource [mem 0x600c280000000-0x600c2fffeffff] (bus address [0x80000000-0xfffeffff])
[    0.570629] pci_bus 0005:00: root bus resource [mem 0x6028000000000-0x602bf7fffffff 64bit pref]
[    0.570631] pci_bus 0005:00: root bus resource [bus 00-ff]
[    0.570634] pci_bus 0005:00: busn_res: [bus 00-ff] end is updated to ff
[    0.570661] pci 0005:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.570874] pci 0005:00:00.0: PME# supported from D0 D3hot D3cold
[    0.574499] pci 0005:01:00.0: [1a03:1150] type 01 class 0x060400
[    0.574630] pci 0005:01:00.0: enabling Extended Tags
[    0.574781] pci 0005:01:00.0: supports D1 D2
[    0.574783] pci 0005:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.578336] pci 0005:00:00.0: PCI bridge to [bus 01-02]
[    0.578471] pci_bus 0005:02: extended config space not accessible
[    0.578521] pci 0005:02:00.0: [1a03:2000] type 00 class 0x030000
[    0.578556] pci 0005:02:00.0: reg 0x10: [mem 0x00000000-0x00ffffff]
[    0.578572] pci 0005:02:00.0: reg 0x14: [mem 0x00000000-0x0001ffff]
[    0.578588] pci 0005:02:00.0: reg 0x18: [io  0x0000-0x007f]
[    0.578733] pci 0005:02:00.0: supports D1 D2
[    0.578736] pci 0005:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.582245] pci 0005:01:00.0: PCI bridge to [bus 02]
[    0.582311] pci_bus 0005:00: busn_res: [bus 00-ff] end is updated to 02
[    0.582342] PCI host bridge to bus 0030:00
[    0.582346] pci_bus 0030:00: root bus resource [mem 0x620c000000000-0x620c07ffeffff] (bus address [0x80000000-0xfffeffff])
[    0.582349] pci_bus 0030:00: root bus resource [mem 0x6200000000000-0x6203fbfffffff 64bit pref]
[    0.582352] pci_bus 0030:00: root bus resource [bus 00-ff]
[    0.582355] pci_bus 0030:00: busn_res: [bus 00-ff] end is updated to ff
[    0.582386] pci 0030:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.582643] pci 0030:00:00.0: PME# supported from D0 D3hot D3cold
[    0.589657] pci 0030:00:00.0: PCI bridge to [bus 01-ff]
[    0.589703] pci_bus 0030:00: busn_res: [bus 00-ff] end is updated to ff
[    0.589734] PCI host bridge to bus 0031:00
[    0.589738] pci_bus 0031:00: root bus resource [mem 0x620c080000000-0x620c0fffeffff] (bus address [0x80000000-0xfffeffff])
[    0.589740] pci_bus 0031:00: root bus resource [mem 0x6204000000000-0x6207f7fffffff 64bit pref]
[    0.589743] pci_bus 0031:00: root bus resource [bus 00-ff]
[    0.589746] pci_bus 0031:00: busn_res: [bus 00-ff] end is updated to ff
[    0.589777] pci 0031:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.590034] pci 0031:00:00.0: PME# supported from D0 D3hot D3cold
[    0.597046] pci 0031:00:00.0: PCI bridge to [bus 01-ff]
[    0.597091] pci_bus 0031:00: busn_res: [bus 00-ff] end is updated to ff
[    0.597122] PCI host bridge to bus 0032:00
[    0.597126] pci_bus 0032:00: root bus resource [mem 0x620c100000000-0x620c17ffeffff] (bus address [0x80000000-0xfffeffff])
[    0.597129] pci_bus 0032:00: root bus resource [mem 0x6208000000000-0x620bf7fffffff 64bit pref]
[    0.597132] pci_bus 0032:00: root bus resource [bus 00-ff]
[    0.597135] pci_bus 0032:00: busn_res: [bus 00-ff] end is updated to ff
[    0.597165] pci 0032:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.597421] pci 0032:00:00.0: PME# supported from D0 D3hot D3cold
[    0.600940] pci 0032:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.604461] pci 0032:00:00.0: PCI bridge to [bus 01-ff]
[    0.604489] pci_bus 0032:01: busn_res: [bus 01-ff] end is updated to 01
[    0.604499] pci_bus 0032:00: busn_res: [bus 00-ff] end is updated to 01
[    0.604531] PCI host bridge to bus 0033:00
[    0.604535] pci_bus 0033:00: root bus resource [mem 0x620c180000000-0x620c1fffeffff] (bus address [0x80000000-0xfffeffff])
[    0.604538] pci_bus 0033:00: root bus resource [mem 0x6220000000000-0x6223fbfffffff 64bit pref]
[    0.604541] pci_bus 0033:00: root bus resource [bus 00-ff]
[    0.604544] pci_bus 0033:00: busn_res: [bus 00-ff] end is updated to ff
[    0.604575] pci 0033:00:00.0: [1014:04c1] type 01 class 0x060400
[    0.604831] pci 0033:00:00.0: PME# supported from D0 D3hot D3cold
[    0.611842] pci 0033:00:00.0: PCI bridge to [bus 01-ff]
[    0.611887] pci_bus 0033:00: busn_res: [bus 00-ff] end is updated to ff
[    0.611905] pci 0000:00     : [PE# 1fe] Secondary bus 0x0000000000000000 associated with PE#1fe
[    0.612144] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.612166] pci_bus 0000:00: resource 4 [mem 0x600c000000000-0x600c07ffeffff]
[    0.612170] pci_bus 0000:00: resource 5 [mem 0x6000000000000-0x6003fbfffffff 64bit pref]
[    0.612177] pci 0001:00:00.0: BAR 8: assigned [mem 0x600c080000000-0x600c0807fffff]
[    0.612182] pci 0001:01:00.0: BAR 0: assigned [mem 0x600c080000000-0x600c080003fff 64bit]
[    0.612204] pci 0001:00     : [PE# fe] Secondary bus 0x0000000000000000 associated with PE#fe
[    0.612444] pci 0001:01     : [PE# fd] Secondary bus 0x0000000000000001 associated with PE#fd
[    0.612684] pci 0001:01     : [PE# fd] Setting up 32-bit TCE table at 0..80000000
[    0.613687] IOMMU table initialized, virtual merging enabled
[    0.613690] pci 0001:01     : [PE# fd] Setting up window#0 0..ffffffff pg=10000
[    0.613697] pci 0001:01     : [PE# fd] Enabling 64-bit DMA bypass
[    0.613701] pci 0001:00:00.0: PCI bridge to [bus 01]
[    0.613710] pci 0001:00:00.0:   bridge window [mem 0x600c080000000-0x600c0ffefffff]
[    0.613725] pci_bus 0001:00: resource 4 [mem 0x600c080000000-0x600c0fffeffff]
[    0.613728] pci_bus 0001:00: resource 5 [mem 0x6004000000000-0x6007f7fffffff 64bit pref]
[    0.613731] pci_bus 0001:01: resource 1 [mem 0x600c080000000-0x600c0ffefffff]
[    0.613735] pci 0002:00     : [PE# fe] Secondary bus 0x0000000000000000 associated with PE#fe
[    0.613972] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[    0.613993] pci_bus 0002:00: resource 4 [mem 0x600c100000000-0x600c17ffeffff]
[    0.613996] pci_bus 0002:00: resource 5 [mem 0x6008000000000-0x600bf7fffffff 64bit pref]
[    0.614001] pci 0003:00:00.0: BAR 8: assigned [mem 0x600c180000000-0x600c1803fffff]
[    0.614005] pci 0003:01:00.0: BAR 0: assigned [mem 0x600c180000000-0x600c18000ffff 64bit]
[    0.614026] pci 0003:01:00.0: BAR 2: assigned [mem 0x600c180010000-0x600c180011fff 64bit]
[    0.614050] pci 0003:00     : [PE# 1fe] Secondary bus 0x0000000000000000 associated with PE#1fe
[    0.614291] pci 0003:01     : [PE# 1fd] Secondary bus 0x0000000000000001 associated with PE#1fd
[    0.614530] pci 0003:01     : [PE# 1fd] Setting up 32-bit TCE table at 0..80000000
[    0.615531] pci 0003:01     : [PE# 1fd] Setting up window#0 0..ffffffff pg=10000
[    0.615537] pci 0003:01     : [PE# 1fd] Enabling 64-bit DMA bypass
[    0.615540] pci 0003:00:00.0: PCI bridge to [bus 01]
[    0.615549] pci 0003:00:00.0:   bridge window [mem 0x600c180000000-0x600c1ffefffff]
[    0.615564] pci_bus 0003:00: resource 4 [mem 0x600c180000000-0x600c1fffeffff]
[    0.615567] pci_bus 0003:00: resource 5 [mem 0x6020000000000-0x6023fbfffffff 64bit pref]
[    0.615570] pci_bus 0003:01: resource 1 [mem 0x600c180000000-0x600c1ffefffff]
[    0.615576] pci 0004:00:00.0: BAR 9: assigned [mem 0x6024000000000-0x602403fffffff 64bit pref]
[    0.615579] pci 0004:00:00.0: BAR 8: assigned [mem 0x600c200000000-0x600c2007fffff]
[    0.615584] pci 0004:01:00.0: BAR 0: assigned [mem 0x6024000000000-0x602400000ffff 64bit pref]
[    0.615605] pci 0004:01:00.0: BAR 2: assigned [mem 0x6024000010000-0x602400001ffff 64bit pref]
[    0.615625] pci 0004:01:00.0: BAR 4: assigned [mem 0x6024000020000-0x602400002ffff 64bit pref]
[    0.615646] pci 0004:01:00.0: BAR 6: assigned [mem 0x600c200000000-0x600c2000007ff pref]
[    0.615649] pci 0004:01:00.1: BAR 0: assigned [mem 0x6024000030000-0x602400003ffff 64bit pref]
[    0.615670] pci 0004:01:00.1: BAR 2: assigned [mem 0x6024000040000-0x602400004ffff 64bit pref]
[    0.615691] pci 0004:01:00.1: BAR 4: assigned [mem 0x6024000050000-0x602400005ffff 64bit pref]
[    0.615711] pci 0004:01:00.1: BAR 6: assigned [mem 0x600c200010000-0x600c2000107ff pref]
[    0.615715] pci 0004:00     : [PE# fe] Secondary bus 0x0000000000000000 associated with PE#fe
[    0.615964] pci 0004:01     : [PE# 00] Secondary bus 0x0000000000000001 associated with PE#0
[    0.616202] pci 0004:01     : [PE# 00] Setting up 32-bit TCE table at 0..80000000
[    0.617204] pci 0004:01     : [PE# 00] Setting up window#0 0..ffffffff pg=10000
[    0.617209] pci 0004:01     : [PE# 00] Enabling 64-bit DMA bypass
[    0.617212] pci 0004:00:00.0: PCI bridge to [bus 01]
[    0.617222] pci 0004:00:00.0:   bridge window [mem 0x600c200000000-0x600c27fefffff]
[    0.617228] pci 0004:00:00.0:   bridge window [mem 0x6024000000000-0x6027f7ff0ffff 64bit pref]
[    0.617239] pci_bus 0004:00: resource 4 [mem 0x600c200000000-0x600c27ffeffff]
[    0.617242] pci_bus 0004:00: resource 5 [mem 0x6024000000000-0x6027f7fffffff 64bit pref]
[    0.617245] pci_bus 0004:01: resource 1 [mem 0x600c200000000-0x600c27fefffff]
[    0.617247] pci_bus 0004:01: resource 2 [mem 0x6024000000000-0x6027f7ff0ffff 64bit pref]
[    0.617253] pci 0005:00:00.0: BAR 8: assigned [mem 0x600c280000000-0x600c2817fffff]
[    0.617257] pci 0005:00:00.0: BAR 7: no space for [io  size 0x1000]
[    0.617259] pci 0005:00:00.0: BAR 7: failed to assign [io  size 0x1000]
[    0.617263] pci 0005:01:00.0: BAR 8: assigned [mem 0x600c280000000-0x600c2817fffff]
[    0.617266] pci 0005:01:00.0: BAR 7: no space for [io  size 0x1000]
[    0.617268] pci 0005:01:00.0: BAR 7: failed to assign [io  size 0x1000]
[    0.617272] pci 0005:02:00.0: BAR 0: assigned [mem 0x600c280000000-0x600c280ffffff]
[    0.617281] pci 0005:02:00.0: BAR 1: assigned [mem 0x600c281000000-0x600c28101ffff]
[    0.617289] pci 0005:02:00.0: BAR 2: no space for [io  size 0x0080]
[    0.617292] pci 0005:02:00.0: BAR 2: failed to assign [io  size 0x0080]
[    0.617295] pci 0005:00     : [PE# fe] Secondary bus 0x0000000000000000 associated with PE#fe
[    0.617534] pci 0005:02     : [PE# fd] Secondary bus 0x0000000000000002..0x0000000000000002 associated with PE#fd
[    0.617772] pci 0005:02     : [PE# fd] Setting up 32-bit TCE table at 0..80000000
[    0.618772] pci 0005:02     : [PE# fd] Setting up window#0 0..ffffffff pg=10000
[    0.618777] pci 0005:02     : [PE# fd] Enabling 64-bit DMA bypass
[    0.618780] pci 0005:01:00.0: PCI bridge to [bus 02]
[    0.618790] pci 0005:01:00.0:   bridge window [mem 0x600c280000000-0x600c2ffefffff]
[    0.618808] pci 0005:01     : [PE# fc] Secondary bus 0x0000000000000001 associated with PE#fc
[    0.619044] pci 0005:00:00.0: PCI bridge to [bus 01-02]
[    0.619053] pci 0005:00:00.0:   bridge window [mem 0x600c280000000-0x600c2ffefffff]
[    0.619067] pci_bus 0005:00: Some PCI device resources are unassigned, try booting with pci=realloc
[    0.619070] pci_bus 0005:00: resource 4 [mem 0x600c280000000-0x600c2fffeffff]
[    0.619073] pci_bus 0005:00: resource 5 [mem 0x6028000000000-0x602bf7fffffff 64bit pref]
[    0.619076] pci_bus 0005:01: resource 1 [mem 0x600c280000000-0x600c2ffefffff]
[    0.619078] pci_bus 0005:02: resource 1 [mem 0x600c280000000-0x600c2ffefffff]
[    0.619082] pci 0030:00     : [PE# 1fe] Secondary bus 0x0000000000000000 associated with PE#1fe
[    0.619320] pci 0030:00:00.0: PCI bridge to [bus 01-ff]
[    0.619345] pci_bus 0030:00: resource 4 [mem 0x620c000000000-0x620c07ffeffff]
[    0.619347] pci_bus 0030:00: resource 5 [mem 0x6200000000000-0x6203fbfffffff 64bit pref]
[    0.619351] pci 0031:00     : [PE# fe] Secondary bus 0x0000000000000000 associated with PE#fe
[    0.619586] pci 0031:00:00.0: PCI bridge to [bus 01-ff]
[    0.619611] pci_bus 0031:00: resource 4 [mem 0x620c080000000-0x620c0fffeffff]
[    0.619613] pci_bus 0031:00: resource 5 [mem 0x6204000000000-0x6207f7fffffff 64bit pref]
[    0.619617] pci 0032:00     : [PE# fe] Secondary bus 0x0000000000000000 associated with PE#fe
[    0.619854] pci 0032:00:00.0: PCI bridge to [bus 01]
[    0.619878] pci_bus 0032:00: resource 4 [mem 0x620c100000000-0x620c17ffeffff]
[    0.619881] pci_bus 0032:00: resource 5 [mem 0x6208000000000-0x620bf7fffffff 64bit pref]
[    0.619885] pci 0033:00     : [PE# 1fe] Secondary bus 0x0000000000000000 associated with PE#1fe
[    0.620122] pci 0033:00:00.0: PCI bridge to [bus 01-ff]
[    0.620146] pci_bus 0033:00: resource 4 [mem 0x620c180000000-0x620c1fffeffff]
[    0.620149] pci_bus 0033:00: resource 5 [mem 0x6220000000000-0x6223fbfffffff 64bit pref]
[    0.621049] pci 0001:01:00.0: Adding to iommu group 0
[    0.621063] pci 0003:01:00.0: Adding to iommu group 1
[    0.621075] pci 0004:01:00.0: Adding to iommu group 2
[    0.621080] pci 0004:01:00.1: Adding to iommu group 2
[    0.621093] pci 0005:02:00.0: Adding to iommu group 3
[    0.621147] pci 0001:00:00.0: enabling device (0105 -> 0107)
[    0.621161] pci 0003:00:00.0: enabling device (0105 -> 0107)
[    0.621176] pci 0004:00:00.0: enabling device (0105 -> 0107)
[    0.621190] pci 0005:00:00.0: enabling device (0105 -> 0107)
[    0.621205] pci 0005:01:00.0: enabling device (0145 -> 0147)
[    0.621217] EEH: Capable adapter found: recovery enabled.
[    0.621311] PCI: Probing PCI hardware done
[    0.790293] raid6: vpermxor8 gen()  5076 MB/s
[    0.960343] raid6: vpermxor4 gen()  5142 MB/s
[    1.130405] raid6: vpermxor2 gen()  4417 MB/s
[    1.300457] raid6: vpermxor1 gen()  3062 MB/s
[    1.470508] raid6: altivecx8 gen()  4374 MB/s
[    1.640567] raid6: altivecx4 gen()  5026 MB/s
[    1.810616] raid6: altivecx2 gen()  4417 MB/s
[    1.980678] raid6: altivecx1 gen()  3060 MB/s
[    2.150725] raid6: int64x8  gen()  2246 MB/s
[    2.320795] raid6: int64x8  xor()   833 MB/s
[    2.490837] raid6: int64x4  gen()  3038 MB/s
[    2.660897] raid6: int64x4  xor()   994 MB/s
[    2.830966] raid6: int64x2  gen()  2687 MB/s
[    3.001031] raid6: int64x2  xor()   821 MB/s
[    3.171078] raid6: int64x1  gen()  1680 MB/s
[    3.341127] raid6: int64x1  xor()   523 MB/s
[    3.341129] raid6: using algorithm vpermxor4 gen() 5142 MB/s
[    3.341130] raid6: using intx1 recovery algorithm
[    3.341269] iommu: Default domain type: Translated 
[    3.341363] pci 0005:02:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[    3.341369] pci 0005:02:00.0: vgaarb: bridge control possible
[    3.341374] pci 0005:02:00.0: vgaarb: setting as boot device (VGA legacy resources not available)
[    3.341375] vgaarb: loaded
[    3.341535] SCSI subsystem initialized
[    3.341632] libata version 3.00 loaded.
[    3.341665] usbcore: registered new interface driver usbfs
[    3.341679] usbcore: registered new interface driver hub
[    3.341785] usbcore: registered new device driver usb
[    3.342103] clocksource: Switched to clocksource timebase
[    3.342249] VFS: Disk quotas dquot_6.6.0
[    3.342297] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
[    3.344134] NET: Registered protocol family 2
[    3.344304] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
[    3.344329] TCP established hash table entries: 65536 (order: 3, 524288 bytes, linear)
[    3.344583] TCP bind hash table entries: 65536 (order: 4, 1048576 bytes, linear)
[    3.344906] TCP: Hash tables configured (established 65536 bind 65536)
[    3.344974] UDP hash table entries: 4096 (order: 1, 131072 bytes, linear)
[    3.345019] UDP-Lite hash table entries: 4096 (order: 1, 131072 bytes, linear)
[    3.345154] NET: Registered protocol family 1
[    3.345384] RPC: Registered named UNIX socket transport module.
[    3.345386] RPC: Registered udp transport module.
[    3.345387] RPC: Registered tcp transport module.
[    3.345388] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.345425] pci 0003:01:00.0: enabling device (0140 -> 0142)
[    3.345502] PCI: CLS 0 bytes, default 128
[    4.232394] core_imc memory allocation for cpu 16 failed
[    4.232519] IMC PMU core_imc Register failed
[    4.233433] IMC PMU thread_imc Register failed
[    4.235515] Initialise system trusted keyrings
[    4.235570] workingset: timestamp_bits=54 max_order=17 bucket_order=0
[    4.238424] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    4.238715] NFS: Registering the id_resolver key type
[    4.238720] Key type id_resolver registered
[    4.238721] Key type id_legacy registered
[    4.238726] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    4.238736] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    4.238906] JFS: nTxBlock = 3974, nTxLock = 31799
[    4.240396] SGI XFS with ACLs, security attributes, realtime, quota, fatal assert, debug enabled
[    4.241060] F2FS not supported on PAGE_SIZE(65536) != 4096
[    4.241142] Key type asymmetric registered
[    4.241144] Asymmetric key parser 'x509' registered
[    4.241156] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    4.241694] IPMI message handler: version 39.2
[    4.241713] ipmi device interface
[    4.255313] 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.277637] ipmi-powernv ibm,opal:ipmi: IPMI message handler: Found new BMC (man_id: 0x00cb06, prod_id: 0x0001, dev_id: 0x00)
[    4.389322] hvc0: raw protocol on /ibm,opal/consoles/serial@0 (boot console)
[    4.389327] hvc0: No interrupts property, using OPAL event
[    4.389607] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    4.389891] Non-volatile memory driver v1.3
[    4.389987] [drm] radeon kernel modesetting enabled.
[    4.390115] ast 0005:02:00.0: enabling device (0140 -> 0142)
[    4.390204] [drm] platform has no IO space, trying MMIO
[    4.390208] [drm] VGA not enabled on entry, requesting chip POST
[    4.390210] [drm] Using device-tree for configuration
[    4.390211] [drm] AST 2500 detected
[    4.390214] [drm] Analog VGA only
[    4.390246] [drm] dram MCLK=800 Mhz type=7 bus_width=16 size=01000000
[    4.390303] [TTM] Zone  kernel: Available graphics memory: 4070304 KiB
[    4.390305] [TTM] Zone   dma32: Available graphics memory: 2097152 KiB
[    4.390306] [TTM] Initializing pool allocator
[    4.524735] mm/pgtable-generic.c:50: bad pmd c00600c2800001be.
[    4.524737] mm/pgtable-generic.c:50: bad pmd c00600c2802001be.
[    4.524739] mm/pgtable-generic.c:50: bad pmd c00600c2804001be.
[    4.526262] Console: switching to colour frame buffer device 240x67
[    4.539093] ast 0005:02:00.0: fb0: astdrmfb frame buffer device
[    4.573552] [drm] Initialized ast 0.1.0 20120228 for 0005:02:00.0 on minor 0
[    4.576254] brd: module loaded
[    4.581611] loop: module loaded
[    4.581632] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[    4.581971] nvme nvme0: pci function 0001:01:00.0
[    4.582001] nvme 0001:01:00.0: enabling device (0140 -> 0142)
[    4.582410] 5 fixed-partitions partitions found on MTD device flash@0
[    4.582411] Creating 5 MTD partitions on "flash@0":
[    4.582415] 0x000000000000-0x000004000000 : "PNOR"
[    4.583169] 0x0000022a1000-0x000002dfa158 : "BOOTKERNEL"
[    4.583909] 0x000003944000-0x000003946000 : "VERSION"
[    4.584658] 0x000003989000-0x0000039c9000 : "IMA_CATALOG"
[    4.585390] 0x000003e10000-0x000003ff0000 : "BOOTKERNFW"
[    4.586209] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.586213] ohci-pci: OHCI PCI platform driver
[    4.612137] rtc-opal opal-rtc: registered as rtc0
[    4.612154] i2c /dev entries driver
[    4.613200] tpm_i2c_infineon 3-0020: 1.2 TPM (device-id 0x1A)
[    4.626264] random: fast init done
[    4.703958] nvme nvme0: missing or invalid SUBNQN field.
[    4.703996] nvme nvme0: allocated 64 MiB host memory buffer.
[    4.718648] nvme nvme0: 8/0/0 default/read/poll queues
[    4.727395]  nvme0n1: p1 p2 p3
[    4.770380] powernv-cpufreq: cpufreq pstate min 0x76 nominal 0x4e max 0x0
[    4.770381] powernv-cpufreq: Workload Optimized Frequency is enabled in the platform
[    4.771512] ipip: IPv4 and MPLS over IPv4 tunneling driver
[    4.771695] NET: Registered protocol family 17
[    4.771788] NET: Registered protocol family 33
[    4.771791] Key type rxrpc registered
[    4.771793] Key type rxrpc_s registered
[    4.771809] Key type dns_resolver registered
[    4.771860] drmem: No dynamic reconfiguration memory found
[    4.772735] registered taskstats version 1
[    4.772736] Loading compiled-in X.509 certificates
[    4.774996] Loaded X.509 cert 'Build time autogenerated kernel key: 5726bc3d039247976bfab6c438926f0ee1b137c7'
[    4.775004] kAFS: Red Hat AFS client v0.1 registering.
[    4.962092] kAFS: failed to register: -97
[    4.962805] Btrfs loaded, crc32c=crc32c-generic
[    4.963243] Key type encrypted registered
[    4.963256] ima: Allocated hash algorithm: sha1
[    4.976994] random: crng init done
[    5.118584] ima: No architecture policies found
[    5.118607] evm: Initialising EVM extended attributes:
[    5.118609] evm: security.capability
[    5.118611] evm: HMAC attrs: 0x1
[    5.142139] rtc-opal opal-rtc: setting system clock to 2023-05-23T17:44:31 UTC (1684863871)
[    5.143199] Freeing unused kernel memory: 4544K
[    5.162144] Run /init as init process
[    5.164040] [U] hello world
[    6.823265] ehci_hcd: module verification failed: signature and/or required key missing - tainting kernel
[    6.823570] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.823571] Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
[    6.862781] ehci-pci: EHCI PCI platform driver
[    6.942849] xhci_hcd 0003:01:00.0: xHCI Host Controller
[    6.942935] xhci_hcd 0003:01:00.0: new USB bus registered, assigned bus number 1
[    6.943068] xhci_hcd 0003:01:00.0: hcc params 0x0270f06d hci version 0x96 quirks 0x0000000004000000
[    6.943928] hub 1-0:1.0: USB hub found
[    6.943948] hub 1-0:1.0: 4 ports detected
[    6.944152] xhci_hcd 0003:01:00.0: xHCI Host Controller
[    6.944203] xhci_hcd 0003:01:00.0: new USB bus registered, assigned bus number 2
[    6.944210] xhci_hcd 0003:01:00.0: Host supports USB 3.0 SuperSpeed
[    6.944251] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.944469] hub 2-0:1.0: USB hub found
[    6.944487] hub 2-0:1.0: 4 ports detected
[    7.322101] usb 1-2: new high-speed USB device number 2 using xhci_hcd
[    7.368746] hub 1-2:1.0: USB hub found
[    7.369336] hub 1-2:1.0: 4 ports detected
[    7.532099] usb 1-3: new high-speed USB device number 3 using xhci_hcd
[    7.576545] hub 1-3:1.0: USB hub found
[    7.576887] hub 1-3:1.0: 5 ports detected
[    7.722099] usb 1-4: new high-speed USB device number 4 using xhci_hcd
[    7.768843] hub 1-4:1.0: USB hub found
[    7.769435] hub 1-4:1.0: 4 ports detected
[    7.852109] usb 1-2.1: new low-speed USB device number 5 using xhci_hcd
[    8.082093] usb 1-3.1: new high-speed USB device number 6 using xhci_hcd
[    8.212095] usb 1-4.2: new full-speed USB device number 7 using xhci_hcd
[    8.442100] usb 1-2.3: new low-speed USB device number 8 using xhci_hcd
[    8.995679] input: LOGITECH G110 G-keys Keypad as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-2/1-2.1/1-2.1:1.0/0003:046D:C22B.0001/input/input0
[    9.062203] hid-generic 0003:046D:C22B.0001: input,hiddev96: USB HID v1.00 Keypad [LOGITECH G110 G-keys] on usb-0003:01:00.0-2.1/input0
[    9.062237] usbhid 1-2.1:1.1: couldn't find an input interrupt endpoint
[    9.063968] 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
[    9.132140] hid-generic 0003:1D6B:0104.0002: input: USB HID v1.01 Keyboard [OpenBMC virtual_input] on usb-0003:01:00.0-3.1/input0
[    9.133685] 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
[    9.133732] hid-generic 0003:1D6B:0104.0003: input: USB HID v1.01 Mouse [OpenBMC virtual_input] on usb-0003:01:00.0-3.1/input1
[    9.137243] hid-generic 0003:316D:4C4B.0004: hiddev97: USB HID v1.10 Device [Purism, SPC Librem Key] on usb-0003:01:00.0-4.2/input0
[    9.141010] input: Gaming Keyboard G110 as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-2/1-2.3/1-2.3:1.0/0003:046D:C22A.0005/input/input4
[    9.202154] hid-generic 0003:046D:C22A.0005: input: USB HID v1.10 Keyboard [Gaming Keyboard G110] on usb-0003:01:00.0-2.3/input0
[    9.206789] input: Gaming Keyboard G110 Consumer Control as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-2/1-2.3/1-2.3:1.1/0003:046D:C22A.0006/input/input5
[    9.272206] hid-generic 0003:046D:C22A.0006: input,hiddev98: USB HID v1.10 Device [Gaming Keyboard G110] on usb-0003:01:00.0-2.3/input1
[    9.272249] usbcore: registered new interface driver usbhid
[    9.272250] usbhid: USB HID core driver
[    9.332122] EXT4-fs (nvme0n1p2): mounting ext2 file system using the ext4 subsystem
[    9.337723] EXT4-fs (nvme0n1p2): mounted filesystem without journal. Opts: (null)
[    9.341785] EXT4-fs (nvme0n1p2): mounting ext2 file system using the ext4 subsystem
[    9.343637] EXT4-fs (nvme0n1p2): mounted filesystem without journal. Opts: (null)

Then calling reboot:

reboot
[   67.612215] sysrq: Emergency Sync
[   67.612874] sysrq: Emergency Remount R/O
[   67.613202] sysrq: Resetting
[  493.163170549,5] OPAL: Reboot request...
[  493.163525400,5] RESET: Initiating fast reboot 2...
[  493.280199932,5] Clearing unused memory:
[  493.280372840,5] PCI: Clearing all devices...
[  493.280372849,7] Clearing region 35f00000-ffe00000
[  493.291225639,5] PCI: Resetting PHBs and training links...
[  497.311160619,5] PCI: Probing slots...
[  498.037658756,5] PCI Summary:
[  498.037720333,5] PHB#0000:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU1 Slot2 (16x) 
[  498.037829738,5] PHB#0001:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=CPU1 Slot1 (8x) 
[  498.037924120,5] PHB#0001:01:00.0 [EP  ] 126f 2263 R:03 C:010802 (  mass-storage) LOC_CODE=CPU1 Slot1 (8x)
[  498.038040575,5] PHB#0002:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=Builtin SAS 
[  498.038117238,5] PHB#0003:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin USB 
[  498.038185712,5] PHB#0003:01:00.0 [EP  ] 104c 8241 R:02 C:0c0330 (      usb-xhci) LOC_CODE=Builtin USB
[  498.038261035,5] PHB#0004:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin Ethernet 
[  498.038337400,5] PHB#0004:01:00.0 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[  498.038425398,5] PHB#0004:01:00.1 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[  498.038509636,5] PHB#0005:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..02 SLOT=BMC 
[  498.038571108,5] PHB#0005:01:00.0 [ETOX] 1a03 1150 R:04 C:060400 B:02..02 LOC_CODE=BMC
[  498.038644514,5] PHB#0005:02:00.0 [PCID] 1a03 2000 R:41 C:030000 (           vga) LOC_CODE=BMC
[  498.038749399,5] PHB#0030:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot2 (16x) 
[  498.038842491,5] PHB#0031:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot3 (8x) 
[  498.038915834,5] PHB#0032:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:00..00 
[  498.038974942,5] PHB#0033:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot1 (16x) 
[  498.039051544,5] Clearing memory... 3/7GB done
[  498.039094188,5] Clearing memory... 4/7GB done
[  498.039135562,5] Clearing memory... 7/7GB done
[  498.039172385,5] IPMI: Resetting boot count on successful boot
[  498.039215835,5] INIT: Waiting for kernel...
[  499.096381805,3] STB: BOOTKERNEL NOT VERIFIED, invalid param. buf=0x20000000, len=11899224 key-hash=0x0 hash-size=64
[  499.096494948,3] STB: BOOTKERNEL NOT MEASURED. Already exited from boot services
[  499.097110334,5] INIT: 64-bit LE kernel discovered
[  499.156141534,3] STB: EV_SEPARATOR (pcr0) NOT MEASURED. No TPM registered/enabled
[  499.156241988,3] STB: EV_SEPARATOR (pcr1) NOT MEASURED. No TPM registered/enabled
[  499.156296213,3] STB: EV_SEPARATOR (pcr2) NOT MEASURED. No TPM registered/enabled
[  499.156352298,3] STB: EV_SEPARATOR (pcr3) NOT MEASURED. No TPM registered/enabled
[  499.156407865,3] STB: EV_SEPARATOR (pcr4) NOT MEASURED. No TPM registered/enabled
[  499.156458825,3] STB: EV_SEPARATOR (pcr5) NOT MEASURED. No TPM registered/enabled
[  499.156509765,3] STB: EV_SEPARATOR (pcr6) NOT MEASURED. No TPM registered/enabled
[  499.156556666,3] STB: EV_SEPARATOR (pcr7) NOT MEASURED. No TPM registered/enabled
[  499.156649213,5] OCC: All Chip Rdy after 0 ms
[  499.186045324,5] INIT: Starting kernel at 0x20010000, fdt at 0x30838e80 157371 bytes

zImage starting: loaded at 0x0000000020010000 (sp: 0x0000000020b57ee0)
Allocating 0x2773e80 bytes for kernel...
Decompressing (0x0000000000000000 <- 0x0000000020024000:0x0000000020b5599d)...
Done! Decompressed 0x25798f8 bytes

Linux/PowerPC load: 
Finalizing device tree... flat tree at 0x20b58ce0
[  500.224336148,3] LPC[000]: Got SYNC no-response error. Error address reg: 0xd0010080
[  500.224353138,6] IPMI: dropping non severe PEL event
[    4.606846] IMC PMU core_imc Register failed
[    4.608060] IMC PMU thread_imc Register failed
[    4.905882] mm/pgtable-generic.c:50: bad pmd c00600c2800001be.
[    4.905885] mm/pgtable-generic.c:50: bad pmd c00600c2802001be.
[    4.905887] mm/pgtable-generic.c:50: bad pmd c00600c2804001be.
[    5.292690] kAFS: failed to register: -97
Loading /etc/config.user from CBFS
New value of PCR[7]: b29e6ab62e8a813fa8cfcb7d71b35f86b03ac45b
gpg: WARNING: nothing exported
New value of PCR[5]: 8becc3ed1e2224788c3e71ce1abe8a86bc7125ef
New value of PCR[5]: c03d7413287c43ff5c61a0e337595f941e2e85a2
New value of PCR[5]: 3da4c38caf20111840209153efa9d7e4fd2598f7
New value of PCR[5]: 3e12b90580e0366f167927711a45e7269c0cc2d0
New value of PCR[5]: 3b82815bcea506914f6738f2a344ffec849336e4
[    9.852846] usbhid 1-2.1:1.1: couldn't find an input interrupt endpoint

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


┌────────────────────────┤ ERROR: GPG keyring empty! ├─────────────────────────┐
│ ERROR: Heads couldn't find any GPG keys in your keyring.                     │
│                                                                              │
│ If this is the first time the system has booted,                             │
│ you should add a public GPG key to the BIOS now.                             │
│                                                                              │
│ If you just reflashed a new BIOS, you'll need to add at least one            │
│ public key to the keyring.                                                   │
│                                                                              │
│ If you have not just reflashed your BIOS, THIS COULD INDICATE TAMPERING!     │
│                                                                              │
│ How would you like to proceed?                                               │
│                                                                              │
│                  g  Add a GPG key to the running BIOS                        │
│                  F  OEM Factory Reset / Re-Ownership                         │
│                  i  Ignore error and continue to main menu                   │
│                  x  Exit to recovery shell                                   │
│                                                                              │
│                                                                              │
│                     <Ok>                         <Cancel>                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘



Doing factory reset after a warm reboot:

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


┌────────────────────────┤ ERROR: GPG keyring empty! ├─────────────────────────┐
│ ERROR: Heads couldn't find any GPG keys in your keyring.                     │
│                                                                              │
│ If this is the first time the system has booted,                             │
│ you should add a public GPG key to the BIOS now.                             │
│                                                                              │
│ If you just reflashed a new BIOS, you'll need to add at least one            │
│ public key to the keyring.                                                   │
│                                                                              │
│ If you have not just reflashed your BIOS, THIS COULD INDICATE TAMPERING!     │
│                                                                              │
│ How would you like to proceed?                                               │
│                                                                              │
│                  g  Add a GPG key to the running BIOS                        │
│                  F  OEM Factory Reset / Re-Ownership                         │
│                  i  Ignore error and continue to main menu                   │
│                  x  Exit to recovery shell                                   │
│                                                                              │
│                                                                              │
│                     <Ok>                         <Cancel>                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘






































Would you like to change the current LUKS Disk Recovery Key passphrase?
 (Highly recommended if you didn't install the Operating System yourself, so that past provisioned passphrase would not permit to access content.
  Note that without re-encrypting disk, a backuped header could be restored to access encrypted content with old passphrase) [y/N]: n
Would you like to re-encrypt LUKS encrypted container and generate new Disk Recovery key?
 (Highly recommended if you didn't install the operating system yourself: this would prevent any LUKS backuped header to be restored to access encrypt
ed data) [y/N]: n
The following security components will be provisioned with defaults or chosen PINs/passwords:

TPM Ownership password
GPG Admin PIN
GPG User PIN

Would you like to set a single custom password that will be provisioned to previously stated security components? [y/N]: y

The chosen custom password must be between 8 and 25 characters in length.


Enter the custom password: Insurgo Open Technologies

Would you like to set custom user information for the GnuPG key? [y/N]: n
Would you like to export your public key to an USB drive? [y/N]: n

Checking for USB Security Dongle...


Detecting and setting boot device...

Boot device set to /dev/nvme0n1p2


Resetting TPM...

[  672.510608815,3] I2C: request timed out!
[  672.510692829,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  672.510825339,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  672.510955012,3] I2C:  start_time=000000503a37003b end_time=000000503a3f4378 (duration=000000000008433d)
[  672.511101961,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  672.511393036,3] I2C: Error bits set: 
[  673.005812598,3] I2C: request timed out!
[  673.005864430,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  673.005991479,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  673.006095797,3] I2C:  start_time=000000503aa4e7c5 end_time=000000503aad3062 (duration=000000000008489d)
[  673.006241970,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  673.006532056,3] I2C: Error bits set: 
[  673.012295703,3] I2C: request timed out!
[  673.012357378,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  673.012499333,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  673.012593214,3] I2C:  start_time=000000503b07d579 end_time=000000503b101d0e (duration=0000000000084795)
[  673.012739742,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  673.013029685,3] I2C: Error bits set: 
[  673.018799924,3] I2C: request timed out!
[  673.018881826,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  673.019023755,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  673.019127703,3] I2C:  start_time=000000503b6b158e end_time=000000503b735c34 (duration=00000000000846a6)
[  673.019279202,3] I2C: Register dump--
    cmd:0xd141000102000000	mode:0x0048000002000000	stat:0x02010c0102000000
  estat:0x0800dd1802000000	intm:0x0000000002000000	intc:0x0000022a02000000
[  673.019573526,3] I2C: Error bits set: 
[  673.025885225,3] I2C: request timed out!
[  673.025952055,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  673.026094075,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  673.026187830,3] I2C:  start_time=000000503bd7316a end_time=000000503bdf7931 (duration=00000000000847c7)
[  673.026339273,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  673.026634648,3] I2C: Error bits set: 
[  673.033200329,3] I2C: request timed out!
[  673.033266971,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  673.033398772,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  673.033487761,3] I2C:  start_time=000000503c46d15b end_time=000000503c4f17cd (duration=0000000000084672)
[  673.033634424,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  673.033939688,3] I2C: Error bits set: 
[  673.041374380,3] I2C: request timed out!
[  673.041421157,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  673.041542872,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  673.041636729,3] I2C:  start_time=000000503cc38ca4 end_time=000000503ccbd199 (duration=00000000000844f5)
[  673.041773096,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  673.042057579,3] I2C: Error bits set: 
[  673.047831921,3] I2C: request timed out!
[  673.047898753,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  673.048041059,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  673.048140146,3] I2C:  start_time=000000503d261841 end_time=000000503d2e5a67 (duration=0000000000084226)
[  673.048296615,3] I2C: Register dump--
    cmd:0xd141000102000000	mode:0x0048000002000000	stat:0x02010c0102000000
  estat:0x0800dd1802000000	intm:0x0000000002000000	intc:0x0000022a02000000
[  673.048596427,3] I2C: Error bits set: 
[  673.064933506,3] I2C: request timed out!
[  673.064995304,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  673.065137204,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  673.065241475,3] I2C:  start_time=000000503e2b0908 end_time=000000503e334d41 (duration=0000000000084439)
[  673.065377526,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  673.065667342,3] I2C: Error bits set: 
[  673.126921442,3] I2C: request timed out!
[  673.126983827,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  673.127126150,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  673.127220370,3] I2C:  start_time=0000005041dce3e8 end_time=0000005041e529b7 (duration=00000000000845cf)
[  673.127372104,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  673.127661493,3] I2C: Error bits set: 
[  673.391113913,3] I2C: request timed out!
[  673.391191481,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  673.391323805,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  673.391422869,3] I2C:  start_time=00000050519c2428 end_time=0000005051a46bc3 (duration=000000000008479b)
[  673.391544222,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  673.391824715,3] I2C: Error bits set: 
[  673.409894753,3] I2C: request timed out!
[  673.409966790,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  673.410103821,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  673.410202858,3] I2C:  start_time=0000005052bab538 end_time=0000005052c2fe48 (duration=0000000000084910)
[  673.410329019,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  673.410640018,3] I2C: Error bits set: 
[  673.417062695,3] I2C: request timed out!
[  673.417124217,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  673.417235270,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  673.417329673,3] I2C:  start_time=00000050532814c3 end_time=0000005053305e41 (duration=000000000008497e)
[  673.417465943,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  673.417771262,3] I2C: Error bits set: 
[  673.429357400,3] I2C: request timed out!
[  673.429423820,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  673.429565809,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  673.429669746,3] I2C:  start_time=0000005053e3b5f1 end_time=0000005053ebf86a (duration=0000000000084279)
[  673.429831698,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  673.430116563,3] I2C: Error bits set: 
[  673.438483617,3] I2C: request timed out!
[  673.438555283,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  673.438697570,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  673.438837236,3] I2C:  start_time=00000050546ef1ad end_time=00000050547739a2 (duration=00000000000847f5)
[  673.438983643,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  673.439284195,3] I2C: Error bits set: 
[  673.493682919,3] I2C: request timed out!
[  673.493735019,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  673.493877110,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  673.493965958,3] I2C:  start_time=0000005057b939eb end_time=0000005057c17fa7 (duration=00000000000845bc)
[  673.494102474,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  673.494362030,3] I2C: Error bits set: 

Resetting GPG Key...
(this will take around 3 minutes...)

@tlaurion
Copy link
Author

Unfortunately, even on a clean boot (poweroff poweron from bmc) state of I2C still unstable.

user@talos-tests:~/QubesIncoming/heads-tests$ ssh -t root@talos "obmcutil poweroff "
Connection to talos closed.
user@talos-tests:~/QubesIncoming/heads-tests$ ssh -t root@talos "obmcutil poweron && obmc-console-client"
st type 

[NOTE ]  coreboot-4.17-1346-g09817b263c0-dirty Sat May 20 18:35:25 UTC 2023 bootblock starting (log level: 7)...
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  HBI partition has ECC
[DEBUG]  FMAP: Found "FLASH" version 1.1 at 0x20000.
[DEBUG]  FMAP: base = 0x0 size = 0x100000 #areas = 4
[DEBUG]  FMAP: area COREBOOT found @ 20200 (916992 bytes)
[INFO ]  CBFS: mcache @0xf8231000 built for 11 files, used 0x228 of 0x2000 bytes
[INFO ]  CBFS: Found 'fallback/romstage' @0x80 size 0x13d08 in mcache @0xf823102c
[INFO ]  TPM LOG: clearing the log
[DEBUG]  FMAP: area FMAP found @ 20000 (512 bytes)
[DEBUG]  TPM: Digest of `FMAP: FMAP` to PCR 2 logged
[DEBUG]  FMAP: area BOOTBLOCK found @ 0 (131072 bytes)
[DEBUG]  TPM: Digest of `FMAP: BOOTBLOCK` to PCR 2 logged
[DEBUG]  CRTM initialized.
[DEBUG]  TPM: Digest of `CBFS: fallback/romstage` to PCR 2 logged
[DEBUG]  BS: bootblock times (exec / console): total (unknown) / 4 ms


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


[NOTE ]  coreboot-4.17-1346-g09817b263c0-dirty Sat May 20 18:35:25 UTC 2023 ramstage starting (log level: 7)...
[INFO ]  Enumerating buses...
[DEBUG]  Root Device scanning...
[DEBUG]  DD21, boot core: 18
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  HCODE partition has ECC
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  OCC partition has ECC
[DEBUG]  Base epsilon values read from table:
[DEBUG]   R_T[0] = 22
[DEBUG]   R_T[1] = 22
[DEBUG]   R_T[2] = 103
[DEBUG]   W_T[0] = 5
[DEBUG]   W_T[1] = 33
[DEBUG]  Scaled epsilon values based on +20 percent guardband:
[DEBUG]   R_T[0] = 27
[DEBUG]   R_T[1] = 27
[DEBUG]   R_T[2] = 124
[DEBUG]   W_T[0] = 6
[DEBUG]   W_T[1] = 40
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  WOFDATA partition has ECC
[NOTE ]  Matching WOF tables section not found, disabling WOF
[DEBUG]  Safe mode freq = 1833412 kHZ, voltage = 711 mv
[DEBUG]  Base epsilon values read from table:
[DEBUG]   R_T[0] = 22
[DEBUG]   R_T[1] = 22
[DEBUG]   R_T[2] = 103
[DEBUG]   W_T[0] = 5
[DEBUG]   W_T[1] = 33
[DEBUG]  Scaled epsilon values based on +20 percent guardband:
[DEBUG]   R_T[0] = 27
[DEBUG]   R_T[1] = 27
[DEBUG]   R_T[2] = 124
[DEBUG]   W_T[0] = 6
[DEBUG]   W_T[1] = 40
[NOTE ]  Matching WOF tables section not found, disabling WOF
[DEBUG]  Safe mode freq = 1833412 kHZ, voltage = 737 mv
[INFO ]  starting istep 15.2
[INFO ]  starting istep 15.3
[INFO ]  starting istep 15.4
[DEBUG]  Starting PM complex...
[DEBUG]  Attempting PGPE activation...
[DEBUG]  PGPE was activated successfully
[DEBUG]  Attempting PGPE activation...
[DEBUG]  PGPE was activated successfully
[DEBUG]  Done starting PM complex
[INFO ]  starting istep 16.1
[DEBUG]  XIVE configured, entering dead man loop
[EMERG]  ASSERTION ERROR: file 'src/soc/ibm/power9/chip.c', line 696
[EMERG]  ASSERTION ERROR: file 'src/soc/ibm/power9/chip.c', line 696
[INFO ]  starting istep 18.11
[INFO ]  starting istep 18.12
[DEBUG]  Activating OCC...
[DEBUG]  Done activating OCC
[DEBUG]  CPU_CLUSTER: 0 enabled
[DEBUG]  PNP: 00e4.0 enabled
[DEBUG]  scan_bus: bus Root Device finished in 2498 msecs
[INFO ]  done
[DEBUG]  BS: BS_DEV_ENUMERATE run times (exec / console): 2487 / 12 ms
[INFO ]  Allocating resources...
[INFO ]  Reading resources...
[ERROR]  CPU_CLUSTER: 0 missing read_resources
[INFO ]  Done reading resources.
[ERROR]  CPU_CLUSTER: 0 missing set_resources
[DEBUG]  PNP: 00e4.0 00 <- [0x00000000000000e4 - 0x00000000000000e6] size 0x00000003 gran 0x00 io
[INFO ]  Done setting resources.
[INFO ]  Done allocating resources.
[DEBUG]  BS: BS_DEV_RESOURCES run times (exec / console): 0 / 2 ms
[INFO ]  Enabling resources...
[INFO ]  done.
[INFO ]  tpm_vendor_probe: ValidSts bit set(1) in TPM_ACCESS register after 0 ms
[DEBUG]  I2C TPM 2:20 (chip type slb9645tt device-id 0xD115)
[DEBUG]  TPM: Startup
[DEBUG]  TPM: command 0x99 returned 0x0
[DEBUG]  TPM: Asserting physical presence
[DEBUG]  TPM: command 0x4000000a returned 0x0
[DEBUG]  TPM: command 0x65 returned 0x0
[DEBUG]  TPM: flags disable=0, deactivated=0, nvlocked=0
[DEBUG]  TPM: Write digests cached in TPM log to PCR
[DEBUG]  TPM: Write digest for FMAP: FMAP into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Write digest for FMAP: BOOTBLOCK into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Write digest for CBFS: fallback/romstage into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Write digest for CBFS: fallback/ramstage into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[INFO ]  TPM: setup succeeded
[DEBUG]  BS: BS_DEV_INIT entry times (exec / console): 84 / 7 ms
[INFO ]  Initializing devices...
[DEBUG]  PNP: 00e4.0 init
[DEBUG]  IPMI: PNP BT 0xe4
[INFO ]  Get BMC self test result...Function Not Implemented
[INFO ]  IPMI: Found man_id 0x6cb0000, prod_id 0x1000000
[INFO ]  IPMI: Version 2.0
[DEBUG]  PNP: 00e4.0 init finished in 18 msecs
[INFO ]  Devices initialized
[DEBUG]  BS: BS_DEV_INIT run times (exec / console): 17 / 2 ms
[INFO ]  Finalize devices...
[INFO ]  Devices finalized
[DEBUG]  Writing coreboot table at 0xffed7000
[DEBUG]   0. 0000000000000000-00000000f8207fff: RAM
[DEBUG]   1. 00000000f8208000-00000000f820ffff: RAMSTAGE
[DEBUG]   2. 00000000f8210000-00000000f8ffffff: RAM
[DEBUG]   3. 00000000f9000000-00000000f92a1fff: RAMSTAGE
[DEBUG]   4. 00000000f92a2000-00000000ffed6fff: RAM
[DEBUG]   5. 00000000ffed7000-00000000ffefffff: CONFIGURATION TABLES
[DEBUG]   6. 00000000fff00000-00000001feffffff: RAM
[DEBUG]   7. 00000001ff000000-00000001ffffffff: RESERVED
[DEBUG]  FMAP: area COREBOOT found @ 20200 (916992 bytes)
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  HBI partition has ECC
[DEBUG]  Wrote coreboot table at: 0xffed7000, 0x230 bytes, checksum 2b850000
[DEBUG]  coreboot table: 584 bytes.
[DEBUG]  IMD ROOT    0. 0xffeff000 0x00001000
[DEBUG]  IMD SMALL   1. 0xffefe000 0x00001000
[DEBUG]  CONSOLE     2. 0xffede000 0x00020000
[DEBUG]  TPM2 TCGLOG 3. 0xffedc000 0x00001180
[DEBUG]  MEM INFO    4. 0xffed9000 0x000022b0
[DEBUG]  COREBOOT    5. 0xffed7000 0x00002000
[DEBUG]  IMD small region:
[DEBUG]    IMD ROOT    0. 0xffefec00 0x00000400
[DEBUG]    RO MCACHE   1. 0xffefe9c0 0x00000228
[DEBUG]    FMAP        2. 0xffefe8e0 0x000000e0
[DEBUG]  BS: BS_WRITE_TABLES run times (exec / console): 1 / 8 ms
[INFO ]  CBFS: Found 'fallback/payload' @0x293c0 size 0x6338d in mcache @0xffefeb44
[DEBUG]  TPM: Extending digest for `CBFS: fallback/payload` into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Digest of `CBFS: fallback/payload` to PCR 2 measured
[DEBUG]  Checking segment from ROM address 0xf8380000
[DEBUG]  Checking segment from ROM address 0xf838001c
[DEBUG]  Checking segment from ROM address 0xf8380038
[DEBUG]  Loading segment from ROM address 0xf8380000
[DEBUG]    code (compression=1)
[DEBUG]    New segment dstaddr 0x00000000 memsize 0x173c00 srcaddr 0xf8380054 filesize 0x63339
[DEBUG]  Loading Segment: addr: 0x00000000 memsz: 0x0000000000173c00 filesz: 0x0000000000063339
[DEBUG]  using LZMA
[DEBUG]  Loading segment from ROM address 0xf838001c
[DEBUG]    BSS 0x00300000 (113776 byte)
[DEBUG]  Loading Segment: addr: 0x00300000 memsz: 0x000000000001bc70 filesz: 0x0000000000000000
[DEBUG]  it's not compressed!
[DEBUG]  Clearing Segment: addr: 0x0000000000300000 memsz: 0x000000000001bc70
[DEBUG]  Loading segment from ROM address 0xf8380038
[DEBUG]    Entry Point 0x00002570
[DEBUG]  BS: BS_PAYLOAD_LOAD run times (exec / console): 445 / 7 ms
[INFO ]  coreboot TPM 2.0 measurements:

[INFO ]   PCR-2 27c4f1fa214480c8626397a15981ef3a9323717f SHA1 [FMAP: FMAP]
[INFO ]   PCR-2 636e987833897a21198656706be9b66cb5d10d37 SHA1 [FMAP: BOOTBLOCK]
[INFO ]   PCR-2 6b8537a1f3fc852b53d70b52297c54d698bef16e SHA1 [CBFS: fallback/romstage]
[INFO ]   PCR-2 f05b9a4c314defbf8dfe3d01feabee204aadd065 SHA1 [CBFS: fallback/ramstage]
[INFO ]   PCR-2 a1f9a89cc0d1890af88b86860fcee6406c7ccbf6 SHA1 [CBFS: fallback/payload]

[DEBUG]  BS: BS_PAYLOAD_BOOT entry times (exec / console): 0 / 3 ms
[DEBUG]  Jumping to boot code at 0x00002570(0xffed7000)
[INFO ]  CBFS: Found '2-cpus.dtb' @0x25840 size 0x3b23 in mcache @0xffefeb20
[DEBUG]  TPM: Extending digest for `CBFS: 2-cpus.dtb` into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Digest of `CBFS: 2-cpus.dtb` to PCR 2 measur[    2.139512595,5] OPAL v6.3-rc2-33-g1b14dd0b starting...
[    2.139516040,7] initial console log level: memory 7, driver 5
[    2.139517978,6] CPU: P9 generation processor (max 4 threads/core)
[    2.139519710,7] CPU: Boot CPU PIR is 0x004c PVR is 0x004e1201
[    2.139522188,7] OPAL table: 0x30108230 .. 0x30108810, branch table: 0x30002000
[    2.139525152,7] Assigning physical memory map table for nimbus
[    2.139527493,7] FDT: Parsing fdt @0xf90b1020
[    2.140594219,6] CHIP: Initialised chip 0 from xscom@603fc00000000
[    2.140605677,6] CHIP: Initialised chip 8 from xscom@623fc00000000
[    2.140632630,6] P9 DD2.10 detected
[    2.140634153,5] CHIP: Chip ID 0000 type: P9N DD2.10
[    2.140636139,7] XSCOM: Base address: 0x603fc00000000
[    2.140646279,6] P9 DD2.10 detected
[    2.140647636,5] CHIP: Chip ID 0008 type: P9N DD2.10
[    2.140649545,7] XSCOM: Base address: 0x623fc00000000
[    2.140657512,7] XSTOP: XSCOM addr = 0x5012000, FIR bit = 31
[    2.140659652,6] MFSI 0:0: Initialized
[    2.140661054,6] MFSI 0:2: Initialized
[    2.140662426,6] MFSI 0:1: Initialized
[    2.140664000,6] MFSI 8:0: Initialized
[    2.140665317,6] MFSI 8:2: Initialized
[    2.140666629,6] MFSI 8:1: Initialized
[    2.140738983,6] LPC: LPC[000]: Initialized
[    2.140740388,7] LPC: access via MMIO @0x6030000000000
[    2.140761440,7] LPC: Default bus on chip 0x0
[    2.140772777,7] CPU: New max PIR set to 0x85f
[    2.140812650,6] MEM: parsing reserved memory from node /reserved-memory
[    2.140816828,7] HOMER: Init chip 0
[    2.140818946,7]   PBA BAR0 : 0x00000001ff000000
[    2.140820610,7]   PBA MASK0: 0x0000000000300000
[    2.140822270,7]   HOMER Image at 0x1ff000000 size 4MB
[    2.140824975,7]   PBA BAR2 : 0x00000001ff800000
[    2.140826586,7]   PBA MASK2: 0x0000000000700000
[    2.140828190,7]   OCC Common Area at 0x1ff800000 size 8MB
[    2.140830004,7] HOMER: Init chip 8
[    2.140832217,7]   PBA BAR0 : 0x00000001ff400000
[    2.140833801,7]   PBA MASK0: 0x0000000000300000
[    2.140835404,7]   HOMER Image at 0x1ff400000 size 4MB
[    2.140838157,7]   PBA BAR2 : 0x00000001ff800000
[    2.140839746,7]   PBA MASK2: 0x0000000000700000
[    2.140841303,7]   OCC Common Area at 0x1ff800000 size 8MB
[    2.140843515,7] CPU: decrementer bits 56
[    2.140848081,6] CPU: CPU from DT PIR=0x0048 Server#=0x48 State=3
[    2.140853896,6] CPU:  4 secondary threads
[    2.140856900,6] CPU: CPU from DT PIR=0x004c Server#=0x4c State=3
[    2.140862061,6] CPU:  4 secondary threads
[    2.140865073,6] CPU: CPU from DT PIR=0x0050 Server#=0x50 State=3
[    2.140870535,6] CPU:  4 secondary threads
[    2.140873529,6] CPU: CPU from DT PIR=0x0054 Server#=0x54 State=3
[    2.140878987,6] CPU:  4 secondary threads
[    2.140882007,6] CPU: CPU from DT PIR=0x0850 Server#=0x850 State=3
[    2.140887545,6] CPU:  4 secondary threads
[    2.140890550,6] CPU: CPU from DT PIR=0x0854 Server#=0x854 State=3
[    2.140895977,6] CPU:  4 secondary threads
[    2.140898940,6] CPU: CPU from DT PIR=0x0858 Server#=0x858 State=3
[    2.140904307,6] CPU:  4 secondary threads
[    2.140907242,6] CPU: CPU from DT PIR=0x085c Server#=0x85c State=3
[    2.140912610,6] CPU:  4 secondary threads
[    2.140968705,6] PLAT: AST SIO unavailable!
[    2.140984486,7] UART: Using LPC IRQ 4
[    2.144201087,5] PLAT: Detected Talos platform
[    2.144246870,5] PLAT: Detected BMC platform ast2500:openbmc
[    2.162322606,5] CPU: All 32 processors called in...
[   26.066982743,7] LPC: Routing irq 10, policy: 0 (r=1)
[   26.066983813,7] LPC: SerIRQ 10 using route 0 targetted at OPAL
[   27.174715733,5] HIOMAP: Negotiated hiomap protocol v2
[   27.174767449,5] HIOMAP: Block size is 4KiB
[   27.174793050,5] HIOMAP: BMC suggested flash timeout of 8s
[   27.174835659,5] HIOMAP: Flash size is 64MiB
[   27.174861544,5] HIOMAP: Erase granule size is 4KiB
[   29.287064819,5] FLASH: Found system flash: (unnamed) id:0
[   30.078017581,3] STB: hw-key-hash not found
[   30.078089509,3] STB: hw_key-hash wrong size 0 (expected=64)
[   30.078164862,5] STB: Found tpm0,i2c_tpm_infineon evLogLen=608 evLogSize=4480
[   30.078246940,7] LPC: Routing irq 4, policy: 0 (r=1)
[   30.078248009,7] LPC: SerIRQ 4 using route 1 targetted at OPAL
[   30.078425572,5] OCC: All Chip Rdy after 0 ms
[   30.387612376,3] STB: VERSION NOT VERIFIED, invalid param. buf=0x30653188, len=4326 key-hash=0x0 hash-size=64
[   30.387724592,5] STB: VERSION hash calculated
[   30.472892062,5] STB: VERSION measured on pcr3 (tpm0, evType 0x5, evLogLen 687)
[   31.508771431,3] STB: IMA_CATALOG NOT VERIFIED, invalid param. buf=0x30655218, len=73728 key-hash=0x0 hash-size=64
[   31.509073521,5] STB: IMA_CATALOG hash calculated
[   32.082263246,5] STB: IMA_CATALOG measured on pcr2 (tpm0, evType 0x5, evLogLen 770)
[   32.289654126,3] CAPP: Error loading ucode lid. index=201d1
[   32.307480189,5] PCI: Resetting PHBs and training links...
[   33.328121208,5] PCI: Probing slots...
[   33.384614071,5] PCI Summary:
[   33.384656700,5] PHB#0000:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU1 Slot2 (16x) 
[   33.384719527,5] PHB#0001:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=CPU1 Slot1 (8x) 
[   33.384791956,5] PHB#0001:01:00.0 [EP  ] 126f 2263 R:03 C:010802 (  mass-storage) LOC_CODE=CPU1 Slot1 (8x)
[   33.384872442,5] PHB#0002:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=Builtin SAS 
[   33.384940537,5] PHB#0003:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin USB 
[   33.385026461,5] PHB#0003:01:00.0 [EP  ] 104c 8241 R:02 C:0c0330 (      usb-xhci) LOC_CODE=Builtin USB
[   33.385100190,5] PHB#0004:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin Ethernet 
[   33.385166381,5] PHB#0004:01:00.0 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[   33.385234282,5] PHB#0004:01:00.1 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[   33.385307462,5] PHB#0005:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..02 SLOT=BMC 
[   33.385363916,5] PHB#0005:01:00.0 [ETOX] 1a03 1150 R:04 C:060400 B:02..02 LOC_CODE=BMC
[   33.385433147,5] PHB#0005:02:00.0 [PCID] 1a03 2000 R:41 C:030000 (           vga) LOC_CODE=BMC
[   33.385501069,5] PHB#0030:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot2 (16x) 
[   33.385580129,5] PHB#0031:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot3 (8x) 
[   33.385646522,5] PHB#0032:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:00..00 
[   33.385702325,5] PHB#0033:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot1 (16x) 
[   33.385771346,4] WARNING! Skiboot version does not match VERSION partition!
[   33.392812021,5] IPMI: Resetting boot count on successful boot
[   33.392883101,5] INIT: Waiting for kernel...
[   37.481740187,3] STB: BOOTKERNEL NOT VERIFIED, invalid param. buf=0x20000000, len=11899224 key-hash=0x0 hash-size=64
[   38.005282439,5] STB: BOOTKERNEL hash calculated
[   38.090471508,5] STB: BOOTKERNEL measured on pcr4 (tpm0, evType 0x5, evLogLen 852)
[   38.092508156,5] INIT: 64-bit LE kernel discovered
[   38.295568096,5] STB: EV_SEPARATOR measured on pcr0 (tpm0, evType 0x4, evLogLen 928)
[   38.386003601,5] STB: EV_SEPARATOR measured on pcr1 (tpm0, evType 0x4, evLogLen 1004)
[   38.471219671,5] STB: EV_SEPARATOR measured on pcr2 (tpm0, evType 0x4, evLogLen 1080)
[   39.049693486,5] STB: EV_SEPARATOR measured on pcr3 (tpm0, evType 0x4, evLogLen 1156)
[   39.134958646,5] STB: EV_SEPARATOR measured on pcr4 (tpm0, evType 0x4, evLogLen 1232)
[   39.225410547,5] STB: EV_SEPARATOR measured on pcr5 (tpm0, evType 0x4, evLogLen 1308)
[   39.310658664,5] STB: EV_SEPARATOR measured on pcr6 (tpm0, evType 0x4, evLogLen 1384)
[   39.395921943,5] STB: EV_SEPARATOR measured on pcr7 (tpm0, evType 0x4, evLogLen 1460)
[   39.418042059,5] INIT: Starting kernel at 0x20010000, fdt at 0x30732fc0 157371 bytes

zImage starting: loaded at 0x0000000020010000 (sp: 0x0000000020b57ee0)
Allocating 0x2773e80 bytes for kernel...
Decompressing (0x0000000000000000 <- 0x0000000020024000:0x0000000020b5599d)...
Done! Decompressed 0x25798f8 bytes

Linux/PowerPC load: 
Finalizing device tree... flat tree at 0x20b58ce0
[   40.373547578,3] LPC[000]: Got SYNC no-response error. Error address reg: 0xd0010080
[   40.373560301,6] IPMI: dropping non severe PEL event
[   40.373600153,7] UART: IRQ functional !
[    4.232644] IMC PMU core_imc Register failed
[    4.233554] IMC PMU thread_imc Register failed
[    4.533589] mm/pgtable-generic.c:50: bad pmd c00600c2800001be.
[    4.533591] mm/pgtable-generic.c:50: bad pmd c00600c2802001be.
[    4.533593] mm/pgtable-generic.c:50: bad pmd c00600c2804001be.
[    4.962209] kAFS: failed to register: -97
Loading /etc/config.user from CBFS
New value of PCR[7]: 36056e3cb380957e5a538641f4118c9b589ce98b
gpg: WARNING: nothing exported
New value of PCR[5]: cdc4d7f3fb1d26a43e78cb7385edcd514b9b6fcc
New value of PCR[5]: da13840e5348990c97e6dc6a3edd6e96b02b33f7
New value of PCR[5]: 51180fb28d80c4892425d21efcf0879ab54c01cc
New value of PCR[5]: 47577c0039ecadc0a4fb0aed626d4240e7e8ba7a
New value of PCR[5]: aebec14770402b1dabe6b6845ec3125053359b79
[    9.082353] usbhid 1-2.1:1.1: couldn't find an input interrupt endpoint

***** Normal boot: /bin/talos-init
[    9.456030] /dev/nvme0n1p2: Can't open blockdev
[    9.456475] /dev/nvme0n1p2: Can't open blockdev


┌────────────────────────┤ ERROR: GPG keyring empty! ├─────────────────────────┐
│ ERROR: Heads couldn't find any GPG keys in your keyring.                     │
│                                                                              │
│ If this is the first time the system has booted,                             │
│ you should add a public GPG key to the BIOS now.                             │
│                                                                              │
│ If you just reflashed a new BIOS, you'll need to add at least one            │
│ public key to the keyring.                                                   │
│                                                                              │
│ If you have not just reflashed your BIOS, THIS COULD INDICATE TAMPERING!     │
│                                                                              │
│ How would you like to proceed?                                               │
│                                                                              │
│                  g  Add a GPG key to the running BIOS                        │
│                  F  OEM Factory Reset / Re-Ownership                         │
│                  i  Ignore error and continue to main menu                   │
│                  x  Exit to recovery shell                                   │
│                                                                              │
│                                                                              │
│                     <Ok>                         <Cancel>                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘






































Would you like to change the current LUKS Disk Recovery Key passphrase?
 (Highly recommended if you didn't install the Operating System yourself, so that past provisioned passphrase would not permit to access content.
  Note that without re-encrypting disk, a backuped header could be restored to access encrypted content with old passphrase) [y/N]: n
Would you like to re-encrypt LUKS encrypted container and generate new Disk Recovery key?
 (Highly recommended if you didn't install the operating system yourself: this would prevent any LUKS backuped header to be restored to access encrypt
ed data) [y/N]: n
The following security components will be provisioned with defaults or chosen PINs/passwords:

TPM Ownership password
GPG Admin PIN
GPG User PIN

Would you like to set a single custom password that will be provisioned to previously stated security components? [y/N]: y

The chosen custom password must be between 8 and 25 characters in length.


Enter the custom password: Insurgo Open Technologies

Would you like to set custom user information for the GnuPG key? [y/N]: n
Would you like to export your public key to an USB drive? [y/N]: n

Checking for USB Security Dongle...


Detecting and setting boot device...

Boot device set to /dev/nvme0n1p2


Resetting TPM...

[  114.059542176,3] I2C: request timed out!
[  114.059600122,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  114.059718822,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  114.059826215,3] I2C:  start_time=0000000d9a8541b2 end_time=0000000d9a8d8895 (duration=00000000000846e3)
[  114.059953793,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  114.060227845,3] I2C: Error bits set: 
[  114.066646962,3] I2C: request timed out!
[  114.066705409,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  114.066832321,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  114.066918535,3] I2C:  start_time=0000000d9af1b03c end_time=0000000d9af9f2ae (duration=0000000000084272)
[  114.067049749,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  114.067300888,3] I2C: Error bits set: 
[  114.073067099,3] I2C: request timed out!
[  114.073134052,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  114.073252178,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  114.073351376,3] I2C:  start_time=0000000d9b53a57b end_time=0000000d9b5be98e (duration=0000000000084413)
[  114.073477973,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  114.073733989,3] I2C: Error bits set: 
[  114.079484777,3] I2C: request timed out!
[  114.079545747,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  114.079648936,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  114.079723750,3] I2C:  start_time=0000000d9bb5937a end_time=0000000d9bbdd6da (duration=0000000000084360)
[  114.079820780,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  114.080019603,3] I2C: Error bits set: 
[  114.086970754,3] I2C: request timed out!
[  114.087031877,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  114.087132072,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  114.087223445,3] I2C:  start_time=0000000d9c27ce59 end_time=0000000d9c3010f2 (duration=0000000000084299)
[  114.087326967,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  114.087531190,3] I2C: Error bits set: 
[  114.094175231,3] I2C: request timed out!
[  114.094242450,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  114.094349418,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  114.094424613,3] I2C:  start_time=0000000d9c95beec end_time=0000000d9c9dff68 (duration=000000000008407c)
[  114.094521959,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  114.094739398,3] I2C: Error bits set: 
[  114.100486342,3] I2C: request timed out!
[  114.100544558,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  114.100657590,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  114.100726658,3] I2C:  start_time=0000000d9cf60c99 end_time=0000000d9cfe4c34 (duration=0000000000083f9b)
[  114.100827308,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  114.101047404,3] I2C: Error bits set: 
[  114.106808577,3] I2C: request timed out!
[  114.106857177,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  114.106970105,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  114.107036248,3] I2C:  start_time=0000000d9d56801d end_time=0000000d9d5ec464 (duration=0000000000084447)
[  114.107131108,3] I2C: Register dump--
    cmd:0xd141000102000000	mode:0x0048000002000000	stat:0x02010c0102000000
  estat:0x0800dd1802000000	intm:0x0000000002000000	intc:0x0000022a02000000
[  114.107330037,3] I2C: Error bits set: 
[  114.122289173,3] I2C: request timed out!
[  114.122346897,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  114.122464562,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  114.122549217,3] I2C:  start_time=0000000d9e42ba42 end_time=0000000d9e4afb39 (duration=00000000000840f7)
[  114.122670011,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  114.122892844,3] I2C: Error bits set: 
[  114.181084081,3] I2C: request timed out!
[  114.181152874,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  114.181278124,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  114.181377068,3] I2C:  start_time=0000000da1c3d6e2 end_time=0000000da1cc1eab (duration=00000000000847c9)
[  114.181500989,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  114.181787927,3] I2C: Error bits set: 
[  114.444221388,3] I2C: request timed out!
[  114.444290016,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  114.444419572,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  114.444518397,3] I2C:  start_time=0000000db1730362 end_time=0000000db17b46da (duration=0000000000084378)
[  114.444656894,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  114.444938859,3] I2C: Error bits set: 
[  114.462984201,3] I2C: request timed out!
[  114.463066781,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  114.463186220,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  114.463285074,3] I2C:  start_time=0000000db2914e37 end_time=0000000db2999329 (duration=00000000000844f2)
[  114.463408916,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  114.463671655,3] I2C: Error bits set: 
[  114.470074029,3] I2C: request timed out!
[  114.470151836,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  114.470290402,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  114.470388965,3] I2C:  start_time=0000000db2fd7f3a end_time=0000000db305c1b9 (duration=000000000008427f)
[  114.470527264,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  114.470794328,3] I2C: Error bits set: 
[  114.483025101,3] I2C: request timed out!
[  114.483112253,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  114.483265639,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  114.483359798,3] I2C:  start_time=0000000db3c31ad4 end_time=0000000db3cb5fed (duration=0000000000084519)
[  114.483497865,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  114.483765042,3] I2C: Error bits set: 
[  114.491466097,3] I2C: request timed out!
[  114.491529899,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  114.491664251,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  114.491753341,3] I2C:  start_time=0000000db443e4cf end_time=0000000db44c2c8e (duration=00000000000847bf)
[  114.491896312,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  114.492159656,3] I2C: Error bits set: 
[  115.034361814,3] I2C: request timed out!
[  115.034438198,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  115.034582003,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  115.034674191,3] I2C:  start_time=0000000db7898a7a end_time=0000000db791d0a6 (duration=000000000008462c)
[  115.034822429,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  115.035090437,3] I2C: Error bits set: 

Resetting GPG Key...
(this will take around 3 minutes...)

@SergiiDmytruk you obtained different results while reproducing #416 (comment) top lines?

@tlaurion
Copy link
Author

tlaurion commented May 23, 2023

@SergiiDmytruk : Please test "F OEM Factory Reset / Re-Ownership" menu option with a OpenGPG security dongle connected (nitrokey, librem key, gnuk, yubikey etc).

Unless you tell me that a bmc initiated poweroff+poweron is not equivalent of a cold boot, we still have three problems here:

  • First boot works fine, subsequent cold boot doesn't talk correctly to TPM
  • Warm reboot (reboot from menu or command line sysrq call) doesn't have a mitigation right now.
  • Upon subsequent cold boot, there is randomness in i2c stability

@tlaurion
Copy link
Author

@SergiiDmytruk


┌────────────────┤ OEM Factory Reset / Re-Ownership Complete ├─────────────────┐
│                                                                              │
│                                                                              │
│     OEM Factory Reset / Re-Ownership has completed successfully              │
│                                                                              │
│                                                                              │
│     After rebooting, you will need to generate new TOTP/HOTP secrets         │
│                                                                              │
│     when prompted in order to complete the setup process.                    │
│                                                                              │
│                                                                              │
│     Press Enter to reboot.                                                   │
│                                                                              │
│                                    <Ok>                                      │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘



[  839.822619] sysrq: Emergency Sync
[  839.823286] sysrq: Emergency Remount R/O
[  839.823623] sysrq: Resetting
[  880.184395521,5] OPAL: Reboot request...
[  880.184755865,5] RESET: Initiating fast reboot 1...
[  880.301768776,5] Clearing unused memory:
[  880.301912277,5] PCI: Clearing all devices...
[  880.301912493,7] Clearing region 35f00000-ffe00000
[  880.312776598,5] PCI: Resetting PHBs and training links...
[  885.048405251,5] PCI: Probing slots...
[  885.281473084,5] PCI Summary:
[  885.281521029,5] PHB#0000:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU1 Slot2 (16x) 
[  885.281608329,5] PHB#0001:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=CPU1 Slot1 (8x) 
[  885.281700670,5] PHB#0001:01:00.0 [EP  ] 126f 2263 R:03 C:010802 (  mass-storage) LOC_CODE=CPU1 Slot1 (8x)
[  885.281801418,5] PHB#0002:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=Builtin SAS 
[  885.281872664,5] PHB#0003:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin USB 
[  885.281938586,5] PHB#0003:01:00.0 [EP  ] 104c 8241 R:02 C:0c0330 (      usb-xhci) LOC_CODE=Builtin USB
[  885.282016061,5] PHB#0004:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin Ethernet 
[  885.282094236,5] PHB#0004:01:00.0 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[  885.282179037,5] PHB#0004:01:00.1 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[  885.282286351,5] PHB#0005:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..02 SLOT=BMC 
[  885.282362314,5] PHB#0005:01:00.0 [ETOX] 1a03 1150 R:04 C:060400 B:02..02 LOC_CODE=BMC
[  885.282435705,5] PHB#0005:02:00.0 [PCID] 1a03 2000 R:41 C:030000 (           vga) LOC_CODE=BMC
[  885.282548904,5] PHB#0030:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot2 (16x) 
[  885.282644956,5] PHB#0031:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot3 (8x) 
[  885.282728637,5] PHB#0032:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:00..00 
[  885.282786961,5] PHB#0033:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot1 (16x) 
[  885.282863706,5] Clearing memory... 3/7GB done
[  885.282909363,5] Clearing memory... 4/7GB done
[  885.282946168,5] Clearing memory... 7/7GB done
[  885.282987810,5] IPMI: Resetting boot count on successful boot
[  885.283052213,5] INIT: Waiting for kernel...
[  886.146009772,3] STB: BOOTKERNEL NOT VERIFIED, invalid param. buf=0x20000000, len=11899224 key-hash=0x0 hash-size=64
[  886.146153879,3] STB: BOOTKERNEL NOT MEASURED. Already exited from boot services
[  886.147840729,5] INIT: 64-bit LE kernel discovered
[  886.163298261,3] STB: EV_SEPARATOR (pcr0) NOT MEASURED. No TPM registered/enabled
[  886.163393870,3] STB: EV_SEPARATOR (pcr1) NOT MEASURED. No TPM registered/enabled
[  886.163463364,3] STB: EV_SEPARATOR (pcr2) NOT MEASURED. No TPM registered/enabled
[  886.163545356,3] STB: EV_SEPARATOR (pcr3) NOT MEASURED. No TPM registered/enabled
[  886.163604044,3] STB: EV_SEPARATOR (pcr4) NOT MEASURED. No TPM registered/enabled
[  886.163653100,3] STB: EV_SEPARATOR (pcr5) NOT MEASURED. No TPM registered/enabled
[  886.163704546,3] STB: EV_SEPARATOR (pcr6) NOT MEASURED. No TPM registered/enabled
[  886.163771900,3] STB: EV_SEPARATOR (pcr7) NOT MEASURED. No TPM registered/enabled
[  886.163865064,5] OCC: All Chip Rdy after 0 ms
[  886.193259038,5] INIT: Starting kernel at 0x20010000, fdt at 0x307b5f20 157371 bytes

zImage starting: loaded at 0x0000000020010000 (sp: 0x0000000020b57ee0)
Allocating 0x2773e80 bytes for kernel...
Decompressing (0x0000000000000000 <- 0x0000000020024000:0x0000000020b5599d)...
Done! Decompressed 0x25798f8 bytes

Linux/PowerPC load: 
Finalizing device tree... flat tree at 0x20b58ce0
[  887.235732500,3] LPC[000]: Got SYNC no-response error. Error address reg: 0xd0010080
[  887.235749957,6] IPMI: dropping non severe PEL event
[    4.606938] IMC PMU core_imc Register failed
[    4.608158] IMC PMU thread_imc Register failed
[    4.894653] mm/pgtable-generic.c:50: bad pmd c00600c2800001be.
[    4.894656] mm/pgtable-generic.c:50: bad pmd c00600c2802001be.
[    4.894658] mm/pgtable-generic.c:50: bad pmd c00600c2804001be.
[    5.302786] kAFS: failed to register: -97
Loading /.gnupg/pubring.kbx from CBFS
New value of PCR[7]: 837b7d78e2619759331c364583a9331a862cf975
Loading /.gnupg/trustdb.gpg from CBFS
New value of PCR[7]: 91176e60f337638a2206f5486b9a0663f15cd687
Loading /etc/config.user from CBFS
New value of PCR[7]: 73ca8e7ab75f15e6b0caf67ae1145526efda923d
New value of PCR[5]: 0c0437acddf4ccb0948a623448c56d93d337e742
New value of PCR[5]: 95363e9131121768522d7ce50f223ea775fefa8e
New value of PCR[5]: 5ab6406de6a47a3708b85954fb72b380462bc578
New value of PCR[5]: 19e20a4bbdcb3696577f943709409b67048b59b2
New value of PCR[5]: 5c81e01f9478f2cd99f646ce78bd20f131b06490
[   11.002939] usbhid 1-2.1:1.1: couldn't find an input interrupt endpoint

***** Normal boot: /bin/talos-init
[  898.239238850,3] I2C: request timed out!
[  898.239323481,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  898.239454022,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  898.239541891,3] I2C:  start_time=0000006b1b033586 end_time=0000006b1b0b7bd4 (duration=000000000008464e)
[  898.239691650,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  898.239964225,3] I2C: Error bits set: 
[  898.385964946,3] I2C: request timed out!
[  898.386032245,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  898.386168405,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  898.386277296,3] I2C:  start_time=0000006b23c215f4 end_time=0000006b23ca5a61 (duration=000000000008446d)
[  898.386417623,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  898.386678835,3] I2C: Error bits set: 
Unable to unseal totp secret
















┌──────────────────────┤ ERROR: TOTP Generation Failed! ├──────────────────────┐
│     ERROR: Heads couldn't generate the TOTP code.                            │
│                                                                              │
│   If you have just completed a Factory Reset, or just reflashed              │
│   your BIOS, you should generate a new HOTP/TOTP secret.                     │
│                                                                              │
│   If this is the first time the system has booted, you should                │
│   reset the TPM and set your own password.                                   │
│                                                                              │
│   If you have not just reflashed your BIOS, THIS COULD INDICATE TAMPERING!   │
│                                                                              │
│   How would you like to proceed?                                             │
│                                                                              │
│                  g  Generate new HOTP/TOTP secret                            │
│                  i  Ignore error and continue to main menu                   │
│                  p  Reset the TPM                                            │
│                  x  Exit to recovery shell                                   │
│                                                                              │
│                                                                              │
│                     <Ok>                         <Cancel>                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘






















┌──────────────────────────────┤ Reset the TPM ├───────────────────────────────┐
│                                                                              │
│ This will clear the TPM and TPM password, replace them with new ones!        │
│                                                                              │
│ Do you want to proceed?                                                      │
│                                                                              │
│                     <Yes>                        <No>                        │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘







New TPM owner passphrase (2 words suggested, 1-32 characters max): 
Repeat chosen TPM owner passphrase: 
[  916.484693053,3] I2C: request timed out!
[  916.484773633,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  916.484889303,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  916.484962516,3] I2C:  start_time=0000006d4ef58f66 end_time=0000006d4efdd26d (duration=0000000000084307)
[  916.485103121,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  916.485394652,3] I2C: Error bits set: 
[  916.491813227,3] I2C: request timed out!
[  916.491885312,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  916.492000843,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  916.492109669,3] I2C:  start_time=0000006d4f6234b9 end_time=0000006d4f6a7861 (duration=00000000000843a8)
[  916.492275613,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  916.492536080,3] I2C: Error bits set: 
[  916.498295629,3] I2C: request timed out!
[  916.498367345,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  916.498498188,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  916.498591429,3] I2C:  start_time=0000006d4fc51ab8 end_time=0000006d4fcd624b (duration=0000000000084793)
[  916.498726964,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  916.499002801,3] I2C: Error bits set: 
[  916.504761914,3] I2C: request timed out!
[  916.504828652,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  916.504980017,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  916.505073018,3] I2C:  start_time=0000006d5027c5fd end_time=0000006d50300d46 (duration=0000000000084749)
[  916.505208276,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  916.505489358,3] I2C: Error bits set: 
[  917.000442678,3] I2C: request timed out!
[  917.000494657,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  917.000640659,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  917.000733816,3] I2C:  start_time=0000006d509cfa90 end_time=0000006d50a5402d (duration=000000000008459d)
[  917.000864098,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  917.001145726,3] I2C: Error bits set: 
[  917.007561459,3] I2C: request timed out!
[  917.007628166,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  917.007763863,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  917.007857047,3] I2C:  start_time=0000006d51099992 end_time=0000006d5111dff3 (duration=0000000000084661)
[  917.007987195,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  917.008273095,3] I2C: Error bits set: 
[  917.015648734,3] I2C: request timed out!
[  917.015705086,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  917.015840781,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  917.015939195,3] I2C:  start_time=0000006d518500eb end_time=0000006d518d46d8 (duration=00000000000845ed)
[  917.016084305,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  917.016375467,3] I2C: Error bits set: 
[  917.022138865,3] I2C: request timed out!
[  917.022205438,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  917.022340854,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  917.022439064,3] I2C:  start_time=0000006d51e807bc end_time=0000006d51f04eea (duration=000000000008472e)
[  917.022579478,3] I2C: Register dump--
    cmd:0xd141000102000000	mode:0x0048000002000000	stat:0x02010c0102000000
  estat:0x0800dd1802000000	intm:0x0000000002000000	intc:0x0000022a02000000
[  917.022855496,3] I2C: Error bits set: 
[  917.037396064,3] I2C: request timed out!
[  917.037468116,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  917.037568364,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  917.037676867,3] I2C:  start_time=0000006d52d0da73 end_time=0000006d52d91d55 (duration=00000000000842e2)
[  917.037827256,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  917.038093276,3] I2C: Error bits set: 
[  917.100256338,3] I2C: request timed out!
[  917.100313279,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  917.100449479,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  917.100557937,3] I2C:  start_time=0000006d5690022a end_time=0000006d56984953 (duration=0000000000084729)
[  917.100693078,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  917.100963945,3] I2C: Error bits set: 
[  917.366891804,3] I2C: request timed out!
[  917.366978827,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  917.367109601,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  917.367203198,3] I2C:  start_time=0000006d66749086 end_time=0000006d667cd223 (duration=000000000008419d)
[  917.367343648,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  917.367604560,3] I2C: Error bits set: 
[  917.385676305,3] I2C: request timed out!
[  917.385742681,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  917.385888482,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  917.385986254,3] I2C:  start_time=0000006d67932ad4 end_time=0000006d679b731e (duration=000000000008484a)
[  917.386126132,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  917.386391506,3] I2C: Error bits set: 
[  917.392804504,3] I2C: request timed out!
[  917.392870907,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  917.393021459,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  917.393114594,3] I2C:  start_time=0000006d67fff438 end_time=0000006d680837b1 (duration=0000000000084379)
[  917.393249708,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  917.393586225,3] I2C: Error bits set: 
[  917.405190134,3] I2C: request timed out!
[  917.405240938,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  917.405397029,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  917.405484780,3] I2C:  start_time=0000006d68bcec88 end_time=0000006d68c53503 (duration=000000000008487b)
[  917.405625187,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  917.405906819,3] I2C: Error bits set: 
[  917.413634430,3] I2C: request timed out!
[  917.413700801,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  917.413831176,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  917.413919594,3] I2C:  start_time=0000006d693dc80e end_time=0000006d69460e90 (duration=0000000000084682)
[  917.414069882,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  917.414365757,3] I2C: Error bits set: 
Warning: srk.pem is not supported
[  917.468295372,3] I2C: request timed out!
[  917.468362171,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  917.468487677,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  917.468580932,3] I2C:  start_time=0000006d6c7fd86e end_time=0000006d6c881dc4 (duration=0000000000084556)
[  917.468731010,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  917.469021890,3] I2C: Error bits set: 
/boot/kexec_rollback.txt does not exist; creating new TPM counter
[  919.002853475,3] I2C: request timed out!
[  919.002910514,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  919.003056317,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  919.003164997,3] I2C:  start_time=0000006d8dcac115 end_time=0000006d8dd30954 (duration=000000000008483f)
[  919.003305025,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  919.003595267,3] I2C: Error bits set: 
[  919.010003474,3] I2C: request timed out!
[  919.010070101,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  919.010215741,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  919.010319010,3] I2C:  start_time=0000006d8e37daca end_time=0000006d8e402309 (duration=000000000008483f)
[  919.010463760,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  919.010749628,3] I2C: Error bits set: 
[  919.019104699,3] I2C: request timed out!
[  919.019166538,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  919.019296749,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  919.019400307,3] I2C:  start_time=0000006d8ec2bd0b end_time=0000006d8ecb02c7 (duration=00000000000845bc)
[  919.019529749,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  919.019876488,3] I2C: Error bits set: 
175906664: 000EBADDECAF0000000F
[  919.064404502,3] I2C: request timed out!
[  919.064467938,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  919.064614539,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  919.064697930,3] I2C:  start_time=0000006d9175f474 end_time=0000006d917e3ae4 (duration=0000000000084670)
[  919.064843811,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  919.065110173,3] I2C: Error bits set: 
[  919.070878162,3] I2C: request timed out!
[  919.070939826,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  919.071126462,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  919.071214942,3] I2C:  start_time=0000006d91d8c001 end_time=0000006d91e102ce (duration=00000000000842cd)
[  919.071360893,3] I2C: Register dump--
    cmd:0xd141000102000000	mode:0x0048000002000000	stat:0x02010c0102000000
  estat:0x0800dd1802000000	intm:0x0000000002000000	intc:0x0000022a02000000
[  919.071648299,3] I2C: Error bits set: 
[  919.077396724,3] I2C: request timed out!
[  919.077448645,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  919.077590017,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  919.077683291,3] I2C:  start_time=0000006d923c3368 end_time=0000006d924479e5 (duration=000000000008467d)
[  919.077818339,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  919.078103859,3] I2C: Error bits set: 
175906664: 000ebaddecaf00000010
Scan the QR code to add the new TOTP secret
[   60.002770] watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [swapper/6:0]
[   60.003038] Kernel panic - not syncing: softlockup: hung tasks
[   60.003157] CPU: 6 PID: 0 Comm: swapper/6 Tainted: G            EL    5.5.0-openpower1 #0
[   60.003290] Call Trace:
[   60.003354] [c0000001fb2cb3c0] [c000000000d3fc18] dump_stack+0xbc/0x104 (unreliable)
[   60.003518] [c0000001fb2cb400] [c0000000000a6fd4] panic+0x160/0x3dc
[   60.003650] [c0000001fb2cb4a0] [c000000000161180] watchdog_timer_fn+0x350/0x380
[   60.003780] [c0000001fb2cb540] [c000000000134870] __hrtimer_run_queues+0x170/0x290
[   60.003942] [c0000001fb2cb5c0] [c0000000001354e0] hrtimer_interrupt+0x120/0x2f0
[   60.004088] [c0000001fb2cb670] [c000000000022464] timer_interrupt+0x154/0x1f0
[   60.004240] [c0000001fb2cb6c0] [c00000000000e160] fast_exception_return+0x1a4/0x1c8
[   60.004398] --- interrupt: 901 at replay_interrupt_return+0x0/0x4
[   60.004398]     LR = arch_local_irq_restore.part.3+0x54/0x70
[   60.004637] [c0000001fb2cb9c0] [c0000000000e45b4] vtime_account_irq_enter+0x54/0x70 (unreliable)
[   60.004816] [c0000001fb2cb9e0] [c000000000d64ff4] __do_softirq+0xd4/0x2e4
[   60.004950] [c0000001fb2cbad0] [c0000000000ace38] irq_exit+0xd8/0x100
[   60.005076] [c0000001fb2cbb00] [c000000000022410] timer_interrupt+0x100/0x1f0
[   60.005231] [c0000001fb2cbb50] [c00000000000e160] fast_exception_return+0x1a4/0x1c8
[   60.005400] --- interrupt: 901 at do_idle+0x1ac/0x360
[   60.005400]     LR = do_idle+0x324/0x360
[   60.005559] [c0000001fb2cbed0] [c0000000000e5470] cpu_startup_entry+0x30/0x40
[   60.005719] [c0000001fb2cbf00] [c00000000003f604] start_secondary+0x654/0x660
[   60.005868] [c0000001fb2cbf90] [c00000000000af54] start_secondary_prolog+0x10/0x14

@SergiiDmytruk
Copy link
Member

@tlaurion, my primary intention with the TPM fix so far was to prevent skiboot from disabling TPM such that there is no /dev/tpm0 in Heads while the device actually works fine. As far as I can tell, this has been fixed and doesn't happen anymore. Is that correct?

Fast reboot results in different PCR values, the fix will probably require making skiboot reset PRCs (if that's possible) and replay coreboot's TPM log such that by the time Heads has started all PCRs are in the state identical to the state after poweron.

Now, I did notice that poweroff/poweron produces different dialogs on different runs, but wasn't sure why. I see that requests time out, but if the operation eventually succeeds that shouldn't matter.

Are dialogs always related to TPM state? Isn't ERROR: GPG keyring empty! caused by not finding keys in CBFS which isn't directly related to TPM? Or are GPG keys dropped at some point due to an issue with TPM? Are relations between GPG keys and TPM documented anywhere? At the moment, I'm not sure the role TPM plays in this issues, but it's possible that we need to implement Infineon TPM handling as done in EDKII if it doesn't produce reliable results.

@tlaurion
Copy link
Author

tlaurion commented May 24, 2023

@tlaurion, my primary intention with the TPM fix so far was to prevent skiboot from disabling TPM such that there is no /dev/tpm0 in Heads while the device actually works fine. As far as I can tell, this has been fixed and doesn't happen anymore. Is that correct?

Redoing from overnight poweroff through ssh -t root@talos "obmcutil poweron"

Fast reboot results in different PCR values, the fix will probably require making skiboot reset PRCs (if that's possible) and replay coreboot's TPM log such that by the time Heads has started all PCRs are in the state identical to the state after poweron.

Now, I did notice that poweroff/poweron produces different dialogs on different runs, but wasn't sure why. I see that requests time out, but if the operation eventually succeeds that shouldn't matter.

Are dialogs always related to TPM state? Isn't ERROR: GPG keyring empty! caused by not finding keys in CBFS which isn't directly related to TPM? Or are GPG keys dropped at some point due to an issue with TPM? Are relations between GPG keys and TPM documented anywhere? At the moment, I'm not sure the role TPM plays in this issues, but it's possible that we need to implement Infineon TPM handling as done in EDKII if it doesn't produce reliable results.

Those are related to how we update the firmware as of now, without a provided "uprade image" that is meant to be flashed within Heads, since CBFS injected keyring and trustdb is not reinjected at internal upgrade (we actually simulate an initial "external flashing" through bmc here, which should only happen once and flashing upgrade images internally after, which would take gpg key and user files from cbfs, export them, and reinject them as is in the next coreboot image into cbfs. Heads currently starts "clean" and only takes into consideration the PCRs that he expects stable from coreboot part. That is originally, PCR2 (and or PCR0-2), but nothing else (Heads expects to play with PCR4-7, and 16.

Heads "exits early" when there is:

  • Unmatching boot drive as defined under board configuration for boot device (no OS installed) and proposes to boot from USB to install an OS.
  • No GPG key material is found under CBFS (our case now since firmware is in a clean state). It then prompts the user to inject a public key to construct trustdb and keyring, and inject that in firmware, or propses the user to do the OEM factory reset/Re-Ownership wizard. There is no point prompting the user to seal TOTP if there is nothing to measure into PCR7 (see https://osresearch.net/Keys/#tpm-pcrs)

But.... When doing OEM factory reset, and generating gpg key material, injecting that into the firmware and sealing TOTP, Heads then issues a warm reboot. And then this is what we currently experience:
1- User is asked to seal totp with current PCRs values, generate Qr code (talking to TPM is expected, sealing is supposed to work. This is not always the case here).
1- Heads seals with the PCR values.
1- Heads tries to unseal with same PCR values. Currently fails.
We are looping here even in a single cold boot session without rebooting.

The Qemu TPM1/TPM2 boards include the following debug statements that permit to output TRACE and DEBUG output on the console:

user@heads-tests-deb12:~/heads$ grep DEBUG boards/qemu-coreboot-whiptail-tpm1/qemu-coreboot-whiptail-tpm1.config 
#Enable DEBUG output
export CONFIG_DEBUG_OUTPUT=y

I would suggest that we turn that on talos2 board until we get this working so the whole call tree and information on what is sealed/unsealed is understood. The qemu-whiptail-tpm1 board mimics correctly what is happening with the TPM and permits to enter recovery shell on the bmc console and look at those traces under /tmp/debug.log as well.

I can turn that on in runtime, which I will with the coreboot+bootblock binaries you asked me to test by doing:

echo "export CONFIG_DEBUG_OUTPUT=y" > /etc/config.user
config-gui.sh

┌──────────────────────────┤ Config Management Menu ├──────────────────────────┐
│ This menu lets you change settings for the current BIOS session.             │
│                                                                              │
│ All changes will revert after a reboot,                                      │
│                                                                              │
│ unless you also save them to the running BIOS.                               │
│                                                                              │
│            b  Change the /boot device                                        │
│            s  Save the current configuration to the running BIOS             │
│            r  Clear GPG key(s) and reset all user settings                   │
│            x  Return to Main Menu                                            │
│                                                                              │
│                                                                              │
│                     <Ok>                         <Cancel>                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

Select Save the current configuration to the running BIOS


Board talos-2 detected, continuing...
flashrom  on Linux 5.5.0-openpower1 (ppc64le)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Opened /dev/mtd0 successfully
Found Programmer flash chip "Opaque flash chip" (65536 kB, Programmer-specific) on linux_mtd.
Reading flash... done.






















┌───────────────────────────────┤ Update ROM? ├────────────────────────────────┐
│                                                                              │
│ This will reflash your BIOS with the updated version                         │
│                                                                              │
│ Do you want to proceed?                                                      │
│                                                                              │
│                     <Yes>                        <No>                        │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘







Board talos-2 detected, continuing...
fb09f93fdc7bb07a6ea9f8f5c9af81a39ebd13b557b4f52b0e88c9e54c1730fc  /tmp/talos-2.rom

Initializing Flash Programmer
Total flash size : 67108864 bytes
Reading old flash contents. Please wait...
Flashing: [##################################################] (100%)
Verifying flash contents. Please wait...
The flash contents were verified and the image was flashed correctly.




















          ┌──────────────┤ BIOS Updated Successfully ├───────────────┐
          │                                                          │
          │ BIOS updated successfully.                               │
          │                                                          │
          │ If your keys have changed, be sure to re-sign all files  │
          │ in /boot                                                 │
          │ after you reboot.                                        │
          │                                                          │
          │ Press Enter to reboot                                    │
          │                                                          │
          │                                                          │
          │                                                          │
          │                                                          │
          │                          <Ok>                            │
          │                                                          │
          └──────────────────────────────────────────────────────────┘

That initiates a warm reboot, once again. But now, we see what happens from Heads perspective:

[  396.281109] sysrq: Emergency Sync
[  396.281785] sysrq: Emergency Remount R/O
[  396.282087] sysrq: Resetting
[  438.234287989,5] OPAL: Reboot request...
[  438.234651443,5] RESET: Initiating fast reboot 1...
[  438.366705160,5] Clearing unused memory:
[  438.366796378,5] PCI: Clearing all devices...
[  438.366799780,7] Clearing region 35f00000-ffe00000
[  438.377177339,5] PCI: Resetting PHBs and training links...
[  442.129603707,5] PCI: Probing slots...
[  442.368221473,5] PCI Summary:
[  442.368283865,5] PHB#0000:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU1 Slot2 (16x) 
[  442.368360101,5] PHB#0001:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=CPU1 Slot1 (8x) 
[  442.368434950,5] PHB#0001:01:00.0 [EP  ] 126f 2263 R:03 C:010802 (  mass-storage) LOC_CODE=CPU1 Slot1 (8x)
[  442.368533549,5] PHB#0002:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=Builtin SAS 
[  442.368605526,5] PHB#0003:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin USB 
[  442.368679734,5] PHB#0003:01:00.0 [EP  ] 104c 8241 R:02 C:0c0330 (      usb-xhci) LOC_CODE=Builtin USB
[  442.368775157,5] PHB#0004:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin Ethernet 
[  442.368848632,5] PHB#0004:01:00.0 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[  442.368935105,5] PHB#0004:01:00.1 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[  442.369017321,5] PHB#0005:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..02 SLOT=BMC 
[  442.369080509,5] PHB#0005:01:00.0 [ETOX] 1a03 1150 R:04 C:060400 B:02..02 LOC_CODE=BMC
[  442.369155580,5] PHB#0005:02:00.0 [PCID] 1a03 2000 R:41 C:030000 (           vga) LOC_CODE=BMC
[  442.369255244,5] PHB#0030:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot2 (16x) 
[  442.369338484,5] PHB#0031:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot3 (8x) 
[  442.369412413,5] PHB#0032:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:00..00 
[  442.369477523,5] PHB#0033:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot1 (16x) 
[  442.369555116,5] Clearing memory... 3/7GB done
[  442.369602709,5] Clearing memory... 4/7GB done
[  442.369639217,5] Clearing memory... 7/7GB done
[  442.369674168,5] IPMI: Resetting boot count on successful boot
[  442.369716241,5] INIT: Waiting for kernel...
[  444.276840374,3] STB: BOOTKERNEL NOT VERIFIED, invalid param. buf=0x20000000, len=11899224 key-hash=0x0 hash-size=64
[  444.276964025,3] STB: BOOTKERNEL NOT MEASURED. Already exited from boot services
[  444.279405979,5] INIT: 64-bit LE kernel discovered
[  444.289744489,3] STB: EV_SEPARATOR (pcr0) NOT MEASURED. No TPM registered/enabled
[  444.289844651,3] STB: EV_SEPARATOR (pcr1) NOT MEASURED. No TPM registered/enabled
[  444.289898284,3] STB: EV_SEPARATOR (pcr2) NOT MEASURED. No TPM registered/enabled
[  444.289969680,3] STB: EV_SEPARATOR (pcr3) NOT MEASURED. No TPM registered/enabled
[  444.290032792,3] STB: EV_SEPARATOR (pcr4) NOT MEASURED. No TPM registered/enabled
[  444.290133057,3] STB: EV_SEPARATOR (pcr5) NOT MEASURED. No TPM registered/enabled
[  444.290198321,3] STB: EV_SEPARATOR (pcr6) NOT MEASURED. No TPM registered/enabled
[  444.290252012,3] STB: EV_SEPARATOR (pcr7) NOT MEASURED. No TPM registered/enabled
[  444.290326889,5] OCC: All Chip Rdy after 0 ms
[  444.319910977,5] INIT: Starting kernel at 0x20010000, fdt at 0x307b5f20 157371 bytes

zImage starting: loaded at 0x0000000020010000 (sp: 0x0000000020b57ee0)
Allocating 0x2773e80 bytes for kernel...
Decompressing (0x0000000000000000 <- 0x0000000020024000:0x0000000020b5599d)...
Done! Decompressed 0x25798f8 bytes

Linux/PowerPC load: 
Finalizing device tree... flat tree at 0x20b58ce0
[  445.359751030,3] LPC[000]: Got SYNC no-response error. Error address reg: 0xd0010080
[  445.359770019,6] IPMI: dropping non severe PEL event
[    4.621317] IMC PMU core_imc Register failed
[    4.622653] IMC PMU thread_imc Register failed
[    4.923987] mm/pgtable-generic.c:50: bad pmd c00600c2800001be.
[    4.923990] mm/pgtable-generic.c:50: bad pmd c00600c2802001be.
[    4.923992] mm/pgtable-generic.c:50: bad pmd c00600c2804001be.
[    5.283731] kAFS: failed to register: -97
Loading /.gnupg/pubring.kbx from CBFS
New value of PCR[7]: 44eda5f7c50e961231d64151d047e6853706be01
Loading /.gnupg/trustdb.gpg from CBFS
New value of PCR[7]: 61e573e89ffd308ff6c4eec5819e91e8bd229b9b
Loading /etc/config.user from CBFS
New value of PCR[7]: bf20c82eed5e4166eba62413b2c68e7ff3acd6ec
New value of PCR[5]: 0c0437acddf4ccb0948a623448c56d93d337e742
New value of PCR[5]: 95363e9131121768522d7ce50f223ea775fefa8e
New value of PCR[5]: 5ab6406de6a47a3708b85954fb72b380462bc578
New value of PCR[5]: 19e20a4bbdcb3696577f943709409b67048b59b2
New value of PCR[5]: 5c81e01f9478f2cd99f646ce78bd20f131b06490
[   11.063908] usbhid 1-2.1:1.1: couldn't find an input interrupt endpoint

***** Normal boot: /bin/talos-init
[  456.401238265,3] I2C: request timed out!
[  456.401319637,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  456.401447448,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  456.401562113,3] I2C:  start_time=0000003673e62135 end_time=0000003673ee6799 (duration=0000000000084664)
[  456.401694684,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  456.401966004,3] I2C: Error bits set: 
[  457.040506798,3] I2C: request timed out!
[  457.040574186,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  457.040716578,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  457.040841494,3] I2C:  start_time=000000367cea4ed7 end_time=000000367cf294a5 (duration=00000000000845ce)
[  457.040983880,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  457.041233298,3] I2C: Error bits set: 
DEBUG: Running at_exit handlers
Unable to unseal totp secret
DEBUG: CONFIG_TPM: y
DEBUG: CONFIG_TPM2_TOOLS: 
DEBUG: Show PCRs
DEBUG: PCR-00: 3A 3F 78 0F 11 A4 B4 99 69 FC AA 80 CD 6E 39 57 C3 3B 22 75 
PCR-01: 3A 3F 78 0F 11 A4 B4 99 69 FC AA 80 CD 6E 39 57 C3 3B 22 75 
PCR-02: 74 5D E7 8C 9B 82 6D 3A CA D0 4E 2D 2D 26 C2 20 70 7F 00 34 
PCR-03: D6 62 56 9A 53 DF 01 87 9B F1 DC A3 8B 94 E3 3E B5 EB A0 B3 
PCR-04: FE 2D 2C 31 EB A2 F2 77 21 33 5B D4 9C 85 96 9F 16 BE 3E 73 
PCR-05: 5C 81 E0 1F 94 78 F2 CD 99 F6 46 CE 78 BD 20 F1 31 B0 64 90 
PCR-06: 3A 3F 78 0F 11 A4 B4 99 69 FC AA 80 CD 6E 39 57 C3 3B 22 75 
PCR-07: BF 20 C8 2E ED 5E 41 66 EB A6 24 13 B2 C6 8E 7F F3 AC D6 EC 
















┌──────────────────────┤ ERROR: TOTP Generation Failed! ├──────────────────────┐
│     ERROR: Heads couldn't generate the TOTP code.                            │
│                                                                              │
│   If you have just completed a Factory Reset, or just reflashed              │
│   your BIOS, you should generate a new HOTP/TOTP secret.                     │
│                                                                              │
│   If this is the first time the system has booted, you should                │
│   reset the TPM and set your own password.                                   │
│                                                                              │
│   If you have not just reflashed your BIOS, THIS COULD INDICATE TAMPERING!   │
│                                                                              │
│   How would you like to proceed?                                             │
│                                                                              │
│                  g  Generate new HOTP/TOTP secret                            │
│                  i  Ignore error and continue to main menu                   │
│                  p  Reset the TPM                                            │
│                  x  Exit to recovery shell                                   │
│                                                                              │
│                                                                              │
│                     <Ok>                         <Cancel>                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

Let's redo it, and reboot from the command line:

│                  x  Exit to recovery shell                                   │
│                                                                              │
│                                                                              │
│                     <Ok>                         <Cancel>                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘
!!!!! User requested recovery shell
DEBUG: Direct translation from tpmr to tpm1 call
DEBUG: exec tpm extend -ix 4 -ic recovery
New value of PCR[4]: af62c9ac448e00f92b7e247cf49f8a888af5a195
!!!!! Starting recovery shell
~ # reboot
[  120.844481] sysrq: Emergency Sync
[  120.845184] sysrq: Emergency Remount R/O
[  120.845526] sysrq: Resetting
[  566.176585027,5] OPAL: Reboot request...
[  566.176933552,5] RESET: Initiating fast reboot 2...
[  566.309093388,5] Clearing unused memory:
[  566.309186481,5] PCI: Clearing all devices...
[  566.309189788,7] Clearing region 35f00000-ffe00000
[  566.319565579,5] PCI: Resetting PHBs and training links...
[  571.059374803,5] PCI: Probing slots...
[  571.303632908,5] PCI Summary:
[  571.303700204,5] PHB#0000:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU1 Slot2 (16x) 
[  571.303786994,5] PHB#0001:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=CPU1 Slot1 (8x) 
[  571.303875160,5] PHB#0001:01:00.0 [EP  ] 126f 2263 R:03 C:010802 (  mass-storage) LOC_CODE=CPU1 Slot1 (8x)
[  571.303987046,5] PHB#0002:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=Builtin SAS 
[  571.304061374,5] PHB#0003:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin USB 
[  571.304133641,5] PHB#0003:01:00.0 [EP  ] 104c 8241 R:02 C:0c0330 (      usb-xhci) LOC_CODE=Builtin USB
[  571.304215121,5] PHB#0004:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin Ethernet 
[  571.304291569,5] PHB#0004:01:00.0 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[  571.304377476,5] PHB#0004:01:00.1 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[  571.304460090,5] PHB#0005:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..02 SLOT=BMC 
[  571.304527973,5] PHB#0005:01:00.0 [ETOX] 1a03 1150 R:04 C:060400 B:02..02 LOC_CODE=BMC
[  571.304607068,5] PHB#0005:02:00.0 [PCID] 1a03 2000 R:41 C:030000 (           vga) LOC_CODE=BMC
[  571.304704666,5] PHB#0030:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot2 (16x) 
[  571.304791665,5] PHB#0031:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot3 (8x) 
[  571.304860452,5] PHB#0032:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:00..00 
[  571.304923264,5] PHB#0033:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot1 (16x) 
[  571.305001733,5] Clearing memory... 3/7GB done
[  571.305047859,5] Clearing memory... 4/7GB done
[  571.305082266,5] Clearing memory... 7/7GB done
[  571.305116814,5] IPMI: Resetting boot count on successful boot
[  571.305166637,5] INIT: Waiting for kernel...
[  572.250217776,3] STB: BOOTKERNEL NOT VERIFIED, invalid param. buf=0x20000000, len=11899224 key-hash=0x0 hash-size=64
[  572.250341245,3] STB: BOOTKERNEL NOT MEASURED. Already exited from boot services
[  572.252782661,5] INIT: 64-bit LE kernel discovered
[  572.273388617,3] STB: EV_SEPARATOR (pcr0) NOT MEASURED. No TPM registered/enabled
[  572.273473646,3] STB: EV_SEPARATOR (pcr1) NOT MEASURED. No TPM registered/enabled
[  572.273547768,3] STB: EV_SEPARATOR (pcr2) NOT MEASURED. No TPM registered/enabled
[  572.273623754,3] STB: EV_SEPARATOR (pcr3) NOT MEASURED. No TPM registered/enabled
[  572.273674688,3] STB: EV_SEPARATOR (pcr4) NOT MEASURED. No TPM registered/enabled
[  572.273725438,3] STB: EV_SEPARATOR (pcr5) NOT MEASURED. No TPM registered/enabled
[  572.273783634,3] STB: EV_SEPARATOR (pcr6) NOT MEASURED. No TPM registered/enabled
[  572.273836552,3] STB: EV_SEPARATOR (pcr7) NOT MEASURED. No TPM registered/enabled
[  572.273916503,5] OCC: All Chip Rdy after 0 ms
[  572.303339240,5] INIT: Starting kernel at 0x20010000, fdt at 0x30838e80 157371 bytes

zImage starting: loaded at 0x0000000020010000 (sp: 0x0000000020b57ee0)
Allocating 0x2773e80 bytes for kernel...
Decompressing (0x0000000000000000 <- 0x0000000020024000:0x0000000020b5599d)...
Done! Decompressed 0x25798f8 bytes

Linux/PowerPC load: 
Finalizing device tree... flat tree at 0x20b58ce0
[  573.354476285,3] LPC[000]: Got SYNC no-response error. Error address reg: 0xd0010080
[  573.354495589,6] IPMI: dropping non severe PEL event
[    4.621389] IMC PMU core_imc Register failed
[    4.622730] IMC PMU thread_imc Register failed
[    4.904331] mm/pgtable-generic.c:50: bad pmd c00600c2800001be.
[    4.904334] mm/pgtable-generic.c:50: bad pmd c00600c2802001be.
[    4.904336] mm/pgtable-generic.c:50: bad pmd c00600c2804001be.
[    5.273588] kAFS: failed to register: -97
Loading /.gnupg/pubring.kbx from CBFS
New value of PCR[7]: 98fe9fccef50fdb2ecb9a600f89cc61c9cf10709
Loading /.gnupg/trustdb.gpg from CBFS
New value of PCR[7]: 8016c4dc172a30fef037d6d67879c928a88fe1aa
Loading /etc/config.user from CBFS
New value of PCR[7]: ce87dd6db82fecc3bcd819f2995a56fa57a4099e
New value of PCR[5]: 8becc3ed1e2224788c3e71ce1abe8a86bc7125ef
New value of PCR[5]: c03d7413287c43ff5c61a0e337595f941e2e85a2
New value of PCR[5]: 3da4c38caf20111840209153efa9d7e4fd2598f7
New value of PCR[5]: 3e12b90580e0366f167927711a45e7269c0cc2d0
New value of PCR[5]: 3b82815bcea506914f6738f2a344ffec849336e4
[   11.033759] usbhid 1-2.1:1.1: couldn't find an input interrupt endpoint

***** Normal boot: /bin/talos-init
[  584.388255668,3] I2C: request timed out!
[  584.388340971,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  584.388483459,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  584.388593468,3] I2C:  start_time=00000045b56005a1 end_time=00000045b5684e19 (duration=0000000000084878)
[  584.388735699,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  584.388976099,3] I2C: Error bits set: 
[  585.027171127,3] I2C: request timed out!
[  585.027228274,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  585.027370552,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  585.027485307,3] I2C:  start_time=00000045be5ed417 end_time=00000045be671849 (duration=0000000000084432)
[  585.027627202,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  585.027902643,3] I2C: Error bits set: 
DEBUG: Running at_exit handlers
Unable to unseal totp secret
DEBUG: CONFIG_TPM: y
DEBUG: CONFIG_TPM2_TOOLS: 
DEBUG: Show PCRs
DEBUG: PCR-00: 3A 3F 78 0F 11 A4 B4 99 69 FC AA 80 CD 6E 39 57 C3 3B 22 75 
PCR-01: 3A 3F 78 0F 11 A4 B4 99 69 FC AA 80 CD 6E 39 57 C3 3B 22 75 
PCR-02: 74 5D E7 8C 9B 82 6D 3A CA D0 4E 2D 2D 26 C2 20 70 7F 00 34 
PCR-03: D6 62 56 9A 53 DF 01 87 9B F1 DC A3 8B 94 E3 3E B5 EB A0 B3 
PCR-04: AF 62 C9 AC 44 8E 00 F9 2B 7E 24 7C F4 9F 8A 88 8A F5 A1 95 
PCR-05: 3B 82 81 5B CE A5 06 91 4F 67 38 F2 A3 44 FF EC 84 93 36 E4 
PCR-06: 3A 3F 78 0F 11 A4 B4 99 69 FC AA 80 CD 6E 39 57 C3 3B 22 75 
PCR-07: CE 87 DD 6D B8 2F EC C3 BC D8 19 F2 99 5A 56 FA 57 A4 09 9E 
















┌──────────────────────┤ ERROR: TOTP Generation Failed! ├──────────────────────┐
│     ERROR: Heads couldn't generate the TOTP code.                            │
│                                                                              │
│   If you have just completed a Factory Reset, or just reflashed              │
│   your BIOS, you should generate a new HOTP/TOTP secret.                     │
│                                                                              │
│   If this is the first time the system has booted, you should                │
│   reset the TPM and set your own password.                                   │
│                                                                              │
│   If you have not just reflashed your BIOS, THIS COULD INDICATE TAMPERING!   │
│                                                                              │
│   How would you like to proceed?                                             │
│                                                                              │
│                  g  Generate new HOTP/TOTP secret                            │
│                  i  Ignore error and continue to main menu                   │
│                  p  Reset the TPM                                            │
│                  x  Exit to recovery shell                                   │
│                                                                              │
│                                                                              │
│                     <Ok>                         <Cancel>                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

So.
On first warm reboot:

DEBUG: Show PCRs
DEBUG: PCR-00: 3A 3F 78 0F 11 A4 B4 99 69 FC AA 80 CD 6E 39 57 C3 3B 22 75 
PCR-01: 3A 3F 78 0F 11 A4 B4 99 69 FC AA 80 CD 6E 39 57 C3 3B 22 75 
PCR-02: 74 5D E7 8C 9B 82 6D 3A CA D0 4E 2D 2D 26 C2 20 70 7F 00 34 
PCR-03: D6 62 56 9A 53 DF 01 87 9B F1 DC A3 8B 94 E3 3E B5 EB A0 B3 
PCR-04: FE 2D 2C 31 EB A2 F2 77 21 33 5B D4 9C 85 96 9F 16 BE 3E 73 
PCR-05: 5C 81 E0 1F 94 78 F2 CD 99 F6 46 CE 78 BD 20 F1 31 B0 64 90 
PCR-06: 3A 3F 78 0F 11 A4 B4 99 69 FC AA 80 CD 6E 39 57 C3 3B 22 75 
PCR-07: BF 20 C8 2E ED 5E 41 66 EB A6 24 13 B2 C6 8E 7F F3 AC D6 EC 

On second warm reboot:

DEBUG: Show PCRs
DEBUG: PCR-00: 3A 3F 78 0F 11 A4 B4 99 69 FC AA 80 CD 6E 39 57 C3 3B 22 75 
PCR-01: 3A 3F 78 0F 11 A4 B4 99 69 FC AA 80 CD 6E 39 57 C3 3B 22 75 
PCR-02: 74 5D E7 8C 9B 82 6D 3A CA D0 4E 2D 2D 26 C2 20 70 7F 00 34 
PCR-03: D6 62 56 9A 53 DF 01 87 9B F1 DC A3 8B 94 E3 3E B5 EB A0 B3 
PCR-04: AF 62 C9 AC 44 8E 00 F9 2B 7E 24 7C F4 9F 8A 88 8A F5 A1 95 
PCR-05: 3B 82 81 5B CE A5 06 91 4F 67 38 F2 A3 44 FF EC 84 93 36 E4 
PCR-06: 3A 3F 78 0F 11 A4 B4 99 69 FC AA 80 CD 6E 39 57 C3 3B 22 75 
PCR-07: CE 87 DD 6D B8 2F EC C3 BC D8 19 F2 99 5A 56 FA 57 A4 09 9E 

quick notes:

  • PCR4 goal is just to invalidate unsealing when we went to the recovery shell, which call to recovery just extends that pcr with recovery string, literally.
  • PCR6 is currently not expected by Heads to be populated, and under TPM1, its value is precalculated into PCR16 and that precal value is expected to be under PCR6 when LUKS header is measured. TPM disk unseal will most probably not work. Will have to look into that
  • PCR4 above will be problematic, since it changes across reboot. Heads expects it to be stable and extending it from going to recovery shell is supposed to invalidate measurements and prevent unsealing of TOTP for firmware integrity attestation. PCR4 is included in sealing of TPM disk unlock key later on, which will also fail.

Note that I already generated gpg key material and already injected it into cbfs on first boot prompt. So measurements of it is done by heads through cbfs-init script early in init calls.


If I reseal measurements on actual boot:

[ 1479.228103412,3] I2C: request timed out!
[ 1479.228181079,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[ 1479.228329000,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[ 1479.228433480,3] I2C:  start_time=000000b05d0fcd91 end_time=000000b05d1813de (duration=000000000008464d)
[ 1479.228569938,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[ 1479.228840437,3] I2C: Error bits set: 
[ 1479.380054949,3] I2C: request timed out!
[ 1479.380111922,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[ 1479.380300281,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[ 1479.380404439,3] I2C:  start_time=000000b0661e6913 end_time=000000b06626aca8 (duration=0000000000084395)
[ 1479.380546756,3] I2C: Register dump--
    cmd:0xd141000102000000	mode:0x0048000002000000	stat:0x02010c0102000000
  estat:0x0800dd1802000000	intm:0x0000000002000000	intc:0x0000022a02000000
[ 1479.380837779,3] I2C: Error bits set: 
DEBUG: Running at_exit handlers
Unable to unseal totp secret
DEBUG: CONFIG_TPM: y
DEBUG: CONFIG_TPM2_TOOLS: 
DEBUG: Show PCRs
DEBUG: PCR-00: 3A 3F 78 0F 11 A4 B4 99 69 FC AA 80 CD 6E 39 57 C3 3B 22 75 
PCR-01: 3A 3F 78 0F 11 A4 B4 99 69 FC AA 80 CD 6E 39 57 C3 3B 22 75 
PCR-02: 74 5D E7 8C 9B 82 6D 3A CA D0 4E 2D 2D 26 C2 20 70 7F 00 34 
PCR-03: D6 62 56 9A 53 DF 01 87 9B F1 DC A3 8B 94 E3 3E B5 EB A0 B3 
PCR-04: 4D B4 89 A1 54 00 FF CA 93 F9 47 D6 DB FA 1F A7 EC 2C B4 34 
PCR-05: AA 2F 2C F7 66 C6 80 55 C3 A0 10 D2 E5 4F 83 75 62 AE 62 46 
PCR-06: 3A 3F 78 0F 11 A4 B4 99 69 FC AA 80 CD 6E 39 57 C3 3B 22 75 
PCR-07: D3 82 78 FE E9 CC 4D 6E 91 4F C8 81 9A 1A D1 08 14 E1 B6 9C 

To my eyes, the sealing operation is simply not working at all from I2C errors. And therefore, the unsealing is not working either since timeouts?

@tlaurion
Copy link
Author

tlaurion commented May 24, 2023

@SergiiDmytruk Also we seem to hit a corner case doing warm reboot, hitting internal counter which after 3 refuses to boot and requiring a coldboot? With my testrun here, I could not use BMC to poweroff and on (disconnecting machine from power to flush bmc memory and start fresh here).

Those are the contradicting lines for that matter:
[ 566.176933552,5] RESET: Initiating fast reboot 2...
and
[ 571.305116814,5] IPMI: Resetting boot count on successful boot

Warm reboot increases a counter going back down the chain and then up:

[  120.845526] sysrq: Resetting
[  566.176585027,5] OPAL: Reboot request...
[  566.176933552,5] RESET: Initiating fast reboot 2...
[  566.309093388,5] Clearing unused memory:
[  566.309186481,5] PCI: Clearing all devices...
[  566.309189788,7] Clearing region 35f00000-ffe00000
[  566.319565579,5] PCI: Resetting PHBs and training links...
[  571.059374803,5] PCI: Probing slots...
[  571.303632908,5] PCI Summary:
[  571.303700204,5] PHB#0000:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU1 Slot2 (16x) 
[  571.303786994,5] PHB#0001:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=CPU1 Slot1 (8x) 
[  571.303875160,5] PHB#0001:01:00.0 [EP  ] 126f 2263 R:03 C:010802 (  mass-storage) LOC_CODE=CPU1 Slot1 (8x)
[  571.303987046,5] PHB#0002:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=Builtin SAS 
[  571.304061374,5] PHB#0003:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin USB 
[  571.304133641,5] PHB#0003:01:00.0 [EP  ] 104c 8241 R:02 C:0c0330 (      usb-xhci) LOC_CODE=Builtin USB
[  571.304215121,5] PHB#0004:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin Ethernet 
[  571.304291569,5] PHB#0004:01:00.0 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[  571.304377476,5] PHB#0004:01:00.1 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[  571.304460090,5] PHB#0005:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..02 SLOT=BMC 
[  571.304527973,5] PHB#0005:01:00.0 [ETOX] 1a03 1150 R:04 C:060400 B:02..02 LOC_CODE=BMC
[  571.304607068,5] PHB#0005:02:00.0 [PCID] 1a03 2000 R:41 C:030000 (           vga) LOC_CODE=BMC
[  571.304704666,5] PHB#0030:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot2 (16x) 
[  571.304791665,5] PHB#0031:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot3 (8x) 
[  571.304860452,5] PHB#0032:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:00..00 
[  571.304923264,5] PHB#0033:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot1 (16x) 
[  571.305001733,5] Clearing memory... 3/7GB done
[  571.305047859,5] Clearing memory... 4/7GB done
[  571.305082266,5] Clearing memory... 7/7GB done
[  571.305116814,5] IPMI: Resetting boot count on successful boot
[  571.305166637,5] INIT: Waiting for kernel...
[  572.250217776,3] STB: BOOTKERNEL NOT VERIFIED, invalid param. buf=0x20000000, len=11899224 key-hash=0x0 hash-size=64
[  572.250341245,3] STB: BOOTKERNEL NOT MEASURED. Already exited from boot services
[  572.252782661,5] INIT: 64-bit LE kernel discovered
[  572.273388617,3] STB: EV_SEPARATOR (pcr0) NOT MEASURED. No TPM registered/enabled
[  572.273473646,3] STB: EV_SEPARATOR (pcr1) NOT MEASURED. No TPM registered/enabled
[  572.273547768,3] STB: EV_SEPARATOR (pcr2) NOT MEASURED. No TPM registered/enabled
[  572.273623754,3] STB: EV_SEPARATOR (pcr3) NOT MEASURED. No TPM registered/enabled
[  572.273674688,3] STB: EV_SEPARATOR (pcr4) NOT MEASURED. No TPM registered/enabled
[  572.273725438,3] STB: EV_SEPARATOR (pcr5) NOT MEASURED. No TPM registered/enabled
[  572.273783634,3] STB: EV_SEPARATOR (pcr6) NOT MEASURED. No TPM registered/enabled
[  572.273836552,3] STB: EV_SEPARATOR (pcr7) NOT MEASURED. No TPM registered/enabled
[  572.273916503,5] OCC: All Chip Rdy after 0 ms
[  572.303339240,5] INIT: Starting kernel at 0x20010000, fdt at 0x30838e80 157371 bytes

zImage starting: loaded at 0x0000000020010000 (sp: 0x0000000020b57ee0)
Allocating 0x2773e80 bytes for kernel...
Decompressing (0x0000000000000000 <- 0x0000000020024000:0x0000000020b5599d)...
Done! Decompressed 0x25798f8 bytes

Linux/PowerPC load: 
Finalizing device tree... flat tree at 0x20b58ce0
[  573.354476285,3] LPC[000]: Got SYNC no-response error. Error address reg: 0xd0010080
[  573.354495589,6] IPMI: dropping non severe PEL event
[    4.621389] IMC PMU core_imc Register failed

@tlaurion
Copy link
Author

user@talos-tests:~/QubesIncoming/heads-tests$ rsync -ravczz --inplace --delete /home/user/QubesIncoming/heads-tests root@192.168.2.187:/tmp/images/
sending incremental file list
heads-tests/
heads-tests/gh416-bootblock.signed.ecc
heads-tests/gh416-coreboot.rom.signed.ecc
heads-tests/heads-talos-2-v0.2.0-1552-gb70547f-zImage.bundled

sent 12,413,588 bytes  received 77 bytes  1,460,431.18 bytes/sec
total size is 13,140,828  speedup is 1.06
user@talos-tests:~/QubesIncoming/heads-tests$ ssh -t -l root 192.168.2.187 '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'
Reading to "/tmp/talos.pnor" from 0x00000000..0x04000000 !
[==================================================] 100% ETA:0s     
About to program "gh416-bootblock.signed.ecc" at 0x00205000..0x00213004 !
Programming & Verifying...
[==================================================] 100%
Updating actual size in partition header...
About to program "gh416-coreboot.rom.signed.ecc" at 0x00425000..0x00546200 !
Programming & Verifying...
[==================================================] 100%
Updating actual size in partition header...
About to program "heads-talos-2-v0.2.0-1552-gb70547f-zImage.bundled" at 0x022a1000..0x02dfa158 !
Programming & Verifying...
[==================================================] 100%
Updating actual size in partition header...
SetBackend: Success
ALL GOOD! Booting and attaching BMC console


[NOTE ]  coreboot-4.17-1346-g09817b263c0-dirty Sat May 20 18:35:25 UTC 2023 bootblock starting (log level: 7)...
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  HBI partition has ECC
[DEBUG]  FMAP: Found "FLASH" version 1.1 at 0x20000.
[DEBUG]  FMAP: base = 0x0 size = 0x100000 #areas = 4
[DEBUG]  FMAP: area COREBOOT found @ 20200 (916992 bytes)
[INFO ]  CBFS: mcache @0xf8231000 built for 10 files, used 0x1f0 of 0x2000 bytes
[INFO ]  CBFS: Found 'fallback/romstage' @0x80 size 0x13d08 in mcache @0xf823102c
[INFO ]  TPM LOG: clearing the log
[DEBUG]  FMAP: area FMAP found @ 20000 (512 bytes)
[DEBUG]  TPM: Digest of `FMAP: FMAP` to PCR 2 logged
[DEBUG]  FMAP: area BOOTBLOCK found @ 0 (131072 bytes)
[DEBUG]  TPM: Digest of `FMAP: BOOTBLOCK` to PCR 2 logged
[DEBUG]  CRTM initialized.
[DEBUG]  TPM: Digest of `CBFS: fallback/romstage` to PCR 2 logged
[DEBUG]  BS: bootblock times (exec / console): total (unknown) / 5 ms


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


[NOTE ]  coreboot-4.17-1346-g09817b263c0-dirty Sat May 20 18:35:25 UTC 2023 ramstage starting (log level: 7)...
[INFO ]  Enumerating buses...
[DEBUG]  Root Device scanning...
[DEBUG]  DD21, boot core: 18
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  HCODE partition has ECC
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  OCC partition has ECC
[DEBUG]  Base epsilon values read from table:
[DEBUG]   R_T[0] = 22
[DEBUG]   R_T[1] = 22
[DEBUG]   R_T[2] = 103
[DEBUG]   W_T[0] = 5
[DEBUG]   W_T[1] = 33
[DEBUG]  Scaled epsilon values based on +20 percent guardband:
[DEBUG]   R_T[0] = 27
[DEBUG]   R_T[1] = 27
[DEBUG]   R_T[2] = 124
[DEBUG]   W_T[0] = 6
[DEBUG]   W_T[1] = 40
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  WOFDATA partition has ECC
[NOTE ]  Matching WOF tables section not found, disabling WOF
[DEBUG]  Safe mode freq = 1833412 kHZ, voltage = 711 mv
[DEBUG]  Base epsilon values read from table:
[DEBUG]   R_T[0] = 22
[DEBUG]   R_T[1] = 22
[DEBUG]   R_T[2] = 103
[DEBUG]   W_T[0] = 5
[DEBUG]   W_T[1] = 33
[DEBUG]  Scaled epsilon values based on +20 percent guardband:
[DEBUG]   R_T[0] = 27
[DEBUG]   R_T[1] = 27
[DEBUG]   R_T[2] = 124
[DEBUG]   W_T[0] = 6
[DEBUG]   W_T[1] = 40
[NOTE ]  Matching WOF tables section not found, disabling WOF
[DEBUG]  Safe mode freq = 1833412 kHZ, voltage = 737 mv
[INFO ]  starting istep 15.2
[INFO ]  starting istep 15.3
[INFO ]  starting istep 15.4
[DEBUG]  Starting PM complex...
[DEBUG]  Attempting PGPE activation...
[DEBUG]  PGPE was activated successfully
[DEBUG]  Attempting PGPE activation...
[DEBUG]  PGPE was activated successfully
[DEBUG]  Done starting PM complex
[INFO ]  starting istep 16.1
[DEBUG]  XIVE configured, entering dead man loop
[EMERG]  ASSERTION ERROR: file 'src/soc/ibm/power9/chip.c', line 696
[EMERG]  ASSERTION ERROR: file 'src/soc/ibm/power9/chip.c', line 696
[INFO ]  starting istep 18.11
[INFO ]  starting istep 18.12
[DEBUG]  Activating OCC...
[DEBUG]  Done activating OCC
[DEBUG]  CPU_CLUSTER: 0 enabled
[DEBUG]  PNP: 00e4.0 enabled
[DEBUG]  scan_bus: bus Root Device finished in 2498 msecs
[INFO ]  done
[DEBUG]  BS: BS_DEV_ENUMERATE run times (exec / console): 2486 / 13 ms
[INFO ]  Allocating resources...
[INFO ]  Reading resources...
[ERROR]  CPU_CLUSTER: 0 missing read_resources
[INFO ]  Done reading resources.
[ERROR]  CPU_CLUSTER: 0 missing set_resources
[DEBUG]  PNP: 00e4.0 00 <- [0x00000000000000e4 - 0x00000000000000e6] size 0x00000003 gran 0x00 io
[INFO ]  Done setting resources.
[INFO ]  Done allocating resources.
[DEBUG]  BS: BS_DEV_RESOURCES run times (exec / console): 0 / 3 ms
[INFO ]  Enabling resources...
[INFO ]  done.
[INFO ]  tpm_vendor_probe: ValidSts bit set(1) in TPM_ACCESS register after 0 ms
[DEBUG]  I2C TPM 2:20 (chip type slb9645tt device-id 0xD115)
[DEBUG]  TPM: Startup
[DEBUG]  TPM: command 0x99 returned 0x0
[DEBUG]  TPM: Asserting physical presence
[DEBUG]  TPM: command 0x4000000a returned 0x0
[DEBUG]  TPM: command 0x65 returned 0x0
[DEBUG]  TPM: flags disable=0, deactivated=0, nvlocked=0
[DEBUG]  TPM: Write digests cached in TPM log to PCR
[DEBUG]  TPM: Write digest for FMAP: FMAP into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Write digest for FMAP: BOOTBLOCK into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Write digest for CBFS: fallback/romstage into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Write digest for CBFS: fallback/ramstage into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[INFO ]  TPM: setup succeeded
[DEBUG]  BS: BS_DEV_INIT entry times (exec / console): 82 / 7 ms
[INFO ]  Initializing devices...
[DEBUG]  PNP: 00e4.0 init
[DEBUG]  IPMI: PNP BT 0xe4
[INFO ]  Get BMC self test result...Function Not Implemented
[INFO ]  IPMI: Found man_id 0x6cb0000, prod_id 0x1000000
[INFO ]  IPMI: Version 2.0
[DEBUG]  PNP: 00e4.0 init finished in 22 msecs
[INFO ]  Devices initialized
[DEBUG]  BS: BS_DEV_INIT run times (exec / console): 21 / 3 ms
[INFO ]  Finalize devices...
[INFO ]  Devices finalized
[DEBUG]  Writing coreboot table at 0xffed7000
[DEBUG]   0. 0000000000000000-00000000f8207fff: RAM
[DEBUG]   1. 00000000f8208000-00000000f820ffff: RAMSTAGE
[DEBUG]   2. 00000000f8210000-00000000f8ffffff: RAM
[DEBUG]   3. 00000000f9000000-00000000f92a1fff: RAMSTAGE
[DEBUG]   4. 00000000f92a2000-00000000ffed6fff: RAM
[DEBUG]   5. 00000000ffed7000-00000000ffefffff: CONFIGURATION TABLES
[DEBUG]   6. 00000000fff00000-00000001feffffff: RAM
[DEBUG]   7. 00000001ff000000-00000001ffffffff: RESERVED
[DEBUG]  FMAP: area COREBOOT found @ 20200 (916992 bytes)
[DEBUG]  FFS header at 0x80060300ffff7000
[DEBUG]  PNOR base at 0x80060300fc000000
[DEBUG]  HBI partition has ECC
[DEBUG]  Wrote coreboot table at: 0xffed7000, 0x230 bytes, checksum 2afd0000
[DEBUG]  coreboot table: 584 bytes.
[DEBUG]  IMD ROOT    0. 0xffeff000 0x00001000
[DEBUG]  IMD SMALL   1. 0xffefe000 0x00001000
[DEBUG]  CONSOLE     2. 0xffede000 0x00020000
[DEBUG]  TPM2 TCGLOG 3. 0xffedc000 0x00001180
[DEBUG]  MEM INFO    4. 0xffed9000 0x000022b0
[DEBUG]  COREBOOT    5. 0xffed7000 0x00002000
[DEBUG]  IMD small region:
[DEBUG]    IMD ROOT    0. 0xffefec00 0x00000400
[DEBUG]    RO MCACHE   1. 0xffefea00 0x000001f0
[DEBUG]    FMAP        2. 0xffefe920 0x000000e0
[DEBUG]  BS: BS_WRITE_TABLES run times (exec / console): 0 / 9 ms
[INFO ]  CBFS: Found 'fallback/payload' @0x293c0 size 0x6338d in mcache @0xffefeb84
[DEBUG]  TPM: Extending digest for `CBFS: fallback/payload` into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Digest of `CBFS: fallback/payload` to PCR 2 measured
[DEBUG]  Checking segment from ROM address 0xf8380000
[DEBUG]  Checking segment from ROM address 0xf838001c
[DEBUG]  Checking segment from ROM address 0xf8380038
[DEBUG]  Loading segment from ROM address 0xf8380000
[DEBUG]    code (compression=1)
[DEBUG]    New segment dstaddr 0x00000000 memsize 0x173c00 srcaddr 0xf8380054 filesize 0x63339
[DEBUG]  Loading Segment: addr: 0x00000000 memsz: 0x0000000000173c00 filesz: 0x0000000000063339
[DEBUG]  using LZMA
[DEBUG]  Loading segment from ROM address 0xf838001c
[DEBUG]    BSS 0x00300000 (113776 byte)
[DEBUG]  Loading Segment: addr: 0x00300000 memsz: 0x000000000001bc70 filesz: 0x0000000000000000
[DEBUG]  it's not compressed!
[DEBUG]  Clearing Segment: addr: 0x0000000000300000 memsz: 0x000000000001bc70
[DEBUG]  Loading segment from ROM address 0xf8380038
[DEBUG]    Entry Point 0x00002570
[DEBUG]  BS: BS_PAYLOAD_LOAD run times (exec / console): 445 / 8 ms
[INFO ]  coreboot TPM 2.0 measurements:

[INFO ]   PCR-2 27c4f1fa214480c8626397a15981ef3a9323717f SHA1 [FMAP: FMAP]
[INFO ]   PCR-2 636e987833897a21198656706be9b66cb5d10d37 SHA1 [FMAP: BOOTBLOCK]
[INFO ]   PCR-2 6b8537a1f3fc852b53d70b52297c54d698bef16e SHA1 [CBFS: fallback/romstage]
[INFO ]   PCR-2 f05b9a4c314defbf8dfe3d01feabee204aadd065 SHA1 [CBFS: fallback/ramstage]
[INFO ]   PCR-2 a1f9a89cc0d1890af88b86860fcee6406c7ccbf6 SHA1 [CBFS: fallback/payload]

[DEBUG]  BS: BS_PAYLOAD_BOOT entry times (exec / console): 0 / 3 ms
[DEBUG]  Jumping to boot code at 0x00002570(0xffed7000)
[INFO ]  CBFS: Found '2-cpus.dtb' @0x25840 size 0x3b23 in mcache @0xffefeb60
[DEBUG]  TPM: Extending digest for `CBFS: 2-cpus.dtb` into PCR 2
[DEBUG]  TPM: command 0x14 returned 0x0
[DEBUG]  TPM: Digest of `CBFS: 2-cpus.dtb` to PCR 2 measured
[    2.141304681,5] OPAL v6.3-rc2-33-g1b14dd0b starting...
[    2.141308147,7] initial console log level: memory 7, driver 5
[    2.141310097,6] CPU: P9 generation processor (max 4 threads/core)
[    2.141311836,7] CPU: Boot CPU PIR is 0x004c PVR is 0x004e1201
[    2.141314323,7] OPAL table: 0x30108230 .. 0x30108810, branch table: 0x30002000
[    2.141317276,7] Assigning physical memory map table for nimbus
[    2.141319566,7] FDT: Parsing fdt @0xf90b1020
[    2.142386506,6] CHIP: Initialised chip 0 from xscom@603fc00000000
[    2.142397842,6] CHIP: Initialised chip 8 from xscom@623fc00000000
[    2.142424326,6] P9 DD2.10 detected
[    2.142425750,5] CHIP: Chip ID 0000 type: P9N DD2.10
[    2.142427766,7] XSCOM: Base address: 0x603fc00000000
[    2.142437757,6] P9 DD2.10 detected
[    2.142439115,5] CHIP: Chip ID 0008 type: P9N DD2.10
[    2.142441023,7] XSCOM: Base address: 0x623fc00000000
[    2.142448793,7] XSTOP: XSCOM addr = 0x5012000, FIR bit = 31
[    2.142450890,6] MFSI 0:0: Initialized
[    2.142452266,6] MFSI 0:2: Initialized
[    2.142453654,6] MFSI 0:1: Initialized
[    2.142455212,6] MFSI 8:0: Initialized
[    2.142456559,6] MFSI 8:2: Initialized
[    2.142457874,6] MFSI 8:1: Initialized
[    2.142529382,6] LPC: LPC[000]: Initialized
[    2.142530802,7] LPC: access via MMIO @0x6030000000000
[    2.142551731,7] LPC: Default bus on chip 0x0
[    2.142563212,7] CPU: New max PIR set to 0x85f
[    2.142603181,6] MEM: parsing reserved memory from node /reserved-memory
[    2.142607405,7] HOMER: Init chip 0
[    2.142609569,7]   PBA BAR0 : 0x00000001ff000000
[    2.142611236,7]   PBA MASK0: 0x0000000000300000
[    2.142612920,7]   HOMER Image at 0x1ff000000 size 4MB
[    2.142615634,7]   PBA BAR2 : 0x00000001ff800000
[    2.142617305,7]   PBA MASK2: 0x0000000000700000
[    2.142618898,7]   OCC Common Area at 0x1ff800000 size 8MB
[    2.142620723,7] HOMER: Init chip 8
[    2.142622990,7]   PBA BAR0 : 0x00000001ff400000
[    2.142624587,7]   PBA MASK0: 0x0000000000300000
[    2.142626174,7]   HOMER Image at 0x1ff400000 size 4MB
[    2.142628967,7]   PBA BAR2 : 0x00000001ff800000
[    2.142630550,7]   PBA MASK2: 0x0000000000700000
[    2.142632128,7]   OCC Common Area at 0x1ff800000 size 8MB
[    2.142634335,7] CPU: decrementer bits 56
[    2.142638844,6] CPU: CPU from DT PIR=0x0048 Server#=0x48 State=3
[    2.142644519,6] CPU:  4 secondary threads
[    2.142647611,6] CPU: CPU from DT PIR=0x004c Server#=0x4c State=3
[    2.142652678,6] CPU:  4 secondary threads
[    2.142655694,6] CPU: CPU from DT PIR=0x0050 Server#=0x50 State=3
[    2.142661144,6] CPU:  4 secondary threads
[    2.142664175,6] CPU: CPU from DT PIR=0x0054 Server#=0x54 State=3
[    2.142669609,6] CPU:  4 secondary threads
[    2.142672565,6] CPU: CPU from DT PIR=0x0850 Server#=0x850 State=3
[    2.142678120,6] CPU:  4 secondary threads
[    2.142681141,6] CPU: CPU from DT PIR=0x0854 Server#=0x854 State=3
[    2.142686591,6] CPU:  4 secondary threads
[    2.142689585,6] CPU: CPU from DT PIR=0x0858 Server#=0x858 State=3
[    2.142694969,6] CPU:  4 secondary threads
[    2.142697945,6] CPU: CPU from DT PIR=0x085c Server#=0x85c State=3
[    2.142703345,6] CPU:  4 secondary threads
[    2.142759636,6] PLAT: AST SIO unavailable!
[    2.142775326,7] UART: Using LPC IRQ 4
[    2.145940701,5] PLAT: Detected Talos platform
[    2.145982246,5] PLAT: Detected BMC platform ast2500:openbmc
[    2.164102636,5] CPU: All 32 processors called in...
[   26.064270611,7] LPC: Routing irq 10, policy: 0 (r=1)
[   26.064271649,7] LPC: SerIRQ 10 using route 0 targetted at OPAL
[   27.172002338,5] HIOMAP: Negotiated hiomap protocol v2
[   27.172079026,5] HIOMAP: Block size is 4KiB
[   27.172112302,5] HIOMAP: BMC suggested flash timeout of 8s
[   27.172151036,5] HIOMAP: Flash size is 64MiB
[   27.172190237,5] HIOMAP: Erase granule size is 4KiB
[   29.284436925,5] FLASH: Found system flash: (unnamed) id:0
[   30.075243836,3] STB: hw-key-hash not found
[   30.075296230,3] STB: hw_key-hash wrong size 0 (expected=64)
[   30.075380638,5] STB: Found tpm0,i2c_tpm_infineon evLogLen=608 evLogSize=4480
[   30.075462544,7] LPC: Routing irq 4, policy: 0 (r=1)
[   30.075463624,7] LPC: SerIRQ 4 using route 1 targetted at OPAL
[   30.075634164,5] OCC: All Chip Rdy after 0 ms
[   30.384831830,3] STB: VERSION NOT VERIFIED, invalid param. buf=0x30653188, len=4326 key-hash=0x0 hash-size=64
[   30.384942109,5] STB: VERSION hash calculated
[   30.470101876,5] STB: VERSION measured on pcr3 (tpm0, evType 0x5, evLogLen 687)
[   31.505939652,3] STB: IMA_CATALOG NOT VERIFIED, invalid param. buf=0x30655218, len=73728 key-hash=0x0 hash-size=64
[   31.506261262,5] STB: IMA_CATALOG hash calculated
[   32.079460355,5] STB: IMA_CATALOG measured on pcr2 (tpm0, evType 0x5, evLogLen 770)
[   32.286838074,3] CAPP: Error loading ucode lid. index=201d1
[   32.304662481,5] PCI: Resetting PHBs and training links...
[   33.325301721,5] PCI: Probing slots...
[   33.381920694,5] PCI Summary:
[   33.381980668,5] PHB#0000:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU1 Slot2 (16x) 
[   33.382060474,5] PHB#0001:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=CPU1 Slot1 (8x) 
[   33.382138544,5] PHB#0001:01:00.0 [EP  ] 126f 2263 R:03 C:010802 (  mass-storage) LOC_CODE=CPU1 Slot1 (8x)
[   33.382224986,5] PHB#0002:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=Builtin SAS 
[   33.382289405,5] PHB#0003:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin USB 
[   33.382359613,5] PHB#0003:01:00.0 [EP  ] 104c 8241 R:02 C:0c0330 (      usb-xhci) LOC_CODE=Builtin USB
[   33.382448614,5] PHB#0004:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin Ethernet 
[   33.382515079,5] PHB#0004:01:00.0 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[   33.382588961,5] PHB#0004:01:00.1 [EP  ] 14e4 1657 R:00 C:020000 (      ethernet) LOC_CODE=Builtin Ethernet
[   33.382661847,5] PHB#0005:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..02 SLOT=BMC 
[   33.382718578,5] PHB#0005:01:00.0 [ETOX] 1a03 1150 R:04 C:060400 B:02..02 LOC_CODE=BMC
[   33.382787957,5] PHB#0005:02:00.0 [PCID] 1a03 2000 R:41 C:030000 (           vga) LOC_CODE=BMC
[   33.382861707,5] PHB#0030:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot2 (16x) 
[   33.382935156,5] PHB#0031:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot3 (8x) 
[   33.383003158,5] PHB#0032:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:00..00 
[   33.383062877,5] PHB#0033:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=CPU2 Slot1 (16x) 
[   33.383128514,4] WARNING! Skiboot version does not match VERSION partition!
[   33.390172011,5] IPMI: Resetting boot count on successful boot
[   33.390248724,5] INIT: Waiting for kernel...
[   37.474640105,3] STB: BOOTKERNEL NOT VERIFIED, invalid param. buf=0x20000000, len=11899224 key-hash=0x0 hash-size=64
[   37.510193170,5] STB: BOOTKERNEL hash calculated
[   38.083399654,5] STB: BOOTKERNEL measured on pcr4 (tpm0, evType 0x5, evLogLen 852)
[   38.085427835,5] INIT: 64-bit LE kernel discovered
[   38.293600413,5] STB: EV_SEPARATOR measured on pcr0 (tpm0, evType 0x4, evLogLen 928)
[   38.384077098,5] STB: EV_SEPARATOR measured on pcr1 (tpm0, evType 0x4, evLogLen 1004)
[   38.469345694,5] STB: EV_SEPARATOR measured on pcr2 (tpm0, evType 0x4, evLogLen 1080)
[   39.042588956,5] STB: EV_SEPARATOR measured on pcr3 (tpm0, evType 0x4, evLogLen 1156)
[   39.069505848,3] I2C: Transfer error occurred
[   39.069567509,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=2	bytes_sent=0
[   39.069649109,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=2	len=3
[   39.069717864,3] I2C:  start_time=00000004aa53d75f end_time=00000004aa54127c (duration=0000000000003b1d)
[   39.069795604,3] I2C: Register dump--
    cmd:0xc140000109000000	mode:0x0048000009000000	stat:0x0901080009000000
  estat:0x0800991809000000	intm:0x0000000009000000	intc:0x0000092909000000
[   39.069946811,3] I2C: Error bits set: arbitration loss, 
[   39.096571669,3] I2C: Transfer error occurred
[   39.096623445,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=2	bytes_sent=0
[   39.096699322,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=2	len=3
[   39.096764262,3] I2C:  start_time=00000004abf0d4e2 end_time=00000004abf11082 (duration=0000000000003ba0)
[   39.096851416,3] I2C: Register dump--
    cmd:0xc140000109000000	mode:0x0048000009000000	stat:0x0901080009000000
  estat:0x0800991809000000	intm:0x0000000009000000	intc:0x0000092909000000
[   39.096997286,3] I2C: Error bits set: arbitration loss, 
[   39.123787424,5] STB: EV_SEPARATOR measured on pcr4 (tpm0, evType 0x4, evLogLen 1232)
[   39.214226790,5] STB: EV_SEPARATOR measured on pcr5 (tpm0, evType 0x4, evLogLen 1308)
[   39.235928892,3] I2C: Transfer error occurred
[   39.235986312,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=2	bytes_sent=0
[   39.236082725,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=2	len=3
[   39.236139639,3] I2C:  start_time=00000004b43f40eb end_time=00000004b43f7cb1 (duration=0000000000003bc6)
[   39.236215256,3] I2C: Register dump--
    cmd:0xc140000109000000	mode:0x0048000009000000	stat:0x0901080009000000
  estat:0x0800991809000000	intm:0x0000000009000000	intc:0x0000092909000000
[   39.236357058,3] I2C: Error bits set: arbitration loss, 
[   39.294821378,5] STB: EV_SEPARATOR measured on pcr6 (tpm0, evType 0x4, evLogLen 1384)
[   39.385269559,5] STB: EV_SEPARATOR measured on pcr7 (tpm0, evType 0x4, evLogLen 1460)
[   39.407444190,5] INIT: Starting kernel at 0x20010000, fdt at 0x30732fc0 157371 bytes

zImage starting: loaded at 0x0000000020010000 (sp: 0x0000000020b57ee0)
Allocating 0x2773e80 bytes for kernel...
Decompressing (0x0000000000000000 <- 0x0000000020024000:0x0000000020b5599d)...
Done! Decompressed 0x25798f8 bytes

Linux/PowerPC load: 
Finalizing device tree... flat tree at 0x20b58ce0
[   40.362667227,3] LPC[000]: Got SYNC no-response error. Error address reg: 0xd0010080
[   40.362679869,6] IPMI: dropping non severe PEL event
[   40.362709155,7] UART: IRQ functional !
[    4.232614] IMC PMU core_imc Register failed
[    4.233525] IMC PMU thread_imc Register failed
[    4.529388] mm/pgtable-generic.c:50: bad pmd c00600c2800001be.
[    4.529390] mm/pgtable-generic.c:50: bad pmd c00600c2802001be.
[    4.529391] mm/pgtable-generic.c:50: bad pmd c00600c2804001be.
[    4.922106] kAFS: failed to register: -97
^[[B^[[B^[[A^[[A^[[A^[[A^[[A^[[B^[[B^[[B^[[B^[[Bgpg: ^[[A^[[B^[[A^[[AWARNING: nothing exported
^[[B^[[B^[[A^[[BNew value of PCR[5]: cdc4d7f3fb1d26a43e78cb7385edcd514b9b6fcc^[[B^[[B^[[B^[[B
^[[B^[[B^[[B^[[BNew value of PCR[5]: da13840e5348990c97e6dc6a3edd6e96b02b33f7^[[B^[[B^[[A^[[B
^[[B^[[A^[[B^[[BNew value of PCR[5]: 51180fb28d80c4892425d21efcf0879ab54c01cc^[[A^[[B^[[B^[[A
^[[B^[[B^[[A^[[ANew value of PCR[5]: 47577c0039ecadc0a4fb0aed626d4240e7e8ba7a^[[A^[[B^[[B^[[B
^[[A^[[A^[[A^[[BNew value of PCR[5]: aebec14770402b1dabe6b6845ec3125053359b79^[[A^[[B^[[A^[[B
[    8.542265] usbhid 1-2.1:1.1: couldn't find an input interrupt endpoint
^[[B^[[B
***** Normal boot: /bin/talos-init
[    8.825470] /dev/nvme0n1p1: Can't open blockdev
[    8.825684] /dev/nvme0n1p1: Can't open blockdev
[    8.843361] /dev/nvme0n1p2: Can't open blockdev
[    8.843780] /dev/nvme0n1p2: Can't open blockdev
Unable to locate /boot files on any mounted disk






┌───────────────────────┤ ERROR: No Bootable OS Found! ├───────────────────────┐
│     No bootable OS was found on the default boot device /dev/sda1.           │
│     How would you like to proceed?                                           │
│                                                                              │
│                         b  Select a new boot device                          │
│                         u  Boot from USB                                     │
│                         m  Continue to the main menu                         │
│                         x  Exit to recovery shell                            │
│                                                                              │
│                                                                              │
│                     <Ok>                         <Cancel>                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

Continuing to main menu to at least reset tpm (Boot device not configured here)
So Options, TPM, reset:




[  141.379987485,3] I2C: request timed out!
[  141.380063127,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  141.380198253,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  141.380292888,3] I2C:  start_time=00000010e5985e5b end_time=00000010e5a0a485 (duration=000000000008462a)
[  141.380427379,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  141.380696457,3] I2C: Error bits set: 
[  142.019696253,3] I2C: request timed out!
[  142.019760350,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  142.019884997,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  142.019984295,3] I2C:  start_time=00000010eea34683 end_time=00000010eeab8983 (duration=0000000000084300)
[  142.020122924,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  142.020391458,3] I2C: Error bits set: 
Unable to unseal totp secret




















┌────────────────────────┤ Talos 2 | Heads Boot Menu ├─────────────────────────┐
│ 2023-05-24 15:13:57 UTC                                                      │
│ TOTP: Error PCR mismatch from TPM_Unseal | HOTP: N/A                         │
│                                                                              │
│                             d  Default boot                                  │
│                             r  Refresh TOTP/HOTP                             │
│                             o  Options -->                                   │
│                             s  System Info                                   │
│                             p  Power Off                                     │
│                                                                              │
│                                                                              │
│                     <Ok>                         <Cancel>                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

┌──────────────────────────────┤ HEADS Options ├───────────────────────────────┐
│                                                                              │
│               b  Boot Options -->                                            │
│               t  TPM/TOTP/HOTP Options -->                                   │
│               u  Update checksums and sign all files in /boot                │
│               c  Change configuration settings -->                           │
│               f  Flash/Update the BIOS -->                                   │
│               g  GPG Options -->                                             │
│               F  OEM Factory Reset / Re-Ownership -->                        │
│               R  Reencrypt LUKS container -->                                │
│               C  Change LUKS Disk Recovery Key passphrase ->                 │
│               x  Exit to recovery shell                                      │
│               r  <-- Return to main menu                                     │
│                                                                              │
│                                                                              │
│                     <Ok>                         <Cancel>                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘























┌──────────────────────────┤ TPM/TOTP/HOTP Options ├───────────────────────────┐
│ Select An Option                                                             │
│                                                                              │
│           g  Generate new TOTP/HOTP secret                                   │
│           r  Reset the TPM                                                   │
│           t  TOTP/HOTP does not match after refresh, troubleshoot            │
│           m  <-- Return to main menu                                         │
│                                                                              │
│                                                                              │
│                     <Ok>                         <Cancel>                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘



























┌──────────────────────────────┤ Reset the TPM ├───────────────────────────────┐
│                                                                              │
│ This will clear the TPM and TPM password, replace them with new ones!        │
│                                                                              │
│ Do you want to proceed?                                                      │
│                                                                              │
│                     <Yes>                        <No>                        │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘







New TPM owner passphrase (2 words suggested, 1-32 characters max): 
Repeat chosen TPM owner passphrase: 
[  301.277204478,3] I2C: request timed out!
[  301.277288758,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  301.277430382,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  301.277521738,3] I2C:  start_time=00000023f24807a7 end_time=00000023f2504cbd (duration=0000000000084516)
[  301.277667716,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  301.277920100,3] I2C: Error bits set: 
[  301.284343660,3] I2C: request timed out!
[  301.284423548,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  301.284565598,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  301.284652180,3] I2C:  start_time=00000023f2b4fa45 end_time=00000023f2bd3c75 (duration=0000000000084230)
[  301.284793677,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  301.285027936,3] I2C: Error bits set: 
[  301.290791177,3] I2C: request timed out!
[  301.290854413,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  301.290980598,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  301.291051635,3] I2C:  start_time=00000023f3175c34 end_time=00000023f31f9e54 (duration=0000000000084220)
[  301.291145374,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  301.291369381,3] I2C: Error bits set: 
[  301.297119216,3] I2C: request timed out!
[  301.297167803,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  301.297280774,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  301.297362433,3] I2C:  start_time=00000023f377ed57 end_time=00000023f3802d50 (duration=0000000000083ff9)
[  301.297463219,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  301.297671198,3] I2C: Error bits set: 
[  301.304609442,3] I2C: request timed out!
[  301.304689349,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  301.304799251,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  301.304871765,3] I2C:  start_time=00000023f3ea349a end_time=00000023f3f27803 (duration=0000000000084369)
[  301.304972354,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  301.305183551,3] I2C: Error bits set: 
[  301.311846739,3] I2C: request timed out!
[  301.311892125,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  301.312017777,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  301.312093320,3] I2C:  start_time=00000023f458a6e5 end_time=00000023f460e6b4 (duration=0000000000083fcf)
[  301.312190584,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  301.312408193,3] I2C: Error bits set: 
[  301.318152289,3] I2C: request timed out!
[  301.318210360,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  301.318329529,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  301.318395703,3] I2C:  start_time=00000023f4b8dbe1 end_time=00000023f4c11dbe (duration=00000000000841dd)
[  301.318499309,3] I2C: Register dump--
    cmd:0xd141000102000000	mode:0x0048000002000000	stat:0x02010c0102000000
  estat:0x0800dd1802000000	intm:0x0000000002000000	intc:0x0000022a02000000
[  301.318710442,3] I2C: Error bits set: 
[  301.324464561,3] I2C: request timed out!
[  301.324535120,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  301.324651361,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  301.324739355,3] I2C:  start_time=00000023f5192d59 end_time=00000023f5216f15 (duration=00000000000841bc)
[  301.324843314,3] I2C: Register dump--
    cmd:0xd141000102000000	mode:0x0048000002000000	stat:0x02010c0102000000
  estat:0x0800dd1802000000	intm:0x0000000002000000	intc:0x0000022a02000000
[  301.325063826,3] I2C: Error bits set: 
[  301.339129847,3] I2C: request timed out!
[  301.339191097,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  301.339300755,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  301.339388465,3] I2C:  start_time=00000023f5f8f397 end_time=00000023f6013549 (duration=00000000000841b2)
[  301.339491994,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  301.339693437,3] I2C: Error bits set: 
[  301.401135263,3] I2C: request timed out!
[  301.401224761,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  301.401353416,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  301.401422841,3] I2C:  start_time=00000023f9ab13e4 end_time=00000023f9b355fa (duration=0000000000084216)
[  301.401517256,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  301.401731125,3] I2C: Error bits set: 
[  302.155232949,3] I2C: request timed out!
[  302.155292904,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  302.155433150,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  302.155561884,3] I2C:  start_time=0000002409876130 end_time=00000024098fa9c3 (duration=0000000000084893)
[  302.155706164,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  302.155976129,3] I2C: Error bits set: 
[  302.174737672,3] I2C: request timed out!
[  302.174803288,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  302.174941997,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  302.175033930,3] I2C:  start_time=000000240ab102e8 end_time=000000240ab947f5 (duration=000000000008450d)
[  302.175171640,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  302.175443787,3] I2C: Error bits set: 
[  302.181203518,3] I2C: request timed out!
[  302.181253944,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  302.181392316,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  302.181494782,3] I2C:  start_time=000000240b13ac6b end_time=000000240b1bf13e (duration=00000000000844d3)
[  302.181622931,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  302.181915582,3] I2C: Error bits set: 
[  302.194145340,3] I2C: request timed out!
[  302.194205760,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  302.194314514,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  302.194421497,3] I2C:  start_time=000000240bd92758 end_time=000000240be16b48 (duration=00000000000843f0)
[  302.194574092,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  302.194851218,3] I2C: Error bits set: 
[  302.202579558,3] I2C: request timed out!
[  302.202639512,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  302.202760938,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  302.202866476,3] I2C:  start_time=000000240c59d63d end_time=000000240c621d65 (duration=0000000000084728)
[  302.203007129,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  302.203280679,3] I2C: Error bits set: 
Warning: srk.pem is not supported
[  302.257255653,3] I2C: request timed out!
[  302.257309713,3] I2C: Chip 00000000 Eng. 2 Port 0--
 xscom_base=0x00000000000a2000	state=3	bytes_sent=0
[  302.257446825,3] I2C: Request info--
 addr=0x0020	offset_bytes=1	offset=1	len=1
[  302.257535003,3] I2C:  start_time=000000240f9c2501 end_time=000000240fa467c3 (duration=00000000000842c2)
[  302.257671199,3] I2C: Register dump--
    cmd:0xd141000100000000	mode:0x0048000000000000	stat:0x0001170000000000
  estat:0x080f5dd800000000	intm:0x0000000000000000	intc:0x0000004600000000
[  302.258001788,3] I2C: Error bits set: 




















┌───────────────────────┤ ERROR: No Bootable OS Found! ├───────────────────────┐
│     No bootable OS was found on the default boot device /dev/sda1.           │
│     How would you like to proceed?                                           │
│                                                                              │
│                         b  Select a new boot device                          │
│                         u  Boot from USB                                     │
│                         m  Continue to the main menu                         │
│                         x  Exit to recovery shell                            │
│                                                                              │
│                                                                              │
│                     <Ok>                         <Cancel>                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

Please try and see if you get different results. On my side, even on a cold boot, nothing gets sealed.
I suggest to enable debug as said previously. As always, I would prefer if you could open a PR under Heads and pointing new commits under modules/* so that ROMs to be tested are exactly the same and provided by CircleCI and discuss in the PR so that what is tested is exactly the same. I cannot reproduce a working TPM base to go further as of bootblock+coreboot provided by Dasharo/coreboot#347 and referred from zip file provided to test under #416 (comment)
(For prosperity, zip file dl link was https://github.com/Dasharo/dasharo-issues/files/11523246/gh416-coreboot.zip for previous comments)

@SergiiDmytruk
Copy link
Member

Thanks for the explanation. Unable to unseal totp secret does look like tpmr unseal eventually fails. It's just that I2C errors don't imply a failure, they are printed by skiboot and Linux kernel driver calls into skiboot multiple times hoping to succeed, so presence of errors on the screen can be misleading.

I guess resetting PCRs might not work (at least not for all of them) and we might want to just disable fast reboot and always do a full reboot. skiboot is handling this so we can change what it does. This will at least provide consistency. I think it might be possible to do this from Heads, but it might require a tool for modifying NVRAM storage which isn't available, so can start by changing skiboot directly.

Will also try to reproduce sealing/unsealing issue and see what happens in the driver.

Also we seem to hit a corner case doing warm reboot, hitting internal counter which after 3 refuses to boot and requiring a coldboot? With my testrun here, I could not use BMC to poweroff and on (disconnecting machine from power to flush bmc memory and start fresh here).

That reboot counter is merely informational. Boot count is a completely separate entity. In my tests, reboot worked many times (I think I ran it 50 times in a row with no trouble (via automation)).

@SergiiDmytruk
Copy link
Member

Looks like TPM might not be at fault. /bin/seal-totp contains:

# pcr 4 is expected to be zero (boot mode: init)
dd if=/dev/zero bs="$(tpmr pcrsize)" count=1 status=none >> "$pcrf"

While this isn't the case due to:

[   39.164094746,5] STB: EV_SEPARATOR measured on pcr4 (tpm0, evType 0x4, evLogLen 1232)

I remember extending separators into PCR being discussed before, but they weren't taken into account by the code. I've disabled fast reboot and PCR separators in linuxboot/heads#1411, but it needs testing, I just modified /bin/seal-totp in place to verify the guess, but it should be it. When confirmed with more testing, will need to decide:

  • whether to take separators into account or disable them
  • whether leave fast reboot always off or try to control it somehow

@krystian-hebel
Copy link

https://trustedcomputinggroup.org/wp-content/uploads/TCG_PCClient_PFP_r1p05_v23_pub.pdf shows in table 1 what should be measured to which PCR. Heads depends on coreboot not being compliant with this specification so I'd say that this script should be modified.

I2C errors is another beast altogether...

@SergiiDmytruk
Copy link
Member

Heads depends on coreboot not being compliant with this specification so I'd say that this script should be modified.

I don't get the conclusion. If Heads doesn't care about specification why try to follow it? If we do follow it in skiboot, need to handle PCR4 in some other way (use a different PCR or store its initial value and use that instead of all zeroes).

@tlaurion
Copy link
Author

tlaurion commented May 25, 2023

One second. Goal is not to drift into noncompliance.

The goal from heads is to extend pcr4 to break measurements consistency and prevent unsealing of secrets when one went to recovery.

Will come back here give me a little time to test things

Edit:
@SergiiDmytruk I get weird behavior, still with what seems to be locking IO on bmc for whatever reasons after a certain number of bmc initiated poweroff/poweron.

One one shell I nitiated poweroff while expecting BMC to still be responsive.
One another I attempted to upload locally built rom and now BMC unresponsive, will have to cut power, wait 5 minutes and restart BMC:

user@talos-tests:~/QubesIncoming/heads-tests-deb12$ rsync -ravczz --inplace --delete /home/user/QubesIncoming/heads-tests root@192.168.2.187:/tmp/images/
sending incremental file list
deleting heads-tests/heads-talos-2-v0.2.0-1553-g23075fc.rom
deleting heads-tests/heads-talos-2-v0.2.0-1553-g23075fc.bootblock
deleting heads-tests/heads-talos-2-v0.2.0-1553-g23075fc-zImage.bundled
heads-tests/
heads-tests/hashes.txt
heads-tests/heads-talos-2-v0.2.0-1553-g23075fc-dirty-zImage.bundled
Connection to 192.168.2.187 closed by remote host.
rsync: [sender] write error: Broken pipe (32)
rsync error: unexplained error (code 255) at io.c(823) [sender=3.2.3]
user@talos-tests:~/QubesIncoming/heads-tests-deb12$ rsync -ravczz --inplace --delete /home/user/QubesIncoming/heads-tests root@192.168.2.187:/tmp/images/
^Crsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(703) [sender=3.2.3]
user@talos-tests:~/QubesIncoming/heads-tests-deb12$ rsync -ravczz --inplace --delete /home/user/QubesIncoming/heads-tests root@192.168.2.187:/tmp/images/












^Crsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(703) [sender=3.2.3]

@tlaurion
Copy link
Author

@SergiiDmytruk comment on PCR10 still applies at linuxboot/heads#1411 (comment) though

@tlaurion
Copy link
Author

tlaurion commented May 25, 2023

@SergiiDmytruk linuxboot/heads#1411 (comment) PR doesn't include previous fixes, therefore rebooting + my attempts are not successful. Can you rebase?

   ~~https://github.com/osresearch/heads/pull/1411/commits/23075fc05a694af98565da4fe63f2e6b5992b4ed should have been on top of previously tested working fixes please?~~

Sorry. Discussed off channel. Problems with coreboot-git target not being rebuilt. Separate issue.
All good for referred PR.

@pietrushnic
Copy link

pietrushnic commented May 25, 2023

https://trustedcomputinggroup.org/wp-content/uploads/TCG_PCClient_PFP_r1p05_v23_pub.pdf shows in table 1 what should be measured to which PCR. Heads depends on coreboot not being compliant with this specification so I'd say that this script should be modified.

I don't get the conclusion. If Heads doesn't care about specification why try to follow it? If we do follow it in skiboot, need to handle PCR4 in some other way (use a different PCR or store its initial value and use that instead of all zeroes).

One second. Goal is not to drift into noncompliance.

I understand this is off-topic. Sorry for my $0.02. I want to ensure we are on the same page. Any commercial offering in Dasharo (coreboot+Heads) should be as compliant as reasonable. We can be non-compliant only when we have strong evidence that non-compliance gives bigger value to project supporters who vote with resources that keep the open-source ecosystem running. Non-compliance with TCG may lead to higher costs of maintenance and integration of value-added features (e.g., TrenchBoot integration). No matter what we think about certification and compliance programs, those are among the strongest incentives for procurement departments.

@tlaurion
Copy link
Author

Any commercial offering in Dasharo (coreboot+Heads)

I applied fix so that pcr4 and pcr10 ate taken into consideration.

linuxboot/heads@master...tlaurion:heads:Dasharo_fix-tpm_staging

@SergiiDmytruk please cherry-pick what is needed.

@SergiiDmytruk
Copy link
Member

@tlaurion Updated PR which should now build skiboot with PCR separators and Heads with your changes. However, mind that I temporarily can't test anything on Talos (until next week or so, I guess).

Also, PCR10 is updated by Linux, not skiboot, and another way of addressing it is removing/changing:

CONFIG_IMA=y

in configs/linux-talos-2.config. It's meant to measure things used by kernel into PCRs and I think Heads does it already and doesn't expect kernel to interfere.

@tlaurion
Copy link
Author

Also, PCR10 is updated by Linux, not skiboot, and another way of addressing it is removing/changing:

CONFIG_IMA=y

in configs/linux-talos-2.config. It's meant to measure things used by kernel into PCRs and I think Heads does it already and doesn't expect kernel to interfere.

@SergiiDmytruk
Simply confused because

~ # dmesg | grep -i ima
[    0.000000] PCI host bridge /pciex@600c3c0000000 (primary) ranges:
[    4.591409] 0x000003989000-0x0000039c9000 : "IMA_CATALOG"
[    5.003310] ima: Allocated hash algorithm: sha1
[    5.150039] ima: No architecture policies found
~ # ls  /sys/kernel/security/integrity/ima/ascii_runtime_measurements
ls: /sys/kernel/security/integrity/ima/ascii_runtime_measurements: No such file or directory
~ # ls  /sys/kernel/security/
~ # 

@SergiiDmytruk
Copy link
Member

Yes, not exactly obvious, but its a separate pseudo file-system that needs to be mounted there:

mount securityfs /sys/kernel/security/ -t securityfs

@tlaurion
Copy link
Author

tlaurion commented May 26, 2023

Doesn't seem to be really useful under Heads situation.
https://www.usenix.org/legacy/events/sec04/tech/full_papers/sailer/sailer_html/node16.html#sec:arch_validation

linuxboot/heads@6a9e7e2#commitcomment-115172968

~ # cat /sys/kernel/security/ima/ascii_runtime_measurements 
10 c1d0d555befd54add3ea66ca2aea495435c7d2b8 ima-ng sha1:b8a6946296ed2755eda10d1a709b4bf9a3d56fc8 boot_aggregate
~ # /sbin/insmod /lib/modules/usb-storage.ko 
New value of PCR[5]: a88503ab9860996f75f1149fdd55b779715e746a
~ # cat /sys/kernel/security/ima/ascii_runtime_measurements 
10 c1d0d555befd54add3ea66ca2aea495435c7d2b8 ima-ng sha1:b8a6946296ed2755eda10d1a709b4bf9a3d56fc8 boot_aggregate

insmoding is a wrapper around busybox under heads and extends PCR5.
But insmod doesn't imply linux's measure call here, therefore loading kernel modules doesn't change the aggregate.
Not sure adding that into Heads kernel adds any plus value. I see why a final kexec'ed kernel would want to implement this though.

@SergiiDmytruk Additional thoughts?

Otherwise I think there is no reason to re-add securityfs as of now nor consider pcr10 in the sealing/unsealing operations.

tlaurion referenced this issue in linuxboot/heads May 26, 2023
This is unused, remove it.

Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
@SergiiDmytruk
Copy link
Member

I think not enabling IMA is what I'd do, it's enabled only because Raptor's kernel config had it.

@tlaurion
Copy link
Author

Raptor's kernel config had it.

Weird considering no TPM ever worked on Talos II

@SergiiDmytruk
Copy link
Member

Raptor's kernel config had it.

Weird considering no TPM ever worked on Talos II

skiboot has Nuvoton driver, so some TPM worked on OpenPower.

The issue with I2C was due to skiboot using its default for a request timeout when Linux was communicating with the TPM through OPAL I2C. The default is 1ms, which is way too small for a TPM that uses about 2 seconds in coreboot and skiboot when it communicates with TPM directly. I've adjusted device tree to specify the desired timeout and don't see error reports any more.

With all the other patches in place, OTP code seems to be fine and continues to work after a reboot.

@tlaurion
Copy link
Author

tlaurion commented Jun 4, 2023

@SergiiDmytruk stable and without errors on my side! Please use master's .circleci config file and force push and this will be ready for merge.

@krystian-hebel
Copy link

Weird considering no TPM ever worked on Talos II

@tlaurion never worked or never been tried? Can you give the source of that information?

@tlaurion
Copy link
Author

tlaurion commented Jun 4, 2023

Weird considering no TPM ever worked on Talos II

@tlaurion never worked or never been tried? Can you give the source of that information?

@krystian-hebel This is from memory. I would have to dig in the research that was done prior of sticking to the production of the tpm 1.2 module and/or discussions that happened with Timothy on the TPM connector, CPU cycles that were not compliant. 3mdeb might actually have better traces then I do on that matter. I thought it was a known fact that the Talos II board never really had a TPM tested working because it was poorly implemented. It is to remind readers that RaptorEngineering/RaptorSystems are not fond of TPM closed source technologies, which might explain why not much testing was put into TPM support even if OpenPower developped components were supporting them.

Another question would be how difficult would it be to have a TPM2 module variant since Heads evolved since the original scope of Talos II, and could work with those as well if supply chain is easier for TPM2 vs TPM1.2, and that Heads TPM2 implementation enforces encryption with chip for all communications with it, preventing other possible classes of attacks.

@pietrushnic
Copy link

Another question would be how difficult would it be to have a TPM2 module variant since Heads evolved since the original scope of Talos II, and could work with those as well if supply chain is easier for TPM2 vs TPM1.2, and that Heads TPM2 implementation enforces encryption with chip for all communications with it, preventing other possible classes of attacks.

From the perspective of the coreboot port to Talos II, this is pure scope creep, which should be addressed in a different place. We can easily chase Heads for the next three years for what we need more resources. A better decision is to understand what issues we have, which are our initial scope, gather those, evaluate, and find funding. Talos II is not only a POWER9 platform supported by skibook. We can easily imagine IBM hardware that uses TPMs in production—especially knowing their extensive engagement in TPM and IMA in Linux.

@tlaurion
Copy link
Author

tlaurion commented Jun 4, 2023

From the perspective of the coreboot port to Talos II, this is pure scope creep, which should be addressed in a different place. We can easily chase Heads for the next three years for what we need more resources. A better decision is to understand what issues we have, which are our initial scope, gather those, evaluate, and find funding. Talos II is not only a POWER9 platform supported by skibook. We can easily imagine IBM hardware that uses TPMs in production—especially knowing their extensive engagement in TPM and IMA in Linux.

Totally agree. My point was simply to document here what made us decide to create a TPM module since Talos II mainboard could not use available ones.

@krystian-hebel
Copy link

I would have to dig in the research that was done prior of sticking to the production of the tpm 1.2 module and/or discussions that happened with Timothy on the TPM connector, CPU cycles that were not compliant. 3mdeb might actually have better traces then I do on that matter. I thought it was a known fact that the Talos II board never really had a TPM tested working because it was poorly implemented.

I thought it was about that, but it seems there was a misunderstanding. We never said that TPM wasn't supported on Talos II, the only thing we established is that it is impossible to use LPC TPMs due to TPM LPC cycles being (AFAICT) impossible to generate by SoC.

@macpijan
Copy link
Contributor

This issue does not adhere to the standards and was not created using any of the available templates: https://github.com/Dasharo/dasharo-issues/issues/new/choose

It also touches multiple topics, and most of them seems resolved already.

@krystian-hebel will summarize the actual state and describe the expected behavior in heads, which is not there yet (the last missing piece). After PR implementing this is linked here and merged, we will proceed with closing this issue. If there are any more requests to this platform, please create new tickets and clearly describe what the expected / actual behavior was.

@tlaurion
Copy link
Author

tlaurion commented Jun 29, 2023

@macpijan indeed. This issue was opened when TPM was not discovered correctly at boot. Was updated numerous times since then. Issuing cold reboot instead of fast reset was also needed to have TPM have the same measurements on reset to unseal TOTP.

We are at that point.

The next issue still unresolved now is to modify kexec-seal-key and kexec-unseal-key and qubes-measure-luks scripts so that measurements are reflecting a clean boot state. Problem is that on x86 platforms, it was possible to take for granted that some PCRs would be zeroed at boot. This cannot be the case now, since separators are extending pcr 4-7.

It was discussed under heads issue that the way forward would be to replay TCPA log to have expected boot values at time of sealing the disk unlock key, which is the current missing piece to finish Heads TPM support. The extended measurements in PCRs should be used as is to do the unseal operation and the new code should cause no regression on x86 boards. That is, replaying tcpa log on both architectures should reproduce expected state at sealing and unsealing, which should unseal the TPM sealed disk unlock key when provided with the expected passphrase at unseal operation. The unseal operation is expected to fail if the PCRs unmatch, which should only happen if the user went to recovery shell, which extends PCR4, or loaded USB storage drivers etc from other operations done in the boot path. But booting directly to default boot option, typing the TPM nv region disk unlock password should unseal the disk unlock key, construct secret cpio which is then passed to kexec call for the OS to use it.

TLDR: as of today, PCRs are unexpectedly extended on ppc64 bootpath as opposed to x86. Heads seal/unseal key operations should be unified to work for both architectures without causing regression for x86.

@artur-rs artur-rs added this to the Raptor CS Talos II v0.7.0 milestone Jun 30, 2023
@BeataZdunczyk
Copy link
Member

This issue is being continued in issue #475, so I am closing it as a duplicate.

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

8 participants