How to find Kernel Headers

know - I know - search the forums first. Well I did, can’t find anything I understand.
So please help an ignoramus in simple terms.
The problem:-
I’m trying to run vmware workstation and I get a desktop box pop up which says “Kernel .heade4s for version 2.6.37.1-1.2 desktop not found”
How do I find them and install please.

theblackpig wrote:

>
> know - I know - search the forums first. Well I did, can’t find anything
> I understand.
> SO_PLEASE_HELP_AN_IGNORAMUS_IN_SIMPLE_TERMS.
> The problem:-
> I’m trying to run vmware workstation and I get a desktop box pop up
> which says “Kernel .heade4s for version 2.6.37.1-1.2 desktop not found”
> How do I find them and install please.
>
>
Most probably you are loking for the packages kernel-headers and maybe
kernel-syms.
Start yast software management search and install that’s it.


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.1 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | Gnome 2.32 | nVidia
ION | 3GB Ram

On Fri, 18 Mar 2011 21:36:02 +0000, theblackpig wrote:

> know - I know - search the forums first. Well I did, can’t find anything
> I understand.
> SO_PLEASE_HELP_AN_IGNORAMUS_IN_SIMPLE_TERMS. The problem:-
> I’m trying to run vmware workstation and I get a desktop box pop up
> which says “Kernel .heade4s for version 2.6.37.1-1.2 desktop not found”
> How do I find them and install please.

Go into the software management tool and select the “kernel-headers” (or
maybe “linux-kernel-headers” - if you search for “kernel-headers” you
should find it) package. Install. :slight_smile:

That should also bring in the stuff needed to build software, but if not,
make sure to include gcc and make.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Did as instructed I get no results

Have now found kernel headers in Yast and it says this kernel is all ready installed !

You need 2 packages from kernels. Kernel-source and kernel-syms ( don’t think the the kernel-header package is used anymore)

You also need at least the gcc package.

In the yast-software management search type kernal then be sure that the Kernel-source and kernel-syms packages are checked. You will see a lot of kernal related packages but you just need those two.

Then in search again type gcc and install just the gcc package there will be lots of other related but you just need gcc

make should already be installed but you can check if you want using the above procedure.

Note you need to be root when running the installer become root by typing su and entering the root password when prompted

Note VMware installs seem to be a problem these days Is there a reason you need VMware? I moved to VirtualBox and am happy with it.

If none of this works you need to post the exact errors you get.

theblackpig wrote:

>
> Have now found kernel headers in Yast and it says this kernel is all
> ready installed !
>
>
If you do not care that you waste some MB on your harddisk go the easy way.
Open a terminal and type


sudo zypper in -t pattern kernel-devel

this should install all you need (and a bit more).


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.1 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | Gnome 2.32 | nVidia
ION | 3GB Ram

martin_helm wrote:

>>
> If you do not care that you waste some MB on your harddisk go the easy
> way. Open a terminal and type
>


> sudo zypper in -t pattern kernel-devel
> 

this should install all you need (and a bit more).

My fault it is (!) devel_kernel not kernel-devel


sudo zypper in -t pattern devel_kernel


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.1 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | Gnome 2.32 | nVidia
ION | 3GB Ram

OK getting closer , did this - sudo zypper in -t pattern devel_kernel and then ran vmware again.
Now I get the vmware kernel module updater which starts to run and the this pops up "Unable to build kernel module.

See log file /tmp/vmware-root/setup-4178.log for details."

However I don’t know how to access /tmp/vmware-root/setup-4178.log to post it here for further help

Just open it with a text editor (kwrite if you use kde or gedit if you use
gnome will do it)

for example

gedit /tmp/vmware-root/setup-4178.log
or
kwrite /tmp/vmware-root/setup-4178.log

then you can copy and paste from the text editor (ok you can use cat from
the terminal but I don’t want to explain now how to copy from there.


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.1 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | Gnome 2.32 | nVidia
ION | 3GB Ram

The package is now called

linux-glibc-devel

OK , here it is, hope it means something!!

Mar 18 23:52:39.131: app-3076069056| Log for VMware Workstation pid=4178 version=7.1.3 build=build-324285 option=Release
Mar 18 23:52:39.131: app-3076069056| The process is 32-bit.
Mar 18 23:52:39.131: app-3076069056| Host codepage=UTF-8 encoding=UTF-8
Mar 18 23:52:39.131: app-3076069056| Logging to /tmp/vmware-root/setup-4178.log
Mar 18 23:52:39.471: app-3076069056| System distribution is SuSE
Mar 18 23:52:39.472: app-3076069056| System version is 11.4
Mar 18 23:52:39.472: app-3076069056| modconf query interface initialized
Mar 18 23:52:39.474: app-3076069056| modconf library initialized
Mar 18 23:52:39.572: app-3076069056| Your GCC version: 4.5
Mar 18 23:52:39.590: app-3076069056| Your GCC version: 4.5
Mar 18 23:52:39.633: app-3076069056| Your GCC version: 4.5
Mar 18 23:52:39.689: app-3076069056| Your GCC version: 4.5
Mar 18 23:52:39.731: app-3076069056| Your GCC version: 4.5
Mar 18 23:52:39.882: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:39.906: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:39.930: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:39.955: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:39.979: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:40.073: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:40.098: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:40.121: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:40.146: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:40.170: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:40.185: app-3076069056| Your GCC version: 4.5
Mar 18 23:52:40.227: app-3076069056| Your GCC version: 4.5
Mar 18 23:52:40.701: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:40.725: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:40.750: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:40.774: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:40.798: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:40.812: app-3076069056| Your GCC version: 4.5
Mar 18 23:52:40.856: app-3076069056| Your GCC version: 4.5
Mar 18 23:52:41.077: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:41.102: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:41.126: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:41.150: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:41.175: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:41.878: app-3076069056| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 18 23:52:41.880: app-3076069056| Building module vmmon.
Mar 18 23:52:41.889: app-3076069056| Extracting the sources of the vmmon module.
Mar 18 23:52:41.969: app-3076069056| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.37.1-1.2-desktop/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.5
Mar 18 23:52:47.693: app-3076069056| Failed to compile module vmmon!

Not sure I understand this - went into Yast, did a search and got this -

[Keep] apparmor-profiles | AppArmor profiles that are loaded int… | 2.5.1.r1445-52.55.1 | 187.0 KiB
[Keep] audit | User Space Tools for 2.6 Kernel Auditing | 2.0.5-5.8.1 | 874.0 KiB
[Keep] autofs | A Kernel-Based Automounter | 5.0.5-14.17.1 | 1.5 MiB
[Keep] kernel-default-devel | Development files necessary for build… | 2.6.37.1-1.2.2 | 7.1 MiB
[Keep] kernel-desktop | Kernel optimized for the desktop | 2.6.37.1-1.2.2 | 104.7 MiB
[Keep] kernel-desktop-devel | Development files necessary for build… | 2.6.37.1-1.2.2 | 7.8 MiB
[Keep] kernel-devel | Development files needed for building… | 2.6.37.1-1.2.2 | 35.2 MiB
[Keep] kernel-pae-devel | Development files necessary for build… | 2.6.37.1-1.2.2 | 7.4 MiB
[Keep] kernel-source | The Linux Kernel Sources | 2.6.37.1-1.2.2 | 353.4 MiB
[Keep] kernel-syms | Kernel Symbol Versions (modversions) | 2.6.37.1-1.2.2 | 1.0 KiB
[Keep] kernel-xen-devel | Development files necessary for build… | 2.6.37.1-1.2.2 | 6.3 MiB
[Keep] kexec-tools | Tools for fast kernel loading | 2.0.2-2.3 | 280.0 KiB
[Keep] klogd | The kernel log daemon | 1.4.1-730.1 | 58.0 KiB
[Keep] ksymoops | Kernel Oops and Error Message Decoder | 2.4.11-145.148.1 | 2.5 MiB
[Keep] libdrm | Userspace Interface for Kernel DRM Se… | 2.4.23-9.1 | 227.0 KiB
[Keep] libnl | Convenience library for kernel netlin… | 1.1-61.4 | 365.0 KiB
[Keep] module-init-tools | Utilities to Load Modules into the Ke… | 3.12-6.1 | 276.0 KiB
[Keep] patterns-openSUSE-devel_kernel | Meta package for pattern devel_kernel | 11.4-6.9.1 | 1.0 KiB
[Keep] pciutils | PCI-utilities for Kernel version 2.2 … | 3.1.7-8.1 | 147.0 KiB
[Keep] preload-kmp-desktop | Preload Kernel Module | 1.2_k2.6.37.1_1.2-5.3 | 93.0 KiB
[Keep] udev | A rule-based device node and kernel e… | 166-5.1 | 977.0 KiB
[Do Not Install] crosscrash | Cross-architecture version of crash (… | (4.0.7.4-10.4) | 5.0 MiB
[Do Not Install] firescope | Read linux kernel logs over firewire | (0.2-73.1) | 41.0 KiB
[Do Not Install] kernel-coverage | Kernel Coverage Imageing, Galaxy Poster | (0.1-58.1) | 753.0 KiB
[Do Not Install] kernel-debug | A Debug Version of the Kernel | (2.6.37.1-1.2.2) | 110.1 MiB
[Do Not Install] kernel-debug-base | A Debug Version of the Kernel - base … | (2.6.37.1-1.2.2) | 18.8 MiB
[Do Not Install] kernel-debug-devel | Development files necessary for build… | (2.6.37.1-1.2.2) | 7.5 MiB
[Do Not Install] kernel-default | The Standard Kernel | (2.6.37.1-1.2.2) | 107.3 MiB
[Do Not Install] kernel-default-base | The Standard Kernel - base modules | (2.6.37.1-1.2.2) | 18.5 MiB
[Do Not Install] kernel-desktop-base | Kernel optimized for the desktop - ba… | (2.6.37.1-1.2.2) | 18.4 MiB
[Do Not Install] kernel-docs | Kernel Documentation | (2.6.37.1-1.2.2) | 13.5 MiB
[Do Not Install] kernel-ec2 | The Amazon EC2 Xen Kernel | (2.6.37.1-1.2.2) | 19.7 MiB
[Do Not Install] kernel-ec2-base | The Amazon EC2 Xen Kernel - base modules | (2.6.37.1-1.2.2) | 9.3 MiB
[Do Not Install] kernel-ec2-devel | Development files necessary for build… | (2.6.37.1-1.2.2) | 3.9 MiB
[Do Not Install] kernel-ec2-extra | The Amazon EC2 Xen Kernel - Unsupport… | (2.6.37.1-1.2.2) | 6.4 MiB
[Do Not Install] kernel-firmware | Linux kernel firmware files | (2.6.38-1.2.1) | 21.4 MiB
[Do Not Install] kernel-pae | Kernel with PAE Support | (2.6.37.1-1.2.2) | 104.2 MiB
[Do Not Install] kernel-pae-base | Kernel with PAE Support - base modules | (2.6.37.1-1.2.2) | 18.8 MiB
[Do Not Install] kernel-source-vanilla | Vanilla Linux kernel sources with min… | (2.6.37.1-1.2.2) | 384.3 MiB
[Do Not Install] kernel-trace | The Standard Kernel with Tracing Feat… | (2.6.37.1-1.2.2) | 108.1 MiB
[Do Not Install] kernel-trace-base | The Standard Kernel with Tracing Feat… | (2.6.37.1-1.2.2) | 19.3 MiB
[Do Not Install] kernel-trace-devel | Development files necessary for build… | (2.6.37.1-1.2.2) | 7.7 MiB
[Do Not Install] kernel-vanilla | The Standard Kernel - without any SUS… | (2.6.37.1-1.2.2) | 99.1 MiB
[Do Not Install] kernel-vanilla-base | The Standard Kernel - without any SUS… | (2.6.37.1-1.2.2) | 17.4 MiB
[Do Not Install] kernel-vanilla-devel | Development files necessary for build… | (2.6.37.1-1.2.2) | 6.5 MiB
[Do Not Install] kernel-vmi | VMI-enabled kernel | (2.6.37.1-1.2.2) | 104.5 MiB
[Do Not Install] kernel-vmi-base | VMI-enabled kernel - base modules | (2.6.37.1-1.2.2) | 18.8 MiB
[Do Not Install] kernel-vmi-devel | Development files necessary for build… | (2.6.37.1-1.2.2) | 7.4 MiB
[Do Not Install] kernel-xen | The Xen Kernel | (2.6.37.1-1.2.2) | 102.9 MiB
[Do Not Install] kernel-xen-base | The Xen Kernel - base modules | (2.6.37.1-1.2.2) | 17.1 MiB
[Do Not Install] kerneloops | Tool to collect kernel oopses and sub… | (0.12-41.1) | 33.0 KiB
[Do Not Install] kerneloops-applet | Tool to collect kernel oopses and sub… | (0.12-41.1) | 21.0 KiB
[Do Not Install] ketchup | Tool for downloading and updating Lin… | (0.9.8-109.1) | 24.0 KiB
[Do Not Install] kvm | Kernel-based Virtual Machine | (0.14.0.0-1.4.1) | 9.1 MiB
[Do Not Install] latencytop | Kernel latency measuring tool | (0.5-10.1) | 71.0 KiB
[Do Not Install] libaudit0 | User Space Tools for 2.6 Kernel Auditing | (1.7.13-4.1) | 102.0 KiB
[Do Not Install] libdlm | Application interface to the kernel’s… | (3.00.01-8.2) | 310.0 KiB
[Do Not Install] libdlm-devel | Application interface to the kernel’s… | (3.00.01-8.2) | 19.0 KiB
[Do Not Install] libdlm3 | Application interface to the kernel’s… | (3.00.01-8.2) | 49.0 KiB
[Do Not Install] libmicro | kernel test suite, micro benchmark | (0.4.0-88.1) | 1.8 MiB
[Do Not Install] libmicro-devel | kernel test suite, micro benchmark | (0.4.0-82.1) | 295.0 KiB
[Do Not Install] libnetfilter_conntrack-devel | Userspace library for the in-kernel c… | (0.9.0-2.1) | 28.0 KiB
[Do Not Install] libnetfilter_conntrack3 | Userspace library for the in-kernel c… | (0.9.0-2.1) | 76.0 KiB
[Do Not Install] libnetfilter_queue-devel | Userspace library for packets that ha… | (1.0.0-3.1) | 7.0 KiB
[Do Not Install] libnetfilter_queue1 | Userspace library for packets that ha… | (1.0.0-3.1) | 14.0 KiB
[Do Not Install] libnfnetlink-devel | Low-Level Library for netfilter relat… | (1.0.0+git1-7.1) | 13.0 KiB
[Do Not Install] libnfnetlink0 | Low-Level Library for netfilter relat… | (1.0.0+git1-7.1) | 49.0 KiB
[Do Not Install] libnl-devel | Convenience library for kernel netlin… | (1.1-61.4) | 108.0 KiB
[Do Not Install] makedumpfile | Partial kernel dump | (1.3.6-2.1) | 280.0 KiB
[Do Not Install] mkelfImage | Utility to Create ELF Boot Images fro… | (2.5-202.1) | 51.0 KiB
[Do Not Install] netconsole-tools | Configure netconsole Kernel Module | (20030909-142.1) | 6.0 KiB
[Do Not Install] nfs-kernel-server | Support Utilities for Kernel nfsd | (1.2.3-11.14.1) | 241.0 KiB
[Do Not Install] omnibook-kmp-default | Kernel modules for Omnibooks from omk… | (20100406_k2.6.37.1_1.2-4.3) | 132.0 KiB
[Do Not Install] omnibook-kmp-desktop | Kernel modules for Omnibooks from omk… | (20100406_k2.6.37.1_1.2-4.3) | 133.0 KiB
[Do Not Install] omnibook-kmp-pae | Kernel modules for Omnibooks from omk… | (20100406_k2.6.37.1_1.2-4.3) | 132.0 KiB
[Do Not Install] omnibook-kmp-xen | Kernel modules for Omnibooks from omk… | (20100406_k2.6.37.1_1.2-4.3) | 134.0 KiB
[Do Not Install] pcfclock | Pcfclock kernel driver | (0.44-247.3) | 14.0 KiB
[Do Not Install] pcfclock-kmp-default | Pcfclock kernel driver | (0.44_k2.6.37.1_1.2-247.3) | 10.0 KiB
[Do Not Install] pcfclock-kmp-desktop | Pcfclock kernel driver | (0.44_k2.6.37.1_1.2-247.3) | 10.0 KiB
[Do Not Install] pcfclock-kmp-pae | Pcfclock kernel driver | (0.44_k2.6.37.1_1.2-247.3) | 10.0 KiB
[Do Not Install] preload-kmp-default | Preload Kernel Module | (1.2_k2.6.37.1_1.2-5.3) | 93.0 KiB
[Do Not Install] sblim-cmpi-params | SBLIM Linux Kernel Parameter Instrume… | (1.3.0-6.1) | 195.0 KiB
[Do Not Install] virtualbox-guest-kmp-default | Guest kernel modules for VirtualBox | (4.0.4_k2.6.37.1_1.2-1.2.3) | 271.0 KiB
[Do Not Install] virtualbox-guest-kmp-desktop | Guest kernel modules for VirtualBox | (4.0.4_k2.6.37.1_1.2-1.2.3) | 272.0 KiB
[Do Not Install] virtualbox-guest-kmp-pae | Guest kernel modules for VirtualBox | (4.0.4_k2.6.37.1_1.2-1.2.3) | 271.0 KiB
[Do Not Install] virtualbox-host-kmp-default | Host kernel module for VirtualBox | (4.0.4_k2.6.37.1_1.2-1.2.3) | 319.0 KiB
[Do Not Install] virtualbox-host-kmp-desktop | Host kernel module for VirtualBox | (4.0.4_k2.6.37.1_1.2-1.2.3) | 320.0 KiB
[Do Not Install] virtualbox-host-kmp-pae | Host kernel module for VirtualBox | (4.0.4_k2.6.37.1_1.2-1.2.3) | 319.0 KiB
[Do Not Install] xen | Xen Virtualization: Hypervisor (aka V… | (4.0.2_02-4.7.1) | 19.0 MiB

I’m about sick of this vmware crud.
I used it once way back and it was a dog to install then.
Since then I have used Virtual Box, which is a doddle. Though I seldom use that now.

Just My preference - tried VirtualBox didn’t get on with it , much the same I suppose that many people prefer Ubuntu to openSuse !

On 03/19/2011 12:36 AM, gogalthorp wrote:
>
> Note VMware installs seem to be a problem these days Is there a reason
> you need VMware? I moved to VirtualBox and am happy with it.

+1 (or 100!)

i fiddled with VMware for dayz and dayz…finally tried VBox and it
“just worked”…

a friend on the other side of the world commented on his high
frustration with getting a working VM (in Win-XP or 7 or
Sever-something), i told him VBox just worked and he laughed…next
day he posted he had tried it just to see how bad it was and to tell
me so, and he reported it “just worked”…first time, no problem…

now: i know him and i know he read and followed the directions
explicitly…

note: i have no connection with Vmware, VBox, Zen or any of the others
(except i was only smart/patient enough to get ONE working as
expected)…your experience with any of those my vary wildly from my
experience and see caveat below.


DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.1.8, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11