-   Debian (
-   -   What's up with Kernel Annoying bugs while compiling... (

marquisor 10-09-2010 07:49 PM

What's up with Kernel Annoying bugs while compiling...
hello, this is my x-th attempt to compile the kernel on debian lenny.

after solving the damn LGUEST issue, now i got an --append-to-version=-foobar issue?!
damn... much time wasted, again.

after make menuconfig and make-kpkg clean i start compiling with


fakeroot make-kpkg --initrd --append-to-version=-cpupmopt kernel_image kernel_headers
error log:

< ... snip ...>
  H16TOFW firmware/edgeport/down.fw
  H16TOFW firmware/edgeport/down2.fw
  IHEX    firmware/edgeport/down3.bin
  IHEX2FW firmware/keyspan_pda/keyspan_pda.fw
  IHEX2FW firmware/keyspan_pda/xircom_pgs.fw
make[1]: Leaving directory `/home/hppm78/linux-'
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: Datei oder Verzeichnis nicht gefunden
echo applied kernel patches: >> debian/buildinfo
echo done > debian/stamp/build/kernel
/usr/bin/make -f ./debian/rules        debian/stamp/binary/pre-linux-image-
make[1]: Entering directory `/home/hppm78/linux-'
====== making target debian/stamp/install/linux-image- [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 "        \"\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
does not match current version:
Please correct this.
make[1]: *** [debian/stamp/install/linux-image-] Fehler 2
make[1]: Leaving directory `/home/hppm78/linux-'
make: *** [kernel_image] Fehler 2

so where's the fault? just one/some modules not supporting a custom version title adding? wherefore is this option then?

are there more annoying bugs? maybe before the last 10 modules or static would be "NICE!" .... :( after 3hrs of compiling.


EDIT: since this is debian specific and i used make -j5 etc. for # of jobs in other distros, is there an option on make-kpkg for that? && any chance for resuming?

AlucardZero 10-09-2010 08:04 PM

Don't know about your main question, but


CONCURRENCY_LEVEL=5 fakeroot make-kpkg --initrd  ...

don't 'make clean'.

Edit: did some search for your main question.

Upgrade your kernel-package package.

marquisor 10-09-2010 08:57 PM

thx, now stable and testing/unstable get a new meaning

seems i now have to manually keep different sources.lists ....

thx for the info on using more cpus. resume would work if i could fix the error. any idea?

EDIT: well with new kernel-package from testing 12.036 it's resuming now... will give a notice later if all goes well. :S

All times are GMT -5. The time now is 12:31 AM.