--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: linux-headers-2.6.20-1-686: does not match linux-image-2.6.20-1-686: nvidia-kernel and vmware driver compilations fail
- From: Marius Mikucionis <mmikucionis@gmail.com>
- Date: Fri, 27 Apr 2007 12:55:52 +0200
- Message-id: <20070427105552.24348.87112.reportbug@scenic33.e.cs.aau.dk>
Package: linux-headers-2.6.20-1-686
Version: 2.6.20-3
Severity: important
The headers package is completely useless:
1) nvidia drivers do not work, tried:
build: module-assistant a-i nvidia-kernel
tried installing with "modprobe nvidia", but it refuses to load.
dmesg says module refuses to load because the module disagrees on kernel structures.
2) vmware-config.pl fails with the following:
Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config0/vmmon.o': -1 Unknown symbol in module
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.
I checked Google and such problems usually appear when a different version of gcc is used
to compile the kernel and the driver. However this is not the case, as:
# cat /proc/version
Linux version 2.6.20-1-686 (Debian 2.6.20-3) (waldi@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Tue Apr 24 21:52:11 UTC 2007
# gcc --version
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Then I took linux-2.6.20.7 from kernel.org, minimized fieatures in .config and
compiled it with make-kpkg and everything works with my generated image and headers.
So what went wrong with Debian kernel releases?
-- System Information:
Debian Release: lenny/sid
Architecture: i386 (i686)
Kernel: Linux 2.6.20-1-686 (SMP w/1 CPU core)
Locale: LANG=lt_LT.UTF-8, LC_CTYPE=lt_LT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages linux-headers-2.6.20-1-686 depends on:
ii gcc-4.1 4.1.1-21 The GNU C compiler
ii linux-headers-2.6.20-1 2.6.20-3 Common header files for Linux 2.6.
ii linux-kbuild-2.6.20 2.6.20-1 Kbuild infrastructure for Linux 2.
linux-headers-2.6.20-1-686 recommends no packages.
-- no debconf information
--- End Message ---