2002-06-06 07:09:43

by John L. Males

[permalink] [raw]
Subject: Question Regarding "EXTRAVERSION" Specification

Hello,

***** 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. Thanks
in
advance. *****

I have had a recent experience in using the "EXTRAVERSION" in the
Linux 2.2.x Kernel series. The context of my question applies to both
the 2.2.x and 2.4.x Linux Kernels.

The questions are:

1) Is there a specification that states the maximum length that the
"EXTRAVERSION" string may be?
2) Does the Kernel make/build process enforce any specified limit of
(1) above?
3) If (1) exists, where might it be documented? I have tried to
find out, but with no success thus far.
4) Is anyone aware that there may be some differences in what is
supported by or works with the Kernel and the programs that support
the Linux Kernel?


Regards,

John L. Males
Willowdale, Ontario
Canada
06 June 2002 03:09


==================================================================
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 last 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.


Attachments:
(No filename) (197.00 B)

2002-06-06 13:01:37

by Keith Owens

[permalink] [raw]
Subject: Re: Question Regarding "EXTRAVERSION" Specification

On Thu, 6 Jun 2002 03:09:29 -0400,
"John L. Males" <[email protected]> wrote:
>***** 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. Thanks
>The questions are:
>
> 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.

> 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.

I will dig out the patch and send it to Marcelo.

2002-06-06 14:22:18

by Alan

[permalink] [raw]
Subject: Re: Question Regarding "EXTRAVERSION" Specification

On Thu, 2002-06-06 at 14:01, Keith Owens wrote:
> 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.
>
> I will dig out the patch and send it to Marcelo.

Please CC me a copy and I'll merge it into -ac in case Marcelo loses it
or doesnt want it before 2.4.19 final

2002-06-06 16:49:04

by John L. Males

[permalink] [raw]
Subject: Re: 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. *****


>List: linux-kernel
>Subject: Re: Question Regarding "EXTRAVERSION" Specification
>From: Keith Owens <[email protected]>
>Date: 2002-06-06 13:01:27
>[Download message RAW]

>On Thu, 6 Jun 2002 03:09:29 -0400,
>"John L. Males" <[email protected]> wrote:
>>***** 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.
>Thanks>The questions are:
>>
>> 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?

>
>> 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.


>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.


Attachments:
(No filename) (197.00 B)

2002-06-06 16:54:43

by John L. Males

[permalink] [raw]
Subject: Re: Question Regarding "EXTRAVERSION" Specification

Alan,


***** 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. *****


Thanks so much in your desire to include the patch in future 2.4.x-AC
tree(s). Any chance this can make its way into the 2.2.21 tree at
some point?

>List: linux-kernel
>Subject: Re: Question Regarding "EXTRAVERSION" Specification
>From: Alan Cox <[email protected]>
>Date: 2002-06-06 14:24:47
>[Download message RAW]

>On Thu, 2002-06-06 at 14:01, Keith Owens wrote:
>> 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.
>>
>> I will dig out the patch and send it to Marcelo.

>Please CC me a copy and I'll merge it into -ac in case Marcelo loses
>it or doesnt want it before 2.4.19 final


Regards,

John L. Males
Willowdale, Ontario
Canada
06 June 2002 12:54

==================================================================
***** 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.


Attachments:
(No filename) (197.00 B)

2002-06-06 17:12:36

by John L. Males

[permalink] [raw]
Subject: Re: Question Regarding "EXTRAVERSION" Specification

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

> Keith,
>

[snip]

>
> 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.

>
> 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.

>

[snip]

>
>
> 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.


Attachments:
(No filename) (197.00 B)