Question Regarding "EXTRAVERSION" Specification
Keith,
First my appologies I mistype how to decode my eMail domain name in my previous signature. It is corrected now, and hopfully you be kind enough to BCC me in any replies you make.
***** Please BCC me in on any reply, not CC me. Two reasons, I am not on the LKML, and second I am suffering BIG time with SPAM from posting to the mailing list. Thanks in advance. *****
Quoted 10 lines
List: linux-kernel Subject: Re: Question Regarding "EXTRAVERSION" Specification From: Keith Owens <[email protected]> Date: 2002-06-06 13:01:27[Download message RAW]
Quoted 2 lines · John L. Males
***** Please note I am not on the Linux Kernel Mailing List. Please be so kind as to BCC copy me in on any reply to this inquiry.
Quoted 8 lines
Thanks>The questions are:
Quoted 2 lines
1) Is there a specification that states the maximum length that
the>"EXTRAVERSION" string may be?
The total length $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) must not exceed 64 characters. Break that limit and you get garbage in uname -r.
Ok, well I created a:
VERSION = 2
PATCHLEVEL = 2
SUBLEVEL = 20
EXTRAVERSION = -PentiumK6TSCCyrixIII-SMP-ow3
-PentiumK6-SMP-ow3
The Kernel itself seemed just fine with this, but various programs like those to mkinitrd and LILO, not sure about GRUB as not able to test all had big problems with it. I had to keep it down to
EXTRAVERSION = -PentiumK6-SMP-ow3 before the supporting and dependant on the Kernel in somewere ok with the original one I used above.
I was clearly within the 64 combined total indicated. How it is insured that this specification is tested for the "supporting" Kernel elments and fixed to make everything in sync?
Quoted 8 lines
Quoted 2 lines
2) Does the Kernel make/build process enforce any specified limit
of>(1) above?
kbuild 2.5 enforces the limit, the existing kernel build code does not. I sent a patch to Linus four times back in the 2.4.15 days, he completely ignored it. Linus does not care about kernel build problems.
For what is worth, Linus, these are important elements. Maybe not "exciting" or challenging "development" items, but very important.
Quoted 1 line
I will dig out the patch and send it to Marcelo.
Keith, that would be wonderful. I be happy to have a copy of the patch just to keep for my records until it is incorporated into the 2.4.x tree. AS FYI, I may not need up to 64, but knwing this fact is helpful. When I build "test" Kernels, I like to use the EXTRAVERSION to indicate some the the Varients to the "stock" configuration. Part of my QA/Testing "habits" that I will skip the gory details why such is done.
Marcelo, I know you decide on what is important and when it is included in the mainstream 2.4.x kernel. FWIIW, I would suggest that there is no need to get this in the current 2.4.19-RCx kernel tree. I be most happy if it put on the 2.4.20-Pre To DO list and added there if possible, or when you feel it is appropriate based on the code impact it might have.
One other thought if I may for future consideration to implement. It would be really really helpful if when "EXTRAVERSION" = <string> that a (prefix) "-" is automatically added so one does not need to remember to include a "-" in the "EXTRAVERSION" string to neatly seperate the Kernel version numbers from the "EXTRAVERSION" string. Hint, the existing "build" process seems to do this between the version numbers of the Kernel automatically, but of course "." are the character of choice in this case. Just a thought :)) And when "EXTRAVERSION" = NULL, of course no automatically generated "-" is generated for "EXTRAVERSION".
Regards,
John L. Males
Willowdale, Ontario
Canada
06 June 2002 12:48
==================================================================
***** Please BCC me in on any reply, not CC me. Two reasons, I am not on the LKML, and second I am suffering BIG time with SPAM from posting to the mailing list. Thanks in advance. *****
Please BCC me by replacing yahoo.com after the "@" as follows"
TLD = The last three letters of the word internet
Domain name = The first four letters of the word software,
followed by the first four letters of the word homeless.
My appologies in advance for the jumbled eMail address and request to BCC me, but SPAM has become a very serious problem. The eMail address in my header information is not a valid eMail address for me. I needed to use a valid domain due to ISP SMTP screen rules.
Hi,
**** Please BCC me in on any reply, not CC me. Two reasons, I am not on the LKML, and second I am suffering BIG time with SPAM from posting to the mailing list. Thanks in advance. *****
Sorry I made a few bad typo and incoherrent statements in my last eMail. I am very tired and very short on sleep due to some major construction work in my building. Please see below for important corrections.
On Thu, 6 Jun 2002 12:48:46 -0400
John L. Males wrote in Message-ID:
[email protected]
To: Linux Kernel Mailing List <[email protected]>
From: "John L. Males" <[email protected]>
Subject: Re: Question Regarding "EXTRAVERSION" Specification
Date: Thu, 6 Jun 2002 12:48:46 -0400
Quoted 2 lines
Keith,
[snip]
Quoted 8 lines
Ok, well I created a:
VERSION = 2
PATCHLEVEL = 2
SUBLEVEL = 20
EXTRAVERSION = -PentiumK6TSCCyrixIII-SMP-ow3
-PentiumK6-SMP-ow3
Ignore the "-PentiumK6-SMP-ow3" line above, part of my cut and paste activity.
Quoted 8 lines
The Kernel itself seemed just fine with this, but various programs like those to mkinitrd and LILO, not sure about GRUB as not able to test all had big problems with it. I had to keep it down to
EXTRAVERSION = -PentiumK6-SMP-ow3 before the supporting and dependant on the Kernel in somewere ok with the original one I used above.
Umm, now this make no sense at all above, trying again:
EXTRAVERSION = -PentiumK6-SMP-ow3
Worked just fine with the supporting and dependant on the Kernel in some manner programs.
Quoted 1 line
[snip]
Quoted 10 lines
Regards,
John L. Males
Willowdale, Ontario
Canada
06 June 2002 12:48
[snip]
Regards,
John L. Males
Willowdale, Ontario
Canada
06 June 2002 13:12
==================================================================
***** Please BCC me in on any reply, not CC me. Two reasons, I am not on the LKML, and second I am suffering BIG time with SPAM from posting to the mailing list. Thanks in advance. *****
Please BCC me by replacing yahoo.com after the "@" as follows"
TLD = The last three letters of the word internet
Domain name = The first four letters of the word software,
followed by the first four letters of the word homeless.
My appologies in advance for the jumbled eMail address and request to BCC me, but SPAM has become a very serious problem. The eMail address in my header information is not a valid eMail address for me. I needed to use a valid domain due to ISP SMTP screen rules.