LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 08-29-2006, 11:49 AM   #1
websinger
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Debian -sid
Posts: 34

Rep: Reputation: 15
compiled kernel names: repeated info


I've been compiling kernals for my AMD64 X2 box with all SATA drives and nvidia graphics since I built it and while on the whole it's been fairly straight forward,there is one issue that continues to annoy and confuse me, the matter of determening the name of the Kernel. the in append-to-version" clause is repeated in the (deb)file
and the some of the info in frome the linux-header file
is missing.

In my /usr/src dircetory I have
linux-source-2.6.16/
linux-headers-2.6.16-2/
linux-headers-2.6.16-2-amd64-k8-smp/
linux-> linux-source-2.6.16/
my make-kpkg is :
make-kpkg \
--append-to-version=-2.sata-enabled.20060828 \
kernel_image -initrd \
modules_image

and the result is

linux-image-2.6.16-2.sata-enabled.20060828_2.6.16-2.sata-enabled.20060828-10.00.Custom_amd64.deb
and what I would really expect (and like) would be something like:
linux-image-2.6.16-2.sata-enabled.20060828-amd64-k8-smp.deb

I've poured over the man make-kpkg file and the kernel sections of the Debian ref. but I haven't found how the linux-header files are incorperated into the source info
can any one help explain what is happening with the repeats?

Thanks

Jeff
 
Old 08-29-2006, 12:29 PM   #2
Jukas
Member
 
Registered: Mar 2005
Posts: 141

Rep: Reputation: 15
Jeff,

When you do a make menuconfig, check General Setup -> [ ]Automatically append version information to the version string. On the 2.6x kernels I've compiled under from source it's always enabled by default, which could explain why you're seeing the version number appended twice.



Quote:
Originally Posted by websinger
I've been compiling kernals for my AMD64 X2 box with all SATA drives and nvidia graphics since I built it and while on the whole it's been fairly straight forward,there is one issue that continues to annoy and confuse me, the matter of determening the name of the Kernel. the in append-to-version" clause is repeated in the (deb)file
and the some of the info in frome the linux-header file
is missing.

In my /usr/src dircetory I have
linux-source-2.6.16/
linux-headers-2.6.16-2/
linux-headers-2.6.16-2-amd64-k8-smp/
linux-> linux-source-2.6.16/
my make-kpkg is :
make-kpkg \
--append-to-version=-2.sata-enabled.20060828 \
kernel_image -initrd \
modules_image

and the result is

linux-image-2.6.16-2.sata-enabled.20060828_2.6.16-2.sata-enabled.20060828-10.00.Custom_amd64.deb
and what I would really expect (and like) would be something like:
linux-image-2.6.16-2.sata-enabled.20060828-amd64-k8-smp.deb

I've poured over the man make-kpkg file and the kernel sections of the Debian ref. but I haven't found how the linux-header files are incorperated into the source info
can any one help explain what is happening with the repeats?

Thanks

Jeff
 
Old 08-29-2006, 12:41 PM   #3
websinger
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Debian -sid
Posts: 34

Original Poster
Rep: Reputation: 15
RE:menuconfig

Quote:
Originally Posted by Jukas
Jeff,

When you do a make menuconfig, check General Setup -> [ ]Automatically append version information to the version string.
No, I just checked and "Automatically append" is unchecked
I trimmed down and tried to simplify my config file a couple of cycles back. thanks for the suggestion though.

Jeff
 
  


Reply

Tags
compile, debian, menuconfig


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
The kernel I compiled reads my sata drives as hda even though the rpm kernel read sda abefroman Linux - Software 5 07-10-2006 05:42 PM
program compiled under kernel <=2.4 don't work under kernel 2.6 mihaimdl Linux - Software 3 11-08-2005 07:09 PM
new kernel compiled successfully, but the kernel-source package is the same old? luqman Red Hat 2 03-03-2005 09:41 AM
compiled kernel 2.6.10 with slackware 10.0, kernel panic salviadud Linux - Newbie 1 02-09-2005 05:05 PM
kernel panic on reboot of newly compiled kernel lyceum Linux - Newbie 4 09-09-2003 10:40 AM


All times are GMT -5. The time now is 03:14 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration