Private bug reported: On Dell PowerEdge system when system is configured with EMR CPU's and Installed with Ubuntu 24.04.3 operating system, Unable to boot Ubuntu 24.04 TD guest image with NVDIA H100 GPU device passthrough.
Steps to Reproduce: - 1. Install Ubuntu 24.04.3 OS. 2. Configure the system with NVDIA H100 GPUs. 3. Clone TDX repository - git clone -b main https://github.com/canonical/tdx.git 4. Run the setup-tdx-host.sh script. root@linux:~## cd tdx root@linux:~## sudo ./setup-tdx-host.sh 5. Reboot the system. 6. Enable TDX settings in the BIOS. 7. Save changes and reboot the system. 8. Boot to TDX kernel and verify TDX on host os. root@linux:~# dmesg | grep -i tdx [ 1.237520] virt/tdx: BIOS enabled: private KeyID range [32, 64) [ 1.237523] virt/tdx: Disable ACPI S3. Turn off TDX in the BIOS to use ACPI S3. [ 11.010322] virt/tdx: TDX module: attributes 0x0, vendor_id 0x8086, major_version 1, minor_version 5, build_date 20241203, build_num 849 [ 11.010326] virt/tdx: CMR: [0x100000, 0x77800000) [ 11.010328] virt/tdx: CMR: [0x100000000, 0x1ffe000000) [ 11.010329] virt/tdx: CMR: [0x2080000000, 0x4000000000) [ 11.919176] virt/tdx: 1034220 KB allocated for PAMT [ 11.919181] virt/tdx: module initialized root@linux:~# uname -r 6.8.0-1028-intel 7. Create Ubuntu 24.04 TD image root@linux:~#cd tdx/guest-tools/image/ root@linux:~# sudo ./create-td-image.sh -v 24.04 8. To see the list of GPUs on your plaform,run: root@linux:~# sudo gpu-cc/h100/setup-gpus.sh ================================ List of NVidia GPUs (PCI BDFs): 0000:4e:00.0 0000:5f:00.0 0000:cb:00.0 0000:db:00.0 ================================ 9.Enable NVIDIA GPU H100 Support i) To install NVIDIA drivers in the TD image, set the configuration variable TDX_SETUP_NVIDIA_H100 to 1. ii) set the configuration variable TDX_SETUP_APPS_OLLAMA to tell create-td-image.sh to install and configure ollama. 10. Run TD with GPUs root@linux:~#. /guest-tools/run_td --image=<path_to_24.04_image> --gpus=0000:4e:00.0,0000:5f:00.0, 0000:cb:00.0,0000:db:00.0 The following error has been occured while booting TG guest with NVDIA H100. qemu-system-x86_64: -object iommufd,id=iommufd0: Parameter 'qom-type' does not accept value 'iommufd' Expected Results: - Ubuntu 24.04 TD guest should boot with NVIDIA H100 GPU Device pass-through. Actual Results: - Unable to Boot Ubuntu 24.04 TD Guest with NVDIA H100 Device passthrough. The following error has seen. qemu-system-x86_64: -object iommufd,id=iommufd0: Parameter 'qom-type' does not accept value 'iommufd' ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Information type changed from Public to Private -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2121338 Title: [Ubuntu 24.04.3 BUG] Unable to boot Ubuntu 24.04 TDX guest with NVIDIA H100 GPU passthrough. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2121338/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
