Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Kernel Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th December 2006, 10:30
sqrtof3 sqrtof3 is offline
Junior Member
 
Join Date: Dec 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Question Issue compiling kernel 2.6.19.1 in Ubuntu 6.10

After following the howoto forge article on how to compile the new kernel in ubuntu 6.10 (http://www.howtoforge.com/kernel_compilation_ubuntu_p2 ) I reached the
Code:
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
command and received the following error "nothing to be done. " Subsequently the kernel wasn't compiled. Can any one offer me some insight as to what I may have done wrong or what is necessary to compile the kernel correctly? I am attempting to compile the newest kernel build (2.6.19.1) for the k7 architecture (I have an AMD Athlon XP 1600+) in order to overcome the apparent lag in this build of linux (default kernel is 2.6.17-generic). Any help would be much appreciated.
Reply With Quote
Sponsored Links
  #2  
Old 31st December 2006, 21:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Are you in the correct directory when you run the fakeroot command?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 1st January 2007, 00:45
sqrtof3 sqrtof3 is offline
Junior Member
 
Join Date: Dec 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think so /usr/src/linux ?

I followed the tutorial rather meticulously, twice... I'm sure I did it right.
Reply With Quote
  #4  
Old 1st January 2007, 21:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

What's the output of
Code:
ls -la /usr/src/linux/
and
Code:
ls -la /usr/src/
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 2nd January 2007, 02:04
sqrtof3 sqrtof3 is offline
Junior Member
 
Join Date: Dec 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

First off thanks for the replys and insight so far. Secondly here are the outputs:

Code:
ls -la /usr/src/linux/
Output:
Code:
total 444
drwxrwxrwx 20 root root  4096 2006-12-30 02:19 .
drwxrwsr-x  5 root src   4096 2006-12-30 02:04 ..
drwxrwxrwx 27 root root  4096 2006-12-11 13:32 arch
drwxrwxrwx  2 root root  4096 2006-12-11 13:32 block
-rw-r--r--  1 root root 75503 2006-12-30 02:13 .config
-rw-rw-rw-  1 root root 18693 2006-12-11 13:32 COPYING
-rw-rw-rw-  1 root root 90307 2006-12-11 13:32 CREDITS
drwxrwxrwx  2 root root  4096 2006-12-11 13:32 crypto
drwxr-xr-x 10 root root  4096 2006-12-30 02:19 debian
drwxrwxrwx 59 root root  4096 2006-12-11 13:32 Documentation
drwxrwxrwx 62 root root  4096 2006-12-11 13:32 drivers
drwxrwxrwx 63 root root  4096 2006-12-11 13:32 fs
-rw-rw-rw-  1 root root   547 2006-12-11 13:32 .gitignore
drwxrwxrwx 43 root root  4096 2006-12-30 02:19 include
drwxrwxrwx  2 root root  4096 2006-12-11 13:32 init
drwxrwxrwx  2 root root  4096 2006-12-11 13:32 ipc
-rw-rw-rw-  1 root root  1262 2006-12-11 13:32 Kbuild
drwxrwxrwx  5 root root  4096 2006-12-11 13:32 kernel
drwxrwxrwx  5 root root  4096 2006-12-11 13:32 lib
lrwxrwxrwx  1 root root    14 2006-12-30 02:10 linux-2.6.19.1 -> linux-2.6.19.1
-rw-rw-rw-  1 root root 75926 2006-12-11 13:32 MAINTAINERS
-rw-rw-rw-  1 root root 50186 2006-12-11 13:32 Makefile
drwxrwxrwx  2 root root  4096 2006-12-11 13:32 mm
drwxrwxrwx 37 root root  4096 2006-12-11 13:32 net
-rw-rw-rw-  1 root root 16538 2006-12-11 13:32 README
-rw-rw-rw-  1 root root  3065 2006-12-11 13:32 REPORTING-BUGS
drwxrwxrwx  9 root root  4096 2006-12-11 13:32 scripts
drwxrwxrwx  4 root root  4096 2006-12-11 13:32 security
drwxrwxrwx 17 root root  4096 2006-12-11 13:32 sound
drwxrwxrwx  2 root root  4096 2006-12-11 13:32 usr

Code:
ls -la /usr/src/
Output:
Code:
total 83580
drwxrwsr-x  5 root src      4096 2006-12-30 02:04 .
drwxr-xr-x 13 root root     4096 2006-12-30 03:22 ..
lrwxrwxrwx  1 root src        14 2006-12-30 01:25 linux -> linux-2.6.19.1
drwxrwxrwx 20 root root     4096 2006-12-30 02:19 linux-2.6.19.1
-rw-r--r--  1 root src  42731688 2006-12-11 13:40 linux-2.6.19.1.tar.bz2
-rw-r--r--  1 root src  42731688 2006-12-11 13:40 linux-2.6.19.1.tar.bz2.1
drwxr-xr-x 19 root root     4096 2006-12-29 18:36 linux-headers-2.6.17-10
drwxr-xr-x  4 root root     4096 2006-12-29 18:37 linux-headers-2.6.17-10-generic
If you are wondering why there are two of each bz2 file it's because like I said I did the process twice after I relieved the error initially thinking i may have typed something wrong the first time.
Reply With Quote
  #6  
Old 2nd January 2007, 19:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Quote:
Originally Posted by sqrtof3
Code:
ls -la /usr/src/linux/
Output:
Code:
lrwxrwxrwx  1 root root    14 2006-12-30 02:10 linux-2.6.19.1 -> linux-2.6.19.1
This looks strange, but I'm not sure if it is wrong...

Did the commands
Code:
cp /boot/config-`uname -r` ./.config
make menuconfig
make-kpkg clean
give back any errors?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 20:38
Xen 3.0.2 /3.0.3 | No Swap in DomU Merc HOWTO-Related Questions 10 27th March 2007 12:40
WG311v2 almost working with Edgy (w/o ndiswrapper) need help with the rest caudata Server Operation 11 13th November 2006 21:02
KErnel not showing all my memory Jorem Kernel Questions 8 13th April 2006 13:59
Questions about ubuntu ISP-Server Setup badgerbox76 HOWTO-Related Questions 15 5th March 2006 15:41


All times are GMT +2. The time now is 13:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.