Results 1 to 2 of 2

Thread: VirtualBox from the BT4 repository

  1. #1
    Join Date
    Jan 2010

    Default VirtualBox from the BT4 repository

    The virtualbox package in the repository will not work "out-of-the-box" (excuse the pun). The issue is with the vboxdrv code, which sets permissions and detects NMI watchdog.

    For the first issue, change SUPDrv-linux.c as follows:

    Replace current->euid with current->cred->euid
    Replace current->uid with current->cred->uid
    Replace current->gid with current->cred->gid

    Next in the function VBoxDrvLinuxInit(void):
    The comment starting with "Second test:" describes the next block of code which will attempt to detect if disabling the NMI watchdog was successful. Since the BT4 kernel ships without NMI support enabled (at least, from what I saw) it's safe to delete / comment out this block (I believe the correct starting line number is 451 and the correct ending line number is 491).

    Alternately, updating the virtualbox version in the repository should serve to fix these as well.

  2. #2
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010

    Default Re: VirtualBox from the BT4 repository

    This is not really a backtrack bug. This is an upstream bug. I will leave this here for others to see however.
    To be successful here you should read all of the following.
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

Similar Threads

  1. OpenOffice 3.1.1 from repository
    By RageLtMan in forum OLD BackTrack 4 (pre) Final
    Replies: 0
    Last Post: 01-17-2010, 01:19 AM
  2. lzm repository
    By m1cha3l in forum OLD Newbie Area
    Replies: 0
    Last Post: 09-26-2008, 02:09 PM
  3. Is there a repository or website I could go to for...
    By drakoth777 in forum OLD Newbie Area
    Replies: 1
    Last Post: 09-23-2008, 05:13 PM
  4. module repository
    By shamanvirtuel in forum OLD Feature requests
    Replies: 1
    Last Post: 05-21-2007, 10:08 PM
  5. Repository APP
    By injector in forum OLD BackTrack v2.0 Final
    Replies: 3
    Last Post: 04-27-2007, 12:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts