LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 10:49 AM   #1
websinger
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: LMDE-2 3.11.2amd64
Posts: 35

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, 11:29 AM   #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, 11:41 AM   #3
websinger
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: LMDE-2 3.11.2amd64
Posts: 35

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



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 04:42 PM
program compiled under kernel <=2.4 don't work under kernel 2.6 mihaimdl Linux - Software 3 11-08-2005 06:09 PM
new kernel compiled successfully, but the kernel-source package is the same old? luqman Red Hat 2 03-03-2005 08:41 AM
compiled kernel 2.6.10 with slackware 10.0, kernel panic salviadud Linux - Newbie 1 02-09-2005 04:05 PM
kernel panic on reboot of newly compiled kernel lyceum Linux - Newbie 4 09-09-2003 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:58 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
Open Source Consulting | Domain Registration