[DISCUSSION] VirtualBox - Update, SLP & SLIC

Discussion in 'Virtualization' started by cigolo_, Dec 30, 2008.

  1. CocoNuts

    CocoNuts MDL Novice

    Sep 23, 2007
    36
    7
    0
    Hello all,

    Oracle VirtualBox 4.0.6-71344 is out
     
  2. crash_maxed

    crash_maxed MDL Novice

    Oct 17, 2009
    1
    1
    0
    Thx for the patched file atreyu. These fixes work on Gentoo Linux under app-emulation/virtualbox-bin-4.0.X with just a small modification. The files you have were created for running under Ubuntu where I guess they install some of the VirtualBox files to /usr/lib/virtualbox. In my case since it's a binary build instead of from source it gets installed into /opt/VirtualBox. It appears that the VBoxDD.so file has to reference VBoxDD2.so and it is hardcoded to reference /usr/lib/virtualbox/VBoxDD2.so?? Anyways I just made the folder and copied over the VBoxDD2.so file and it worked. I couldn't use symlinks because VirtualBox errors out if you use symlinks and I couldn't try a hard link since it crosses filesystem boundaries.

    Anyways if anyone out there is using Gentoo this fix is easy.

    Create Directory: mkdir /usr/lib/virtualbox
    Chmod it for good measure (Should need this in theory unless your umask isn't 022): chmod 644 /usr/lib/virtualbox
    Copy File: cp -p /opt/VirtualBox/VBoxDD2.so /usr/lib/virtualbox

    4.0.6 hasn't hit portage on Gentoo yet, but 4.0.4 is working great. SLIC Dump Toolkit confirms HPQOEMSLIC table on Windows 7 x64 guest VM.

    Edit: Seems 4.0.6 hit portage just this morning. Updated to 4.0.6 and working like a champ ;)
     
  3. atreyu

    atreyu MDL Junior Member

    Nov 15, 2009
    63
    132
    0
    Thank you for your feedback, crash_maxed, this may be useful to others

    VBoxDD.so is built as "for distrib", that happens to be a "hardened mode" - I think this means with hardcoded paths
    You can find the /usr/lib/virtualbox string near the top of the file, maybe it can be superposed with other path, eg /opt/VirtualBox can be found in the linux-all installation files
     
  4. jeev

    jeev MDL Novice

    Dec 2, 2009
    20
    2
    0

    so does this turn the system to slic 2.1 once the VBoxDD.so file is installed on the linux host or is there more work needed?
     
  5. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,384
    2,037
    210
    It does, and as always it is best to try (trying is free)

    sebus
     
  6. user_hidden

    user_hidden MDL Expert

    Dec 18, 2007
    1,034
    1,062
    60
    vbox updated to 4.0.6.71416
     
  7. atreyu thanx a lot 4 ur job. I have a questions one for SLIC and another for WinXP DMI or SLP:
    - How can i change SLIC from HP to another one?
    - I have insert DMI info from my real motherboard into VirtualBox WinXP and when i boot into virtual WinXP i see changed values of DMI info but my OEM WinXP i still unactivated. Where am i wrong?
     
  8. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,563
    3,848
    120
    1. vbslic vBoxDD.dll "ACRSYS[ACRPRDCT_MSFT]2.1-8F845FB1.BIN" (example)
    2. DMI info that is entered through the xml config file sometimes is not placed in the correct BIOS SLP range to be succesfully activated (for example DELL and ASUS require a specific range not covered by DMI entries)

    What brand OEM XP set are you trying to have pre-activated?
     
  9. 1. Thanx for explain!
    2. I try to work with my office OEM Dist WinXP Pro from Russian OEM manufacturer KRAFTWAY.
     
  10. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,563
    3,848
    120
    #192 FreeStyler, May 11, 2011
    Last edited by a moderator: Apr 20, 2017
    Code:
    KRAFTWAY (OEMBIOS.CAT CRC32=2CD5F907)
    
    F000,0000,0140,KRAFTWAY
    F000,0600,0200,KRAFTWAY
    F000,0FD0,0200,KRAFTWAY
    F000,0000,FFF0,KRAFTWAY


    The entries in red require a specific memory range the SLP string needs to be listed in.
    The entry in green covers a much wider memory range, but it still can be possible this is listed outside the Vbox DMI area

    i can't test this right now, but if you like i can look into it further, else maybe patching vBoxDD2.dll may be the only solution
     
  11. FreeStyler did u mean that in addition to enter DMI info into xml i must patch vBoxDD2.dll too?
     
  12. ZaForD

    ZaForD MDL Expert

    Jan 26, 2008
    1,209
    200
    60
    Hi Hood,

    FreeStyler is saying that he doesn't think editing the VM's .xml file will work. Due to the address range KRAFTWAY uses.
    But you should try it out anyway. It will only take a couple of minutes. ;)

    If it doesn't work then edit vBoxDD2.dll with a Hex Editor, following his instructions.

    Good luck.
     
  13. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,563
    3,848
    120
    I have verified, the KRAFTWAY oembios set doesn't activate when using VM's .xml entries, so you need to patch vBoxDD2.dll
     
  14. FreeStyler maybe i do something wrong but string "06/23/99" is started from hex offset 1733D so i insert KRAFTWAY from offset 17330. Seems that it's activated!) Thanx a lot bro!
     
  15. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,563
    3,848
    120
    What vBox version are you using? What processor architecture?
    Anyway like you already discovered the difference in offset shouldn't matter to much ;)
     
  16. Ummm... latest one version 4.0.6.71416 for Windows running on x86 Windows XP
     
  17. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,563
    3,848
    120
    Probably it's caused by a little difference between 64-bit and 32-bit versions of VirtualBox vBoxDD.dll file, as i am using the 64-bit version of VirtualBox