I got permission denied even though I was sudo. However the new update for linux-headers solved the issue.
Thanks Rolando Hernandez IT Specialist / Spécialiste IT Pacific Region / Région du Pacifique Telephone / Téléphone : (604) 666-6034 Fax / Télécopieur : (604) 666-1124 Email / Courriel : [EMAIL PROTECTED] Shared Services Office / Bureau des services partagés Natural Resources Canada / Ressources naturelles Canada 625 Robson St, Vancouver B.C. V6B 5J3 / 625 Rue Robson, Vancouver, C.B. V6B 5J3 Government of Canada / Gouvernement du Canada -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of konradc Sent: July 16, 2008 00:28 To: Hernandez, Rolando Subject: [Bug 247055] Re: problems with kernel 2.6.24.19 reporting as 2.6.24.3 I was able to reproduce this using the latest VirtualBox version 1.6.2 source downloaded directly from Sun. Note that the Ubuntu repo has a very old 1.5.6 I traced the VirtualBox makefile (line 138 of ./out/linux.x86/release/bin/src/Makefile) and it checks to make sure 2 values match: * uname -r * /usr/src/linux-headers-2.6.24-19-generic/include/config/kernel.release The kernel.release file has the (erroneous?) value "2.6.24.3". I fixed it by: cd /usr/src/linux-headers-2.6.24-19-generic/include/config/kernel.release cp -p kernel.release kernel.release.bak uname -r > kernel.release Afterwards, VirtualBox compilation should proceed as normal. -- problems with kernel 2.6.24.19 reporting as 2.6.24.3 https://bugs.launchpad.net/bugs/247055 You received this bug notification because you are a direct subscriber of the bug. Status in Ubuntu: Incomplete Bug description: Trying to recompile kernel for virtual box and VMware modules and I get wrong kernel version uname -r gives 2.6.24.19-generic but make kernelversion gives 2.6.24.3 so if I try to compile module I get error Makefile:138: *** Error: /usr/src/linux (version 2.6.24.3) does not match the current kernel (version 2.6.24-19-generic). Stop. I am using hardy heron 8.04 amd64 output of 1) dpkg -l linux-* Desired=Unknown/Install/Remove/Purge/Hold | |Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-p |end / Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: |uppercase=bad) ||/ Name Version Description +++-==============-==============-====================================== +++====== un linux-boot-loa <none> (no description available) un linux-doc-2.6. <none> (no description available) un linux-doc-2.6. <none> (no description available) un linux-doc-2.6. <none> (no description available) ii linux-generic 2.6.24.19.21 Complete Generic Linux kernel un linux-headers <none> (no description available) un linux-headers- <none> (no description available) pn linux-headers- <none> (no description available) pn linux-headers- <none> (no description available) pn linux-headers- <none> (no description available) pn linux-headers- <none> (no description available) pn linux-headers- <none> (no description available) pn linux-headers- <none> (no description available) ii linux-headers- 2.6.24-16.30 Header files related to Linux kernel version ii linux-headers- 2.6.24-16.30 Linux kernel headers for version 2.6.24 on x ii linux-headers- 2.6.24-17.31 Header files related to Linux kernel version ii linux-headers- 2.6.24-17.31 Linux kernel headers for version 2.6.24 on x ii linux-headers- 2.6.24-18.32 Header files related to Linux kernel version ii linux-headers- 2.6.24-18.32 Linux kernel headers for version 2.6.24 on x ii linux-headers- 2.6.24-19.34 Header files related to Linux kernel version ii linux-headers- 2.6.24-19.34 Linux kernel headers for version 2.6.24 on x ii linux-headers- 2.6.24.19.21 Generic Linux kernel headers un linux-image <none> (no description available) un linux-image-2. <none> (no description available) rc linux-image-2. 2.6.20-15.27 Linux kernel image for version 2.6.20 on x86 rc linux-image-2. 2.6.20-16.35 Linux kernel image for version 2.6.20 on x86 rc linux-image-2. 2.6.22-14.52 Linux kernel image for version 2.6.22 on x86 rc linux-image-2. 2.6.24-16.30 Linux kernel image for version 2.6.24 on x86 ii linux-image-2. 2.6.24-17.31 Linux kernel image for version 2.6.24 on x86 ii linux-image-2. 2.6.24-18.32 Linux kernel image for version 2.6.24 on x86 ii linux-image-2. 2.6.24-19.34 Linux kernel image for version 2.6.24 on x86 ii linux-image-ge 2.6.24.19.21 Generic Linux kernel image un linux-initramf <none> (no description available) un linux-kernel-h <none> (no description available) un linux-kernel-l <none> (no description available) ii linux-libc-dev 2.6.24-19.34 Linux Kernel Headers for development rc linux-restrict 2.6.20.5-15.20 Non-free Linux 2.6.20 modules on x86/x86_64 rc linux-restrict 2.6.20.6-16.30 Non-free Linux 2.6.20 modules on x86/x86_64 rc linux-restrict 2.6.22.4-14.10 Non-free Linux 2.6.22 modules on x86/x86_64 rc linux-restrict 2.6.24.12-16.3 Non-free Linux 2.6.24 modules on x86/x86_64 ii linux-restrict 2.6.24.12-17.3 Non-free Linux 2.6.24 modules on x86/x86_64 ii linux-restrict 2.6.24.13-18.4 Non-free Linux 2.6.24 modules on x86/x86_64 ii linux-restrict 2.6.24.13-19.4 Non-free Linux 2.6.24 modules on x86/x86_64 un linux-restrict <none> (no description available) ii linux-restrict 2.6.24.13-19.4 Non-free Linux 2.6.24 modules helper script ii linux-restrict 2.6.24.19.21 Restricted Linux modules for generic kernels ii linux-sound-ba 1.0.16-0ubuntu base package for ALSA and OSS sound systems un linux-source-2 <none> (no description available) un linux-source-2 <none> (no description available) un linux-source-2 <none> (no description available) rc linux-ubuntu-m 2.6.22-14.37 Ubuntu supplied Linux modules for version 2. rc linux-ubuntu-m 2.6.24-16.23 Ubuntu supplied Linux modules for version 2. ii linux-ubuntu-m 2.6.24-17.25 Ubuntu supplied Linux modules for version 2. ii linux-ubuntu-m 2.6.24-18.26 Ubuntu supplied Linux modules for version 2. ii linux-ubuntu-m 2.6.24-19.28 Ubuntu supplied Linux modules for version 2. ls -l /usr/src drwxr-xr-x 20 root root 4096 2008-05-13 15:37 linux-headers-2.6.24-16 drwxr-xr-x 6 root root 4096 2008-05-13 15:37 linux-headers-2.6.24-16-generic drwxr-xr-x 20 root root 4096 2008-06-02 10:09 linux-headers-2.6.24-17 drwxr-xr-x 6 root root 4096 2008-06-02 10:09 linux-headers-2.6.24-17-generic drwxr-xr-x 20 root root 4096 2008-06-05 15:21 linux-headers-2.6.24-18 drwxr-xr-x 6 root root 4096 2008-06-05 15:21 linux-headers-2.6.24-18-generic drwxr-xr-x 20 root root 4096 2008-06-25 11:50 linux-headers-2.6.24-19 drwxr-xr-x 6 root root 4096 2008-07-09 12:00 linux-headers-2.6.24-19-generic lrwxrwxrwx 1 root root 23 2008-07-08 12:20 vboxdrv-1.6.2 -> ../share/virtualbox/src -- problems with kernel 2.6.24.19 reporting as 2.6.24.3 https://bugs.launchpad.net/bugs/247055 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs