1 2 3 Previous Next 30 Replies Latest reply on Apr 4, 2020 5:24 PM by nkaufman Go to original post
      • 15. Re: VMWare Pro 15 Stalls when External USB is connected to Host
        bonnie201110141 Expert
        VMware Employees

        We found that when running the VM without GUI (i.e. using command line), the freeze might be caused by tools in the guest operating system. Can you please uninstall vmware tools in guest and try again? Thanks a lot!

        • 16. Re: VMWare Pro 15 Stalls when External USB is connected to Host
          woolie161 Novice

          Hi Bonnie201110141,

               I have un-Installed VMTools from the Guest and disabled the "VMWare Workstation Service", I have then restarted the Guest without the GUI.

          The External USB Drive was attached at 17:56:00 (24Hr time)

          The Guest and Windows Explorer started responding at 17:56:44

           

          Freeze time was 44 seconds.

           

          I have attached the log files.

           

          I hope this is the information you requested.

           

          Once again Thank you for you support with this issue.

           

          Woolie161

          • 17. Re: VMWare Pro 15 Stalls when External USB is connected to Host
            bonnie201110141 Expert
            VMware Employees

            Sorry, before running the VM, we still need below options added in .vmx file:

             

            vmx.buildType=debug

            loglevel.user.main = 10

            loglevel.user.vigor = 10

            loglevel.user.usb = 10

             

            Thanks!

            • 18. Re: VMWare Pro 15 Stalls when External USB is connected to Host
              woolie161 Novice

              Hello Bonnie201110141,

              As requested, I have attached the appropriate files.

              The extra logging lines you requested to add into the ".vmx" file, already existed from the previous time you ask.

              I moved the extra lines to the end of the ".vmx" file and saved the file.

              The VMWare Workstation server was disabled and VMTools was removed before I started the VM from "Command Prompt.

               

              Hopefully I managed to recored the infomation you are looking for.

               

              External USB Drive added at  18:04:00 (24Hr Time)

              System unfroze at 18:05:02

                Total Time 1 Minute & 2 Seconds.

               

              Woolie 161

              • 19. Re: VMWare Pro 15 Stalls when External USB is connected to Host
                bonnie201110141 Expert
                VMware Employees

                Hi,

                 

                Attached is an instrumented build. Can you please do the following?

                0. Replace the C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx-debug.exe with the attached one.

                1. Stop service VMwareHostd. Make sure it is kept stopped before the final step.

                2. add

                vmx.buildType=debug

                loglevel.user.main = 10

                loglevel.user.vigor = 10

                loglevel.user.usb = 10

                to the VM's .vmx config file.

                3. Boot VM via administrator account with command

                "C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx-debug.exe" "-x" "-s" "vmx.stdio.keep=TRUE" "-#" "product=1;name=VMware Workstation;version=15.5.0;buildnumber=14665864;licensename=VMware Workstation;licenseversion=15.0+;" "D:\_VirtualMachines\Rockwell_V32_Win7x64\Rockwell_V32_Win7x64.vmx"

                3. Plug in the device, and record the exact device plug in time and the time of freeze stop.

                4. After reproduced, please return the usbarb and vmware.log together.

                • 20. Re: VMWare Pro 15 Stalls when External USB is connected to Host
                  woolie161 Novice

                  Hello Bonnie201110141,   I have completed the tasks as requested and the log files are attached.

                  The External USB Drive was connected at              04:29:00 (24Hr Time)

                  Windows Explorer / Virtual Machine "un-froze" at    04:39:55

                                                                                     Time Frozen = 55 Seconds

                   

                  Once again I appreciate your help and persistance.

                  Woolie 161

                  • 21. Re: VMWare Pro 15 Stalls when External USB is connected to Host
                    bonnie201110141 Expert
                    VMware Employees

                    Thanks for your quick response! And sorry for having you try this and that.

                     

                    We are still investigating this issue. Will you please give it another try?

                     

                    I attached a zip file which contains two vmware-vmx-debug.exe binary and one vc runtime debug dll.

                     

                    0. copy vcruntime140d.dll to C:\Program Files (x86)\VMware\VMware Workstation\x64\

                     

                    1. Please replace C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx-debug.exe with vmware-vmx-debug_0.exe (please rename it to the correct name). Let us know if the problem persists. Logs are not needed for this try.

                     

                    2. Replace the C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx-debug.exe with vmware-vmx-debug_1.exe (please also change the name to the correct one). Then do the followings:

                    1). Stop service VMwareHostd. Make sure it is kept stopped before the final step.

                    2). add

                    vmx.buildType=debug

                    loglevel.user.main = 10

                    loglevel.user.vigor = 10

                    loglevel.user.usb = 10

                    to the VM's .vmx config file.

                    3). Boot VM via administrator account with command

                    "C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx-debug.exe" "-x" "-s" "vmx.stdio.keep=TRUE" "-#" "product=1;name=VMware Workstation;version=15.5.0;buildnumber=14665864;licensename=VMware Workstation;licenseversion=15.0+;" "D:\_VirtualMachines\Rockwell_V32_Win7x64\Rockwell_V32_Win7x64.vmx"

                    3). Plug in the device, and record the exact device plug in time and the time of freeze stop.

                    4). After reproduced, please return the usbarb and vmware.log together.

                    • 22. Re: VMWare Pro 15 Stalls when External USB is connected to Host
                      woolie161 Novice

                      Hello Bonnie201110141,

                              I have attempted to comply with your last request.  I have pasted the new ".dll" file and I have coppied / renamed the Debug_0 file into the VMWare Workstation config file.

                      I booted the VM using the standard GUI.  Following is the result

                       

                      Debug_0.exe         The External USB was connected at 13:57:00 (24Hr Time)

                                                     Windows explorer "Un-Froze"     at 13:58:12

                                                                                   Total Time  1 Minute 12 Seconds

                       

                      I then pasted / renamed the Debug_1 file into the Config file, but when I tried to start the VM from the Command Prompt, an error message was received.  I have attached a screen grab, showing the error message.

                       

                      I think I have followed the test procedure as per your instruction, so I am unsure if it is your "Debug_1.exe" code causing the error or something I have done.

                      In saying that, I have since manage to start the VM using the original "Debug" file and your other file "Debug_0"

                       

                      Thank you for your continued interest with this issue.

                       

                      Woolie 161

                       

                      • 23. Re: VMWare Pro 15 Stalls when External USB is connected to Host
                        GeorgeGa Lurker
                        VMware Employees

                        Hi woolie161,

                         

                        Could you please try debug_0.exe with the steps for debug_1.exe and return the logs if issue persisted? No need to collect logs if not reproduced. Thanks.

                        • 24. Re: VMWare Pro 15 Stalls when External USB is connected to Host
                          woolie161 Novice

                          Hi GeorgeGa,

                                      It must be something I'm doing.  I replaced the original "debug.exe" with "Debug_0.exe" and now when I try to start using command prompt the same error is reported as when I tried "Debud_1.exe".  If I restore the original "Debug.exe" the VM will start as normal.  I have even downloaded the ".zip" file supplied and attempted to start the VM with both the "Debug_0 & Debug_1"

                          files with the same error about not finding the "ucrtbased.dll" file.  see attached screen grab.

                          • 25. Re: VMWare Pro 15 Stalls when External USB is connected to Host
                            GeorgeGa Lurker
                            VMware Employees

                            Thanks woolie161.

                            The issue is hard to debug without opening verbose debug log level from vmx side. Unfortunately we could not deliver binaries compiled with debug log level opened according to company policy. Till now, all logs show no suspicious clue in vmx. Since the issue is specific to one env, we couldn't do more without the env. As the last try, you could uninstall other softwares to make the env clean and try again. Some conflicts may exist between ws and others.

                            We are also letting UI engineers check the logs. If still no more clues, we would stop working on this issue unless the laptop could be ship to us. Very sorry for that.

                            • 26. Re: VMWare Pro 15 Stalls when External USB is connected to Host
                              haiweiz Enthusiast
                              VMware Employees

                              Hi, woolie161:

                               

                              Thanks your support, most likely this issue is caused by some locks, would you mind try to collect the crash dump for us to continue?

                              After you reproduce this issue, during the UI and VMX hang, open task manager, go to "details" tab, find the vmware-vmx and vmware process, right click the process name (vmware-vmx and vmware), select "create dump file". The generated dump file locate %temp%\vmware.dmp and %temp%\vmware-vmx.dmp.

                              Please upload them to us for next step.

                               

                              Thanks.

                              • 27. Re: VMWare Pro 15 Stalls when External USB is connected to Host
                                nkaufman Novice

                                Didn't want to contaminate this thread and hence have just been watching.

                                 

                                Now that you seem to be giving up, I thought I'd let you know that I've been experiencing something similar, see my post mentioned below

                                 

                                WS15.5 VM crashes on resume

                                 

                                Thanks

                                • 28. Re: VMWare Pro 15 Stalls when External USB is connected to Host
                                  nkaufman Novice

                                  OP - Can you check what option is selected under

                                   

                                  VM - > Manage -> Change Hardware Compatability

                                   

                                  Click on Next on First Screen and in the first dropdown select 15.5 and then you can select the options that suit you such as 'Clone first' and then apply.

                                   

                                   

                                  After having done that, my VM BSOD from resume has disappeared ever since, though it has been only a few days but not ONE BSOD.

                                  • 29. Re: VMWare Pro 15 Stalls when External USB is connected to Host
                                    woolie161 Novice

                                    Hello nkaufman,

                                              Thanks for taking an interest.  I have sort of given up.  I know it is a big question for support to correct remotely and I appreciate the time and effort that they offered.

                                    Currently the compatibility is set to "Workstation 15.x" as I don't have an option to enter "15.5".  I also have the USB option set to "Connect to Host" but I have tried all 3 USB options with no success.

                                    My issue seems to be related to Windows 10 as I tried inserting a USB Thumb drive on my old Win 7 Laptop with no issues.  I am reluctant to update Win 10 to the latest version due to issues with some of the industrial software I run.

                                    Again thanks for making contact and if I find a solution I'll definitely Woolie