Public bug reported:
At the boot of the machine, I've noticed a message that linux source was
not matching the right version. Same problem I have compiling the module
for vbox.
# cat /var/log/vbox-install.log
Makefile:78: 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.
Makefile:86: *** Error: /usr/src/linux (version 2.6.24.2) does not match the
current kernel (version 2.6.24-10-386). Stop.
# ll /usr/src/
totale 45832
lrwxrwxrwx 1 root src 21 2008-02-13 09:32 Patches ->
/home/z-lmutt/Patches
-rw-r--r-- 1 root root 46921640 2008-02-22 23:08 linux-source-2.6.24.tar.bz2
drwxr-xr-x 6 root root 4096 2008-02-27 16:58
linux-headers-2.6.24-10-generic
lrwxrwxrwx 1 root src 23 2008-02-27 20:04 linux ->
linux-headers-2.6.24-10
drwx--S--- 3 root root 20 2008-02-27 20:04
linux-source-2.6.24-cnxttmp4614
drwxr-xr-x 21 root root 4096 2008-02-29 07:13 linux-headers-2.6.24-10
# cat /usr/src/linux/include/linux/version.h
#define LINUX_VERSION_CODE 132632
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
# dpkg --print-architecture
i386
# uname -a
Linux Volantino 2.6.24-10-386 #1 Fri Feb 22 18:27:28 UTC 2008 i686 GNU/Linux
# ls -l /boot/.
totale 36424
-rw-r--r-- 1 root root 455454 2008-02-22 23:20 abi-2.6.24-10-386
-rw-r--r-- 1 root root 458722 2008-02-22 23:25 abi-2.6.24-10-generic
-rw-r--r-- 1 root root 84108 2008-02-22 23:20 config-2.6.24-10-386
-rw-r--r-- 1 root root 84087 2008-02-22 23:25 config-2.6.24-10-generic
drwxr-xr-x 2 root root 4096 2008-02-27 19:28 grub
-rw-r--r-- 1 root root 7438792 2008-02-28 10:54 initrd.img-2.6.24-10-386
-rw-r--r-- 1 root root 7438793 2008-02-27 19:25 initrd.img-2.6.24-10-386.bak
-rw-r--r-- 1 root root 7788731 2008-02-27 16:59 initrd.img-2.6.24-10-generic
-rw-r--r-- 1 root root 7788587 2008-02-27 16:58 initrd.img-2.6.24-10-generic.bak
-rw-r--r-- 1 root root 103204 2007-09-28 12:06 memtest86+.bin
-rw-r--r-- 1 root root 883598 2008-02-22 23:20 System.map-2.6.24-10-386
-rw-r--r-- 1 root root 903331 2008-02-22 23:25 System.map-2.6.24-10-generic
-rw-r--r-- 1 root root 1842168 2008-02-22 23:20 vmlinuz-2.6.24-10-386
-rw-r--r-- 1 root root 1908952 2008-02-22 23:25 vmlinuz-2.6.24-10-generic
# dpkg -l | grep linux
ii language-selector-common 0.2.10
Language selector for ubuntu linux
ii language-selector-qt 0.2.10
Language selector for kubuntu linux
ii libselinux1 2.0.55-0ubuntu3
SELinux policy enforcement, run-time librari
ii linux-headers-2.6.24-10 2.6.24-10.16
Header files related to Linux kernel version
ii linux-headers-2.6.24-10-generic 2.6.24-10.16
Linux kernel headers for version 2.6.24 on x
ii linux-headers-generic 2.6.24.10.8
Generic Linux kernel headers
ii linux-image-2.6.24-10-386 2.6.24-10.16
Linux kernel image for version 2.6.24 on i38
ii linux-image-2.6.24-10-generic 2.6.24-10.16
Linux kernel image for version 2.6.24 on x86
rc linux-image-2.6.24-5-generic 2.6.24-5.8
Linux kernel image for version 2.6.24 on x86
rc linux-image-2.6.24-7-custom 2.6.24-7-custom-10.00.Custom
Linux kernel binary image for version 2.6.24
rc linux-image-2.6.24-7-generic 2.6.24-7.12
Linux kernel image for version 2.6.24 on x86
rc linux-image-2.6.24-8-generic 2.6.24-8.14
Linux kernel image for version 2.6.24 on x86
rc linux-image-2.6.24-custom 2.6.24-custom-10.00.Custom
Linux kernel binary image for version 2.6.24
ii linux-image-generic 2.6.24.10.8
Generic Linux kernel image
ii linux-libc-dev 2.6.24-10.16
Linux Kernel Headers for development
ii linux-restricted-modules-2.6.24-10-386 2.6.24.9-10.28
Non-free Linux 2.6.24 modules on 386
ii linux-restricted-modules-2.6.24-10-generic 2.6.24.9-10.28
Non-free Linux 2.6.24 modules on x86/x86_64
rc linux-restricted-modules-2.6.24-5-generic 2.6.24.6-5.16
Non-free Linux 2.6.24 modules on x86/x86_64
rc linux-restricted-modules-2.6.24-7-generic 2.6.24.9-8.21
Non-free Linux 2.6.24 modules on x86/x86_64
rc linux-restricted-modules-2.6.24-8-generic 2.6.24.9-8.25
Non-free Linux 2.6.24 modules on x86/x86_64
ii linux-restricted-modules-386 2.6.24.10.8
Restricted Linux modules on 386.
ii linux-restricted-modules-common 2.6.24.9-10.28
Non-free Linux 2.6.24 modules helper script
ii linux-restricted-modules-generic 2.6.24.10.8
Restricted Linux modules for generic kernels
ii linux-sound-base 1.0.16-0ubuntu3
base package for ALSA and OSS sound systems
ii linux-source 2.6.24.10.8
Linux kernel source with Ubuntu patches
ii linux-source-2.6.24 2.6.24-10.16
Linux kernel source for version 2.6.24 with
ii linux-ubuntu-modules-2.6.24-10-generic 2.6.24-10.14
Ubuntu supplied Linux modules for version 2.
rc linux-ubuntu-modules-2.6.24-5-generic 2.6.24-5.9
Ubuntu supplied Linux modules for version 2.
rc linux-ubuntu-modules-2.6.24-7-generic 2.6.24-7.12
Ubuntu supplied Linux modules for version 2.
rc linux-ubuntu-modules-2.6.24-8-generic 2.6.24-8.13
Ubuntu supplied Linux modules for version 2.
ii util-linux 2.13.1-1ubuntu1
Miscellaneous system utilities
ii util-linux-locales 2.13.1-1ubuntu1
Locales files for util-linux
** Affects: ubuntu
Importance: Undecided
Status: New
--
Kernel version does not match the current kernel (2.6.24-10-386)
https://bugs.launchpad.net/bugs/196886
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs