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 11th December 2007, 20:40
azzo azzo is offline
Junior Member
 
Join Date: Dec 2007
Location: rome
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Debian Etch parsechangelog/debian: error: badly formatted heading line

Hi all!
First of all, i am a newbie, but, since i have fairly new hardware i had problems running the etch 2.6.18 vanilla kernel and started to customize it. recompiled it a few times, destroyed the mdr, crashed everything, but, at the end, i have a fully booting/working/serving machine. Now since my kernel has grown quite big i would like to modularize it. here comes the problem:
before this last attempt i have used make-kpkg, following the instruction from
http://www.howtoforge.com/kernel_com...on_debian_etch
but i have tried the simple make/make install (which did not worked for me) too, before, resulting in an unusable initrd image.
well: yesterday the make-kpkg / dpkg resulted in a perfect build/install, today issuing
Code:
fakeroot make-kpkg --initrd --append-to-version=-teps01 kernel-image kernel-headers
gave me
Code:
Warning: The file include/linux/version.h exists
The contained UTS_VERSION string:
                        ""
does not match expectations:
                        "2.6.18-teps01"
I'll try and recover
exec debian/rules  DEBIAN_REVISION=2.6.18-teps01-max_mod-10.00.Custom  APPEND_TO_VERSION=-teps01  INITRD=YES  kernel-image kernel-headers
parsechangelog/debian: error: badly formatted heading line, at file debian/changelog line 1
i've tried to add a line in /usr/src/linux.etcetera/include/linux/version.h
Code:
#define UTS_VERSION 2.6.18-teps01
but nothing changes.

i cant explain why yesterday it worked and today not.
well, the only thing it occurred in the meantime is the removal of vmware (sever, client, mui) and the reinstall of the server only.

also i'd like to know what should i do to uninstall the other kernels i built and i dont need anymore.

any suggestion appreciated.

thanks in advance/sorry for approximate english
andrea
Reply With Quote
Sponsored Links
  #2  
Old 12th December 2007, 16:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by azzo
also i'd like to know what should i do to uninstall the other kernels i built and i dont need anymore.
Did you install them using dpkg? Then you can use dpkg to uninstall them as well. See
Code:
man dpkg
__________________
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 12th December 2007, 19:51
azzo azzo is offline
Junior Member
 
Join Date: Dec 2007
Location: rome
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default half job done...

thanks falko,
the kernels i installed with dpkg i can successfully remove with
Code:
dpkg -P --force-remove-essential linux-image/headers-xxx
i got the names of the installed kernels by means of
Code:
dpkg -l | grep linux
but the kernels i installed with make install i cant figure out how to uninstall without, perhaps, messing up the system.
I imagine i should delete the config-xxx, initrd.img-xxx, system.map-xxx, vmlinuz-xxx from /boot and xxx from /lib/modules but then? is that enough?

thanks again,
azzo
Reply With Quote
  #4  
Old 13th December 2007, 17:43
azzo azzo is offline
Junior Member
 
Join Date: Dec 2007
Location: rome
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Solved!

i dont know why, but reinstalling build-essentials and kernel-package
Code:
apt-get remove build-essentials kernel-package 
apt-get install build-essentials kernel-package
and then unpacking again the linux-source, copying the .config i devised made the build possible. simply reunpacking the source didn't solve.

hope people with the same problem will find this useful.

Still, if anyone knows how to clean well a non-dpkg install, ill be glad to know!
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
Postfix delivery problem erebus Installation/Configuration 8 29th July 2014 20:17
Fedora Core 5 Spamassassin (Scalix Install) Viper_iii Installation/Configuration 1 19th September 2007 14:59
reoback problems on debian 3.1 Ovidiu Server Operation 12 15th May 2007 22:25
Apache2 don't start /var/www/sharedip don't exist Dr.Oetker General 14 6th May 2007 13:15
help on /etc/rc0.d/K20dnsctl -> ../init.d/dnsctl zimele General 13 23rd August 2006 16:06


All times are GMT +2. The time now is 07:08.


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