Is this bug a regression? Did this issue start happening after a
specific update/upgrade? Was there a prior kernel version where you were
not having this particular problem?
** Changed in: linux (Ubuntu)
Status: New => Triaged
** Changed in: linux (Ubuntu)
Assignee: (unassigned) => Canonical Kernel Team (canonical-kernel-team)
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2118825
Title:
Booting is slower when TPM is enabled on VMware Workstation.
Status in linux package in Ubuntu:
Triaged
Bug description:
Ubuntu 24.04 boots slowly when TPM is enabled on VMware Workstation.
## 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 Ubuntu, but also the installer ISO images cause this
problem.
My installed Ubuntu is booted from GRUB.
## Details
Without TPM, Ubuntu boots smoothly on 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.
## How to reproduce
1. Set up a VM with TPM on the VMware Workstation 17.6.4 (I am using it on
Windows 11).
2. Bring either ubuntu-24.04-live-server-amd64.iso or
ubuntu-24.04.2-desktop-amd64.iso as boot disc.
3. Boot from ISO.
The time difference between booting with/without TPM is about 1
minute.
## 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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2118825/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp