LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-20-2005, 03:13 PM   #1
Rarrum
Member
 
Registered: Nov 2004
Posts: 32

Rep: Reputation: 15
kernel (2.6.10) compile problem


I'm been trying to compile a new version of the kernel to see what sort of speed difference it makes (and hopefilly to fix my sound problem). I'm using Debian, running 2.4.27 right now.

I've run make menuconfig, and set everything up how I want it. Before I build it I do a make-kpkg clean. When I try and compile it though, I get this:
ack:/usr/src/linux# make-kpkg --revision=rar0 kernel_image
(tons of spam from it compiling stuff for a long while)
then the last part:

CC sound/pci/snd-ens1370.mod.o
LD [M] sound/pci/snd-ens1370.ko
CC sound/pci/snd-ens1371.mod.o
LD [M] sound/pci/snd-ens1371.ko
make[1]: Leaving directory `/usr/src/linux-2.6.10'
COLUMNS=150 dpkg -l 'gcc*' perl dpkg 'libc6*' binutils ldso 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
echo applied kernel patches: >> debian/buildinfo
echo done > stamp-build
/usr/bin/make -f /usr/share/kernel-package/rules real_stamp_image
make[1]: Entering directory `/usr/src/linux-2.6.10'
rm -f -r ./debian/tmp-image ./debian/tmp-image.deb
test -f stamp-configure || /usr/bin/make -f /usr/share/kernel-package/rules configure
test -f stamp-build || /usr/bin/make -f /usr/share/kernel-package/rules build
install -p -d -o root -g root -m 755 debian/tmp-image/DEBIAN
install -p -d -o root -g root -m 755 debian/tmp-image//boot
install -p -d -o root -g root -m 755 debian/tmp-image/usr/share/doc/kernel-image-2.6.10
sed -e 's/=V/2.6.10/g' -e 's/=B//g' \
-e 's/=S//g' -e 's/=R//g' \
-e 's/=K/bzImage/g' -e 's/=L/lilo/g' \
-e 's/=I//g' -e 's,=D,/boot,g' \
-e 's@=M@@g' -e 's/=OF//g' \
-e 's@=A@i386@g' \
-e 's/=ST/kernel/g' \
/usr/share/kernel-package/image.postinst > debian/tmp-image/DEBIAN/postinst
make[1]: *** [real_stamp_image] Error 139
make[1]: Leaving directory `/usr/src/linux-2.6.10'
make: *** [kernel-image-deb] Error 2

...I'm no expert at kernel stuff by far, and only been using linux for about 6 monthes. Any ideas on what could be causing this?

Thanks in advance.
 
Old 01-20-2005, 03:45 PM   #2
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
Make error 139 is a segmentation fault, this could be caused by various applications including the compiler itself. It could also be faulty hardware (if so probably RAM). Since you are trying to run kernel 2.6.10, you would have to be running Debian unstable, so problems like this are should be expected. Personally, I would switch to testing, and use the 2.6.8 kernel. BTW, you may want to post this in the Debian section since your building the kernel with kpkg.

Thomas
 
Old 01-20-2005, 04:31 PM   #3
Rarrum
Member
 
Registered: Nov 2004
Posts: 32

Original Poster
Rep: Reputation: 15
I've tried it a few times, and it always dies at the same spot, so I don't think it's faulty hardware causing it. I wasn't aware that compiling it like that was debian-specific... I'll post there in a bit, thanks.
 
  


Reply



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
problem to compile the kernel os2 SUSE / openSUSE 1 09-03-2005 07:19 AM
Problem after new Kernel Compile Spectre630 Slackware 10 08-24-2005 07:15 AM
2.6.6 kernel compile problem lamnk Linux - General 14 06-07-2004 01:13 PM
Compile Kernel Problem duddy11 Linux - Newbie 1 07-31-2003 11:03 AM
kernel compile problem Syncrm Linux - Software 3 01-23-2002 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:08 AM.

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