[DISCUSSION] VirtualBox - Update, SLP & SLIC

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

  1. bizarro

    bizarro MDL Novice

    Dec 26, 2010
    4
    0
    0
    So atreyu's patch is for slic and will not work with SLP1 (XP mode in virtualbox), correct?
    Is there an update for FreeSlayer's SLP1 x64 vboxdd2.dll patch for VB 4.0.0 (last made for 3.2.10)?

    --

    One other thing that's confused me; is it possible for SLP1 to make XML
    changes to the Extra data to get xp mode to activate (without other changes)?
    I tried several and none worked, such as:

    <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVendor" value="Supermicro"/>
    <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVersion" value="A12"/>
    <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/ReleaseData" value="02/22/2010"/>
    <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/ReleaseMajor" value="2"/>
    <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/ReleaseMinor" value="3"/>
    <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/FirmwareMajor" value="2"/>
    <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/FirmwareMinor" value="3"/>
    <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiSystemVendor" value="Supermicro"/>
    <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiSystemProduct" value="X7SBL"/>
    <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiSystemVersion" value="A12"/>

    which others claimed to have worked for them.

    The only thing that worked was FreeSlayer's DLL patch.
     
  2. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,557
    3,832
    120
    #102 FreeStyler, Dec 26, 2010
    Last edited by a moderator: Apr 20, 2017
    @bizarro, setting the 'Windows_Virtual_XP_F9161D8E7FCC11DDBFAA369856D89593' SLP string with XML using the ExtraDataItem directives won't work, the string is too long for DMI entry and besides that the 'Windows_Virtual_XP_F9161D8E7FCC11DDBFAA369856D89593' SLP string requires to be at a specific location. The XML ExtraDataItem directive works fine in conjunction with for example the Hewlett-Packard and Medion oembios sets as these look for the SLP string inside a larger BIOS memory range including the DMI area.

    Update for VirtualBox v4.0.x (x64 tested, x32 tested):
    If you search and replace the following hex values in VBoxDD2.dll you are able to use the XP Mode Mode vhd in VirtualBox without having to swap oembios files

    original
    Code:
    C406B8430250FF76FEE8DC7483C40430E4508B460A4050FF7604E8F17483C406B8440250FF76FEE8BE7483C40430E4508B460A
    replacement (ASCII = Windows_Virtual_XP_F9161D8E7FCC11DDBFAA369856D89593)
    Code:
    57696E646F77735F5669727475616C5F58505F4639313631443845374643433131444442464141333639383536443839353933
     
  3. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,356
    2,026
    210
    MICROSOFT (OEMBIOS.CAT CRC32=B4FFCA38)
    F000,908A,,Windows_Virtual_XP_F9161D8E7FCC11DDBFAA369856D89593

    Easy to check what is there and replace

    sebus
     
  4. bizarro

    bizarro MDL Novice

    Dec 26, 2010
    4
    0
    0
    #104 bizarro, Dec 26, 2010
    Last edited by a moderator: Apr 20, 2017
    Thanks, but since VB is open source, is there any way to make changes to the source code so you don't have to manually
    provide a patch for each release? I'd assume we could just rebuild this one DLL.
     
  5. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,557
    3,832
    120
    Probably, although for me patching is much quicker, i do this in a few seconds ;)
     
  6. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,356
    2,026
    210
    That would also require to be done for each version, so no real benefit here over the patch (as FS said, it takes only a moment, way less then rebuild would take)

    sebus
     
  7. bizarro

    bizarro MDL Novice

    Dec 26, 2010
    4
    0
    0
    Yeah, unless he joins the peace core, gets abducted by the greys,
    or otherwise leaves the forum!:biggrin:

    Teach a man to fish and all that...
     
  8. terrafaux

    terrafaux MDL Novice

    Feb 2, 2010
    31
    1
    0
    Why it is not possible to patch a Linux host?
    I know they don't have *dll files.
     
  9. Allo

    Allo MDL Member

    Jul 29, 2009
    133
    44
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,356
    2,026
    210
    Who said it is not possible?

    I am sure it is, just that nobody was discussing the Linux platform in this thread so far

    sebus
     
  11. terrafaux

    terrafaux MDL Novice

    Feb 2, 2010
    31
    1
    0

    Ok, maybe it is possible but where is the problem?

    Does it need some tester or is it on Linux a different thing
    to get Slic in it?


    Thanks for your answer.
     
  12. atreyu

    atreyu MDL Junior Member

    Nov 15, 2009
    63
    132
    0
    (running 4 my 20 posts...)

    Hi terrafaux

    Linux is not a completely different thing when you look inside an executable. Where you have a .dll in windows, there may be a .so in linux; made of the same matter.

    However there are two constraints:

    - linux has a different culture built around open source; you don't patch, you change the source and publish the code. Yeah, I know, VBox is a bitch to get compiled; and there are more and more linux users that just want to get their things done. That's why there are VBox binaries for Linux, but looking at it there is another problem:

    - there are MANY binaries for *nix! ( something is wrong here, imho, but that's another story ). While a windows patch covers, what, more than 80% of the "market", for *nix one would have a lot of work just testing the thing!

    However, if you feel like it worth, I begin with a question: are all VBoxDD.so binaries equal, byte by byte?
     
  13. bizarro

    bizarro MDL Novice

    Dec 26, 2010
    4
    0
    0
    Yeah, I saw that post but I had no idea what it was.
    So, it's a snippet from the VB source code?
     
  14. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,356
    2,026
    210
    NO, it is location of SLP string (time to start reading Win XP section stickies then)

    sebus
     
  15. terrafaux

    terrafaux MDL Novice

    Feb 2, 2010
    31
    1
    0
    Atreyu thx for your explanation,

    now i have a better understandment and i think it is not worth to start " The Neverending Story" ;-)

    Have a nice day.
     
  16. VirtualNobody

    VirtualNobody MDL Novice

    Dec 25, 2010
    10
    1
    0


    Are you patching executable code or just data? Sounds like it's just data. If it's just data, the same data is probably verbatim in the Linux library file, so the same patch could possibly be applied to the Linux library.

    I don't know if I'd consider this a constraint. It maybe a different way of doing things, but certainly wouldn't be a constraint. Many people such as myself could utilize it.

    Have you thought about submitting your changes back to the VirtualBox people so your changes can be permanently part of VB?

    If it's a .so, it might be. I can install VBox 4.0 later today on Ubuntu Server 10.10 X64 and post the MD5 of any .so file you need.

    But if you are just searching/replacing constant strings, it might not matter, as they maybe the same for any compile.
     
  17. terrafaux

    terrafaux MDL Novice

    Feb 2, 2010
    31
    1
    0
    Sound very interesting, maybe we can give Linux a chance?

    I'm ready for testing if it helps.
     
  18. atreyu

    atreyu MDL Junior Member

    Nov 15, 2009
    63
    132
    0
    If there is people interested in a nix solution I can take a deeper look at that.

    What I will do:

    - change and test the code path; code change is almost done in sdk, I have to install a real nix box because vm inside vm is more troubles in the way, if feasible.

    - check the patch path with Ubuntu 10.10


    Virtual, some quick answers, I'm in a hurry:

    - the patch is in code, each case is a case, patterns die fast

    - vbox people will never accept a "slic" addition; however a complete BIOS replacement would be interesting, IMO
     
  19. terrafaux

    terrafaux MDL Novice

    Feb 2, 2010
    31
    1
    0
    The hope proudly presents.....
    .....
    ........

    ATREYU
    ........
    .....

    I will support this project if i can :)