Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


Search this Thread
Old 01-10-2010, 02:58 AM   #1
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 227Reputation: 227Reputation: 227
VirtualBox vs Kernel 2.6.32 x86_64

If others are have the problem of VirtualBox failing to build the kernel modules with kernel 2.6.32 try this :-

1. Install VirtualBox and watch as the kernel modules fail to compile.

2. Change the line
In the following files :-
Line 231 /opt/VirtualBox/src/vboxdrv/Makefile
Line 170 /opt/VirtualBox/src/vboxnetadp/Makefile
Line 174 /opt/VirtualBox/src/vboxnetflt/Makefile
3. Run /etc/rc.d/rc.vboxdrv setup

You will now have a working VirtualBox setup

NB This is written purely from the standpoint of using the Closed source version of VB not the OSE version.
Old 01-11-2010, 02:13 AM   #2
Didier Spaier
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 4,676

Rep: Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237Reputation: 1237
I have VirtualBox 3.1.2 PUEL edition installed on top of a Slackware64-13.0 with and encountered no compilation problem
Old 01-11-2010, 03:24 AM   #3
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Original Poster
Rep: Reputation: 227Reputation: 227Reputation: 227
I have at last been able to isolate the trigger, if like me you use SlackBuilds a lot you probably have ARCH set to avoid changing each script.

If ARCH=x86_64 is set VirtualBox will attempt for some reason to pass amd64 to the kernel build this is invalid in the kernel as amd64 is not used as a architecture name instead x86_64 is used.

PS Pat just released .3 in -current



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ipm timed out error on Red Hat 2.6.9-67.0.22.ELsmp #1 SMP x86_64 x86_64 x86_64 GNU/L bellnarm Linux - Newbie 0 07-07-2009 05:36 PM
Virtualbox and kernel 2.6.30 Dinithion Slackware 14 06-17-2009 06:04 AM
Virtualbox kernel modules won't load after updating kernel in openSUSE 11.0 JamesHall Suse/Novell 6 02-03-2009 05:36 PM
Kernel Panic with Kernel on VMWare ESXi Server d.zinzius Fedora 0 11-21-2008 08:21 AM
virtualbox kernel Brian H Linux - Newbie 14 08-26-2008 06:47 AM

All times are GMT -5. The time now is 05:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration