Compiling madwifi virtualbox etc on sickboy's kernel

Discussion in 'Linux' started by mattytee, Jan 8, 2009.

  1. mattytee

    mattytee

    Joined:
    Nov 30, 2008
    Messages:
    112
    Likes Received:
    1
    I wanted to run virtualbox and madwifi on sickboy's kernel. This guide assumes you are running that kernel.

    Apparently due to a known Debian bug, you get errors about "missing makefile32" when you try to compile on that kernel with those headers.

    I read through the sickboy kernel thread a lot, and found http://www.aspireoneuser.com/forum/viewtopic.php?f=28&t=7560&start=180#p59102

    I made this post so others could find the information more easily. Fiftyclick deserves all the credit.

    Next, run the following:

    Code:
    cd /usr/src/
    Code:
    sudo wget [url]http://kernel.mirror.rafal.ca/linux/kernel/v2.6/linux-2.6.28.tar.bz2[/url]
    Code:
    sudo tar xvjf linux-2.6.28.tar.bz2
    Code:
    sudo cp linux-2.6.28/* linux-headers-2.6.28-rc8-custom-aa1/ -r
    (If you're using an older/newer revision, change the last line to reflect your version. This *should* work with any 2.6.28-based custom kernel.

    Code:
    sudo rm linux-2.6.28/ -r && rm linux-2.6.28.tar.bz2
    After running all this, don't use the virtualbox-ose from the package archives. Download the newest version intrepid (or hardy) .deb from Sun's site. http://www.virtualbox.org/wiki/Linux_Downloads

    I was able to successfully compile the virtualbox kernel driver this way.

    Good luck!

    EDIT: I do not believe sickboy's kernel headers are necessary; that line has been deleted.
     
    mattytee, Jan 8, 2009
    #1
  2. mattytee

    mattytee

    Joined:
    Nov 30, 2008
    Messages:
    112
    Likes Received:
    1
    This may or may not work with the new 2.6.28 sickboy-modified kernel. But it should.

    Maybe someone will try the header fix and post back?
     
    mattytee, Jan 13, 2009
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.