ESXi host PSODs when an ISO is mounted/unmounted from host management console (KVM, etc.)
search cancel

ESXi host PSODs when an ISO is mounted/unmounted from host management console (KVM, etc.)

book

Article ID: 370702

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

When an ISO is mounted as a virtual cd-rom to an ESXi host within the sever management console (e.g. KVM) and the browser is closed without unmounting the ISO, the host might generate a PSOD with backtrace similar to:" 

[email protected]
[email protected]
SCSIIssueAdapterTaskMgmt@vmkernel
vmk_ScsiIssuePathTaskMgmt@vmkernel
PsaScsiPathTimeoutHandlerFn@vmkernel
PsaStorPathTimeoutHandlerFn@vmkernel
PsaStorTaskMgmtWorldFunc@vmkernel
CpuSched_StartWorld@vmkernel
Debug_IsInitialized@vmkernel

"PSOD may be triggered when an attempt is made subsequently to unmount the ISO."  

In vmkwarning logs prior to PSOD, we also observe state in doubt warnings" to "In /var/log/vmkwarning.log prior to the PSOD, we also observe state in doubt warnings on the paths to the CD-ROM device:

WARNING: NMP: nmp_DeviceRequestFastDeviceProbe:237: NMP device "mpx.vmhba32:C0:T0:L0" state in doubt; requested fast path state update...
WARNING: NMP: nmp_DeviceRequestFastDeviceProbe:237: NMP device "mpx.vmhba32:C0:T0:L0" state in doubt; requested fast path state update...
WARNING: NMP: nmp_DeviceRequestFastDeviceProbe:237: NMP device "mpx.vmhba32:C0:T0:L0" state in doubt; requested fast path state update...

Environment

 VMware vSphere ESXi 7.0

Cause

When an ISO is still mounted and browser to KVM is closed, this will start to generate failed commands and a PSOD may be triggered. 

Resolution

Resolved in 7.0 patch 09

Workaround: Unmount ISO before closing browser window for the remote console. 

 

Additional Information

In some cases, better command handling relating to the CD-ROM is achieved by setting an advanced parameter as follows:

# esxcli system settings advanced set -o /USB/quirks -s "0x0b1f:0x03ea:1:0xffff:UQ_MSC_NO_INQUIRY:0x0b1f:0x03ea:1,0xffff:UQ_MSC_IGNORE_TEST_UNIT_READY:0x0b1f:0x03ea:1,0xffff:UQ_MSC_NO_INQUIRY_EVPD"

A host reboot is needed to make he setting change effective.