[vbox-dev] Enabling ahciLog()?

Frank Mehnert frank.mehnert at oracle.com
Fri Aug 12 01:29:12 PDT 2011

On Friday 12 August 2011 02:10:32 Pilsung Kang wrote:
> Hi,
> Can some one help in enabling ahciLog() in DevAHCI.cpp? I've read
> related threads in this forum and tried all the methods I can think
> of, but was unsuccessful. For example, VBOX_LOG=+dev_ahci.e.l.l2.f
> didn't work for me. Any hints would be appreciated.

First, make sure that the VBOX_LOG environment variable is properly
exported. Second, this will only work for DEBUG builds, so you have
to build your tree with

  ./configure --build-debug

and you have to use the binaries from out/*.*/debug/...
Using a normal debug build you will get the userlevel (R3) log messages.
To also get the R0 log messages you have to do a debug build of your
kernel modules as well (do 'export BUILD_TYPE=debug' before you compile
your Linux host kernel modules). And you have to renable R0 logging
explicitely (add 'VBOX_WITH_R0_LOGGING = 1' to your LocalConfig.kmk
in the root directory of your VirtualBox source tree and recompile the
whole tree.

Kind regards,

Dr.-Ing. Frank Mehnert
Senior Manager Software Development Desktop Virtualization, VirtualBox
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany

Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20110812/c159be99/attachment-0001.bin 

More information about the vbox-dev mailing list