VMware Cloud Community
nystudent
Contributor
Contributor

dma_mapper_iommu loaded successfully stuck after ESXI 6.7 U1 update

The machine just hangs at this point. Web UI and ssh is still available.

8 Replies
pwognakou
Contributor
Contributor

I had this happen when I set passthrough on a graphic device that was being used on one of my VMs. Once I booted the VM that used the graphics card the screen changed. You might check what PCI devices you have set to passthrough and disable one at a time to identify the culprit.

For others that don't have a Web UI and cant SSH. This is one way to disable ESXi passthrough devices.

1. Boot with a debian or ubuntu live cd

List your drives / partitioned: Open a terminal window

2. type parted -l

Mine was sda5

3. mount /dev/sda5 /mnt

4. ls /mnt/

5. cp /mnt/state.tgz ~/

6. cd ~

7. tar xvf state.tgz

8. tar xvf local.tgz

So, you get an etc folder now. Go to /etc/vmware

9. nano esx.conf

10. Find /device/<PCI_ID>/owner = "passthru".

Replace passthru with vmkernel.

11. Save the file

Now let’s copy the file back to the mount point, but first we have to recreate the archive.

12. tar czf local.tgz etc/

13. tar czf state.tgz local.tgz

14. sudo cp state.tgz /mnt/

15. reboot

https://vitux.com/how-to-edit-config-files-in-ubuntu/

Ankhbayar
Contributor
Contributor

Thank you. You saved me.

0 Kudos
louij2
Enthusiast
Enthusiast

Hi

I am trying to find anything to do with pci devices in my config and I do not have anything but I know I should as I tried to passthrough devices and now it fails to boot

0 Kudos
nystudent
Contributor
Contributor

ultimately i disabled the pass through for my GPU cards, but whenever i enable passthrough i still get the message.

in my scenario, i can still access the web management console for the server. (this allowed me to disable pass through). however, i never got a real answer as to why this is happening

0 Kudos
markcwilson
Contributor
Contributor

This was a big help to me. However I had vmfs 6.0 volumes so I couldn't use the Linux or Windows tools to mount the VMFS volumes.

Instead I created a new ESXi host using a USB drive. Using that I was able to find the volume that contained state.tgz and I then followed the instructions provided here to edit /etc/vmware/esx.conf. I used /tmp to untar, edit and re-tar the archive.

This advice was helpful in mounting the datastores: http://woshub.com/how-to-access-vmfs-datastore-from-linux-windows/

I used SSH to access the ESXi shell.

Cheers Smiley Happy

0 Kudos
nystudent
Contributor
Contributor

it appears this message lacks so much guidance that it can be related to a bunch of different issues.

wonder if we will get someone from VMware to chime in to offer advice and additional guidance

0 Kudos
JaiMehta
Contributor
Contributor

Have a similar issue. But the server has Basic inbuilt Matrox Video Embedded.

If disabling GPU Passthrough fixes, then how do we disable it on Esxi host, and is dma_mapper_iommu loaded successfully.Related only to GPU or it has something to do with OS as well.

Please assist.

0 Kudos
GigiPX
Contributor
Contributor

Hi, after point 8, unfortunately I can't find the etc / vmware folder anywhere. where could i find it? i'm operated on a Ubuntu 20.04 live CD

0 Kudos