[opensuse] VirtualBox & kernel-source
I know this has been discussed, but the archives seem to be down right now ... I'm trying to install Virtual Box (the one from Sun, not the OSE) and it's complaining that it can't compile the kernel module. I have both kernel-headers and kernel-source installed. The virtualbox-install.log seems to indicate that it can't find them, or that they aren't properly configured. What do I do now? Tks, -- N. B. Day 39° 28.3964' North, 119° 48.6346' West, 1403m up Aurelius up 1 day 21:27, 2 users, load average: 0.00, 0.06, 0.09 2.6.31.5-0.1-desktop x86_64 GNU/Linux openSUSE 11.2 (x86_64) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 21 Nov 2009, N B Day wrote:
I know this has been discussed, but the archives seem to be down right now ...
I'm trying to install Virtual Box (the one from Sun, not the OSE) and it's complaining that it can't compile the kernel module. I have both kernel-headers and kernel-source installed. The virtualbox-install.log seems to indicate that it can't find them, or that they aren't properly configured. What do I do now?
Very likely the sources don't match your running kernel _exactly_. Check that the 'build' and 'source' links in /lib/modules/$(uname -r) point to something. Steffen -- Das Nichtrauchen entfernt uns von der Zivilisation und setzt den Mann mit seinem Dackel gleich. -- J. C. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 2009-11-21 at 14:39 -0800, N B Day wrote:
I know this has been discussed, but the archives seem to be down right now ...
I'm trying to install Virtual Box (the one from Sun, not the OSE) and it's complaining that it can't compile the kernel module. I have both kernel-headers and kernel-source installed. The virtualbox-install.log seems to indicate that it can't find them, or that they aren't properly configured. What do I do now?
I recall that the kernel-syms package needs to be installed. Then, all the kernel config stuff also seems to get installed. Without it, you would need to use /proc/config.gz and make the kernel dependencies yourself. The kernel-syms package is much easier. I may be remembering incorrectly. YYMV. But installing the package can't hurt anything. -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Nov 24, 2009 at 12:10 AM, Roger Oberholtzer <roger@opq.se> wrote:
On Sat, 2009-11-21 at 14:39 -0800, N B Day wrote:
I know this has been discussed, but the archives seem to be down right now ...
I'm trying to install Virtual Box (the one from Sun, not the OSE) and it's complaining that it can't compile the kernel module. I have both kernel-headers and kernel-source installed. The virtualbox-install.log seems to indicate that it can't find them, or that they aren't properly configured. What do I do now?
I recall that the kernel-syms package needs to be installed. Then, all the kernel config stuff also seems to get installed. Without it, you would need to use /proc/config.gz and make the kernel dependencies yourself. The kernel-syms package is much easier.
I may be remembering incorrectly. YYMV. But installing the package can't hurt anything.
-- Roger Oberholtzer
OPQ Systems / Ramböll RST
Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden
Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
See https://www.redhat.com/archives/fedora-list/2009-November/msg01965.html -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 2009-11-23 at 10:10 -0600, Roger Oberholtzer wrote:
On Sat, 2009-11-21 at 14:39 -0800, N B Day wrote:
I'm trying to install Virtual Box (the one from Sun, not the OSE) and it's complaining that it can't compile the kernel module. I have both kernel-headers and kernel-source installed. The virtualbox-install.log seems to indicate that it can't find them, or that they aren't properly configured. What do I do now?
I recall that the kernel-syms package needs to be installed. Then, all the kernel config stuff also seems to get installed. Without it, you would need to use /proc/config.gz and make the kernel dependencies yourself. The kernel-syms package is much easier.
That was it. I remembered that there *was* an easy way, but not what it was. Pretty soon I'll be where I can't remember that shortcuts exist at all and will finally have to learn this stuff from the ground up. Thanks! -- N. B. Day 39° 28.3964' North, 119° 48.6346' West, 1403m up Aurelius up 3 days 17:51, 2 users, load average: 0.20, 0.26, 0.13 2.6.31.5-0.1-desktop x86_64 GNU/Linux openSUSE 11.2 (x86_64) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Running 11.1. The kernel-syms package is installed. But I get this: HECHLER:~ # /etc/init.d/vboxdrv setup Stopping VirtualBox kernel module done Recompiling VirtualBox kernel module failed (Look at /var/log/vbox-install.log to find out what went wrong) HECHLER:~ # HECHLER:~ # cat /var/log/vbox-install.log Makefile:174: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again. Stop. -- Duaine Hechler Piano, Player Piano, Pump Organ Tuning, Servicing & Rebuilding Reed Organ Society Member Florissant, MO 63034 (314) 838-5587 dahechler@att.net www.hechlerpianoandorgan.com -- Home & Business user of Linux - 10 years -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 22 November 2009 00:39:24 N B Day wrote:
I know this has been discussed, but the archives seem to be down right now ...
I'm trying to install Virtual Box (the one from Sun, not the OSE) and it's complaining that it can't compile the kernel module. I have both kernel-headers and kernel-source installed. The virtualbox-install.log seems to indicate that it can't find them, or that they aren't properly configured. What do I do now?
Tks,
Try to type as root 'make menuconfig' in the folder where kenel sources reside (/usr/src/linux), then save the config file. When configuring VirtualBox sources you could specify as command line parameter for ./configure where the kernel src reside -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Samstag, 21. November 2009 schrieb N B Day:
I know this has been discussed, but the archives seem to be down right now ...
I'm trying to install Virtual Box (the one from Sun, not the OSE) and it's complaining that it can't compile the kernel module. I have both kernel-headers and kernel-source installed. The virtualbox-install.log seems to indicate that it can't find them, or that they aren't properly configured. What do I do now?
Did you install the package kernel-xxx-devel with xxx=default or desktop or whatever kernel-flavor you did install -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 21 November 2009 03:39:24 pm N B Day wrote:
I know this has been discussed, but the archives seem to be down right now ...
I'm trying to install Virtual Box (the one from Sun, not the OSE) and it's complaining that it can't compile the kernel module. I have both kernel-headers and kernel-source installed. The virtualbox-install.log seems to indicate that it can't find them, or that they aren't properly configured. What do I do now?
Install kernel-desktop-devel? -- Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
N B Day wrote:
I know this has been discussed, but the archives seem to be down right now ...
I'm trying to install Virtual Box (the one from Sun, not the OSE) and it's complaining that it can't compile the kernel module. I have both kernel-headers and kernel-source installed. The virtualbox-install.log seems to indicate that it can't find them, or that they aren't properly configured. What do I do now?
Let us the see the pertinent bits of the log, please. /Per -- Per Jessen, Zürich (0.0°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 21 November 2009 23:39:24, N B Day wrote:
I know this has been discussed, but the archives seem to be down right now ...
I'm trying to install Virtual Box (the one from Sun, not the OSE) and it's complaining that it can't compile the kernel module. I have both kernel-headers and kernel-source installed. The virtualbox-install.log seems to indicate that it can't find them, or that they aren't properly configured. What do I do now?
Tks,
have you also installed kernel-syms? I needed this for virtualbox... then it worked for me. regards Daniel -- Daniel Bauer photographer Basel Barcelona professional photography: http://www.daniel-bauer.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (10)
-
Bogdan Cristea
-
Daniel Bauer
-
Don Raboud
-
Duaine & Laura Hechler
-
Markus Koßmann
-
Mr. Teo En Ming (Zhang Enming)
-
N B Day
-
Per Jessen
-
Roger Oberholtzer
-
Steffen Winterfeldt