LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-13-2011, 10:14 PM   #31
chrisretusn
Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 959

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376

As octoberblu3 said, dkms is "recommended" not required. I do not have dkms installed.

I have VirtualBox installed my on both Slackware-current (as of today) and Slackware64-current (both with the most recent Slackware updates). I have had zero problems with VirtualBox with either the install, or reinstall after upgrading my kernels.

I just installed VirtualBox on my almost stock Slackware-current (32) server with zero problems. When I say almost stock, it means only the addition of print filters for my printer, UPS software for my UPS, and now VirtualBox.

Installation of VirtualBox is done using the appropriate VirtualBox-*-Linux_*.run binary from the VirtualBox site.

I am using the generic kernel for Slackware. After a Slackware update, I reset my kernels from huge to generic, remake my initrd image, run lilo, reboot, then rerun the VirtualBox binary. I have also used "rc.vboxdrv setup" without problems.
 
Old 03-13-2011, 10:41 PM   #32
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" & Xfce.
Posts: 4,822

Original Poster
Blog Entries: 1

Rep: Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221
Quote:
Originally Posted by octoberblu3 View Post
It's just recommended, not required. All it does is recompile the kernel modules whenever you install a new kernel version automatically (fitting in with the philosophy of Ubuntu and Fedora of helping out the normal user and doing things behind your back). All you need to do is run as root '/etc/rc.d/rc.vboxdrv setup' when you have booted up the new kernel. It will compile and load the new modules just fine, and you can run VirtualBox as before.
For you maybe, but '/etc/rc.d/rc.vboxdrv setup' did not for me.
Once I installed the latest kernel it was not possible to install the VB module. I tried two version of VB and finally, after reading the VB docs and installing DKMS, the next attempt at installing the VB module was successful.

Last edited by cwizardone; 03-13-2011 at 10:43 PM.
 
Old 03-13-2011, 10:45 PM   #33
DragonWisard
Member
 
Registered: Sep 2004
Location: MD, USA (D.C. Suburbs)
Distribution: Slackware
Posts: 95

Rep: Reputation: 53
Quote:
Originally Posted by cwizardone View Post
For you maybe, but '/etc/rc.d/rc.vboxdrv setup' did not for me.
Once I installed the latest kernel it was not possible to install the VB module. I tried two version of VB and finally, after reading the VB docs and installing DKMS, the next attempt at installing the VB module was successful.
I can confirm that DKMS is NOT required. I am running VBox on both 32-bit and 64-bit systems without DKMS. DKMS is _just_ a mechanism to automate recompiling your kernel modules when the kernel changes.
 
Old 03-13-2011, 11:29 PM   #34
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" & Xfce.
Posts: 4,822

Original Poster
Blog Entries: 1

Rep: Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221
Quote:
Originally Posted by DragonWisard View Post
I can confirm that DKMS is NOT required. I am running VBox on both 32-bit and 64-bit systems without DKMS. DKMS is _just_ a mechanism to automate recompiling your kernel modules when the kernel changes.
OK, then, why wouldn't the VB module install without DKMS?
 
Old 03-14-2011, 07:23 AM   #35
DragonWisard
Member
 
Registered: Sep 2004
Location: MD, USA (D.C. Suburbs)
Distribution: Slackware
Posts: 95

Rep: Reputation: 53
Quote:
Originally Posted by cwizardone View Post
OK, then, why wouldn't the VB module install without DKMS?
PEBKAC. Considering it worked for everyone else in this thread except for you, that's the only reason I can come up with.


Seriously, DKMS is not required. You must have had some other problem that DKMS conveniently obfuscated for you. You're using Slackware64, do you have multilib enabled? Were you compiling for the correct architecture? Did you check dmesg to see why the vboxdrv module failed to load? (The kernel will always give you some kind of excuse for not loading it.)

Last edited by DragonWisard; 03-14-2011 at 07:40 AM.
 
Old 03-14-2011, 11:59 AM   #36
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" & Xfce.
Posts: 4,822

Original Poster
Blog Entries: 1

Rep: Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221
KMA.
All your questions were answer either
<-- here (multilib) or in various
posts in this thread.
 
Old 03-14-2011, 12:49 PM   #37
DragonWisard
Member
 
Registered: Sep 2004
Location: MD, USA (D.C. Suburbs)
Distribution: Slackware
Posts: 95

Rep: Reputation: 53
No, I checked and you didn't clearly answer.

http://www.linuxquestions.org/questi...8/#post4285562 <-- You show the output of running '/etc/rc.d/rc.vboxdrv setup' but NOT:

1. The output of dmesg
2. The arch of the compiled module

Nor did you clarify either of those two points in any subsequent post in this thread.
And we have no way of knowing if you setup multilib correctly after the upgrade.

Again, how do you explain the fact that it works WITHOUT DKMS for everyone except you?
 
Old 03-14-2011, 03:08 PM   #38
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" & Xfce.
Posts: 4,822

Original Poster
Blog Entries: 1

Rep: Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221
In post number 4, I said, "I looked in dmesg, but there was nothing in it in reference to VB or vboxdrv."

As to 'arch,' even I know to use the 64 bit package from Sun for Slackware64.


Both of the following were tried. One after un-installing the other, of course.

VirtualBox-3.2.10-66896-Linux_amd64.run
VirtualBox-4.0.4-70112-Linux_amd64.run

If you mean, after the upgrade to the latest kernel, yes, I downloaded and installed the latest files from AlienBob.

Last edited by cwizardone; 03-14-2011 at 03:10 PM.
 
Old 03-14-2011, 03:23 PM   #39
DragonWisard
Member
 
Registered: Sep 2004
Location: MD, USA (D.C. Suburbs)
Distribution: Slackware
Posts: 95

Rep: Reputation: 53
Quote:
Originally Posted by cwizardone View Post
In post number 4, I said, "I looked in dmesg, but there was nothing in it in reference to VB or vboxdrv."
Which was BEFORE post number 10 in which you ran '/etc/rc.d/rc.vboxdrv setup'.

Quote:
Originally Posted by cwizardone View Post
As to 'arch,' even I know to use the 64 bit package from Sun for Slackware64.


Both of the following were tried. One after un-installing the other, of course.

VirtualBox-3.2.10-66896-Linux_amd64.run
VirtualBox-4.0.4-70112-Linux_amd64.run
Yes, but what architecture was the kernel module that it compiled? Did it try to compile a 32-bit module for your 64-bit kernel? Did you even check the vboxdrv.ko?

Quote:
Originally Posted by cwizardone View Post
If you mean, after the upgrade to the latest kernel, yes, I downloaded and installed the latest files from AlienBob.
Great. I still don't see your explanation for why nobody else in this thread needed DKMS to use VBox.
 
Old 03-14-2011, 03:34 PM   #40
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" & Xfce.
Posts: 4,822

Original Poster
Blog Entries: 1

Rep: Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221
If I knew the answer to that we wouldn't be having this conversation.
Interesting that the Nvidia module installed correctly without DKMS, but the VB module wouldn't install with out it.
 
Old 03-14-2011, 03:56 PM   #41
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-current
Posts: 787

Rep: Reputation: 70
Quote:
Originally Posted by cwizardone View Post
If I knew the answer to that we wouldn't be having this conversation.
Interesting that the Nvidia module installed correctly without DKMS, but the VB module wouldn't install with out it.
It would be interesting to see if removing DKMS would prevent the module to be built.
 
Old 03-14-2011, 05:26 PM   #42
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" & Xfce.
Posts: 4,822

Original Poster
Blog Entries: 1

Rep: Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221Reputation: 2221
Quote:
Originally Posted by BroX View Post
It would be interesting to see if removing DKMS would prevent the module to be built.
Prior to installing DKMS the module would build correctly, but it wouldn't install.

Last edited by cwizardone; 03-14-2011 at 05:33 PM.
 
Old 03-14-2011, 10:51 PM   #43
chrisretusn
Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 959

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
Let see if we can narrow this down.

Was Slackware installed using the recommended Full Install?

If you are using Slackware64, is AlienBOB's mulilib packages and compat32 packages installed?

Are you using the huge or generic kernel? If 32, smp or not smp?

If using the generic kernel are you using initrd (assume you are but one should never assume)?

How did you upgrade the kernel? Slackpkg?

If slackpkg. Do you know that all of the symlinks in /boot are changed back to huge? If you are using generic, you have to reset the links back.

If slackpkg, did you answer yes to run lilo? If using generic you should answer no.

Did you reset your links in /boot and then run lilo?

Did you rerun mkinitrd?

Did you reboot before reinstalling VirtualBox or running /etc/rc.d/rc.vboxdrv setup?

Other than added libraries or programs is your Slackware install a stock install?
 
Old 03-15-2011, 08:11 AM   #44
DragonWisard
Member
 
Registered: Sep 2004
Location: MD, USA (D.C. Suburbs)
Distribution: Slackware
Posts: 95

Rep: Reputation: 53
Quote:
Originally Posted by cwizardone View Post
Prior to installing DKMS the module would build correctly, but it wouldn't install.
If it wouldn't install, then how do you know it built correctly?

Something was wrong with either the module or the kernel.
 
Old 03-15-2011, 05:12 PM   #45
lonestar_italy
Member
 
Registered: Nov 2010
Location: Italy
Distribution: Slackware64-current
Posts: 103

Rep: Reputation: 27
bah DKMS has never been required for VirtualBox modules to compile and install, and still is not required.

Anyway DKMS is just a method for keeping modules updated "automagically", it does what you would do by hand, so everything has to be working also manually. If it doesnt, there must be some mistake somewhere.
 
  


Reply


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
VirtualBox 3.1.6 kernel @ SlackBuild error - kernel include dir dc_eros Slackware 4 05-31-2010 11:24 PM
Mdv-2010 & Virtualbox FredGSanford Mandriva 4 09-25-2009 02:21 PM
Virtualbox kernel modules won't load after updating kernel in openSUSE 11.0 JamesHall SUSE / openSUSE 6 02-03-2009 04:36 PM
virtualbox & DHCP paul_mat Linux - Server 1 05-24-2008 07:23 PM
Virtualbox, Mandriva & Windows 98 dolphans1 Mandriva 15 04-21-2008 01:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:44 PM.

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