It required Kernel Headers 3.16.6-2, however the version of kernel-source installed from YaST was the newer 3.16.7-7.1.
How do I install the older 3.16.6-2 version of kernel-source?
Thanks for the suggestion!
However, I am already running the fully updated openSUSE 13.2, but the kernel version was still on 3.16.6-2.
Am I missing something? I am fairly new to openSUSE.
Thanks!
If your openSUSE 13.2 is fully updated, you should have Kernel 3.16.7 installed. But you have to reboot to use the newer Kernel.
By default two Kernels are installed and kept in openSUSE. So you can select the older one in “Advanced Options” in the boot menu, if you would have problems after a kernel update.
If you still boot the old kernel (although you have the newer one installed), you must have set that entry as default (in YaST->System->Boot Loader, e.g.). If that’s the case, you could also choose 3.16.7 manually in the boot menu.
When your installed kernel and the kernel source(including headers) aren’t the same version, then you need to execute the following command to ensure your system is updated
zypper update
Reviewing the steps to ensure success in all scenarios(not just this thread)…
Verify version of kernel source is installed. It may not be the same version as the installed kernel, but a kernel source package must exist before it can be upgraded. Run the following, and look for an “i” to the far left which would indicate it is installed.
zypper se kernel-devel
Run the update command
zypper update
Your kernel and kernel source (including headers) should now be the same version.
kernel-source is not the same as kernel-devel. And there’s also kernel-desktop-devel as well.
I’m not sure at the moment which one(s) you would need for building the VMware kernel module, but better make sure all are the same version as your running kernel.
And you probably shoud add the “-s” option to “zypper search” to show the version numbers as well…
But still, the system kernel and the kernel source version did not match.
As I already wrote in the beginning, you can of course also install the older 3.16.6 kernel source.
Just click on “Versions” below the package list to see all available/installed versions and (un)install specific ones.
BTW - I have always found that if you only need to modify the existing kernel, the kernel-devel package will provide all you need (except the build tools), and that includes the headers. From what I understand, the kernel-source (or anything source for that matter) would be used if you want to make deeper modifications, like building your own kernel or app.