# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules done
Uninstalling old VirtualBox DKMS kernel modules done
Trying to register the VirtualBox kernel modules using DKMS
Error! Your kernel headers for kernel 3.1.10-1.13-desktop cannot be found at
/lib/modules/3.1.10-1.13-desktop/build or /lib/modules/3.1.10-1.13-desktop/source.
failed
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules failed
(Look at /var/log/vbox-install.log to find out what went wrong)
I have already installed autoconf, dkms, linux-glibc-devel, kernel-source, kernel-syms, gcc, make, kernel-devel
Look at the kernel source and kernel version. I bet they don’t match.
You should update the running kernel and reboot before installing the kernel source*, because the kernel source available are always the latest one. If kernel and kernel source don’t match, compiling the module fails.
/tmp/vbox.0/Makefile:175: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.6/include -I/usr/src/linux-3.1.10-1.9/arch/x86/include -Iarch/x86/include/generated -Iinclude -include /usr/src/linux-**3.1.10-1.9**/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/usr/src/linux/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
In file included from <command-line>:0:0:
/usr/src/linux-3.1.10-1.9/include/linux/kconfig.h:4:32: fatal error: generated/autoconf.h: No such file or directory
compilation terminated.
Look at the repository difference. Both of your packages are from System Packages and in my case the kernel-desktop-devel is from the openSUSE-12.1-Update repo.
Am 28.06.2012 10:16, schrieb please try again:
>
> suse_kid;2471711 Wrote:
>>
>> These two packages dont match. What is the solution? zypeer refresh /
>> zypper update shows no available updates.
>
> I don’t believe that.
The updates for 3.1.10-1.13.1 where removed from the repositories
because of suspend and shutdown problems on too many machines, they are
no longer shown and available.
If you go into yast and show your kernel package you will see it marked
in red.
@suse kid
Go into yast serach for kernel-desktop and with the version tab change
it to 3.1.10-1.9.1 so that your system is again consistent (reboot of
course after that).
–
PC: oS 12.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.4 | GeForce GT 420
ThinkPad E320: oS 12.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.8.4 | HD 3000
eCAFE 800: oS 12.1 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10
In my case too. I don’t know why it says “System Packages”, but I keep the packages locally and if I search them, I can tell that they were downloaded from the update repo.
Am 28.06.2012 11:16, schrieb please try again:
> Arf! Well … they shoud simply release a new kernel then.
+1
The situation was more than confusing. I have seen that it was mentioned
in some other thread that a new update is on its way, I do not know
details when.
> Btw I
> haven’t seen shutdown problems … or more precisely not more than
> before.
>
I ran into the trap here on three machines (Dell Precision Laptop, Dell
Vostro PC, Fujitsu PC) which were no longer able to shutdown.
–
PC: oS 12.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.4 | GeForce GT 420
ThinkPad E320: oS 12.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.8.4 | HD 3000
eCAFE 800: oS 12.1 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10
On 06/28/12 04:36, please try again pecked at the keyboard and wrote:
> suse_kid;2471720 Wrote:
>> Look at the repository difference. Both of your packages are from System
>> Packages and in my case the kernel-desktop-devel is from the
>> openSUSE-12.1-Update repo.
> In my case too. I don’t know why it says “System Packages”,
Because you only searched installed packages “zypper se -si”. Installed
packages show as “System Packages”.
> but I keep
> the packages locally and if I search them, I can tell that they were
> downloaded from the update repo.
>
>
> Code:
> --------------------
> # find /data/Linux/openSUSE/12.1 -name “kernel-desktop-devel*”
> /data/Linux/openSUSE/12.1/packages/Updates-for-openSUSE-12.1-12.1-1.4/i586/kernel-desktop-devel-3.1.10-1.13.1.i586.rpm
> /data/Linux/openSUSE/12.1/packages/Updates-for-openSUSE-12.1-12.1-1.4/i586/kernel-desktop-devel-3.1.9-1.4.1.i586.rpm
> /data/Linux/openSUSE/12.1/packages/Updates-for-openSUSE-12.1-12.1-1.4/i586/kernel-desktop-devel-3.1.10-1.9.1.i586.rpm
> /data/Linux/openSUSE/12.1/packages/Updates-for-openSUSE-12.1-12.1-1.4/x86_64/kernel-desktop-devel-3.1.10-1.13.1.x86_64.rpm
> /data/Linux/openSUSE/12.1/packages/Updates-for-openSUSE-12.1-12.1-1.4/x86_64/kernel-desktop-devel-3.1.10-1.9.1.x86_64.rpm
> /data/Linux/openSUSE/12.1/packages/Updates-for-openSUSE-12.1-12.1-1.4/x86_64/kernel-desktop-devel-3.1.9-1.4.1.x86_64.rpm
> /data/Linux/openSUSE/12.1/packages/repo-oss/suse/i586/kernel-desktop-devel-3.1.0-1.2.1.i586.rpm
> --------------------
>
>
> AFAIK, “System Packages” is actually not a repo.