Troubleshooting Boot Issues with Ubuntu 2204 and TPM
Issue:
Users may encounter boot issues when trying to boot into default mode after turning on their computer running Ubuntu 2204.
Symptoms:
* The system does not boot normally. * The following error message may appear: "Probe of MSFT010100 failed with error -62" when executing the command "dmesg grep tpm_crb."
Cause:
The issue is caused by an ACPI region that does not cover the entire command-response buffer.
Solution:
To resolve this issue, follow these steps:
Step 1: Create a New Kernel Stub
* Boot into the recovery mode. * Mount the root partition. * Create a new kernel stub: ``` cd /boot/ mkdir -p initrd.img-
cp initrd.img- initrd.img- ``` Step 2: Mount the Kernel Stub
* Mount the new kernel stub: ``` mount -o loop initrd.img- /mnt ``` Step 3: Patch the ACPI Table
* Navigate to the directory where the ACPI table is located: ``` cd /mnt/lib/firmware/intel-sound ``` * Edit the "sst-acpi-intel-sound.h" file: ``` vi sst-acpi-intel-sound.h ``` * Find the following code: ``` #define MAX_ACPI_BUF_LENGTH 348 ``` * Replace it with: ``` #define MAX_ACPI_BUF_LENGTH 512 ``` * Save the changes and exit the editor. Step 4: Unmount the Kernel Stub
* Unmount the kernel stub: ``` umount /mnt ``` Step 5: Update the Kernel Stub
* Copy the updated kernel stub to the original directory: ``` cp initrd.img- initrd.img ``` Step 6: Reboot the System
* Reboot the system: ``` reboot ``` Your system should now boot normally into default mode.
Comments