** Description changed: Ubuntu 24.04 boots slowly when TPM is enabled on VMware Workstation. + My Ubuntu is booted from GRUB. ## Environment - I saw this problem with the following VMware Workstation version. + I saw this problem with the following VMware Workstation version. - Pro 17.5.2 - Pro 17.6.4 Other versions are not tested. I encountered this issue with the following distribution. - Ubuntu 24.04 - Ubuntu 22.04 Not only the installed image, but also the ISO image causes this problem. ## Details Without TPM, Ubuntu boots smoothly on the VMware Workstation ( The firmware is EFI ). There is no problem. When the TPM is enabled, the Linux kernel adds several tens of seconds to boot. This additional duration is before the syslog message. That means I can not see any delay from the dmesg, while it is delayed. By a quick investigation, I found that this delay happens during the EFI stub. I could see the following messages while waiting for the kernel to start. ``` EFl stub: WARNING: Failed to measure data for event 1: 0x800000000000000b EFI stub: Loaded initrd from Linux_EFI_INITRD_MEDIA_GUID device path - ``` + ``` I have a Fujitsu Laptop PC which runs Kubuntu. While it has EFI/TPM, I don't have such a problem. ## Expected behavior Linux kernel runs smoothly while TPM is available on the VMware Workstation Pro 17.x. ## Workaround By turning TPM off, this problem disappears. Unfortunately, this is not helpful because I am testing the Dual boot of Ubuntu and Windows 11 on VMware. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: linux-image-6.8.0-64-generic 6.8.0-64.67 ProcVersionSignature: Ubuntu 6.8.0-64.67-generic 6.8.12 Uname: Linux 6.8.0-64-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version k6.8.0-64-generic. AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.28.1-0ubuntu3.8 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/midiC0D0', '/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CRDA: N/A Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer' Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer' CasperMD5CheckResult: pass CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read kernel buffer failed: Operation not permitted Date: Sat Jul 26 12:52:01 2025 InstallationDate: Installed on 2025-07-25 (1 days ago) InstallationMedia: Ubuntu-Server 24.04 LTS "Noble Numbat" - Release amd64 (20240423) IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lsusb: - Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub - Bus 001 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse - Bus 001 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub - Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub + Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub + Bus 001 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse + Bus 001 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub + Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Lsusb-t: - /: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=uhci_hcd/2p, 12M - |__ Port 001: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid, 12M - |__ Port 002: Dev 003, If 0, Class=Hub, Driver=hub/7p, 12M - /: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=ehci-pci/6p, 480M + /: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=uhci_hcd/2p, 12M + |__ Port 001: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid, 12M + |__ Port 002: Dev 003, If 0, Class=Hub, Driver=hub/7p, 12M + /: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=ehci-pci/6p, 480M MachineType: VMware, Inc. VMware20,1 ProcEnviron: - LANG=en_US.UTF-8 - PATH=(custom, no user) - SHELL=/bin/bash - TERM=xterm-256color + LANG=en_US.UTF-8 + PATH=(custom, no user) + SHELL=/bin/bash + TERM=xterm-256color ProcFB: 0 vmwgfxdrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.8.0-64-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro RelatedPackageVersions: - linux-restricted-modules-6.8.0-64-generic N/A - linux-backports-modules-6.8.0-64-generic N/A - linux-firmware 20240318.git3b128b60-0ubuntu2.14 + linux-restricted-modules-6.8.0-64-generic N/A + linux-backports-modules-6.8.0-64-generic N/A + linux-firmware 20240318.git3b128b60-0ubuntu2.14 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) acpidump: - + dmi.bios.date: 06/04/2024 dmi.bios.vendor: VMware, Inc. dmi.bios.version: VMW201.00V.24006586.B64.2406042154 dmi.board.name: 440BX Desktop Reference Platform dmi.board.vendor: Intel Corporation dmi.board.version: None dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 1 dmi.chassis.vendor: No Enclosure dmi.chassis.version: N/A dmi.modalias: dmi:bvnVMware,Inc.:bvrVMW201.00V.24006586.B64.2406042154:bd06/04/2024:svnVMware,Inc.:pnVMware20,1:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1:cvrN/A:sku: dmi.product.name: VMware20,1 dmi.product.version: None dmi.sys.vendor: VMware, Inc.
** Description changed: Ubuntu 24.04 boots slowly when TPM is enabled on VMware Workstation. - My Ubuntu is booted from GRUB. ## Environment I saw this problem with the following VMware Workstation version. - Pro 17.5.2 - Pro 17.6.4 Other versions are not tested. I encountered this issue with the following distribution. - Ubuntu 24.04 - Ubuntu 22.04 - Not only the installed image, but also the ISO image causes this - problem. + Not only the installed image, but also the ISO image causes this problem. + My Ubuntu is booted from GRUB. ## Details Without TPM, Ubuntu boots smoothly on the VMware Workstation ( The firmware is EFI ). There is no problem. When the TPM is enabled, the Linux kernel adds several tens of seconds to boot. This additional duration is before the syslog message. That means I can not see any delay from the dmesg, while it is delayed. By a quick investigation, I found that this delay happens during the EFI stub. I could see the following messages while waiting for the kernel to start. ``` EFl stub: WARNING: Failed to measure data for event 1: 0x800000000000000b EFI stub: Loaded initrd from Linux_EFI_INITRD_MEDIA_GUID device path ``` I have a Fujitsu Laptop PC which runs Kubuntu. While it has EFI/TPM, I don't have such a problem. ## Expected behavior Linux kernel runs smoothly while TPM is available on the VMware Workstation Pro 17.x. ## Workaround By turning TPM off, this problem disappears. Unfortunately, this is not helpful because I am testing the Dual boot of Ubuntu and Windows 11 on VMware. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: linux-image-6.8.0-64-generic 6.8.0-64.67 ProcVersionSignature: Ubuntu 6.8.0-64.67-generic 6.8.12 Uname: Linux 6.8.0-64-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version k6.8.0-64-generic. AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.28.1-0ubuntu3.8 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/midiC0D0', '/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CRDA: N/A Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer' Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer' CasperMD5CheckResult: pass CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read kernel buffer failed: Operation not permitted Date: Sat Jul 26 12:52:01 2025 InstallationDate: Installed on 2025-07-25 (1 days ago) InstallationMedia: Ubuntu-Server 24.04 LTS "Noble Numbat" - Release amd64 (20240423) IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse Bus 001 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Lsusb-t: /: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=uhci_hcd/2p, 12M |__ Port 001: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid, 12M |__ Port 002: Dev 003, If 0, Class=Hub, Driver=hub/7p, 12M /: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=ehci-pci/6p, 480M MachineType: VMware, Inc. VMware20,1 ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color ProcFB: 0 vmwgfxdrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.8.0-64-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro RelatedPackageVersions: linux-restricted-modules-6.8.0-64-generic N/A linux-backports-modules-6.8.0-64-generic N/A linux-firmware 20240318.git3b128b60-0ubuntu2.14 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) acpidump: dmi.bios.date: 06/04/2024 dmi.bios.vendor: VMware, Inc. dmi.bios.version: VMW201.00V.24006586.B64.2406042154 dmi.board.name: 440BX Desktop Reference Platform dmi.board.vendor: Intel Corporation dmi.board.version: None dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 1 dmi.chassis.vendor: No Enclosure dmi.chassis.version: N/A dmi.modalias: dmi:bvnVMware,Inc.:bvrVMW201.00V.24006586.B64.2406042154:bd06/04/2024:svnVMware,Inc.:pnVMware20,1:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1:cvrN/A:sku: dmi.product.name: VMware20,1 dmi.product.version: None dmi.sys.vendor: VMware, Inc. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2118825 Title: Booting is slower when TPM is enabled on VMware Workstation. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2118825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs