Vanilla Kernel 2.6 Stability vs 2.4?
chromis asks: "I am a 'Linux-from-scratch' like Linux user. I maintain my system for almost 4 years that way. I'm still using kernel 2.4, and I'm a little bit afraid for updating to 2.6 because of the problems like stability issues, driver subsystem problems, etc. I once tried 2.6.0 a long time ago, but I experienced random freezes which I could not diagnose. We all know about the development model issues, and I often read complaints about current kernel development practices. Now that kernel 2.6.13 is out, I really want to ask Slashdot: if you are a vanilla 2.6 kernel user, how are your experiences with these plain kernel.org 2.6 kernels? Is it really as bad as some people claim, or is 2.6 only usable when using a distro from a large vendor like Red Hat, SuSE, etc? I really would like to upgrade to the new vanilla 2.6 kernel eventually, but I'm a little hesitant. Any advice?"
I am running the older kernel and it kept me from getting first post.
Say hello to my little sig.
I use the vanilla kernels with moderately modern hardware (up to about 4 years old) and I have no stability issues whatsoever. I tend to stay within one or two versions of the bleeding edge release.
The advantages of the 2.6 kernels (udev, nptl, device driver model) outweigh the disadvantages (i.e. risk) for my situation, in my opinion.
That said, I still use linux-2.4 on my headless server, mainly because I haven't been bothered to upgrade it recently. It works fine, so I see little point in changing it.
I've used various incarnations of 2.6 on my mythtv box. It's under fairly high load, with memory, video and disk intensive processes, has high PCI utilisation (2 capture cards, sometimes running at once). It runs 24/7, sometimes hot enough to get the CPU temp alarm beeping.
Number of times it's had a kernel panic over the last year? Zero. Good enough for me.
And as other posters have said, the advantages with hardware, latency patches, acpi support help too.
You are in a twisty maze of processor lines, all alike.
There is a lot of hype here.
I can't speak for the vanilla kernel, but the Gentoo 2.6.13 kernel borked my system something fierce. The init process grinds to an virtual stop just after loading the kernel, it took a minute and a half to set the host name, I still haven't had the patience let it finish booting. But that's the risk of using a fresh kernel. 2.6.12 didn't give me any trouble.
A Free Market requires informed intelligent consumers, such people are rare, we're in trouble.
I use Friend/Foe + mod-point modifiers as a karma/reputation system.
Comment removed based on user account deletion
The 2.6.8 kernel had an issue with CD writing (only root could do this). This has been corrected in later kernels. You may have to delv into the udev rules to get things setup the way you like. Read the fine HOWTO on writing rules for udev.
My cd-rom did not get recognized after boot unless the ide-cd module was called before udev started. There was a mixup with tty and pty in the default udev rules around the time of switch between 2.6.7 and 2.6.8 and it obliterated the 'less' and 'man' commands. How convenient is it that I can't run 'man udev.rules'?
I believe this has also been remedied since then. If in doubt I suggest taking the following steps.
Title of the second document is "The post-halloween document. v0.48 (aka, 2.6 - what to expect)". That should tell you everything you need to know about upgrading from 2.4.
/^([Ss]ame [Bb]at (time, |channel.)){2}$/
Why not put both into /boot and add both to your bootloader? There are lots of tutorials for doing that, for 'testing' in case a newly compiled kernel doesn't work.
I have this on my Slackware -current computer. A vanilla 2.4, vanilla 2.6.10, and compiled 2.6.10 which I use and have had no issues with. I plan on compiling 2.6.13 soon, to keep up to date with bug fixes and improvements.
Death by snoo-snoo!
I've been using the latest 2.6 kernel, patched with Gentoo and Suspend2 patches. I started with 2.6.9, and it had some ACPI problems, but once I upgraded my BIOS to the latest version and upgraded the kernel to 2.6.10, everything worked well. Other than those specific ACPI issues, I've had no general stability problems. Everything works well.
I used to run Slackware, and I have to say that when I upgraded it from a 2.4 kernel to 2.6, the system did perform better. I think that if people just upgrade cautiously, it's fine to have the current kernel in development. Frankly, I appreciate the increases in responsiveness that the newer kernels have, and I like seeing cool new features appear in each kernel version. Why, just this version, they added support for my laptop's temperature sensor chip, which gave me access to the motherboard sensor in addition to the CPU one which is accessible via ACPI.
I don't know what all the fuss is about, but 2.6 has been great for me.
ttuttle is a rankmaniac
You're an LFS Linux user ("Linux-from-scratch like" Linux user as you put it), and you're concerned about upgrading your kernel?
Since you cross-compiled and built your libraries, compiler, toolchain, etc from scratch, why are you worried about upgrading your kernel? Surely, you know that it's trivial to modify your boot loader so you can boot multiple kernels and try them out without consequence to your system.
Second, why are you interested in using a Vanilla 2.6 kernel if you built your entire Linux system from scratch?
Please pardon me if I'm mistaken, but you certainly don't sound like a 'tweaker'. Your question is analogous to: "I'm a die hard car tuner, I've modded my hotrod and tweaked my cam's, changed my gear ratios and added 2 inches to my manifold: Should I use premium gasoline in my new Hot Rod?"
Don't think that a small group of dedicated individuals can't change the world. It's the only thing that ever has.
http://www.linuxfromscratch.org/
I read Slashdot for the headlines, because the headlines, unlike the articles, are usually original and never duplicated
I like the 2.6 kernel over the 2.4 kernel because I can play MP3s and Oggs without skips every time I refocus the window.
On the down side, I'm running Ubuntu 5.04 on a Sony S270 laptop. I use the 2.6.11 when I want sound to work at all and 2.6.10 when I want my touch pad to work right. I've tried a couple of custom compiles of 2.6.10 and 2.6.11 but haven't gotten either to work right yet.
Jim
A dyslexic man walks into a bra.
Have grown to really love 2.6.x kernels. Started back in the low single digits, just upgraded to 13. NO stability issues for me, ever (at least not due to the kernel). The important things to me in 2.6: udev and better response time (switching between windows, etc). Just recently got udev working just the way I like it - can't imagine going back to the old devfs.
I run Slackware, and just started using 2.6 in production a couple of months ago (about when 2.6.12 came out.)
/etc/rc.d/rc.udev restart", it gets old very quickly.
/sys/block/hda/queue.) For the time being, I've switched back to 2.4 for NWN.
So far, I'd recommend staying away from udev - it's just way too flaky for words - it seems OK if your hardware doesn't change, but when you start hotplugging and the device nodes don't show up unless you "sudo
Stability-wise it's OK, I'm using it on two desktops, three servers and my laptop, and haven't had a crash or oops. (Although I've only been running it for a couple of months.)
General desktop performance (KDE) is OK - I saw no noticeable difference from 2.4.
NWN is noticeably slower however - there seems to be a lot more disk thrashing while playing, even though swap is unused and there is a ton of free RAM (I think I might need to tweak something in
I was on the same track. I was stuck in 2.4 land for a long time just because I had gotten my systems to the point where every piece of hardware worked and I knew how to get it all working again if I upgraded my kernel. Like you, I had trouble with the 2.6 kernel upgrade. I tried it once (circa 2.6.4) and it was a catastrophe for my wireless cards (madwifi and centrino). Finally I let Debian sid put in 2.6.12, and it seems all the 3rd party drivers have upgraded to the 2.6 bandwagon.
Configuration: I could run through the 2.4 configure tree in 20 mins or less. It takes me at least twice that in 2.6. Too much IP and an effed up broken patent/copyright system creating too many incompatible devices at levels that aren't easily segmented into kernel layers.
Compilation: Yeah. It takes a lot longer.
Performance: I noticed that mouse response in X is a lot faster. That's probably an artificial representative, though. I haven't really noticed load or response times to be much different from 2.4 to 2.6. Running on 400 MHz machines, I still notice this when it actually improves.
Modules: On a Debian 2.4 kernel I had maybe 12 modules loaded. On a LFS 2.4 kernel I had maybe 4. On Debian 2.6 kernel I have 91 modules loaded and many of them are for hardware which I don't have (see the section on configuration: there are too many devices which look the same to the kernel but are different due to IP pissing matches).
Udev: I hate it. I don't hotplug. I don't want to hotplug. Hotplugging is evil. My system shouldn't be doing anything with a device until I say I'm good and ready for it. Except for hotplugging, there's no real need for udev.
Mostly I'm upgrading to 2.6 because I can't afford to be left in the dust.
PS. No real LFS'er would call it Linux-from-scratch. Lose the hyphens.
fast as fast can be. you'll never catch me.
Built a Hylafax http://hylafax.org/ system on top of the latest v6.1, LFS http://linuxfromscratch.org./
:->, http://www.linuxfromscratch.org/hints/contribute.h tml or a much needed "hints" writeup, http://www.linuxfromscratch.org/hints/.
Details:
3GHz Intel Pentium 4 Processor, 1Gb RAM
11,878.40 BogoMIPS Total, 250Gb Hard Drive
GCC 3.4.3
Samba 3.0.14a
HylaFAX 4.2.1
Gotta say it's way ahead of expectations.
I won't touch another distro now for my mission critical.
Although, Knoppix, http://www.knoppix.org/ and Ubuntoo, http://www.ubuntulinux.org/ are great "insert CD and run" distros, for workstations.
Working with SlackWare seems effortless also, http://www.slackware.org/.
Was fortunate enough to meet the fine gent who started the LFS project: Gerard Beekmans
Highly recommended support for the project, even if it's just $5 for a beer via donations
I moved an old 486/33 server once back in the day while it was in the middle of the OS install... We had started in one building in the room we thought we were getting, but we ended up getting a room on the entire opposite side of campus. Since installing a linux distro in this day was not exactly a speedy process, we decided to go ahead and move it while it worked. Three of us carried it.. One fellow on the CPU, one on the UPS, and one on the monitor -- we decided that if we were going to move a running computer, UPS alarms blazing it would be pointless for people to see us doing it without the screen powered up and scrolling mounds of text. We decided to hand carry it also as we though rolling it on a dolly might harm the running hard drive due to vibration.
Just don't upgrade _right now_ to bleeding edge a bleeding edge kernel (2.6.13 in that case). Wait for the dust to settle (two or three weeks) and upgrade. I've done that since early 2.6.0 releases and it works like charm.
Note: You can install triple dotted releases (2.6.x.y asap as they only contain minor upgrades or security fixes)
"I'm an old slashdot user. I'm afraid people on slashdot wouldnt understand my perfectly understandable and clear point in a computer related discussion, so I make an analogy with cars."
I am using a plain vanilla kernel (2.6.13) on my Slackware 10.1 system, and it's very very stable. The earliest 2.6 kernels were a bit unstable for me, but since 2.6.8 or so, they have been very very stable. I notice that my self-configured 2.6.13 kernel is faster than the Slackware vanilla kernel (2.4.29). GNOME responses faster to my actions, for example.
objorkum dot com
self-sufficient linux user for 4 years doing Linux from Scratch, and you don't know how to flip between kernels?
I ran continuously from 2.5.56 (after my SCSI driver started working again) until 2.6.13 ? or so that was out about 4 weeks ago.
Had virtually no kernel related problems.
Then I switched to Windows.
Life is much easier now.
"Champagne for my real friends - and real pain for my sham friends!" http://ericblade.postalboard.com/