Bug 527101 - Incorrect version of linux-kernel-headers
Summary: Incorrect version of linux-kernel-headers
Status: RESOLVED WONTFIX
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Final
Hardware: All openSUSE 11.2
: P2 - High : Major with 1 vote (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords: Bad_Design, build
Depends on:
Blocks:
 
Reported: 2009-07-31 10:35 UTC by Forgotten User w4XUsT47_R
Modified: 2010-09-03 17:21 UTC (History)
9 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Log file from "vmware-modconfig -console --install-all (130.94 KB, text/x-log)
2009-10-17 04:33 UTC, M. Edward Ed Borasky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User w4XUsT47_R 2009-07-31 10:35:20 UTC
Fresh install of openSuSE 11.2 milestone 4. Added Linux kernel development pattern after install. Yast installed version 2.6.30-2.3 of linux kernel-headers and kernel 2.6.30.2-1.1 of kernel-source and kernel 2.6.30.2-1.1. This cause VMWare workstation to complain and you cannot install VMWare workstation
Comment 1 Stefan Fent 2009-07-31 11:50:05 UTC
Adrian, I don't know who is responsible for this, but it seems as there are version mismatches on milestone 4
Comment 2 Forgotten User w4XUsT47_R 2009-08-12 11:33:08 UTC
I have just tested on milestone 5 and the problem still exists.
Comment 3 KH Chan 2009-09-01 14:31:28 UTC
And this problem continue to exist on milestone 6
Comment 4 M. Edward Ed Borasky 2009-10-17 03:22:36 UTC
And Release Candidate 1! I think VMware Workstation is looking in the wrong place. Maybe we need to post on the VMware forum??

I'll do another test and post any log files I can locate.
Comment 5 M. Edward Ed Borasky 2009-10-17 04:33:14 UTC
Created attachment 322960 [details]
Log file from "vmware-modconfig -console --install-all
Comment 6 M. Edward Ed Borasky 2009-10-17 04:34:36 UTC
Interesting logs ... do you suppose the installer is getting thrown off by this:

/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /usr/lib/vmware/lib/libstdc++.so.6/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libppl_c.so.2)
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /usr/lib/vmware/lib/libstdc++.so.6/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib64/libppl_c.so.2)
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /usr/lib/vmware/lib/libstdc++.so.6/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libppl.so.7)
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /usr/lib/vmware/lib/libstdc++.so.6/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib64/libppl.so.7)
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /usr/lib/vmware/lib/libstdc++.so.6/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libgmpxx.so.4)


Let's try another way:

# vmware-modconfig -console --install-all 2>&1 | tee vmware-modconfig.log
# /etc/init.d/vmware restart
Stopping VMware services:                
   Virtual machine communication interface                             done
   Virtual machine monitor                                             done
   Blocking file system                                                done
Starting VMware services:                                                  
   Virtual machine monitor                                             done
   Virtual machine communication interface                             done
   Blocking file system                                                done
   Virtual ethernet                                                    done
   Shared Memory Available                                             done




That appears to have worked. It spewed a *log* of warnings (log file attached). But VMware Workstation now starts up!
Comment 7 Forgotten User w4XUsT47_R 2009-10-21 11:22:20 UTC
I have tried VMWare Workstation 6.5.3 on openSuSE 11.2 RC1 and it still complains about the incorrect kernel headers. I applied a patch for kernel 2.6.31 from the VMWare forums, but it still fails.

below is the output from the patch.

 sh rt.sh 
Found backup /usr/lib/vmware/modules/source/vmblock.tar.backup-6.5.3
Restoring it to /usr/lib/vmware/modules/source/vmblock.tar
Unpacking /usr/lib/vmware/modules/source/vmblock-only
Found backup /usr/lib/vmware/modules/source/vmci.tar.backup-6.5.3
Restoring it to /usr/lib/vmware/modules/source/vmci.tar
Unpacking /usr/lib/vmware/modules/source/vmci-only
Found backup /usr/lib/vmware/modules/source/vmmon.tar.backup-6.5.3
Restoring it to /usr/lib/vmware/modules/source/vmmon.tar
Unpacking /usr/lib/vmware/modules/source/vmmon-only
Found backup /usr/lib/vmware/modules/source/vmnet.tar.backup-6.5.3
Restoring it to /usr/lib/vmware/modules/source/vmnet.tar
Unpacking /usr/lib/vmware/modules/source/vmnet-only
Found backup /usr/lib/vmware/modules/source/vsock.tar.backup-6.5.3
Restoring it to /usr/lib/vmware/modules/source/vsock.tar
Unpacking /usr/lib/vmware/modules/source/vsock-only
Testing patch
patching file vmci-only/linux/driver.c
patching file vmnet-only/driver.c
patching file vmnet-only/filter.c
patching file vsock-only/linux/af_vsock.c
Applying patch!
patching file vmci-only/linux/driver.c
patching file vmnet-only/driver.c
patching file vmnet-only/filter.c
patching file vsock-only/linux/af_vsock.c
Repacking vmblock-only
Repacking vmci-only
Repacking vmmon-only
Repacking vmnet-only
Repacking vsock-only
Testing compilation of vmblock module to see if it works
Using standalone build system.
./autoconf/geninclude.c:19:28: error: linux/autoconf.h: No such file or directory
make: Entering directory `/usr/lib/vmware/modules/source/vmblock-only'
.././autoconf/geninclude.c:19:28: error: linux/autoconf.h: No such file or directory
make[1]: Entering directory `/usr/lib/vmware/modules/source/vmblock-only/driver-2.6.31.3-1-desktop'
Dependencies for .././linux/module.c
In file included from .././include/compat_version.h:35,
                 from .././include/driver-config.h:36,
                 from .././linux/module.c:26:
/usr/include/linux/version.h:2:2: error: #error "======================================================="
/usr/include/linux/version.h:3:2: error: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: error: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: error: #error ""
/usr/include/linux/version.h:6:2: error: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: error: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: error: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: error: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: error: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: error: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: error: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: error: #error ""
/usr/include/linux/version.h:14:2: error: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: error: #error ""
/usr/include/linux/version.h:16:2: error: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: error: #error ""
/usr/include/linux/version.h:18:2: error: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: error: #error "   /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: error: #error "   the matching kernel source directory"
/usr/include/linux/version.h:21:2: error: #error ""
/usr/include/linux/version.h:22:2: error: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:23:2: error: #error "   compiler option to use the correct include files:"
/usr/include/linux/version.h:24:2: error: #error ""
/usr/include/linux/version.h:25:2: error: #error "   -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:26:2: error: #error ""
/usr/include/linux/version.h:27:2: error: #error "   instead of"
/usr/include/linux/version.h:28:2: error: #error ""
/usr/include/linux/version.h:29:2: error: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:30:2: error: #error ""
/usr/include/linux/version.h:31:2: error: #error "   Please adjust the Makefile accordingly."
/usr/include/linux/version.h:32:2: error: #error "======================================================="
In file included from .././linux/module.c:26:
.././include/driver-config.h:42:5: error: #error "No Module support in this kernel.  Please configure with CONFIG_MODULES"
make[1]: *** [module.d] Error 1
make[1]: Leaving directory `/usr/lib/vmware/modules/source/vmblock-only/driver-2.6.31.3-1-desktop'
make: *** [deps] Error 2
make: Leaving directory `/usr/lib/vmware/modules/source/vmblock-only'
Sorry, problem compiling the vmblock module after it was patched.
Please check that Linux kernel version 2.6.31.3-1-desktop is supported.
Comment 8 Forgotten User w4XUsT47_R 2009-10-21 15:41:02 UTC
After spending the afternoon googling the issue and various other tricks I have finally figured it out. In openSuSE 11.1 and before you only had to select the pattern "Linux Kernel Development". That pattern cause gcc and all the kernel headers to be installed as well.

On openSuSE 11.2 the same pattern "Linux Kernel Development" does not install the rpm "kernel-desktop-devel" which is the cause of the issue. Once I installed "kernel-desktop-devel" VMWare Workstation 6.5.3 was able to compile the kernel modules and works 100%

My suggestion is to fix the "Linux Kernel Development" pattern to include the "kernel-desktop-devel" package.
Comment 9 M. Edward Ed Borasky 2009-10-21 15:55:45 UTC
Are you sure installing "sudo zypper install -t pattern devel_kernel" doesn't bring in "kernel-desktop-devel"? On my machine I have:

> zypper search -i kernel
Loading repository data...
Reading installed packages...

S | Name                           | Summary                           | Type
--+--------------------------------+-----------------------------------+--------
i | devel_kernel                   | Linux Kernel Development          | pattern
i | kernel-debug-devel             | Development files necessary for-> | package
i | kernel-default-devel           | Development files necessary for-> | package
i | kernel-desktop                 | Kernel optimized for the desktop  | package
i | kernel-desktop-devel           | Development files necessary for-> | package
i | kernel-docs                    | Kernel Documentation              | package
i | kernel-source                  | The Linux Kernel Sources          | package
i | kernel-syms                    | Kernel Symbol Versions (modvers-> | package
i | kernel-xen                     | The Xen Kernel                    | package
i | kernel-xen-devel               | Development files necessary for-> | package
i | linux-kernel-headers           | Linux Kernel Headers              | package
i | patterns-openSUSE-devel_kernel | Meta package for pattern devel_-> | package

And I got that by doing "sudo zypper install -t pattern devel_kernel" and adding in "kernel-docs" and "kernel-syms" later. What was curious to me was that this process brought in "kernel-debug-devel" and "kernel-defaualt-devel" when I don't have those kernels installed. Maybe it's *YaST* that's not bringing in "kernel-desktop-devel?"
Comment 10 Forgotten User w4XUsT47_R 2009-10-21 16:09:00 UTC
I used Yast to install the pattern. I'll do a test with zypper to see if it works with zypper.
Comment 11 Forgotten User w4XUsT47_R 2009-10-22 08:27:19 UTC
Below is what I get when I do a zypper in -t pattern devel_kernel. As you can see the package kernel-desktop-devel is not included. This is on a clean install of openSuSE 11.2 RC1 i586. I suspect the pattern is wrong.

zypper in -t pattern devel_kernel
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
  atk-devel autoconf automake bin86 binutils-devel bison cairo-devel cscope cvs
  cyrus-sasl-devel diffstat e2fsprogs-devel fdupes flex fontconfig-devel
  freetype2-devel gcc gcc-c++ gcc-info gcc44 gcc44-c++ gcc44-info gdbm-devel
  gettext-tools git-core git-email git-gui gitk glib2-devel glibc-devel
  glibc-info gmp-devel gperf gtk2-devel indent kernel-source libaio-devel
  libapparmor-devel libapr-util1 libapr1 libart_lgpl libart_lgpl-devel
  libblkid-devel libcom_err-devel libdb-4_5-devel libext2fs-devel libgcj-devel
  libgcj44-devel libgcj_bc44 libopenssl-devel libosip2 libosip2-devel
  libpciaccess0-devel libpixman-1-0-devel libpng-devel libstdc++-devel
  libstdc++44-devel libtool libuuid-devel linux-kernel-headers m4 make
  ncurses-devel openldap2-devel pam-devel pango-devel patch patchutils
  patterns-openSUSE-devel_basis patterns-openSUSE-devel_kernel quilt rcs
  subversion tack tcl texinfo tk xorg-x11-devel xorg-x11-fonts-devel
  xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libX11-devel
  xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-libXext-devel
  xorg-x11-libXfixes-devel xorg-x11-libXmu-devel xorg-x11-libXp-devel
  xorg-x11-libXpm-devel xorg-x11-libXprintUtil-devel xorg-x11-libXrender-devel
  xorg-x11-libXt-devel xorg-x11-libXv-devel xorg-x11-libfontenc-devel
  xorg-x11-libxcb-devel xorg-x11-libxkbfile-devel xorg-x11-proto-devel
  xorg-x11-util-devel xorg-x11-xtrans-devel zlib-devel

The following NEW patterns are going to be installed:
  apparmor apparmor_opt base devel_basis devel_kernel sw_management update_test
  yast2_install_wf

100 new packages to install.
Overall download size: 128.6 MiB. After the operation, additional 584.8 MiB
will be used.
Continue? [y/n/?] (y):
Comment 12 M. Edward Ed Borasky 2009-10-22 17:34:25 UTC
OK ... I also installed package "kernel-syms" - maybe the "kernel-devel-xxx" files have been moved? I don't have a fresh install handy to check that at the moment, but I can build a virtual machine and try it if nobody else gets to it soon. I gave this one five votes. ;-)
Comment 13 David Bailey 2009-10-27 17:21:29 UTC
I am getting the same problem on openSUSE 11.2 RC1, but have already performed an installation of all the following packages:

kernel-source-2.6.31.3-1.1.noarch
kernel-desktop-devel-2.6.31.3-1.1.x86_64
kernel-desktop-2.6.31.3-1.1.x86_64      
kernel-default-devel-2.6.31.3-1.1.x86_64
kernel-desktop-base-2.6.31.3-1.1.x86_64 
patterns-openSUSE-devel_kernel-11.2-19.1.x86_64
kernel-debug-devel-2.6.31.3-1.1.x86_64         
kernel-syms-2.6.31.3-1.1.x86_64                
kernel-firmware-20090821-3.1.noarch            
linux-kernel-headers-2.6.31-2.4.noarch         
kernel-xen-devel-2.6.31.3-1.1.x86_64           

VMware installation shows the following:

# vmware-modconfig --console --install-all 2>&1 | tee vmware-modconfig.log
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /usr/lib/vmware/lib/libstdc++.so.6/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libppl_c.so.2)
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /usr/lib/vmware/lib/libstdc++.so.6/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib64/libppl_c.so.2)
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /usr/lib/vmware/lib/libstdc++.so.6/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libppl.so.7)
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /usr/lib/vmware/lib/libstdc++.so.6/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib64/libppl.so.7)
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /usr/lib/vmware/lib/libstdc++.so.6/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libgmpxx.so.4)
gcc and kernel headers must be installed
Comment 14 M. Edward Ed Borasky 2009-10-27 18:00:49 UTC
I just did an install yesterday and it worked. Your command is

# vmware-modconfig --console --install-all

The command I used is

# vmware-modconfig -console --install-all

Only *one* dash before "console" and two before "isntall-all"

Try that.
Comment 15 David Bailey 2009-10-27 18:42:54 UTC
# vmware-modconfig -console --install-all
Logging to /tmp/vmware-root/setup-22770.log
Failed to parse options.
Unknown option -console
Comment 16 M. Edward Ed Borasky 2009-10-27 19:39:37 UTC
Oops! Yeah, you're right! But it's working here. I just re-ran it. I installed from the *bundle* - it may not work if you install from the RPM. I am running the KDE desktop, x86_64 and have

S | Name                 | Type    | Version      | Arch   | Repository
--+----------------------+---------+--------------+--------+------------------
i | kernel-debug-devel   | package | 2.6.31.3-1.1 | x86_64 | openSUSE-11.2-Oss
i | kernel-debug-devel   | package | 2.6.31.3-1.1 | x86_64 | openSUSE:Factory
i | kernel-default-devel | package | 2.6.31.3-1.1 | x86_64 | openSUSE-11.2-Oss
i | kernel-default-devel | package | 2.6.31.3-1.1 | x86_64 | openSUSE:Factory
i | kernel-desktop       | package | 2.6.31.3-1.1 | x86_64 | openSUSE-11.2-Oss
i | kernel-desktop       | package | 2.6.31.3-1.1 | x86_64 | openSUSE:Factory
i | kernel-desktop-devel | package | 2.6.31.3-1.1 | x86_64 | openSUSE-11.2-Oss
i | kernel-desktop-devel | package | 2.6.31.3-1.1 | x86_64 | openSUSE:Factory
i | kernel-docs          | package | 2.6.3-43.107 | noarch | openSUSE-11.2-Oss
i | kernel-docs          | package | 2.6.3-43.107 | noarch | openSUSE:Factory
i | kernel-source        | package | 2.6.31.3-1.1 | noarch | openSUSE-11.2-Oss
i | kernel-source        | package | 2.6.31.3-1.1 | noarch | openSUSE:Factory
i | kernel-syms          | package | 2.6.31.3-1.1 | x86_64 | openSUSE-11.2-Oss
i | kernel-syms          | package | 2.6.31.3-1.1 | x86_64 | openSUSE:Factory
i | kernel-xen           | package | 2.6.31.3-1.1 | x86_64 | openSUSE-11.2-Oss
i | kernel-xen           | package | 2.6.31.3-1.1 | x86_64 | openSUSE:Factory
i | kernel-xen-devel     | package | 2.6.31.3-1.1 | x86_64 | openSUSE-11.2-Oss
i | kernel-xen-devel     | package | 2.6.31.3-1.1 | x86_64 | openSUSE:Factory
i | linux-kernel-headers | package | 2.6.31-2.4   | noarch | openSUSE-11.2-Oss
i | linux-kernel-headers | package | 2.6.31-2.4   | noarch | openSUSE:Factory

and

S | Name                           | Type    | Version   | Arch   | Repository       
--+--------------------------------+---------+-----------+--------+------------------
i | devel_C_C++                    | pattern | 11.2-19.1 | x86_64 | openSUSE-11.2-Oss
i | devel_C_C++                    | pattern | 11.2-19.1 | x86_64 | openSUSE:Factory 
i | devel_C_C++                    | pattern | 11.2-19.1 | i586   | openSUSE-11.2-Oss
i | devel_C_C++                    | pattern | 11.2-19.1 | i586   | openSUSE:Factory 
i | devel_basis                    | pattern | 11.2-19.1 | x86_64 | openSUSE-11.2-Oss
i | devel_basis                    | pattern | 11.2-19.1 | x86_64 | openSUSE:Factory
i | devel_basis                    | pattern | 11.2-19.1 | i586   | openSUSE-11.2-Oss
i | devel_basis                    | pattern | 11.2-19.1 | i586   | openSUSE:Factory
i | devel_kde                      | pattern | 11.2-19.1 | x86_64 | openSUSE-11.2-Oss
i | devel_kde                      | pattern | 11.2-19.1 | x86_64 | openSUSE:Factory
i | devel_kde                      | pattern | 11.2-19.1 | i586   | openSUSE-11.2-Oss
i | devel_kde                      | pattern | 11.2-19.1 | i586   | openSUSE:Factory
i | devel_kernel                   | pattern | 11.2-19.1 | x86_64 | openSUSE-11.2-Oss
i | devel_kernel                   | pattern | 11.2-19.1 | x86_64 | openSUSE:Factory
i | devel_kernel                   | pattern | 11.2-19.1 | i586   | openSUSE-11.2-Oss
i | devel_kernel                   | pattern | 11.2-19.1 | i586   | openSUSE:Factory
i | devel_perl                     | pattern | 11.2-19.1 | x86_64 | openSUSE-11.2-Oss
i | devel_perl                     | pattern | 11.2-19.1 | x86_64 | openSUSE:Factory
i | devel_perl                     | pattern | 11.2-19.1 | i586   | openSUSE-11.2-Oss
i | devel_perl                     | pattern | 11.2-19.1 | i586   | openSUSE:Factory
i | devel_qt4                      | pattern | 11.2-19.1 | x86_64 | openSUSE-11.2-Oss
i | devel_qt4                      | pattern | 11.2-19.1 | x86_64 | openSUSE:Factory
i | devel_qt4                      | pattern | 11.2-19.1 | i586   | openSUSE-11.2-Oss
i | devel_qt4                      | pattern | 11.2-19.1 | i586   | openSUSE:Factory
i | patterns-openSUSE-devel_C_C++  | package | 11.2-19.1 | x86_64 | openSUSE-11.2-Oss
i | patterns-openSUSE-devel_C_C++  | package | 11.2-19.1 | x86_64 | openSUSE:Factory
i | patterns-openSUSE-devel_basis  | package | 11.2-19.1 | x86_64 | openSUSE-11.2-Oss
i | patterns-openSUSE-devel_basis  | package | 11.2-19.1 | x86_64 | openSUSE:Factory
i | patterns-openSUSE-devel_kde    | package | 11.2-19.1 | x86_64 | openSUSE-11.2-Oss
i | patterns-openSUSE-devel_kde    | package | 11.2-19.1 | x86_64 | openSUSE:Factory
i | patterns-openSUSE-devel_kernel | package | 11.2-19.1 | x86_64 | openSUSE-11.2-Oss
i | patterns-openSUSE-devel_kernel | package | 11.2-19.1 | x86_64 | openSUSE:Factory
i | patterns-openSUSE-devel_perl   | package | 11.2-19.1 | x86_64 | openSUSE-11.2-Oss
i | patterns-openSUSE-devel_perl   | package | 11.2-19.1 | x86_64 | openSUSE:Factory
i | patterns-openSUSE-devel_qt4    | package | 11.2-19.1 | x86_64 | openSUSE-11.2-Oss
i | patterns-openSUSE-devel_qt4    | package | 11.2-19.1 | x86_64 | openSUSE:Factory


installed. For some reason, some of the repos are refusing to connect now, so I can't refresh them.
Comment 17 M. Edward Ed Borasky 2009-10-27 19:43:42 UTC
Hmmm ... that's interesting ... looks like I have both 64-bit and 32-bit "devel_" patterns installed for some of them. I'm not sure how that happened, but it might be required for VMware.
Comment 18 David Bailey 2009-10-27 20:35:53 UTC
I got the VMware Workstation 7 build 203739 and it installed and functioned correctly.
Comment 19 M. Edward Ed Borasky 2009-10-27 21:40:26 UTC
Workstation 7? Is that released or still beta? Any idea how much they'll want for an upgrade?
Comment 20 David Bailey 2009-10-27 21:43:42 UTC
Released. It came out today. Upgrade price is $99 for standard customers, I think.
Comment 21 jean-christophe baptiste 2009-10-31 13:49:29 UTC
Same problem here.

I am trying to compile an important module for my laptop (tp_smapi, for hdaps protection).

Makefile:31: Building tp_smapi requires Linux kernel 2.6.19 or newer, and matching kernel headers.
Makefile:32: You may need to override the following Make variables:
Makefile:33: .   KVER=2.6.31.5-0.1-desktop
Makefile:34: .   KBUILD=/lib/modules/2.6.31.5-0.1-desktop/build
Makefile:35: .   MOD_DIR=/lib/modules/2.6.31.5-0.1-desktop/kernel
Makefile:36: For "make patch", you may also need the full kernel sources, and may need to override:
Makefile:37: .   KSRC=/lib/modules/2.6.31.5-0.1-desktop/source
Makefile:38: *** Missing kernel headers. Arrêt

I am using the 2.6.31.5-0.1-desktop kernel, whereas the linux-kernel-headers version is still 2.6.31-3.4.

Please update it.
Comment 22 Mustafa Jamil 2010-03-16 00:22:47 UTC
Hello.  I work at VMware, and thus my most immediate concern is identifying whether this bug is caused by problems in any VMware platform installer code (in this case, the Workstation installer code).

After reading through all the comments, it appears that the answer is, "No."

The problem here seems to be limited to zypper patterns.  Specifically, people are reporting that trying to install the devel_kernel pattern devel_kernel via either zypper or yast is either not bringing in the linux-kernel-headers package or bringing in the wrong version of it.  It also appears that the problem is only reported against OpenSuSE 11.2; I can't tell if people are seeing this problem with 11.3.

So, VMware's involvement seems completely accidental; it just happened to be a program that, on installation, required compilation, which revealed the incorrect-headers problem.
Comment 23 Forgotten User O36P--M6FC 2010-05-20 14:48:41 UTC
I have been struggling with Opensuse 11.2 while building software related to DVB (vdr, tvheadend, scan-s2, etc...) but also the Nvidia driver.

To my understanding, the package linux-kernel-headers has been provided so that one doesn't need to install kernel-source to compile some software. The problem with this way of doing is that if you run your computer on a custom built kernel, your system will still point to the previous kernel headers provided by the package linux-kernel-headers. This is wrong of course and brings lot more trouble than it solves. And this is not documented (or I couldn't find the docs if there are).

I suggest that the package linux-kernel-headers be removed entirely. If someone needs the kernel headers, then he should install the kernel source.

Another way would be the Fedora way. I recall that some package like the linux-kernel-headers is installed in /usr/src/linux-x.x.x/include/... with a symlink /usr/src/linux towards /usr/src/linux-x.x.x This way, if you setup a new custom kernel, you just have to update the symlink and everything is set.

Here in Opensuse land, you can't because the headers are installed inside /usr/include with a lot of other headers from various software.

My 2cts
Comment 24 Jeff Mahoney 2010-05-20 14:53:30 UTC
Your understanding is incorrect. linux-kernel-headers is used for building userspace and it supplements glibc.

To build kernel modules, you need kernel-source. kernel-$flavor-devel is needed to build against a particular kernel release.

openSUSE 11.3 has a kernel-devel package that only includes the files necessary for building kernel modules. You'll still need the kernel-$flavor-devel package.
Comment 25 Forgotten User O36P--M6FC 2010-05-20 15:55:29 UTC
Ok, then please explain how you would do in the following usecase

Opensuse 11.2
linux-kernel-headers 2.6.31
custom kernel running 2.6.33.1

Compiling VDR will complain because of files it can't find and wrong versions, mainly due to DVB rapidly changing API.

How do you *cleanly* solve this issue ?
Comment 26 Forgotten User O36P--M6FC 2010-05-20 15:58:40 UTC
As a side note, forcing removal of linux-kernel-headers and copying the include folder content of the custom kernel 2.6.33.1 into /usr/include/ will solve VDR build troubles...
Comment 27 Jeff Mahoney 2010-09-03 17:21:48 UTC
openSUSE 11.2 is in security-maintenance mode. Please reopen if this issue still occurs with 11.3 or Factory.