Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 175326

the UMDF driver Serial port with VMware ® Workstation 9.0.2 build-1031769

$
0
0

Good day!

Discovered the inaccuracy of the UMDF driver Serial port with VMware ® Workstation 9.0.2 build-1031769.

Two times  I asked for a help and did not get it from VMware.

Analysis of this problem showed incompatibility UMDF driver COM port the core operating system with VMware ® Workstation.

APIMonitor shows that the process vmware-vmx.exe opens the serial ports in asynchronous mode.

My virtual serial port driver is written using UMDF.

IRP packets are executed with status STATUS_PENDING.

http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/9ae60803-99e0-400b-9a1b-c5931e0a211e/umdf-virtual-serial-port-waitonmask-and-statuspending

I analyzed the order of calls VMware:

  1. 1. WaitCommEvent
  2. 2. WaitForSingleObject
  3. 3. GetOverlappedResult
  4. 4. ReadFile
  5. 5. GetLastError

When using the standard KMDF serial port driver GetLastError does not return an error.

When using UMDF virtual serial port driver GetLastError returns an error ERROR_IO_PENDING.

http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/54bd7a91-43df-4af0-a74d-acd4379070c1/readfile-always-fails-…

In this case, the guest operating system displays the message "Serial0: Unable to read from the" COM X "serial port: Overlapped I / O operation is in progress".

This makes it impossible to use a virtual serial port can connect to the VMware ® Workstation.

Is there a solution of this problem by VMware?

 

Here I attached logs Monitor AP (WinAPIOverride64.exe)I. It is obvious that the function readfile in the kernel mode driver is executed successfully, and the user - with an error.

 

I look forward to hearing from you

Yours sincerely,

Artem Timofeev


Viewing all articles
Browse latest Browse all 175326

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>