LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   What's up with Kernel 2.6.35.7? Annoying bugs while compiling... (https://www.linuxquestions.org/questions/debian-26/what%27s-up-with-kernel-2-6-35-7-annoying-bugs-while-compiling-837152/)

marquisor 10-09-2010 07:49 PM

What's up with Kernel 2.6.35.7? 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

Code:

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

< ... 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-2.6.35.7'
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-2.6.35.7-cpupmopt
make[1]: Entering directory `/home/hppm78/linux-2.6.35.7'
====== making target debian/stamp/install/linux-image-2.6.35.7-cpupmopt [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.35.7-cpupmopt\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
          ""
does not match current version:
          "2.6.35.7-cpupmopt"
Please correct this.
make[1]: *** [debian/stamp/install/linux-image-2.6.35.7-cpupmopt] Fehler 2
make[1]: Leaving directory `/home/hppm78/linux-2.6.35.7'
make: *** [kernel_image] Fehler 2
hppm78@p4srv:~/linux-2.6.35.7$

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.

regards
marquisor


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

Code:

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

don't 'make clean'.


Edit: did some search for your main question.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561569

Upgrade your kernel-package package.

marquisor 10-09-2010 08:57 PM

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

btw. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=400768
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 10:34 PM.