How to compile virtualbox host modules dkms for chroot in android x86?

Hi all,
I am running arch linux using chroot method in android phone (asus zenfone 5 intel processor). I want to install and run virtualbox in that environment. I have kernel source of my phone, I do not know how to get kernel headers and install them in chroot environment, can anyone guide me on how to compile virtualbox modules and run virtualbox in chrooted environment on android x86?

Hi all,
I am running arch linux using chroot method in android phone (asus zenfone 5 intel processor). I want to install and run virtualbox in that environment. I have kernel source of my phone, I do not know how to get kernel headers and install them in chroot environment, can anyone guide me on how to compile virtualbox modules and run virtualbox in chrooted environment on android x86?

Similar Messages

  • How to compile a kernel module without recompiling the whole kernel?

    Hi,
    I'm pretty sure my question is a bit newbish, still I haven't been able to found any information/solution to my problem in 3days.
    The kernel I use doesn't come with the module I need for my hardware and I would like to know if there's a way to compile it without having to make a new kernel myself (since compiling the kernel takes ages on my machine).
    Even if your answer is a "Let me Google that for you", I'm so desperate that I'll be happy to see it.
    Thank you all in advance for your answers!

    Do you have a /proc/config.gz that you could use? Otherwise I don't know. I mean, many modules should be compilable simply with the system-installed kernel headers, but not all native modules might follow that rule.
    Unfortunatel most of what you find on the web talks about how to create new modules which can be compild against the installed kernel tree, not about how to compile one of the native kernel modules against it.
    Actually, try what those links suggest.
    Skip the configuration part, and just do:
    make -C /lib/modules/`uname -r`/build M=$(PWD)/drivers/video modules
    (maybe `make -C /lib/modules/`uname -r`/build M=$(PWD)/drivers/video clean` first )
    EDIT: Meh, that uses your config and won't build that driver... there must be some way though
    EDIT2: Try:
    make -C /lib/modules/`uname -r`/build M=$(PWD)/drivers/video modules CONFIG_FB_VT8623=m CONFIG_FB_SVGALIB=m
    The problem though is, that they might have removed some of the dependencies of the module, so if it doesn't compile, you'll have to recompile the kernel.
    Good thing is though, you can use their .config as base (found in /usr/src/linux-..../.config)
    You can also check if your config "supports" your module by putting it into the kernel source tree, running `make menuconfig` and typing /8623 and pressing enter.
    The last line in that screen should read:
    Selects: <list of options>
    As long as all of those options are either =y or =m, you're good. SVGALIB can be =n because it's part of drivers/video/ and you can compile it together with  your module.
    Last edited by Blµb (2012-03-02 15:14:16)

  • How to compile the DB lookup code for XI:

    Dear All,
    i am very new to java and XI. Please let me know how to compile a Java Code for DB lookup and put in the imported Archive in IR. is there a seperate way to do it? Please guide me step by step. for performing Communication channel DB lookup.
    I have gone through the Communication channel lookup of siva,
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    but i am not understanding how to compile the given code in Advanced user functions area without any mandetory .jar files and header files. and put it into XI .
    please guide me.
    I mean i use a jdk1.4.2 Compiler as my XI server has 1.4.2 compiler.
    Regards,
    prakash
    Edited by: senthilprakash selvaraj on Jun 17, 2008 4:03 AM
    Edited by: senthilprakash selvaraj on Jun 17, 2008 4:04 AM

    Hi,
    You don't have to worry about compliation. XI will automatically comple it when you create the udf, activate it and test your mapping. In case of any error it will give compliation error there itself.
    Regarding all the mandatory jar files which are required for compilation is already available in XI server.
    If you are using any third party libraries(jar files) you just need to add the jar file in your external definition and need to import the necessary packages in User Define Function. I hope it answers all your questions.
    Thanks
    Amit
    Reward point if answer is helpful

  • How do i query the module object for the interface of the module-specific interface I require

    Hi there.
    Currently using LabVIEW 2012/TestStand 2012.
    I am attempting to edit the LabVIEW Text Sequence Translator, and in the CreateStep.vi I am trying to create a step that is of type WIS_Sequence_Call (a custom version of NI_Types.ini-->SequenceCall).
    I need to set the file pathname, sequence name and parameter values in the step.  I believe I need to get access to the SequenceCallModule class to do this.
    This help file SequenceCallModule states in the description: "To access the properties and methods of a specific module class, query the Module object for the interface of the module-specific interface you want to acquire.".
    What exactly is meant by "query" here?  It looks like "Specify" might be what I am after, but I want this done programmatically, ie no dialog boxes.
    See my snippet below.
    Thanks.

    Thanks for the reply Charles.
    I have been using the 2012 version of the poster.
    I can get access to the Module class from the Step Class as shown in the snippet above, but I can't see how to get to SequenceCallModule? The "To more specific class" VI doesn't seem to work for TS refs. Is there no way to derive the SequenceCallModule from this?
    Also I can use the TSAdp.SequenceCallModule reference, but I need to link this to the relevant step that I've just created.  Can NI please provide me with a link to any examples on this?
    Thanks

  • How do i query the module object for the interface of the module-spe​cific interface I require

    Hi there.
    Currently using LabVIEW 2012/TestStand 2012.
    I am attempting to edit the LabVIEW Text Sequence Translator, and in the CreateStep.vi I am trying to create a step that is of type WIS_Sequence_Call (a custom version of NI_Types.ini-->SequenceCall).
    I need to set the file pathname, sequence name and parameter values in the step.  I believe I need to get access to the SequenceCallModule class to do this.
    This help file SequenceCallModule states in the description: "To access the properties and methods of a specific module class, query the Module object for the interface of the module-specific interface you want to acquire.".
    What exactly is meant by "query" here?  It looks like "Specify" might be what I am after, but I want this done programmatically, ie no dialog boxes.
    See my snippet below.
    Thanks.
    Christopher Farmer
    Certified LabVIEW Architect
    Certified TestStand Developer
    http://wiredinsoftware.com.au
    Solved!
    Go to Solution.

    Thanks for the reply Charles.
    I have been using the 2012 version of the poster.
    I can get access to the Module class from the Step Class as shown in the snippet above, but I can't see how to get to SequenceCallModule? The "To more specific class" VI doesn't seem to work for TS refs. Is there no way to derive the SequenceCallModule from this?
    Also I can use the TSAdp.SequenceCallModule reference, but I need to link this to the relevant step that I've just created.  Can NI please provide me with a link to any examples on this?
    Thanks
    Christopher Farmer
    Certified LabVIEW Architect
    Certified TestStand Developer
    http://wiredinsoftware.com.au

  • [Mini-HOWTO] RPMs needed to compile a kernel-module on / for VM Server

    In reply to the question I've asked a couple of days ago in this forum
    Compile module for Oracle VM Server
    I tried to do it myself, since no answer was given.
    And it turned out to be fairly easy afterward too!
    Just install these RPM-packages from an Oracle Enterprise Linux v5 i386 distribution (v5, NOT v5U1!) in this order:
    kernel-headers-2.6.18-8.el5.i386.rpm
    glibc-headers-2.5-12.i386.rpm
    glibc-devel-2.5-12.i386.rpm
    libgomp-4.1.1-52.el5.i386.rpm
    cpp-4.1.1-52.el5.i386.rpm
    gcc-4.1.1-52.el5.i386.rpmThese 6 RPMs and finally the
    kernel-ovs-devel-2.6.18-8.1.6.0.18.el5 RPM, to be found on the VM Server-CD you've burned from the downloaded ISO.
    Hope this helps!
    At least I was able to recompile the qla2xxx-modules from the HP-provided sources.
    Message was updated by:
    hbokho

    basically it is the same thing as build a normal kernel module i think. some packages need to be installed first for e.g. the kernel source and development packages.
    refer to, (just some google results)
    http://www.eece.maine.edu/~sheaff/module.html
    http://tldp.org/LDP/lkmpg/2.6/html/index.html
    The system I installed the OVS on has a network chip
    that is not supported by the kernel in OVS 2.1. I
    found the source code for the module, but does anyone
    have a clue how to set up an environment so I can
    compile the module in a way that it'll be accepted on
    the OVS server. I downloaded the Source OVS CD, but
    I'm not quite sure what to do from there. Anybody has
    some hints?

  • [SOLVED] virtualbox-modules: dkms: command not found

    $ makepkg -s
    ==> Making package: virtualbox-modules 4.2.6-4 (Tue Jan 29 15:42:01 EET 2013)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    ==> Extracting Sources...
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    -> Host modules
    /home/yuri/builds/virtualbox-modules/PKGBUILD: line 26: dkms: command not found
    ==> ERROR: A failure occurred in build().
    Aborting...
    $ which dkms
    which: no dkms in (~/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/vendor_perl:/usr/bin/core_perl)
    $ su - -c 'which dkms'
    /usr/sbin/dkms
    Since makepkg uses fakeroot (and should never be run as root), ...
    https://wiki.archlinux.org/index.php/AUR
    What is the proper way to make it work? Thank you.
    Last edited by x-yuri (2013-01-29 19:33:44)

    It's not my PKGBUILD. It's PKGBUILD, downloaded by abs (community/virtualbox-modules):
    # $Id: PKGBUILD 82593 2013-01-21 11:10:44Z tpowa $
    # Maintainer: Ionut Biru <[email protected]>
    # Maintainer: Sébastien Luttringer <[email protected]>
    pkgbase=virtualbox-modules
    pkgname=('virtualbox-host-modules' 'virtualbox-guest-modules')
    pkgver=4.2.6
    pkgrel=4
    arch=('i686' 'x86_64')
    url='http://virtualbox.org'
    license=('GPL')
    makedepends=('linux-headers'
    "virtualbox-host-dkms>=$pkgver"
    "virtualbox-guest-dkms>=$pkgver"
    'expac'
    'bc')
    build() {
    _kernver=$(expac -Q '%v' linux-headers)-ARCH
    # dkms need modification to be run as user
    cp -r /var/lib/dkms .
    echo "dkms_tree='$srcdir/dkms'" > dkms.conf
    # build host modules
    msg2 'Host modules'
    dkms --dkmsframework dkms.conf build "vboxhost/$pkgver" -k "$_kernver"
    # build guest modules
    msg2 'Guest modules'
    dkms --dkmsframework dkms.conf build "vboxguest/$pkgver" -k "$_kernver"
    package_virtualbox-host-modules(){
    _kernver=$(expac -Q '%v' linux-headers)-ARCH
    _extraver=extramodules-${_kernver%.*}-ARCH
    pkgdesc='Host kernel modules for VirtualBox'
    depends=("linux>=${_kernver%.*}" "linux<$(echo "${_kernver%.*}+0.1"|bc)")
    replaces=('virtualbox-modules')
    conflicts=('virtualbox-modules')
    install=virtualbox-host-modules.install
    install -dm755 "$pkgdir/usr/lib/modules/$_extraver"
    cd "dkms/vboxhost/$pkgver/$_kernver/$CARCH/module"
    install -m644 * "$pkgdir/usr/lib/modules/$_extraver"
    find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
    sed -ie "s/EXTRAMODULES='.*'/EXTRAMODULES='$_extraver'/" "$startdir/virtualbox-host-modules.install"
    package_virtualbox-guest-modules(){
    _kernver=$(expac -Q '%v' linux-headers)-ARCH
    _extraver=extramodules-${_kernver%.*}-ARCH
    pkgdesc='Guest kernel modules for VirtualBox'
    license=('GPL')
    depends=("linux>=${_kernver%.*}" "linux<$(echo "${_kernver%.*}+0.1"|bc)")
    replaces=('virtualbox-archlinux-modules')
    conflicts=('virtualbox-archlinux-modules')
    install=virtualbox-guest-modules.install
    install -dm755 "$pkgdir/usr/lib/modules/$_extraver"
    cd "dkms/vboxguest/$pkgver/$_kernver/$CARCH/module"
    install -m644 * "$pkgdir/usr/lib/modules/$_extraver"
    find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
    sed -ie "s/EXTRAMODULES='.*'/EXTRAMODULES='$_extraver'/" "$startdir/virtualbox-guest-modules.install"
    # vim:set ts=2 sw=2 et:
    Could it possibly be that this time makepkg must be run as root?

  • How to use BAPI function module for maintaing product type to material

    Hi,
    Can you pls suggest me how to use BAPI Fuction module CCAP_REV_LEVEL_MAINTAIN
    for maintaining the product type for the material using change number.
    Pts will be rewarded.
    Best Regards,
    Padhy

    Hi,
    Can you pls suggest me how to use BAPI Fuction module CCAP_REV_LEVEL_MAINTAIN
    for maintaining the product type for the material using change number.
    Pts will be rewarded.
    Best Regards,
    Padhy

  • [Solved]Virtualbox kernel module not loaded

    I update my system today and when I try to run Virtualbox...
    WARNING: The vboxdrv kernel module is not loaded. Either there is no module
    available for the current kernel (3.6.11-1-ARCH) or it failed to
    load. Please reinstall the kernel module virtualbox-host-modules or
    if you don't use our stock kernel compile the modules with
    sudo dkms autoinstall
    You will not be able to start VMs until this problem is fixed.
    I already had this trouble before and this was the fix
    # modprobe vboxdrv
    But it doesn't work anymore
    Any ideas?
    Edit: This just get fixed by itself when restaring my PC. Sorry
    Last edited by ilq (2013-02-13 02:32:43)

    fsckd wrote:
    rc.conf is part of the deprecated init system. icebox is not using systemd and neglected to mention that.
    Amarildo, see the wiki.
    Thanks, it really helped. It's solved.

  • Installing virtualbox-guest-modules = depmod error

    I'm setting up a new system, and I tried following the instructions at https://wiki.archlinux.org/index.php/Vi … nux_guests.
    Using "sudo pacman -S virtualbox-guest-utils" gives me an error message:
    depmod: ERROR: could not open directory /lib/modules/3.9.4-1-ARCH: No such file or directory
    depmod: FATAL: could not search modules: No such file or directory"
    I see I do have a 3.9.5-1-ARCH directory, though.
    I assume something somewhere needs to be updated.  Is there anything I can do until that happens?

    I think I have a similar problem
    Im using Arch as the host and trying to use other OSs as guests in virtualbox.
    But when I try to use virtualbox and push start (on XP) it say:
    "The VirtualBox Linux kernel driver (vboxdrv) is either not loaded
    or there is a permission problem with /dev/vboxdrv. Please
    reinstall the kernel module by executing
    'pacman -S virtualbox-host-modules'
    as root. If you don't use our stock kernel, install
    virtualbox-host-source and execute dkms autoinstall."
    when I execute: # pacman -S virtualbox-host-modules it say:
    (1/1) reinstalling virtualbox-host-modules
    depmod: ERROR: could not open directory /lib/modules/3.9.4-1-ARCH: No such file or directory
    depmod: FATAL: could not search modules: No such file or directory
    In order to use the new version, reload all virtualbox modules manually.
    I tryied to execute "depmod 3.9.5-1-ARCH" but in my case it didnt help,
    I also running on 3.9.5-1-ARCH.
    So basicly there is nothing to do now, but waiting for bug to be fixed?

  • How to compile all forms in a directoy at time?

    Hi friends, thank for your replies for the previous questions.
    Now
    How to compile all form modules located in a directory
    at a time? usually what I know is opening form one by one
    and compile it. But I want to compile all forms and create
    executable files at a time.
    Is project Builder helpfule to achive this??
    thanks
    madhu

    Yes, his file is useful -- it should run on Windows XP. You need to copy the above text into a file using a standard text editor, something like Notepad. To run it, you open a Cmd.exe DOS window on your pc, change directory (CD) to the folder where your forms are, and enter the command script file name.
    Here are several more links to other topics in this forum asking how to do the same thing:
    Re: How To Compile 370 forms ?
    Re: Creating Oracle 10g Forms and Reports Builds

  • Changing login module stack for Netweaver Portal?

    G'day,
    I want to change the login stack for Netweaver Portal (at http://<host:50100/irj).
    Currently portal is configured in Visual Administrator to use the "ticket" authentication template. I can change this authentication template and change how I authenticate to portal.
    But changing "ticket" authentication template also changes how other applications perform authentication. So I changed the login module stack for the "com.sap/irj*irj" component to not use an authentication template, and added my own login modules.
    But when I access portal again, the "ticket" authentication is still used. I restarted the cluster to be sure but no matter what login modules I configure for "com.sap/irj*irj", only changes to "ticket" have any effect.
    So: how do modify the login module stack for portal, without modifying the "ticket" authentication template?
    --Geoff

    Hi,
    If you'd like to change the authentication stack only for the EP but not for all applications that use UME authentication, then you have to modify the descriptor authschemes.xml. You have to change the scheme "default" to point to another LM stack instead of "ticket" as it is shipped.
    Kind regards,
    Tsvetomir

  • [SOLVED] Virtualbox-host-dkms module not compatible with Linux 3.17rc

    Using the linux-mainline package from aur, was unable to get dkms to compile the vboxdrv module. Mainline is currently at around 3.17rc3, didn't work at rc1 either.
    Apparently a patch has already been made, it is available at:
    https://forums.virtualbox.org/viewtopic … 50#p296650
    Loaded the abs system and applied the patch from the forum:
    https://forums.virtualbox.org/download/ … p?id=13399
    Patch works like a charm. I have compiled the package, if anyone else would like to save some cpu cycles and time, I wouldn't mind uploading it if there is somewhere it can be posted.

    Ideka wrote:I suspect this may be a regression but I couldn't find any information or reports of other people having the same problem anywhere.
    You must not have searched very long then, because you've missed not one, but two threads:
    https://bbs.archlinux.org/viewtopic.php?id=134374
    https://bbs.archlinux.org/viewtopic.php?id=134580

  • Trying to register the VirtualBox kernel modules using DKMS [FAILED]

    Hi,
    I am getting the following error while installing Oracle VirtualBox on OEL 5.2, 64-bit.
    I am able to see Virtual Machine Wizard from "Applications > System Tools > Oracle VM VirtualBox". Can I go ahead and do 11gR2 RAC installation using Oracle VirtualBox ???
    If I need to install DKMS kernel modules please let me know how to do that.
    ====================================================================================
    [root@linux2 OracleVM]# rpm -Uvh VirtualBox-4.1-4.1.18_78361_rhel5-1.x86_64.rpm
    warning: VirtualBox-4.1-4.1.18_78361_rhel5-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 98ab5139
    Preparing... ########################################### [100%]
    1:VirtualBox-4.1 ########################################### [100%]
    Creating group 'vboxusers'. VM users must be member of that group!
    No precompiled module for this kernel found -- trying to build one. Messages
    emitted during module compilation will be logged to /var/log/vbox-install.log.
    Stopping VirtualBox kernel modules [ OK ]
    Uninstalling old VirtualBox DKMS kernel modules [ OK ]
    Trying to register the VirtualBox kernel modules using DKMS [FAILED]
    (Failed, trying without DKMS)
    Recompiling VirtualBox kernel modules [ OK ]
    Starting VirtualBox kernel modules [ OK ]
    ====================================================================================
    Thanks.
    -Joy.

    And this relates to RAC, ASM, and Clusterware installation in what way?
    Please lock this thread and open one in the appropriate forum. Thanks.

  • How To Compile Forms 10g Devloped in Windows For Deployment In RHEL

    can any budy give me script file for compiling forms 10g ,which i developed in windows and need to be deployed in RHEL 5
    How To Compile Forms 10g Devloped in Windows For Deployment In RHEL 5
    any budy plzzz help

    You could try something like this:
    for i in `ls *.pll`
    do
    echo Compiling Library $i ....
    frmcmp.sh userid=me/me@medb batch=no module=$i module_type=library compile_all=yes window_state=minimize
    done
    for i in `ls *.mmb`
    do
    echo Compiling Library $i ....
    frmcmp.sh userid=me/me@medb batch=no module=$i module_type=menu compile_all=yes window_state=minimize
    done
    for i in `ls *.fmb`
    do
    echo Compiling Library $i ....
    frmcmp.sh userid=me/me@medb batch=no module=$i module_type=form compile_all=yes window_state=minimize
    done

Maybe you are looking for

  • Limited Admin Privileges/Specific Elevation of User Accounts

    I'm hoping to create an account on my laptop for my roommate.  I don't want him to have a full admin account, but he knows enough about computers that he could troubleshoot networking, and I want to enable him to install programs on the system.  I'm

  • How to replace multiple occurences of space in a string to a single space?

    How to replace multiple occurences of space in a string to a single space?

  • Importing 3GP Files into a Final Cut Timeline

    I'm trying to import 3GP files from a cell phone video camera into Final Cut to edit. I've read that it can be done, but I'm having difficulties setting the correct presets in FCP. When I import a clip into FCP I get the following settings in the cli

  • Display function

    Hello out there, When choosing a pic for use as background on my desktop display I can't seem to get the entire photo onto the desktop. When I hit display in iPhoto, the picture appears on the desktop severely cropped. I tried the constrain button an

  • Include sys/timeb.h functionality in a LabView application

    I would like to use functionality made available by the header sys/timeb.h in a test application.  Does PharLap 13.1 support such functionality?  If so, how can it be exposed to a test application (not supported by standard #include); else, does Phar