4 Replies Latest reply on Jul 4, 2018 5:12 AM by JMartinUS

    How do I log trap info with Fusion 10?

    JMartinUS Novice

      When booting a VM under Fusion 10, I suspect the guest OS is

      triggering a triple fault early in boot.  Is there a way to log trap

      info (fault address/CR2 and fault IP)?

        • 1. Re: How do I log trap info with Fusion 10?
          wila Guru
          vExpertUser ModeratorsCommunity Warriors

          Hi,

           

          Did you check the vmware.log in the VM's folder?

          That's usually the first thing to look at.

           

          --

          Wil

          | Author of Vimalin. The virtual machine Backup app for VMware Desktop Products
          | Vimalin : Automated backups for VMware Fusion and VMware Workstation Professional
          | More info at https://www.vimalin.com
          | Twitter @wilva
          | VMware Wiki at http://www.vi-toolkit.com
          • 2. Re: How do I log trap info with Fusion 10?
            JMartinUS Novice

            What I see in the log for the triple fault

             

            2018-07-02T07:40:02.464-05:00| vcpu-1| I125+ ------MONITOR RING BUFFER START(entries=256, indexUnwrapped 30 entrySz=64)-----

            2018-07-02T07:40:02.464-05:00| vcpu-1| I125: 029 --- CS:XIP 0008 00040093 SS:XSP 4000 00040fec #TRIPLE             000d CPL0 PROT 64-bit fluff=0000

            2018-07-02T07:40:02.464-05:00| vcpu-1| I125: 028 --- CS:XIP 0008 00040093 SS:XSP 4000 00040fec NESTED #GP error=   0042 CPL0 PROT 64-bit fluff=0000

            2018-07-02T07:40:02.464-05:00| vcpu-1| I125: 027 --- CS:XIP 0008 00040093 SS:XSP 4000 00040fec #DF                 000d CPL0 PROT 64-bit fluff=0000

            2018-07-02T07:40:02.464-05:00| vcpu-1| I125: 026 --- CS:XIP 0008 00040093 SS:XSP 4000 00040fec NESTED #GP error=   0072 CPL0 PROT 64-bit fluff=0000

            2018-07-02T07:40:02.464-05:00| vcpu-1| I125: 025 --- CS:XIP 0008 00040093 SS:XSP 4000 00040fec #PF addr=           ffffe08080211030 CPL0 PROT 64-bit fluff=0000

            2018-07-02T07:40:02.465-05:00| vcpu-1| I125: 024 --- CS:XIP 0008 00040093 SS:XSP 4000 00040fec FAR RETURN EXC=     000e CPL0 PROT 64-bit fluff=0000

            2018-07-02T07:40:02.465-05:00| vcpu-1| I125: 023 --- CS:XIP 4010 fffffffffc091060 SS:XSP 4018 fffffffffc4079a8 excNum 00e eflags 00010202 errCode 0000 la 9807f1c3010

            2018-07-02T07:40:02.465-05:00| vcpu-1| I125: 022 --- CS:XIP 0008 00040093 SS:XSP 4000 00040fec FAR RETURN  PRE frameSize=0000 CPL0 PROT 64-bit fluff=0004

            2018-07-02T07:40:02.465-05:00| vcpu-1| I125: 021 --- CS:XIP 4010 fffffffffc0771a5 SS:XSP 4018 fffffffffc407440 excNum 00e eflags 00010202 errCode 0000 la 98000040016

            2018-07-02T07:40:02.465-05:00| vcpu-1| I125: 020 --- CS:XIP 4010 fffffffffc0771a5 SS:XSP 4018 fffffffffc407b50 excNum 00e eflags 00010202 errCode 0000 la 980000f6204

            2018-07-02T07:40:02.465-05:00| vcpu-1| I125: 019 --- CS:XIP 4010 fffffffffc0771a5 SS:XSP 4018 fffffffffc407b50 excNum 00e eflags 00010202 errCode 0000 la 980000f6204

            ....

             

            For the triple fault, is fffffffffc091060 the instruction that triggered the first fault?

             

            • 3. Re: How do I log trap info with Fusion 10?
              wila Guru
              Community WarriorsvExpertUser Moderators

              Hi,

               

              Sorry, when you said IP I thought you meant IP-address, not Instruction Pointer.

               

              You are not mentioning your guest OS, but you can remotely debug crashes if you have debug symbols of that OS.

               

              See: A Power User's Guide to VMware Fusion

              Near the end it explains how-to setup a GDB server so you can remotely debug.

               

              It's an old article, so hopefully it is still accurate.

               

              Unfortunately I have not dabbled with this myself.

               

              Is this a publicly available operating system or is this something specific that you want to debug at a level like this?

              Perhaps there is another solution, but with the current information that you gave it is pretty hard to give other options.

              --

              Wil

              | Author of Vimalin. The virtual machine Backup app for VMware Desktop Products
              | Vimalin : Automated backups for VMware Fusion and VMware Workstation Professional
              | More info at https://www.vimalin.com
              | Twitter @wilva
              | VMware Wiki at http://www.vi-toolkit.com
              • 4. Re: How do I log trap info with Fusion 10?
                JMartinUS Novice

                The instruction pointer from the log gave me enough information

                to track down the problem.  Thanks.