You are not logged in.

#1 2009-08-25 07:20:48

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

kernel26-lts

I've added a 2nd kernel to our svn called "kernel26-lts". It should help to make you less caring about kernel updates. The intention is to

1) have a 2nd choice for the kernel pkg that suits better in certain situations and

2) it can be a fallback when a reboot after updating the core "kernel26" fails

more detailed:

1) pkgdesc="The Linux Kernel and modules - stable longtime supported kernel package suitable for servers"

The current longtime supported kernel version is 2.6.27.xx, right now we are at 2.6.27.31. The pkgdesc should clearly say what it should become in the future. Server systems won't be forced to take the risk to fail on the next boot after each kernel update. Modifications will be very small in the future within its lifecycle. The kernel configuration is based on the last .27.x config form our core pkg with small changes it has become in later versions + optimizations for server usage taken from here:
http://www.serverwatch.com/tutorials/ar … ations.htm

main changes are: 100Hz, no preempt, deadline I/O schedular. There will be no 3rd party modules. And no further patching.

2) a fallback kernel für almost everybody: a long requested feature. Everybody can install it along the core "kernel26" pkg and add lilo/grub entries for the "lts" kernel. Whenever an update of a future kernel26 will fail you won't be forced to boot with a rescue stick or cd. This should help a lot.

attention: 2.6.27 kernel haven't had full ext4 support. I myself run a desktop with an ext4 / partition created with a later kernel version.
the "lts" kernel is not capable to boot into this filesystem! But on real servers I guess everybody will wait a bit longer to use ext4.

For the future it is planned to probably add Xen support to this or an outsplitted pkg.

I will upload packages for both architectures to testing over the next days. Please discuss when you want see changes to the config file
(x86_64 is done, i686 is not ready so far).

-Andy

Offline

#2 2009-08-25 08:22:46

nDray
Member
From: Portugal
Registered: 2007-01-21
Posts: 143
Website

Re: kernel26-lts

Great idea, great job!

Offline

#3 2009-08-25 08:28:55

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: kernel26-lts

AndyRTR wrote:

I will upload packages for both architectures to testing over the next days. Please discuss when you want see changes to the config file
(x86_64 is done, i686 is not ready so far).

-Andy

I love Arch!

This is a good idea (TM)


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#4 2009-08-25 08:59:38

Zariel
Member
Registered: 2008-10-07
Posts: 446

Re: kernel26-lts

Great news, but I think most desktop users have an ext4 root by now, so manually adding it to the initcpio image is the only option?

Offline

#5 2009-08-25 09:15:01

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: kernel26-lts

Good idea for servers. I'm running ext4 on my desktop otherwise I would install it as a backup kernel.

Offline

#6 2009-08-25 09:39:53

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: kernel26-lts

if you mount an old ext3 as ext4 it _should_ work. you can try it out.

on my system with a true ext4 partition created with a later kernel version (29?) it failed. kernel is running well on my laptop with reiserfs and my server with jfs on /.

Offline

#7 2009-08-25 09:45:40

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: kernel26-lts

Afaik you can only mount ext3 partitions as ext4 but not the other way round due to extents which ext3 simply does not support.

Offline

#8 2009-08-25 09:55:26

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: kernel26-lts

maybe you can try to mount the partition as ext4dev (depends on the .config
of course, IIRC you have a ext4dev compat option)
ext4dev has been around since ages:
http://www.kernel.org/pub/linux/kernel/ … nounce.txt

(oopsie the link is for the -mm branch but anyway, I guess it's in Linus' tree since a long time too)

edit#2 i saw the ext4dev module in the .config of this kernel26-lts so that /may/ work.

Last edited by bangkok_manouel (2009-08-25 10:01:05)

Offline

#9 2009-08-25 10:05:02

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: kernel26-lts

http://projects.archlinux.org/?p=mkinit … f2625ac22a

maybe we need to add something similar to get mkinitcpio accepting ext4dev system supported by lts kernel.

Offline

#10 2009-08-25 10:49:16

jealma
Member
From: The Netherlands
Registered: 2008-01-03
Posts: 71

Re: kernel26-lts

Great idea the lts-kernel. I'm going to install this one on my server, because I don't like to reboot my server every month. Concerning the kernel-version of kernel26-lts: why was 2.6.27 choosen as the lts-kernel? And does the lts-kernel include a patch for this security leak? http://cve.mitre.org/cgi-bin/cvename.cg … -2009-2692

Offline

#11 2009-08-25 11:00:02

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: kernel26-lts

Offline

#12 2009-08-25 11:34:21

attila
Member
Registered: 2006-11-14
Posts: 293

Re: kernel26-lts

First thank for your works and this is realy a nice idea.

I have one proposal: I have a 2.6.27 stable kernel package too but instead of using it for a server i use it more than a "real" fallback kernel. Therefore i use a seperate /etc/mkinitcpio-stable.conf where i load more modules (most of the filesystems) and activate more HOOKS than in the normal mkinitcpio.conf. For a fallback this could be a nice idea because if the most is activated there should no problem to transfer the harddisk to another pc at example. This be only an idea.

Offline

#13 2009-08-25 11:38:39

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: kernel26-lts

that case should be covered by the fallback image that don't extract unneded modules with the autodetect hook.

Offline

#14 2009-08-25 12:34:39

attila
Member
Registered: 2006-11-14
Posts: 293

Re: kernel26-lts

AndyRTR wrote:

that case should be covered by the fallback image that don't extract unneded modules with the autodetect hook.

Sorry, i'm not sure so i have to ask this: Is it realy true that the fallback image includes more filesystems with the autodetect hook? If yes, than i have misunderstood this hook.

But there is another point: What happens to your 2.6.27 kernel if i have activate lzma in the mkinitcpio.conf?

Please be aware about one thing: This be only thoughts of mine and no showstoppers.:)

Offline

#15 2009-08-25 12:40:57

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: kernel26-lts

autodetect is for the small initrd and not for the fallback one! by default many filesystems are loaded into the initrd, using the autodetect hook finds the one for /boot and only puts this one into the small initrd. autodetect is not for the fallback image!

try "less /lib/initcpio/install/autodetect" and all the other mkinitcpio files.

Offline

#16 2009-08-25 16:01:33

attila
Member
Registered: 2006-11-14
Posts: 293

Re: kernel26-lts

@AndyRTR Thanks for the infos.

Offline

#17 2009-08-25 16:27:41

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: kernel26-lts

Afaik its not really recommond to mount etx4 with the ext4-dev driver anymore; especially if this should be used on production systems.

Offline

#18 2009-08-25 16:47:27

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: kernel26-lts

Thomas also told that it would be not possible to make mkinitcpio mount ext4 with that kernel in a safe way. So the resolution is simple: this kernel doesn't support any ext4. I may remove it from the config at all, not sure.

Offline

#19 2009-08-25 19:35:21

jealma
Member
From: The Netherlands
Registered: 2008-01-03
Posts: 71

Re: kernel26-lts

The current udev requires a minimum kernel of 2.6.24 (see http://www.archlinux.org/news/457/). How is kernel26-lts going to handle udev, when Arch's udev is upgraded to a version that doesn't support 2.6.27?

Offline

#20 2009-08-25 19:56:10

EVRAMP
Member
From: Czech Republic
Registered: 2008-10-03
Posts: 173
Website

Re: kernel26-lts

jealma wrote:

The current udev requires a minimum kernel of 2.6.24 (see http://www.archlinux.org/news/457/). How is kernel26-lts going to handle udev, when Arch's udev is upgraded to a version that doesn't support 2.6.27?

24 is older than 27 (the higher number the newer version)

Offline

#21 2009-08-25 20:21:28

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: kernel26-lts

EVRAMP wrote:
jealma wrote:

The current udev requires a minimum kernel of 2.6.24 (see http://www.archlinux.org/news/457/). How is kernel26-lts going to handle udev, when Arch's udev is upgraded to a version that doesn't support 2.6.27?

24 is older than 27 (the higher number the newer version)

I think you need to read that question again.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#22 2009-08-25 20:27:03

Zariel
Member
Registered: 2008-10-07
Posts: 446

Re: kernel26-lts

I believe uvdev will still support .27 for a long time, as the kernel is being maitained for a long period of time by kernel developer(s).

Last edited by Zariel (2009-08-25 20:27:49)

Offline

#23 2009-08-25 22:14:58

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: kernel26-lts

yes, I also expect a long udev support for .27 series. at least until next lts kernel is born.

btw: i686 version is now also up.

please now give it good and intensive tests. look out for changes you'd like to see in the config. right now i686 and x86_64 should be almost in sync expect 4gb memory support for i686 and 64gb for x86_64.

Offline

#24 2009-08-26 08:06:28

attila
Member
Registered: 2006-11-14
Posts: 293

Re: kernel26-lts

AndyRTR wrote:

Thomas also told that it would be not possible to make mkinitcpio mount ext4 with that kernel in a safe way. So the resolution is simple: this kernel doesn't support any ext4. I may remove it from the config at all, not sure.

If i take a look at the changelogs of this lts kernel series than i have the impression that they backport the changes for ext4. If i see how many people starts using ext4 than lts without ext4 makes no sense and i don't think that the kernel devs from 2.6.27 don't know this. So i think it would be worth to look nearer to find out if this is realy true.

Or do we speak about the problem with a "/"-partition without a separate "/boot"-partition? In this case it is not necessary to stop including the ext4 modul from my view.

Offline

#25 2009-08-26 08:35:08

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: kernel26-lts

I have no seperate /boot partition and / is ext4 created by a kernel/e2fsprogs around 2.6.28 or 29. The boot failed when mkinitcpio detected the partition as ext4 filesystem and gave a panic.

I doubt kernel devs will back anything major into a stable series.

Offline

Board footer

Powered by FluxBB