Kernel 2.2 - It Lives!
Build6 writes "For those of us still using 2.2 (how's that for "conservatism" eh?) -- 2.2.24 is out (and has been since last week) - see kernel.org for downloads. I see networking code tweaks, but no changelog. Time to give our old RH 6.2 machines one last kernel-recompile before Red Hat's end-of-life date arrives for 6.2? :-) What I'd like to know is - who else (besides me) out there still has machines running 2.2 and intends to keep it that way?"
Although Linux 2.2 may eventually become relatively obscure, I wouldn't anticipate its disappearance. It will almost certainly remain a viable contender for certain embedded and esoteric applications.
Do you like German cars?
This is a real question not flame bait. Why would you keep 2.2? What is there in 2.4 that makes it so bad? It seems like it's pretty mature now so what's wrong with it?
-Tim
Tim Smith - Ramblings from Nerd Land
Although we are slowly phasing them out we are running quite a few machines, mostly redhat. Because of they are critical systems they have yet to be upgraded. There's one debian box that's been up for over 500 days and the kernel wasn't upgraded for a while before that! For some reason it seems to be the most stable box we have.
I get asked all the time.
:-)
I've still got 2.2 on my laptop, and really, I'm happy. I don't use it for much more than mobile internet access, and as tightly compiled as I have it, I don't feel a need to go through and upgrade. Just that much more work for an overall unimportant change, a least in this situation.
Of course, my desktop has 2.4.
[este]
All of us are still using 2.2 kernels, whether we like it or not.
2.2? I'm still running 2.1... Works great (as a firewall)... then again, it's only a 486 DX2 66... so I don't dare fiddle with it... It might turn to dust from old age...
---
Programming is like sex... Make one mistake and support it the rest of your life.
...that run 2.0... And of course, Debian stable is still 2.2.
It works.
I ran a firewall off of my 2.2.23 box all set up to be secure to the outside and provide a fileserver/print server to the inside as well as being a DSL and dial-up router.
Why would I upgrade and possibly break something?
It does not need X, it is a PII-400, and it does not do anything that is so intensive it needs 2.4
Long live 2.2
My current gateway is a AST 486SX/33 with 16 megs of RAM.
I was able to install RH 6.2 on it and wittle the RPMs I didn't need to get it down to under 200 megs.
While on many of my other servers I run 2.4.x, on this type of box I think 2.2.x suits my needs perfectly.
Really, I know what I'm doing...Ohhhh, look at the shiny buttons!
I have no idea what number it is but it runs my Mac Performa 6360 which is acting as a router. The 2.4 kernel panics anytime it tries to access the cd drive or I look at it funny. Don't get me wrong here, I use 2.4 on everything except in this one case.
can't sleep slashdot will eat me
I'd say with everything I'm reading about Linux's new target market, a lot of people will leave their kernels. Why? Because they either don't know how to upgrade, or more likely, are not educated on the benefits of upgrading.
Honestly, with the advent of Linux being sold at K-Mart, used in schools, and wielded by mouse-clicking Grandma's, there are bound to be lots of people who don't know they should upgrade their kernels. I personally think marketing Linux to these markets is important, but an equal amount of importance should be recognized in educating these new users in the basics of maintaining these systems.
Because what good is the open source movement if the end user doesn't know how to benefit from our work?
Found the changelog here. It reads:
Linux 2.2.24-rc5
* Fix n_hdlc globals pollution (Paul Fulghum)
* Fix initialisation of sk->sleep (Holger Smolinksi)
* Handle init_ethdev returning null in tulip (Neale Banks)
* Backport rtc wildcard fix to 2.2 (Paul Gortmaker)
* Correct wireless config help (Neale Banks)
* Fix smc9194 build (me)
If it ain't broke, don't fix it.
There's some nice things in 2.4, certainly (e.g. USB support that works). My home machines and laptop run it. But many of the servers I admin have been humming along fine with the 2.2 tree for quite some time, so I see very little reason to upgrade (indeed, with the hairiness in the 2.4 tree's virtual memory handling, I can several reasons NOT to upgrade beyond just change management). (Some will say that you should upgrade to 2.4 for the new firewalling features, but I prefer to put firewalling onto a dedicated openbsd machine or an appliance like a netscreen so the issue is moot for me.)
News for Geeks in Austin, TX
kernel 1.0.1
It kind of itches a little.
I had a machine (on its 3rd motherboard, last 2 died, 1 of which had been purchased specificly for it) that is running 2.2.10 because I couldn't get the ppp stuff upgraded to work with 2.2.12 (clue to the last time I played with it). It is doing a firewall between home network and ISP (over 56K modem) and routing between the 10 Mb/s and 100 Mb/s networks at home (got some 10 only cards and a 100 only hub about 3.5-4 years ago).
Me too - I've got 2.2 running a firewall on a 100MHz Pentium box, and the box does exactly what it's supposed to do, all the time, and has only ever been rebooted in the last 4 years when there's been blackouts in my area.
A 2.4 box would be "cooler", and would probably even have some extra capabilities that I might find useful, but the simple rule is that you don't change something that works perfectly.
I don't really have a choice. It's well-known that the 2.4 kernels can't compile properly for the 32-bit sparc architecture. http://www.rocklinux.org/mailing-list/rock-ports/2 001-7/5.html
--
Sam Kennedy
samrolken
I've written a little application around libpcap that needs the microsecond resolution for packet arrival times. 2.2 has that. 2.4 only gives me 10 millisecond resolution.
Sanders Kernel? I always know to trust the Kernel.
Sorry about the writing. Robot fingers, you know? Cliff Steele in DOOM PATROL #23
People still use 2.2.x?
Just kidding.
As I recall, I had some old old Slackware machines . I don't even remember the version number, but I think they started out with a 2.0.x kernel. On most of our machines, I didn't really want to take them down til they died of old age or whatever (usually we wanted faster machines over time), but kept upgrading the kernels on some occasionally for new features.. As I recall, we just couldn't get the 2.4.x kernels to even compile on them, without library upgrades, which I wasn't prepared to do (and probably mess up) on a whole bunch of machines.
But, I'm sure there are plenty of people out there with 2.2.x still, who haven't had a need to upgrade. I was just working on a machine a few days ago, that is, and there's no need to upgrade, it works fine.
> uname -a
Linux foo.bar.com 2.2.13 #3 Sun Nov 21 18:45:36 EST 1999 i586 unknown
That machine is still running strong. We just upgraded the CPU, motherboard, and memory, but it was all compatable with the drivers that were compiled in back in 1999..
Serious? Seriousness is well above my pay grade.
I've got a Redhat 6.2 machine running 2.2.21... and I doubt if I'll even update it to .24. The only reason it was upgraded to .21 was because I swapped out the 10mbit network card for a 100mbit.
:D
It's been running fine pretty much non-stop for 4 years now. The only time it ever is rebooted is when the power goes out (yeah, I know...)
It's rock solid, and serves as my apache and SSH server to the outside and my FTP, MySQL, NFS, Telnet and AppleTalk server to the inside. To top it off, it's running SETI@Home and it's on a P120 with 32 megs of RAM, with no swap space being used. Not too bad, in my opinion.
Unless I suddenly get a big outgoing bandwidth upgrade, and an increase in activity to go along with it, I don't think I'll ever be upgrading this machine
dennis
I don't know, I'm always torn between losing my uptime and installing the latest kernel. Its a lose/lose situation. If slashdot wouldn't announce the new 2.2 kernel I could just go on believing I had the latest code and it wouldn't bother me. But now that I know there's a new kernel, I'll have to compile it and bear the pain of losing my (not much, but around 130 days now) uptime. Thanks again for dragging me out of my sheltered update life.
Cthulhu Saves.
There seems to be an assumption that we are only talking about workstations/servers when it comes to if the 2.0 or 2.2 kernel is still in use. The reality is that the Linux kernel is in use on embedded devices and it is not always desirable to try to be bleeding edge with such devices. Once you get a 2.0 or 2.2 kernel to fit withen the design limitations of an embedded device, upgrading may mean rethinking the hardware and starting from scratch. For example, I would be willing to bet that the majority of Agenda Computing/VR3 devices will never be upgraded to version 2.4 of the kernel.
If it ain't broke, don't fix it.
No kiddin. My headless P100 MP3 player/server has been 2.2.19 since that kernel was released and it's never gone down (except for having to move the machine a few times).
It's behind my 2.4.20 firewall, so I'm not too concerned about security updates or patches on the old box.
So, in the end, a 2.4 upgrade would provide nothing, and waste a day of my time. There's your reason.
Wrong. Debain applies a few patches to their kernels as well. While not as many as the level of patches Redhat et al apply, they still apply some. Looking at the README.Debian included with 2.4.20, the big ones I can see are the bigmem patch, cramfs support, NFS performance tweaks, and a few dozen other patches.
Marxism is the opiate of dumbasses
I just upgraded to 2.5.64 with Linus's patch ( mentioned yesterday) merged in.
I am running Gentoo and I first installed the gentoo-optimized 2.4.20 kernel. When I read the article yesterday I decided to make the jump to 2.5.64 + patch. Holy wow, Batman.
I'm running Gentoo under VMware on a dual 2.2 GHz Xeon (only 1 processor makes it through to the virtual machine, though). After figuring out that I needed new modutils, I had everything up and running. I started up a kernel compile with make -j 2 to really try and saturate the system, and moved the mouse around. The mouse was silky smooth, KDE quickly and properly recognized mouse-overs and everything was just so nice. I then booted back to 2.4.20 and ran the same test. Oh the pain! The mouse was chunky, KDE didn't even try and do mouseover animations.. it was horrible. I've switched grub to default to the 2.5 kernel and I'm not going back.
That said, this is a play machine and does nothing important. So if it crashes more often (no crashes yet), then it doesn't really bother me..
Lewis, which was featured here on /. sometime ago, is still running red hat 6.2. And I don't know of any software upgrades our lab will be giving him any time soon.
I have a simple rule. When I have a box of year 19XX, then I try to give it an OS of year 19XX and preferably the applications of year 19XX. (BTW, for the picky ones, same is true for 20XX :-).
.... (fill in your dots).
The advantage is that you get good performance and that the drivers still understand old hardware like
So my Advantech 486 / 64MB IPC is still running fine as a firewall / DNS-server, with two ISA-based 3COM 509Cs. And given my rule above, it is of course running a 2.2 kernel, in this case RH 6.2.
My desktop (P5) is running Debian (also 2.2 kernel), but on the other hand my more recent notebook is using RH 8.0 (Linux 2.4).
Performance wise this is all pretty optimal, the only worry that you can have is that those older configurations are not coping with the latest virus attacks. Anyway, so far, so good......
Willem
Browsers shouldn't have a back button!! It's all about going forward...
According to my personal experience with 2.2, if you do a lot of small memory allocations and bring the machine very close to the limit (including swap space), the system will eventually stop working, perhaps not crashing, but not responding to rsh/telnet.
... Repeat that until even 1 byte is not available. Store all the pointers and, between mallocs, access to all the memory correctly allocated before.
I remember that I even wrote a small C code to reproduce the problem. In summary: Alloc M bytes of RAM. If they are available, ask for M more. If not, ask for M/2, M/4
The problem disapeared with 2.4. This holds at least for the old versions of 2.2 we used, I don't know if it has been fixed.
I recently deployed a new dial-up server at my work using Slink Debian, kernel 2.0.38. The machine is a 100Mhz 486 with 8MB of RAM. It's deliriously stable, and runs all the software we need on it (mgetty, atftpd, cron, and some sh scripts). Why would I go for a kernel that requires more memory (Debian 2.2+ wouldn't boot in 8MB of RAM), when the tried and true works great?
My main box is a typewriter. I have it connected to my friend's typewriter in another apartment with a copper wire and we just type 1's and 0's back and forth. I think I might upgrade sometime soon.
Much as I hate to admit it, the household server is still running 2.0.36. IP masquerade and firewall for the household LAN's Internet access via cable modem, Samba print service for the other machines, backup storage for kids' schoolwork, and an antique version of Apache whose main function is to provide access to the Perl scripts that allow multiple people to share an old SCSI scanner. Haven't had a monitor connected to it for years, and the BIOS is old enough that you can tell it to ignore the fact that the keyboard check fails at boot time. The old AT power supply comes back up without any manual action after a power failure -- no idea how many of those it's been through, but the ext2 file system doesn't seem to have ever lost anything.
I am sure it would be a Plucky little distro. We could showcase it at a Birds of a Feather meeting in Silicon Valley.
I could relabel the various bits of the OS, Call the whole system 'The Sky' as in 'the skies the limit'and if there was any problems a little yellow baby chicken graphical agent ala Clippy we'll call Chicken Little will run about the screen yelling 'The Sky is Falling! The Sky is Falling!" If you chase him with your mouse and can click on him he won't reboot your system. Kind of like what would happen if you were using a windows box.
If not I could sell it to Jeff Bezo. He could call it One Cluck computing.
Sorry about the writing. Robot fingers, you know? Cliff Steele in DOOM PATROL #23
I used to use LRP on my router. Using such a stripped-down system was a great way to learn things. But eventually I switched to a minimal Debian install (once I got a hard drive for that old box).
cd /usr/src/linux
perl -i -e 's/^PATCHLEVEL = 4$/PATCHLEVEL = 2/' Makefile
All the benefits of 2.4, with the beautiful, symmetric numbering of 2.2.
"I'll say it again for the logic-impaired." -- Larry Wall.
Wow. 14 days between reboots? 90-day uptimes? Might I respectfully suggest that something on your systems sounds entirely broken?
Out of a pool of about 12 heavily-loaded servers that have been running for 4 years on 2.2 and 2.4 kernels, so far, I have had exactly *one* need to reboot that couldn't be positively traced to hardware problems. And that time I'm not entirely sure that it wasn't hardware-related, I just couldn't *prove* it.
The couple of times there have been hardware problems have been because of things like failed RAID cards or power supplies. I could count the number of incidents on one hand, and have at least one hand left over. A couple of the machines, in the 3 or 4 years they've been in service, have only been rebooted to switch colo facilities (twice) and for batched kernel+critical software (libc) upgrades (two or three times).
The last time I switched colocation facilities, *ALL* of the machines had been running for over a year. The thought of rebooting them never crossed my mind. And while some of them were very robust systems (triple-redundant power supplies, etc.), most of them were plain old commodity machines that I slapped together on my desk.
If you're really having to reboot those machines like that, you probably want to dig deeper and find out what the problems are. Chances are it's not just that one kernel version is more stable than another, it's that one kernel version doesn't exacerbate underlying, pre-existing problems as much as another.
steve
Oh, you're not stuck, you're just unable to let go of the onion rings.
I use NBD (network block device) combined with software RAID1 to give automatic mirroring of data across 2 machines.
Unfortunately NBD in 2.4 simply _doesn't work_ - the client (with the nbd.o module) dies as soon as you try to transfer any significant amount of data (~4Kb). How it could have made it all the way to the stable kernel is beyond me, even with 2.4's reputation.
I've tried unapplying the NBD sections of each relevant patch since 2.2, (all of 2.4 and 2.3 series) to see where it broke, without much luck so far. I've worked out that the current behaviour has existed since 2.4.4. I got all the way back to 2.3.46, prior to which (haven't tried any earlier yet) it doesn't compile properly.
In short, yucky. So much for our backup solution on a RH6.2->RH8.0 upgrade...
Can't find examples of evolution? No matter, neither could Dawkins
They that can give up essential liberty to obtain a little temporary safety deserve neither safety nor liberty.
Ben
When kernel 2.6 comes out, no doubt we'll all cootchy-coo over it and quite a number of us will run to download it simply because it has a lot of improvements and because it's the most functional kernel. And yet in four, five or six years' time those same people would probably recoil in horror if they found out that someone is "still" using 2.6 because "everyone knows" that some newer kernel is "so much better".
If something works now, why won't it work in a few years time with the same hardware? If stability is important to you, isn't it better to stick to something tried and tested?
Note to M1-ers: a curt but otherwise insightful message is not "Flamebait" or "Troll".
Don't upgrade to 2.4! If you do, then Linux will never beat FreeBSD in the uptime department!
A Government Is a Body of People, Usually Notably Ungoverned
I run 2.2.18 on an ancient sparcstation used as a small traffic web and cvs server. It just passed its 397th day of uptime.
I run a 2.2 kernel, with the patch for Ethernet bridging and firewalling.
i dge
:)
http://bridge.sourceforge.net/
http://www.math.leidenuniv.nl/mailman/listinfo/br
It seems that the new firewalling technique of 2.4 (iptables) does not play well with Ethernet bridges.
I have a DSL connection to a small subnet of static IP addresses (/29). The problem is that the DSL uplink, out of my control and unfirewalled, is on one of the addresses in my subnet! It's as if there is a fox in the henhouse.
There is no proper routing subnet, as there should be. This is no doubt because of the IP address shortage. The DSL uplink must exist on the same subnet as my machines, giving me only 5 usable addresses for my machines. Broadcasts must be passed correctly, or the machines won't be able to ARP each other. Proxy ARP is not an option, because of the need to keep the DSL uplink on the same subnet.
So, I run Ethernet bridging with firewalling. I bridge two Ethernet cards together, passing broadcast packets between them (filtering out externally generated "smurf" broadcast packets, of course). I also implement my firewall at this point. The network is one logical LAN, but partitioned into two physical LAN's, with the firewall machine in between them. The firewall makes sure that unwanted packets from the DSL uplink never reach my machines.
It's not perfect (there is no stateful connection filtering), but it has worked well for me. Probes come in at least every hour, and no successful breakins to my knowledge.
And another reason not to upgrade? The machine's uptime is now at 326 days, I'm going for the year
Dr. Demento On The 'Net!
I dual boot 2.2 and 2.4 kernels. My Fuji FinePix digital camera and IBM USB keyboard appear to not interface with kernels in the 2.2 series. (I'm the only person I know to run dual keyboards.) However, I bought a VMWare 2.x license and don't want to shell out $300 for the latest VMWare version until there's a version that supports the Linux 2.6 kernels. I've so far resisted the temptation to grab a VMWare keygen or cracked version.
Copyright Violation:"theft, piracy"::Anti-Trust Violation:"thermonuclear price terrorism"<-Overly dramatic language.
What do you mean, 2.2? Seriously, the "server" in my parents not-so-small medical cabinet connects to 5 serial terminals and a couple of printers and card readers. I set it up in 1998 (downgrading from SCO ;-) and it's been running ever since, litterally 24x365. Not one single crash. It runs 2.0.35.