[DISCUSSION] VirtualBox - Update, SLP & SLIC

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

  1. atreyu

    atreyu MDL Junior Member

    Nov 15, 2009
    63
    132
    0
    OK, the code path was almost easy as expected

    v4 sdk ( http:www:4shared:com/file/iFlxWfyv/vbslic_4000_sdk.html )

    has a tested source change to DevACPI.cpp with a static slic dump


    This opens multiple paths to get this working in Linux:

    - use it "as is" to build a vbox, not trivial but very flexible from a wide point of view; bvox is now open source + extensions, so nothing is off the table

    - build a shared object to replace the existing one; bad option imo, that's a blaming target if any other thing goes wrong

    - compare original and patched objects, created in the same environment, as hints to make the binary patch

    Have a nice 2011 :cool:
     
  2. terrafaux

    terrafaux MDL Novice

    Feb 2, 2010
    31
    1
    0
    Seems Offline :-(
     
  3. terrafaux

    terrafaux MDL Novice

    Feb 2, 2010
    31
    1
    0
    Thanks Atreyu.... Thanx Sebus...

    Happy New Year to all my friends :)
     
  4. atreyu

    atreyu MDL Junior Member

    Nov 15, 2009
    63
    132
    0
    The nix patch is a bit more complicated than the windows one. And I knew almost nothing about ELF files, so it couldn't be other way. Yesterday I have loaded a patched .so for the 1st time, but it was too twisted; today I've devised another strategy, so the thing is far from terminated.

    That's why I'm releasing the compiled version, after all this may be the best solution. All depends how it works with other SO configurations, please let me know where (nix flavour) it works or doesn't.

    For now the 32 bits version, tested with Ubuntu 10.10. VBox binaries are different for each install but I hope they are compatible:

    www:4shared:com/file/rhVFhV1Q/VBoxDDtar.html


    - extract as root: sudo tar -xjf VBoxDD.tar.bz2
    - make a backup: sudo mv /usr/lib/virtualbox/VBoxDD.so /usr/lib/virtualbox/VBoxDD.so.original
    - move it: sudo mv VBoxDD.so /usr/lib/virtualbox/VBoxDD.so



    next steps:
    - build a Ubuntu 10.10 64 bits version
    - if there are no problems (or requests...) for other SO, stop here
    - otherwise look for binary patch alternatives
     
  5. terrafaux

    terrafaux MDL Novice

    Feb 2, 2010
    31
    1
    0
    i had no luck with the patch but i wouldn't disencourage you.

    Which VBox version are the patch written for ?
     
  6. atreyu

    atreyu MDL Junior Member

    Nov 15, 2009
    63
    132
    0
    Silly me, I should had say that:

    I expect it to be a direct replacement of VBoxDD.so in VirtualBox 4.0 for Ubuntu 10.10 ("Maverick Meerkat") i386 (32 bits)

    Maybe it works with other VirtualBox 4.0 for Linux i386 installations.

    It doesn't work with 64 bits or other VirtualBox versions.
     
  7. terrafaux

    terrafaux MDL Novice

    Feb 2, 2010
    31
    1
    0
    Sorry,

    but i am using Ubuntu Maverick (10.10) 32 Bit
    and VirtualBox 4

    that's why iam asking.

    I have installed VirtualBox from repository.

    Thanks
     
  8. atreyu

    atreyu MDL Junior Member

    Nov 15, 2009
    63
    132
    0
    Terrafaux, I've been checking what could go wrong and would appreciate that you check the following:
    - md5 of original VBoxDD.so = 500A22AED4C16DA6840D44A98031E433
    - md5 of replacement = 05AC9552D4AECBC581582B5CC57B9EA0
    - owner:group = root:root
    - mode = 644 = -rw-r--r--

    also, where does it fail?
    - the interface ( vm list ) starts?
    - all / some / none vm starts?
    - vm starts but there is no slic?
    - is there any error message?

    Thank you
     
  9. terrafaux

    terrafaux MDL Novice

    Feb 2, 2010
    31
    1
    0
    Hi atreyu,

    i know what i did wrong.
    I have followed your instruction but at one point i was going out of track.
    I unpacked without root command and moved the file into right folder.

    Today i started again and unpacked with sudo as described. Now it looks good :)

    Other question can you pm me a how to if i plan to patch for other distribs or for other members
    if needed, may i can be a help for your good work?

    Again thanks a million. :)
     
  10. atreyu

    atreyu MDL Junior Member

    Nov 15, 2009
    63
    132
    0
    Hi, I'm glad you make it! Ubuntu (Linux, VBox, whatever...) is really picky with that owner and mode things.

    I'll pm you with more details, but the principle is simple: change the code and compile vbox. I've put the patched code in current sdk version, there are ( incomplete ) instructions to build the thing in their site.

    To complete this phase, link to vbox4 maverick 64 bits replacement:

    www:4shared:com/file/-TV-TLBu/VBoxDD_4000_u101064tar.html
     
  11. terrafaux

    terrafaux MDL Novice

    Feb 2, 2010
    31
    1
    0
    'm looking forward for your pm.

    Thanks mate :)
     
  12. terrafaux

    terrafaux MDL Novice

    Feb 2, 2010
    31
    1
    0
    Hi Atreyu,

    i need a update for DevACPI.cpp
    4.02

    THX
     
  13. user_hidden

    user_hidden MDL Expert

    Dec 18, 2007
    1,034
    1,062
    60
    4.02 was just released give him time to build a new sdk & patch
     
  14. terrafaux

    terrafaux MDL Novice

    Feb 2, 2010
    31
    1
    0
    :worthy: and wait patiently :rolleyes:
     
  15. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,384
    2,037
    210
    It can not be called SDK really when it only applies to a single version, can it?

    sebus
     
  16. terrafaux

    terrafaux MDL Novice

    Feb 2, 2010
    31
    1
    0
    Yes i agree with you, it is a patched file for a specific Build/Version.

    But i hope Atreyu will find time to do his good job ;-)
     
  17. atreyu

    atreyu MDL Junior Member

    Nov 15, 2009
    63
    132
    0
    Hi, Folks!

    that's a 64 bits only version:

    www:4shared:com/file/n5RTZ87f/vbslic_4002_bin64.html

    32 bits et al. will follow at the end of the day (gmt)
     
  18. terrafaux

    terrafaux MDL Novice

    Feb 2, 2010
    31
    1
    0
    Atreyu, i will wait for 32er.

    But thanks for your good work :)

    Have a good time, friend :cool:
     
  19. atreyu

    atreyu MDL Junior Member

    Nov 15, 2009
    63
    132
    0