Skip to contentSkip to conversation

On Linux numbering scheme

DISCUSSION Artem S. Tashkinov 3 participants 3 messages Jan 8, 2011 – Jan 9, 2011 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 79 lines · ----- "Greg KH
Quoted 5 lines · Artem S. Tashkinov
Quoted 3 lines · ----- "Geert Uytterhoeven
Quoted 1 line · Claudio Scordino
Quoted 1 line

  As time passes by, the Linux numbering scheme makes even

less

Quoted 4 lines
Quoted 4 lines

sense.

Quoted 1 line
Quoted 1 line

  Some time ago there was a discussion on LKML about a new

numbering

Quoted 1 line
Quoted 1 line

  scheme but it didn't come to any positive conclusion and

then

Quoted 2 lines
Quoted 2 lines

the

Quoted 1 line
Quoted 1 line

  subject was forgotten entirely. Not meaning to raise a

clamour

Quoted 2 lines
Quoted 2 lines

here

Quoted 1 line
Quoted 1 line

  (and I suppose I represent a large group of Linux users

here).

Quoted 2 lines
Quoted 2 lines

I'm

Quoted 1 line
Quoted 1 line

  willing to suggest a numbering scheme which I hope will

answer

Quoted 6 lines
Quoted 6 lines

all

Quoted 5 lines
Quoted 1 line

  known complaints and criticism.

This seems to be a periodically recurrent topic on the list.

If I've correctly understood all points of view, there are

currently

Quoted 4 lines
Quoted 4 lines

two

Quoted 3 lines

groups of developers:

1. Those who want to maintain the current numbering scheme,

because

Quoted 2 lines
Quoted 2 lines

they

Quoted 1 line

feel comfortable with it, and because they can easily

understand

Quoted 4 lines
Quoted 4 lines

the

Quoted 3 lines

number of releases between one release and another.

2. Those who prefer having a scheme somehow related to the date,

so

Quoted 2 lines
Quoted 2 lines

they

Quoted 1 line

can easily understand when a certain kernel has been released

(i.e.

Quoted 4 lines
Quoted 4 lines

how

Quoted 3 lines

"old" it is).

Does really exist a numbering scheme that can satisfy both

groups

Quoted 4 lines
Quoted 4 lines

of

Quoted 3 lines

people ? Probably not.

My only idea would be to maintain the usual numbering scheme,

and

Quoted 11 lines
Quoted 11 lines

just

Quoted 10 lines

replace the second number (6) with the year of release.

For example:

       2.6.36 would be 2.10.36

       2.6.37 would be 2.11.37

       2.6.38 would be 2.11.38

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

       and so on...

This way, you put some information about the year of release

without

Quoted 3 lines

loosing all the benefits of the current scheme.

But this means having two independent incremental numbers,

which

Quoted 6 lines
Quoted 5 lines

maybe

Quoted 1 line

is a too insane scheme.

Then why not drop the leading "2." completely?

Quoted 7 lines
Quoted 1 line

This will break too many user space scripts/applications which

expect

Quoted 1 line

2.x.x.x numbers.

What userspace scripts/applications expect numbers like that? How do they handle releases like what Linus just did (2.6.37)?

I've just grepped through all the shell scripts installed in Fedora 14 and I haven't found any uname -r references, so it seems like the base system is quite safe (I haven't tried to grep through binaries as I have no clue how to check them).

However sources of VMWare/NVIDIA/VBox/etc. kernel modules have multiples instances of:

#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 7)
# error This driver does not support 2.4 kernels older than 2.4.7! #elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0)
# define KERNEL_2_4
#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
# error This driver does not support 2.5 kernels!
#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 7, 0)
# define KERNEL_2_6
#else
# error This driver does not support development kernels! #endif

So, it seems like the only obstacle that stops us from starting a completely new numbering scheme is proprietary or corporations driven/developed software.

Best wishes,

Artem

#2 lore raw
Quoted 24 lines · Artem S. Tashkinov
Quoted 3 lines

What userspace scripts/applications expect numbers like that? How do they handle releases like what Linus just did (2.6.37)?

I've just grepped through all the shell scripts installed in Fedora 14 and I haven't found any uname -r references, so it seems like the base system is quite safe (I haven't tried to grep through binaries as I have no clue how to check them).

However sources of VMWare/NVIDIA/VBox/etc. kernel modules have multiples instances of:

#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 7)
# error This driver does not support 2.4 kernels older than 2.4.7! #elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0)
# define KERNEL_2_4
#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
# error This driver does not support 2.5 kernels!
#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 7, 0)
# define KERNEL_2_6
#else
# error This driver does not support development kernels! #endif

Quoted 2 lines

So, it seems like the only obstacle that stops us from starting a completely new numbering scheme is proprietary or corporations driven/developed software.

No, those work just fine as well, you need to look at the KERNEL_VERSION macro to see that.

And any numbering scheme we come up with, will of course be an incremental number greater than our current number.

But this topic is on hold now until the next kernel summit when it will be revisited again. I narrowly missed changing the numbering scheme last year, hopefully this year will be different.

thanks,

greg k-h

#3 lore raw
In reply to Artem S. Tashkinov
Quoted 15 lines · Artem S. Tashkinov

However sources of VMWare/NVIDIA/VBox/etc. kernel modules have multiples instances of:

#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 7)
# error This driver does not support 2.4 kernels older than 2.4.7! #elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0)
# define KERNEL_2_4
#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
# error This driver does not support 2.5 kernels!
#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 7, 0)
# define KERNEL_2_6
#else
# error This driver does not support development kernels! #endif

Quoted 2 lines

So, it seems like the only obstacle that stops us from starting a completely new numbering scheme is proprietary or corporations driven/developed software.

If that was the only obstacle, I'd advocate for using whatever scheme breaks that code the most ;-)

Seriously, the entire problem is just in perception. The main thing that's really wrong with the current scheme is that people tend to see the difference between e.g. 2.6.27 and 2.6.37 as much smaller than between 2.4.0 and 2.6.0, so there is less incentive to update to the latest release, while in fact there were three years between the releases in both cases and we are now a lot more active that we used to be.

These days, the longterm releases really have the role of the old even-numbered releases, in the way that distros rely on them for stability, while the regular releases are used by a relatively small group of people that are interested in using or developing new features, like the old odd-numbered development releases. This analogy ends when you look at the kinds of quality control we apply to patches going into the longterm or the regular releases, compared to old even/odd cycles, but I think it's still useful to consider it from this viewpoint.

I think it would be good to start the next longterm series with a new number, since that would send an important message to the end-users and give us better hopes of having a common longterm tree for all enterprise and embedded people. It is however still a lot of time until we need to replace 2.6.32/34/35-longterm, and the incentive to change a name without any other consequences before then is pretty low IMHO.

Most importantly, at the 2010 kernel summit it was decided to leave the numbering alone for now. There certainly wasn't a lack of ideas for how it should be named (2011/2.7/2.8/3.0/6.37/3.7/...).

Arnd