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
  #11  
Old 26th January 2007, 20:00
rupertg rupertg is offline
Junior Member
 
Join Date: Jan 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I deleted everything and started from scratch, and this time it worked (it's compiling as I write - although it has yet to complete, it didn't crash out as before).

The reason the original compile failed was, I now discover, my mistake. In the line

Code:
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
I misread your instruction that "After --append-to-version= you can write any string that helps you identify the kernel, but it must begin with a minus (-) and must not contain whitespace.", and also removed the kernel_image and kernel_headers parameters when I edited the text of the append switch.

A little more care, and all is well!

Thanks for your help

Rupert
Reply With Quote
Sponsored Links
  #12  
Old 18th August 2007, 16:26
magic magic is offline
Junior Member
 
Join Date: Aug 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default issue compiling kernel 2.6.22.3 in Debian 4.0

I have having the same issues mentioned in this thread. I get the "Nothing to be done" error.

I think its because of this command and that I am entering it in the wrong way perhaps?:

Code:
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
Can someone please examplify how this command should be entered. In the tutorial it says

"After --append-to-version= you can write any string that helps you identify the kernel, but it must begin with a minus (-) and must not contain whitespace."

Feel free to use whatever string you like for the sake of the example.

Thx,

/magic
Reply With Quote
  #13  
Old 19th August 2007, 15:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

You must enter the command exactly as shown in the example. You can replace -custom with any string you like, but it must begin with a -, e.g.:

Code:
fakeroot make-kpkg --initrd --append-to-version=-example kernel_image kernel_headers
__________________
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
The Following User Says Thank You to falko For This Useful Post:
Invincible10001 (10th April 2010)
  #14  
Old 9th April 2010, 20:36
Invincible10001 Invincible10001 is offline
Junior Member
 
Join Date: Apr 2010
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default nothing to be done

Sorry to post to such an old thread, but i'm facing the same problem. running ubuntu 9.10 x64

Code:
fakeroot make-kpkg --initrd --append-to-version=-
Gives the output :

Code:
make[1]: Leaving directory `/usr/src/linux-2.6.33'
echo done > debian/stamp/conf/minimal_debian
exec debian/rules  APPEND_TO_VERSION=-linux-2.6.33  INITRD=YES  
nothing to be done.
Quote:
Are you in the correct directory when you run the fakeroot command?
Yes.

Code:
ls -la /usr/src/linux/
Gives:
Code:
total 928
drwxr-xr-x 26 root root   4096 2010-04-09 22:54 .
drwxrwsr-x  9 root src    4096 2010-04-09 22:52 ..
drwxr-xr-x 25 root root   4096 2010-02-25 00:22 arch
drwxr-xr-x  2 root root   4096 2010-02-25 00:22 block
-rw-r--r--  1 root root 112553 2010-04-09 22:54 .config
-rw-r--r--  1 root root 112540 2010-04-09 22:53 .config.old
-rw-r--r--  1 root root 112491 2010-04-06 23:06 .configuration
-rw-r--r--  1 root root 112491 2010-04-06 23:05 .configuration.old
-rw-r--r--  1 root root  18693 2010-02-25 00:22 COPYING
-rw-r--r--  1 root root  94031 2010-02-25 00:22 CREDITS
drwxr-xr-x  3 root root   4096 2010-02-25 00:22 crypto
drwxr-xr-x 10 root root   4096 2010-04-09 22:54 debian
drwxr-xr-x 85 root root  12288 2010-02-25 00:22 Documentation
drwxr-xr-x 88 root root   4096 2010-02-25 00:22 drivers
drwxr-xr-x 36 root root   4096 2010-02-25 00:22 firmware
drwxr-xr-x 70 root root   4096 2010-02-25 00:22 fs
-rw-r--r--  1 root root    843 2010-02-25 00:22 .gitignore
drwxr-xr-x 22 root root   4096 2010-04-09 22:54 include
drwxr-xr-x  2 root root   4096 2010-02-25 00:22 init
drwxr-xr-x  2 root root   4096 2010-02-25 00:22 ipc
-rw-r--r--  1 root root   2440 2010-02-25 00:22 Kbuild
drwxr-xr-x  7 root root   4096 2010-04-09 22:54 kernel
drwxr-xr-x  6 root root   4096 2010-02-25 00:22 lib
-rw-r--r--  1 root root   4021 2010-02-25 00:22 .mailmap
-rw-r--r--  1 root root 164165 2010-02-25 00:22 MAINTAINERS
-rw-r--r--  1 root root  53199 2010-02-25 00:22 Makefile
-rw-r--r--  1 root root    454 2010-04-09 22:54 .missing-syscalls.d
drwxr-xr-x  2 root root   4096 2010-02-25 00:22 mm
drwxr-xr-x 48 root root   4096 2010-02-25 00:22 net
drwxr-xr-x  2 root root   4096 2010-04-06 22:52 newCall
-rw-r--r--  1 root root  17459 2010-02-25 00:22 README
-rw-r--r--  1 root root   3371 2010-02-25 00:22 REPORTING-BUGS
drwxr-xr-x  7 root root   4096 2010-02-25 00:22 samples
drwxr-xr-x 12 root root   4096 2010-02-25 00:22 scripts
drwxr-xr-x  7 root root   4096 2010-02-25 00:22 security
drwxr-xr-x 21 root root   4096 2010-02-25 00:22 sound
drwxr-xr-x  2 root root   4096 2010-04-09 22:54 .tmp_versions
drwxr-xr-x  3 root root   4096 2010-02-25 00:22 tools
drwxr-xr-x  2 root root   4096 2010-02-25 00:22 usr
drwxr-xr-x  3 root root   4096 2010-02-25 00:22 virt

Code:
ls -la /usr/src/
Gives:
Code:
total 579464
drwxrwsr-x  9 root src       4096 2010-04-09 22:52 .
drwxr-xr-x 11 root root      4096 2010-04-06 13:24 ..
lrwxrwxrwx  1 root src         12 2010-04-09 22:52 linux -> linux-2.6.33
drwxrwxr-x 26 root root      4096 2010-04-07 08:29 linux-2.6.32.3
-rwxr-xr-x  1 root src   64385048 2010-04-06 17:43 linux-2.6.32.3.tar.bz2
-rwxr-xr-x  1 root src   64385857 2010-04-06 17:43 linux-2.6.32.7.tar.bz2
drwxr-xr-x 26 root root      4096 2010-04-09 22:54 linux-2.6.33
-rwxr-xr-x  1 root src   66266488 2010-04-06 17:43 linux-2.6.33.tar.bz2
drwxr-xr-x 23 root root      4096 2009-10-27 23:46 linux-headers-2.6.31-14
drwxr-xr-x  7 root root      4096 2009-10-27 23:46 linux-headers-2.6.31-14-generic
drwxr-xr-x 23 root root      4096 2010-04-06 14:48 linux-headers-2.6.31-20
drwxr-xr-x  7 root root      4096 2010-04-06 19:11 linux-headers-2.6.31-20-generic
drwxr-xr-x 23 root root      4096 2010-04-06 21:45 linux-headers-2.6.32.3-custom
-rw-r--r--  1 root src    6442948 2010-04-06 21:14 linux-headers-2.6.32.3-custom_2.6.32.3-custom-10.00.Custom_amd64.deb
-rw-r--r--  1 root src  391843006 2010-04-06 21:12 linux-image-2.6.32.3-custom_2.6.32.3-custom-10.00.Custom_amd64.deb
Commands:
Code:
cp /boot/config-`uname -r` ./.config
make menuconfig
make-kpkg clean
gave no errors.

& i executed
Code:
make clean && make mrproper
in the /usr/src/linux directory

& then deleted the linux directory & started over. same problem.
the weird part is, i compiler & ran the 2.6.32.3 kernel the same way & it worked fine..!
any help/suggestions? any other way i can recompile the kernel?
Reply With Quote
  #15  
Old 9th April 2010, 20:43
Invincible10001 Invincible10001 is offline
Junior Member
 
Join Date: Apr 2010
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

never mind, i added
Code:
 kernel_image kernel_headers
parameters & its working now
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 02:53.


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