Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 10-09-2010, 07:49 PM   #1
Registered: Sep 2010
Location: Germany
Distribution: Debian
Posts: 53

Rep: Reputation: 3
Angry 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?

Last edited by marquisor; 10-09-2010 at 07:58 PM.
Old 10-09-2010, 08:04 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
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.

Last edited by AlucardZero; 10-09-2010 at 08:08 PM.
Old 10-09-2010, 08:57 PM   #3
Registered: Sep 2010
Location: Germany
Distribution: Debian
Posts: 53

Original Poster
Rep: Reputation: 3
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

Last edited by marquisor; 10-09-2010 at 09:00 PM.


bugzilla, compiling, debian, kernel, lenny

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
news about bugs in Kernel nima0102 Linux - Kernel 3 07-25-2010 12:31 PM
Annoying bugs in Slack 12.2 simonhar Slackware 8 12-12-2008 09:57 PM
Annoying GNOME Bugs... sancho Ubuntu 3 07-26-2006 03:36 PM
Reporting kernel bugs zdenisl Linux - General 1 07-12-2006 02:04 AM
Kernel 2.6.10 - bugs and problems (discussion) Seppel Slackware 5 02-13-2005 08:38 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration