SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Just grabbed Slackware64-current and installed on my laptop. Also put Alien Bob's multilib on .. need it for my Absoft fortran compiler.
The problem I'm having is that VirtualBox-3.1.6 doesn't install. I've looked at other problems on the list related to this and I don't think that any of the ones that I've seen applies to my situation. My feeling is that there is an incompatibility problem with gcc. The stock kernel was compiled with gcc-4.4.3 which comes with Slackware64-current. However, Bob's multilib backdates this to gcc-4.3.3. So, when the Virtualbox installation procedure runs it sees a kernel compiled with a version of gcc that is different from the one that is currently installed and chokes.
I guess the solution is to recompile the kernel with the current gcc. Haven't done a kernel compile in a long time though and I'd like to get it right. So, my question is "Is the stock .config file in the linux source folder the one used to configure the default kernel?". I like the stock kernel and would like to recompile with all the bells 'n whistles in the stock kernel.
If you are running Slackware64-current why did you not use the multilib packages for -current? They are in http://slackware.com/~alien/multilib/13.1/ including the 4.4.3 version of the compiler.
Damgar: As I said, its been a long time since I compiled a kernel .. probably as far back as the 2.4.x generation. I don't think that /proc/config.gz was available then (of course I may be wrong .. seems to happen more often than not). Thanks for the info.
Alien Bob: I have lots of computer-related stuff going on in my life now .. translating f77=>f95/debugging a *large* fortran program, trying to figure out why my laptop wifi doesn't work, getting my wife's webcam working, upgrading my home server etc. Just didn't think to look for a new multilib version. I'll get multilib 13.1 and give it a try. Thanks very much for your help.
Ok. I've taken Bob's advice and installed multilib for slackware 13.1. Got the correct version of gcc for slackware-current now but still having problems with Virtualbox.
I'm installing using the generic binary download. The install appears to run ok but then when trying to start a virtual machine I get a "kernel driver not installed" message and am directed to try "vboxdrv setup". When I do this I get the message "modprobe vboxdrv failed. Please use 'dmesg' to find out why". Dmesg shows nothing at all related to virtualbox. Looking at /lib/modules/2.6.33.1/misc/ shows nothing at all installed there so presumably the drivers are not compiling properly for some reason. Colour me stumped.
thirteen
P.S. wifi problem solved and webcam working. just need to find all the bugs in the fortran program and upgrade the server
I installed the package provided by the italian Slackware repo: http://www.slacky.eu/ - and it's very straightforward. After installing, you have to run /etc/rc.d/rc.vboxdrv setup to compile the vbox-kernel modules into the system and load'em up.
Yes, I'm using the amd64 installer for all distributions. I've installed several versions of virtualbox under slackware64 13.0 with no problems. Slackware64-current however, doesn't seem to like it. Here's the output of vbox-install.log:
install: cannot stat `vboxdrv.ko': No such file or directory
install: cannot stat `vboxnetflt.ko': No such file or directory
install: cannot stat `vboxnetadp.ko': No such file or directory
It looks like the modules are not being compiled properly but the information here is pretty terse. No real clue as to what's happening .. to me at least.
It's not a current issue I wouldn't think. Have you tried running
Code:
make prepare
on your kernel source? I remember when the 2.6.33 kernels came into current there were a ton of problems with 3rd party drivers/modules. I was under the impression that that had been resolved with subsequent updates.
Perhaps a new recompiled kernel wuld be worth the effort. It's nothing more than time consuming and depending on the machine, possible not even really that.
Also have you searched for say vboxdrv.ko on the off chance it got misplaced? Vbox has always been good at telling me I screwed something up.
A handful of kernel headers were moved from include/linux/ to include/generated/ in the kernel source tree as of 2.6.33.
Adam
But if I remember correctly 3.1.6 Vbox corrected the issue. The test would be to symlink to the relocated headers. That was how I got Vbox 3.1.4 to run on 2.6.33-rcX prior to the newer release of Vbox. I updated to 3.1.6 on 2.6.34-rc1 the other day as a test for this thread on 2.6.34-rc1 and as best as I can tell I didn't ever create the symlinks for this kernel.
I finally got it going although I'm not entirely sure how. Installed Slackware current last week and made the symlink in include/linux to autoconf.h in include/generated. Tried reinstalling vbox but it didn't work so then I manually deleted the vbox folder and tried the install program again. It worked! Don't know why though.
Anyway, I'm back to using vbox. Thanks all for your help
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.