I have one question about compileing 2.6.32 kernel with linux-next patch. It compiles ok, but when it comes to creating .deb files, it fails with the following errors:
Can someone help me fix this?Code:====== making target debian/stamp/install/linux-image-2.6.32-core2duo-next-20091208 [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.32-core2duo-next-20091208\" "; echo "Please correct this."; exit 2 The UTS Release version in include/linux/version.h "" does not match current version: "2.6.32-core2duo-next-20091208" Please correct this. make[1]: *** [debian/stamp/install/linux-image-2.6.32-core2duo-next-20091208] Error 2 make[1]: Leaving directory `/home/sdcafe/Kompajlirani_programi/KERNEL/linux-2.6.32-next-20091208' make: *** [kernel_image] Error 2
Newbie here, but how do I download and install the new KernelCheck 1.2.5? I'm currently stuck with the 1.1.4 I think.
Hulp!
Nevermind, I have 1.2.5 lol, sorry.
Last edited by BT1; December 14th, 2009 at 08:54 PM.
"Nothing is certain until you are certain of nothing."
2.6.33-rc1 is out, and there is no way to finish compilation. Always geting the same error.
Help please.Code:make[1]: Leaving directory `/home/sdcafe/Kompajlirani_programi/KERNEL/linux-2.6.33-rc1' 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-rc1-core2duo make[1]: Entering directory `/home/sdcafe/Kompajlirani_programi/KERNEL/linux-2.6.33-rc1' ====== making target debian/stamp/install/linux-image-2.6.33-rc1-core2duo [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-rc1-core2duo\" "; echo "Please correct this."; exit 2 The UTS Release version in include/linux/version.h "" does not match current version: "2.6.33-rc1-core2duo" Please correct this. make[1]: *** [debian/stamp/install/linux-image-2.6.33-rc1-core2duo] Error 2 make[1]: Leaving directory `/home/sdcafe/Kompajlirani_programi/KERNEL/linux-2.6.33-rc1' make: *** [kernel_image] Error 2
You can find an explanation here. http://groups.google.com/group/linux...d2d116a4?fwc=1
In commit 92045954058671fdd0ccf031ca06611ce1d929d1¹, compile.h was moved
from include/linux to include/generated.
You might have to pause before the making the package and move the compile.h to where make-kpkg thinks it should be in include/linux. I'm going to give it a try and see what blows up.
::UPDATE FYI::
Copying the compile.h from include/generated to include/linux allows the build to complete normally. I copied all the files but you can just do the compile.h if you're wary. This will do until deb/ubu do an update to address this bug I suppose.
Last edited by Dizzle7677; December 18th, 2009 at 09:23 PM.
JonDo
'Weird magic happens here' Error: Success
Thanks Dizzle7677. I'll try that right away.
Edit:
I found another way get around this, and it is a permanent.
Edit /usr/share/kernel-package/ruleset/misc/version_vars.mk
find:
and change it in:Code:UTS_RELEASE_HEADER=$(call doit,if [ -f include/linux/utsrelease.h ]; then \ echo include/linux/utsrelease.h; \
Enjoy!Code:UTS_RELEASE_HEADER=$(call doit,if [ -f include/generated/utsrelease.h ]; then \ echo include/generated/utsrelease.h; \
Last edited by Milos_SD; December 18th, 2009 at 10:55 PM.
I can't install nvidia driver on this kernel, even with that nvacpi.c patch. If I understood the log, it says that it can't find kernel source. :S
Sorry, wrong thread
Last edited by ernstblaauw; December 20th, 2009 at 05:12 PM. Reason: Wrong thread
I just stepped through this trying to make a kernal and I got the error below.
Now what ? sorry but I do not know linux at all. what I needed was to incluide e1000e drivers in the BZimage so I can boot clients via PXY and register them.
HELP! please
root@fog:/usr/src/linux-2.6.32# cd .. && dpkg -i linux*2.6.32*.deb
Selecting previously deselected package linux-image-2.6.32-mk.
(Reading database ... 126220 files and directories currently installed.)
Unpacking linux-image-2.6.32-mk (from linux-image-2.6.32-mk_2.6.32-mk-10.00.Custom_i386.deb) ...
Done.
Setting up linux-image-2.6.32-mk (2.6.32-mk-10.00.Custom) ...
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
mkinitramfs-kpkg failed to create initrd image.
Failed to create initrd image.
dpkg: error processing linux-image-2.6.32-mk (--install):
subprocess installed post-installation script returned error exit status 9
Errors were encountered while processing:
linux-image-2.6.32-mk
root@fog:/usr/src#
Bookmarks