#1  
Old 10th April 2010, 07:10
Invincible10001 Invincible10001 is offline
Junior Member
 
Join Date: Apr 2010
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default Issue Compiling Kernel 2.6.33

Code:
fakeroot make-kpkg --initrd --append-to-version=-linux-2.6.33 kernel_image kernel_headers
command gives this output :
Code:
make[1]: Entering directory `/usr/src/linux-2.6.33'
====== making target debian/stamp/install/linux-image-2.6.33-linux-2.6.33 [new prereqs: ]======
This is kernel package version 11.015.
echo "The UTS Release version in include/linux/version.h"; echo "	   \"\" "; echo "does not match current version:"; echo "	   \"2.6.33-linux-2.6.33\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
	   "" 
does not match current version:
	   "2.6.33-linux-2.6.33" 
Please correct this.
make[1]: *** [debian/stamp/install/linux-image-2.6.33-linux-2.6.33] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.33'
make: *** [kernel_image] Error 2

Code:
ls -la /usr/src/linux/
Gives:
Code:
total 928
drwxr-xr-x 26 root root   4096 2010-04-09 22:54 .
drwxrwsr-x  9 root src    4096 2010-04-09 22:52 ..
drwxr-xr-x 25 root root   4096 2010-02-25 00:22 arch
drwxr-xr-x  2 root root   4096 2010-02-25 00:22 block
-rw-r--r--  1 root root 112553 2010-04-09 22:54 .config
-rw-r--r--  1 root root 112540 2010-04-09 22:53 .config.old
-rw-r--r--  1 root root 112491 2010-04-06 23:06 .configuration
-rw-r--r--  1 root root 112491 2010-04-06 23:05 .configuration.old
-rw-r--r--  1 root root  18693 2010-02-25 00:22 COPYING
-rw-r--r--  1 root root  94031 2010-02-25 00:22 CREDITS
drwxr-xr-x  3 root root   4096 2010-02-25 00:22 crypto
drwxr-xr-x 10 root root   4096 2010-04-09 22:54 debian
drwxr-xr-x 85 root root  12288 2010-02-25 00:22 Documentation
drwxr-xr-x 88 root root   4096 2010-02-25 00:22 drivers
drwxr-xr-x 36 root root   4096 2010-02-25 00:22 firmware
drwxr-xr-x 70 root root   4096 2010-02-25 00:22 fs
-rw-r--r--  1 root root    843 2010-02-25 00:22 .gitignore
drwxr-xr-x 22 root root   4096 2010-04-09 22:54 include
drwxr-xr-x  2 root root   4096 2010-02-25 00:22 init
drwxr-xr-x  2 root root   4096 2010-02-25 00:22 ipc
-rw-r--r--  1 root root   2440 2010-02-25 00:22 Kbuild
drwxr-xr-x  7 root root   4096 2010-04-09 22:54 kernel
drwxr-xr-x  6 root root   4096 2010-02-25 00:22 lib
-rw-r--r--  1 root root   4021 2010-02-25 00:22 .mailmap
-rw-r--r--  1 root root 164165 2010-02-25 00:22 MAINTAINERS
-rw-r--r--  1 root root  53199 2010-02-25 00:22 Makefile
-rw-r--r--  1 root root    454 2010-04-09 22:54 .missing-syscalls.d
drwxr-xr-x  2 root root   4096 2010-02-25 00:22 mm
drwxr-xr-x 48 root root   4096 2010-02-25 00:22 net
drwxr-xr-x  2 root root   4096 2010-04-06 22:52 newCall
-rw-r--r--  1 root root  17459 2010-02-25 00:22 README
-rw-r--r--  1 root root   3371 2010-02-25 00:22 REPORTING-BUGS
drwxr-xr-x  7 root root   4096 2010-02-25 00:22 samples
drwxr-xr-x 12 root root   4096 2010-02-25 00:22 scripts
drwxr-xr-x  7 root root   4096 2010-02-25 00:22 security
drwxr-xr-x 21 root root   4096 2010-02-25 00:22 sound
drwxr-xr-x  2 root root   4096 2010-04-09 22:54 .tmp_versions
drwxr-xr-x  3 root root   4096 2010-02-25 00:22 tools
drwxr-xr-x  2 root root   4096 2010-02-25 00:22 usr
drwxr-xr-x  3 root root   4096 2010-02-25 00:22 virt

Code:
ls -la /usr/src/
Gives:
Code:
total 579464
drwxrwsr-x  9 root src       4096 2010-04-09 22:52 .
drwxr-xr-x 11 root root      4096 2010-04-06 13:24 ..
lrwxrwxrwx  1 root src         12 2010-04-09 22:52 linux -> linux-2.6.33
drwxrwxr-x 26 root root      4096 2010-04-07 08:29 linux-2.6.32.3
-rwxr-xr-x  1 root src   64385048 2010-04-06 17:43 linux-2.6.32.3.tar.bz2
-rwxr-xr-x  1 root src   64385857 2010-04-06 17:43 linux-2.6.32.7.tar.bz2
drwxr-xr-x 26 root root      4096 2010-04-09 22:54 linux-2.6.33
-rwxr-xr-x  1 root src   66266488 2010-04-06 17:43 linux-2.6.33.tar.bz2
drwxr-xr-x 23 root root      4096 2009-10-27 23:46 linux-headers-2.6.31-14
drwxr-xr-x  7 root root      4096 2009-10-27 23:46 linux-headers-2.6.31-14-generic
drwxr-xr-x 23 root root      4096 2010-04-06 14:48 linux-headers-2.6.31-20
drwxr-xr-x  7 root root      4096 2010-04-06 19:11 linux-headers-2.6.31-20-generic
drwxr-xr-x 23 root root      4096 2010-04-06 21:45 linux-headers-2.6.32.3-custom
-rw-r--r--  1 root src    6442948 2010-04-06 21:14 linux-headers-2.6.32.3-custom_2.6.32.3-custom-10.00.Custom_amd64.deb
-rw-r--r--  1 root src  391843006 2010-04-06 21:12 linux-image-2.6.32.3-custom_2.6.32.3-custom-10.00.Custom_amd64.deb

Code:
cp /boot/config-`uname -r` ./.config
make menuconfig
make-kpkg clean
Gave no errors.
I've compiled Kernel 2.6.32.3 in the exact same way & that compiled & is running without any problems.
Any help would be appreciated.
Reply With Quote
Sponsored Links
  #2  
Old 11th April 2010, 11:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

What happens when you leave out the
--append-to-version=-linux-2.6.33
switch in the fakeroot make-kpkg command?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 12th April 2010, 13:40
Invincible10001 Invincible10001 is offline
Junior Member
 
Join Date: Apr 2010
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

If i do that, i get this result :
Code:
root@invin-studio:/usr/src/linux# fakeroot make-kpkg --initrd kernel_image kernel_headers
exec debian/rules  DEBIAN_REVISION=2.6.33.2-linux-2.6.33.2-10.00.Custom  INITRD=YES  kernel_image kernel_headers 
/usr/bin/make -f ./debian/rules 	debian/stamp/binary/pre-linux-image-2.6.33.2-linux-2.6.33.2
make[1]: Entering directory `/usr/src/linux-2.6.33.2'
====== making target debian/stamp/install/linux-image-2.6.33.2-linux-2.6.33.2 [new prereqs: ]======
This is kernel package version 11.015.
echo "The UTS Release version in include/linux/version.h"; echo "	   \"\" "; echo "does not match current version:"; echo "	   \"2.6.33.2-linux-2.6.33.2\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
	   "" 
does not match current version:
	   "2.6.33.2-linux-2.6.33.2" 
Please correct this.
make[1]: *** [debian/stamp/install/linux-image-2.6.33.2-linux-2.6.33.2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.33.2'
make: *** [kernel_image] Error 2
root@invin-studio:/usr/src/linux#
Reply With Quote
  #4  
Old 24th April 2010, 15:05
Invincible10001 Invincible10001 is offline
Junior Member
 
Join Date: Apr 2010
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Same error:
Code:
  IHEX    firmware/yam/9600.bin
make[1]: Leaving directory `/usr/src/linux-2.6.33.2'
test ! -e scripts/package/builddeb || mv -f scripts/package/builddeb scripts/package/builddeb.kpkg-dist
test ! -e scripts/package/Makefile || test -f scripts/package/Makefile.kpkg-dist || (mv -f scripts/package/Makefile scripts/package/Makefile.kpkg-dist && (echo "# Dummy file "; echo "help:") >  scripts/package/Makefile)
COLUMNS=150 dpkg -l 'gcc*' perl dpkg 'libc6*' binutils make dpkg-dev |\
	 awk '$1 ~ /[hi]i/ { printf("%s-%s\n", $2, $3) }'> debian/buildinfo
uname -a >> debian/buildinfo
echo using the compiler: >> debian/buildinfo
grep LINUX_COMPILER include/linux/compile.h | \
	   sed -e 's/.*LINUX_COMPILER "//' -e 's/"$//' >> debian/buildinfo
grep: include/linux/compile.h: No such file or directory
echo applied kernel patches: >> debian/buildinfo
echo done > debian/stamp/build/kernel
/usr/bin/make -f ./debian/rules 	debian/stamp/binary/pre-linux-image-2.6.33.2-linux-2.6.33.2
make[1]: Entering directory `/usr/src/linux-2.6.33.2'
====== making target debian/stamp/install/linux-image-2.6.33.2-linux-2.6.33.2 [new prereqs: ]======
This is kernel package version 11.015.
echo "The UTS Release version in include/linux/version.h"; echo "	   \"\" "; echo "does not match current version:"; echo "	   \"2.6.33.2-linux-2.6.33.2\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
	   "" 
does not match current version:
	   "2.6.33.2-linux-2.6.33.2" 
Please correct this.
make[1]: *** [debian/stamp/install/linux-image-2.6.33.2-linux-2.6.33.2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.33.2'
make: *** [kernel_image] Error 2
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
domains not accessible gillesdevals Installation/Configuration 3 17th June 2009 09:12
Ispconfig IE7 Xen aurelius Installation/Configuration 8 19th October 2008 10:46
Google Apps dayjahone General 19 29th March 2008 17:25
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 19:38
WG311v2 almost working with Edgy (w/o ndiswrapper) need help with the rest caudata Server Operation 11 13th November 2006 20:02


All times are GMT +2. The time now is 21:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.