<div dir="ltr"><div><div><div>Vasily,<br><br></div>Thanks!<br><br></div>I installed Linux as host on my MAC and created a debug build for VirtualBox on Linux. I have been able to turn on the required logs.<br><br></div><div>
Regards,</div>Quaizar<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 12, 2013 at 5:14 AM, Vasily Levchenko <span dir="ltr"><<a href="mailto:vasily.levchenko@oracle.com" target="_blank">vasily.levchenko@oracle.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Quaizar, </div><div><br></div><div><br></div>Note:<div>As Alexander has mentioned already there're no documented way to build VirtualBox on ML (the crash will be at runtime), but you can use as hint </div>
<div><br></div><div><a href="https://trac.macports.org/browser/trunk/dports/emulators/virtualbox/files" target="_blank">https://trac.macports.org/browser/trunk/dports/emulators/virtualbox/files</a></div><div>patch-apple-gcc42.diff</div>
<div>and patch-build.diff</div><div><div class="h5"><div>   <br><div><div>On Jul 11, 2013, at 7:24 PM, Quaizar Vohra <<a href="mailto:quaizar.vohra@gmail.com" target="_blank">quaizar.vohra@gmail.com</a>> wrote:</div>
<br><blockquote type="cite"><div dir="ltr">Ramshankar,<div><br></div><div>Thanks! </div><div><br></div><div>I am running a release build and not a debug build</div><div><br></div><div>Given that my MAC is running OSX mountain lion I am not able to create a debug build. Do you guys have any URL where I can get a debug build from? Or any suggestions how to get one for  mountain-lion.</div>

<div><br></div><div>Do you need a debug build for all debug logs. I have not been able to see any logs even with</div><div>VBOX_LOG=+all on my MAC?</div><div><br></div><div>Thanks,</div><div>
Quaizar</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 11, 2013 at 5:27 AM, Ramshankar <span dir="ltr"><<a href="mailto:ramshankar.venkataraman@oracle.com" target="_blank">ramshankar.venkataraman@oracle.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi Quaizar,<br>
    <br>
    Since you did not explicitly mention it, are you using a debug build
    or a release build? You need a debug build of VirtualBox for this
    level of logging.<br>
    <br>
    <br>
    Regards,<br>
    Ram.<div><div><br>
    <br>
    <br>
    On 07/11/13 05:39 AM, Quaizar Vohra wrote:
    </div></div><blockquote type="cite"><div><div>
      <div dir="ltr">Haven't received any response. Would greatly
        appreciate any help or hints on this. 
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Quaizar</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Sat, Jul 6, 2013 at 9:20 AM, Quaizar
          Vohra <span dir="ltr"><<a href="mailto:quaizar.vohra@gmail.com" target="_blank">quaizar.vohra@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">I am trying to turn on logging for operations
              in VD.cpp & VMDK.cpp. I have tried several options
              with no success.
              <div>
                <br>
              </div>
              <div>I am on OS X host running Mountain Lion.</div>
              <div><br>
              </div>
              <div>I have tried turning on the logs by setting the env
                variables and starting VirtualBox client manually from
                the same shell (which starts VBoxSvc as well) followed
                by VirtualBoxVM also from the same shell. Here is what I
                have tried.</div>
              <div><br>
              </div>
              <div>
                <div>qvs-MacBook-Pro:Logs qv$ env | grep VB</div>
                <div>VBOX_LOG_FLAGS=time tid thread</div>
                <div>VBOX_LOG=+main.e.l.f+defualt.e.l.f+VD.e.l.f+VD_VMDK.e.l.f</div>
                <div>qvs-MacBook-Pro:Logs qv$ VirtualBox &</div>
                <div>[1] 3175</div>
                <div>qvs-MacBook-Pro:Logs qv$
                  /Applications/VirtualBox.app/Contents/MacOS/../Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM
                  --comment ubuntu-gnome-13.04 --startvm
                  0daa22b1-4869-4173-bc36-64ee3a558841
                  --no-startvm-errormsgbox &</div>
                <div>[2] 3180</div>
                <div><br>
                </div>
                <div><br>
                </div>
                <div>I have run gdb on VirtualBoxVM, attached to the
                  running process and tried calling
                  RTLogGroupSettings(0,
                  "+main.e.l.f+defualt.e.l.f+VD.e.l.f+VD_VMDK.e.l.f");</div>
                <div><br>
                </div>
                <div>I have tried putting the env variables in my
                  .bash_profile and then starting VirtualBox client from
                  the Launchpad and the VM from VirtualBox still to no
                  avail.</div>
                <div><br>
                </div>
                <div>
                  Do I need a debug image to turn on this logging? Or is
                  this is a OSX issue?</div>
                <div><br>
                </div>
                <div>I have also spent some time browsing thru the
                  vbox-log.cpp & log.cpp but haven't got any clues.</div>
                <div><br>
                </div>
                <div>Would greatly appreciate any help with this.</div>
                <div><br>
                </div>
                <div>Thanks,</div>
                <div>Quaizar</div>
                <div><br>
                </div>
                <div><br>
                </div>
              </div>
              <div><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><div><pre>_______________________________________________
vbox-dev mailing list
<a href="mailto:vbox-dev@virtualbox.org" target="_blank">vbox-dev@virtualbox.org</a>
<a href="https://www.virtualbox.org/mailman/listinfo/vbox-dev" target="_blank">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a>
</pre>
    </div></blockquote>
    <br>
  </div>

</blockquote></div><br></div>
_______________________________________________<br>vbox-dev mailing list<br><a href="mailto:vbox-dev@virtualbox.org" target="_blank">vbox-dev@virtualbox.org</a><br><a href="https://www.virtualbox.org/mailman/listinfo/vbox-dev" target="_blank">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a><br>
</blockquote></div><br></div></div></div></div></blockquote></div><br></div>