Slashdot Mirror


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?"

44 of 476 comments (clear)

  1. Kernel Series 2.2 by Scoria · · Score: 4, Insightful

    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?
    1. Re:Kernel Series 2.2 by Anonymous Coward · · Score: 5, Funny

      Is it stable enough for prime-time yet? I'm not "upgrading" my 2.0 boxes until I'm sure it is.

      Did anyone ever fix the uptime rollover thing? That's what I'm really waiting for. I'm sick of rebooting every year and a half.

    2. Re:Kernel Series 2.2 by Micah · · Score: 3, Funny

      Huh? 2.0 is ready for prime time? Why didn't someone tell me? I'm still using 1.2!

    3. Re:Kernel Series 2.2 by Scoria · · Score: 3, Funny

      What have I been eating, then?

      --
      Do you like German cars?
    4. Re:Kernel Series 2.2 by 0x0d0a · · Score: 3, Funny

      This newfangled Linux thing seems a bit risky. Minix is definitely the way to go.

    5. Re:Kernel Series 2.2 by rmadmin · · Score: 4, Interesting

      I'm still running a 2.0 kernel on a production Slackware 2.3 machine. The reason for that is that I'm afriad of breaking the antique software package on the system by upgrading, but it seems I will have to do something soon since OpenSSH will no longer compile on the machine, and I don't feel like leaving it open to the world.

    6. Re:Kernel Series 2.2 by dfries · · Score: 3, Interesting

      I'm running 2.4.18 on my Telephone so I'm not so sure how long 2.2 will last in the embedded market either.

    7. Re:Kernel Series 2.2 by edbarrett · · Score: 4, Informative
      LEAF Bering. It rocks. seriously. Shoreline firewall config, Free S/WAN support, and more!

      I'm not trying to knock you, I'm just plugging a cool product (although I'm just a user, myself).

    8. Re:Kernel Series 2.2 by Jeremiah+Cornelius · · Score: 3, Funny
      SLACKWARE distros have NO package management tools!!!
      Slackware has two. tar and gzip.
      --
      "Flyin' in just a sweet place,
      Never been known to fail..."
  2. Why 2.2? by York+the+Mysterious · · Score: 4, Interesting

    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
    1. Re:Why 2.2? by Osty · · Score: 5, Insightful

      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?

      Better yet, why would you upgrade if 2.2 does everything you need? Any security patches will be back-ported, and that's the only time you really need to upgrade your kernel so long as it does everything you need already. For example, my bridge/firewall machine (P200MMX) is running a 2.2 kernel, and with the 2.4 bridging code backport, it works perfectly fine. I have absolutely no desire to spend a day with my firewall machine down while I upgrade all of the kernel dependencies, configure and build a 2.4 kernel, rewrite my firewall scripts for iptables (yeah, I know you can use the old ipchains interface with 2.4, but if you're going to do the upgrade, do the upgrade), and then work out all the gremlins from running "new" code.


      Desktops are different, because nobody cares if you have downtime with them. Servers on the other hand can cause pain when they're down, and even for a personal server the downtime is not worth the upgrade. You gain nothing, and lose quite a bit of time.


      Eventually, I'll decomission the P200 and bring the celeryonion 433 up as my bridge/firewall machine, but that's going to be timed with a move (when the machines will have to be down anyway, and it'll be a week or two before the new place has internet access). Doing it before then is pointless.

  3. Several production servers by benevold · · Score: 5, Interesting

    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.

  4. Why? by este · · Score: 5, Interesting

    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]
  5. PS2 Linux users by Vardamir · · Score: 5, Informative

    All of us are still using 2.2 kernels, whether we like it or not.

  6. Fancy new software for my old POS? by Quasar1999 · · Score: 3, Funny

    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.
  7. Simple by Anonymous Coward · · Score: 5, Insightful

    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

    1. Re:Simple by AchilleTalon · · Score: 5, Interesting
      I still have my 486 with 16MB memory running a firewall/DSL router. It is now near 10 years old and still running. This machine is never powered-off, unless there is a black-out. The only problem I had was with the CPU fan I replaced many years ago and the power-supply fan I replaced about two years ago.

      Linux Kernel 2.2.X has been continuously updated on this machine without a glitch.

      This machine has seen pre-1.0 kernels and was my first PC. I just don't remember the very early Linux distributions I tested on this machine. For sure, Slackware was installed on it at some point in its life.

      --
      Achille Talon
      Hop!
    2. Re:Simple by pheared · · Score: 4, Informative

      If you run a firewall, all the more reason to upgrade to 2.4. Netfilter is far superior to ipchains, in my opinion.

      Of course, you may not currently need stateful inspection, but you don't even have the option with 2.2. If you come to a point where you do, you're out of luck. (unless there is a current reliable backport out there, which is possible)

  8. Linux's new target market by batobin · · Score: 4, Interesting

    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?

    1. Re:Linux's new target market by syrinx · · Score: 3, Insightful

      FreeBSD:

      > cd /ports/whatever
      > make all install clean

      Just as easy as downloading and running setup.exe, wouldn't you say?

      I hear Debian has something similar, though I haven't used it myself.

      Not that I'm arguing with you, some people will find things like that "too hard", just because it's different. *shrug*

      --
      Quidquid latine dictum sit, altum sonatur.
    2. Re:Linux's new target market by Alex · · Score: 3, Insightful

      Go on.... Why "should" people upgrade their kernel? What are "the benefits of upgrading"? (to the average K-Mart buying linux user),

      Alex

    3. Re:Linux's new target market by Osty · · Score: 5, Interesting

      more likely, are not educated on the benefits of upgrading.

      And those benefits would be ...? I was on the kernel upgrade treadmill for years, getting new versions as they were released, upgrading to 2.2 with the very first version, etc. It gained me very little. I reached a point where staying on top of kernel upgrades was more pain than it was worth, and stopped. Now I only upgrade if I need some new feature, better support for an existing feature, or for security reasons. Aside from security patches (which I would hope all of the "Windows Update"-ish tools would handle for these users already), 99.95% of all Linux users have no reason to upgrade their kernel, so long as they're using a sufficiently modern one to begin with. Why, then, is it such a bad thing that these users don't know how to upgrade their kernel? If anything, I'd say it's a testament to Linux that users running it can get by without ever having to touch the kernel (aside from maybe loading a module or two when they get new hardware, though even that could/should be automated).

    4. Re:Linux's new target market by Otter · · Score: 4, Informative
      Not that there are vast numbers of Linux-using grandmothers in reality, anyway, but I'd propose that the overwhelming majority of desktop users, and probably a lot of server admins should be cautious in upgrading.

      Distributions provide well-tested, patched kernels. Compulsively updating kernels is a fine hobby if it makes you happy, but unless there's a new feature you need, the potential for breaking something exceeds any practical benefit. The experience of the 2.4 series, where half the kernels substantially degraded performance because of some new half-assed VM only underscores that lesson.

      No, if you don't know why you need to upgrade your kernel, you almost certainly don't.

    5. Re:Linux's new target market by stor · · Score: 3, Insightful

      > Just as easy as downloading and running setup.exe, wouldn't you say?

      Non-geeks most certainly wouldn't.

      When yer mum calls you regarding her shpanky new FreeBSD box and the fact that "some book... or library.. that's it.." needs upgrading are you going to tell her to fire up an xterm, cd into /ports/ and make all install clean. Then claim that's just as easy as double-clicking on a "setup" icon?

      You've never done tech support right?

      Cheers
      Stor

      --
      "Yeah well there's a lot of stuff that should be, but isn't"
    6. Re:Linux's new target market by Blkdeath · · Score: 5, Insightful
      Go on.... Why "should" people upgrade their kernel? What are "the benefits of upgrading"? (to the average K-Mart buying linux user),

      "People" should upgrade their installed software as their distribution vendor tests and certifies it as stable and secure (to the best of their knowledge) and released it to the "stable" branch. Else, they should upgrade as new functionality, drivers, driver bases, etc. is desired (GigE, ACPI/APM enhancements, etc.)

      People who run Linux as a hobby "should" upgrade as they feel neccesary, but they'll probably have atleast one workstation on the bleeding edge anyways, so they're a moot point.

      People who run servers, casually or professionally, "should" track updates and understand their impact on the remainder of their systems. Their professional, corporate, mission-critical, or otherwise important (generally in the context of "to paying customers", "management" or "other employees") "should" be updated on a semi-regular basis as neccesitated by (potentual/actual) stability or security issues, and after a sufficient testbed period and impact analysis.

      In general, an upgrade as major as a kernel (major revision) should be taken with all due consideration. Mostly I'd reccomend a distribution version upgrade (ie; an all-encompassing upgrade procedure that will account for the C library and compiler, all system libraries, shells, and related utilities, as well as the userland).

      If an "average K-Mart buying linux user"{sic} wishes to keep their computer's performance and features up to par with what's currently available, they should keep their packages, including their kernel, up to date. With modern GUI-based upgrade procedures as simple as scan, select, apply, ignore, the kernel is just another package, and pre-compiled binary kernels will often come with all the requisite modules and configure itself to become bootable. Minimal input is required by the user, except for perhaps "This upgrade didn't work, I'll boot the previous option and revert."

      I know that my workstations are noticeably more responsive since upgrading to 2.4, and I make extensive use of much of the added/enhanced functionality. However, if what you're running works for you, does the job, is stable and secure, and still being maintained (which kernels as far back as 2.0.x still are), there's no definite reason to upgrade. If it ain't broke, and all that. That's the very same reason I still service a lot of Windows'98(SE) customers, and the very reason I'll often reccomend that they stick right where they are. To Linux, FreeBSD, etc. users I'll offer the same advise. Anyone doing otherwise is offering a disservice.

      --
      BD Phone Home!

      Shameless plug. Like you weren't expecting it.

    7. Re:Linux's new target market by Osty · · Score: 3, Insightful

      I consider myself a pretty big geek, being thoroughly integrated into the Slashdot hive mind and all. I'm on top of CVS gaim, xine/totem, Mozilla, and GNOME (hoping it won't suck eventually) because they seem to become noticeably better by the day. But the kernel? Could someone please explain why?

      Like I said, I was on that kernel upgrade treadmill, and I think it's a bit of an addiction. You want the bragging rights to say that you're running whatever the latest and greatest version of the kernel happens to be. For most people, it's about showing off and making themselves feel superior because they're running the latest stuff. I think it goes the same for the rest of the stuff you mentioned as well. Once those projects get to the "good enough" point, what do you gain by using the CVS nightly drop vs. a released version? Why not Mozilla 1.1 (or whatever Mozilla is at now) rather than CVS? I used to do the same thing with Microsoft stuff. I ran various betas of Internet Explorer (IE4, IE5, IE6), and even had various RC releases (all legally acquired) of XP and Win2K (even back before Win2K was Win2K). Now, though, I'd rather get my work done instead of futzing with my system.

  9. Changelog by SexyTr0llGal · · Score: 5, Informative

    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)

    1. Re:Changelog by Kourino · · Score: 3, Informative

      Remember, that's just the changelog from -rc4 to -rc5. There's more changes between .23 and .24, unfortunately Alan doesn't seem to keep as accurate changelogs in 2.2.

  10. why 2.2? simple answer by StandardDeviant · · Score: 5, Insightful

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

  11. I'm running ... by B3ryllium · · Score: 3, Funny

    kernel 1.0.1

    It kind of itches a little.

  12. Re:Firewalling by darnok · · Score: 3, Insightful

    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.

  13. My main reason for keeping 2.2 around... by samrolken · · Score: 5, Interesting

    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
    1. Re:My main reason for keeping 2.2 around... by Tester · · Score: 3, Informative

      I use 2.4.20 on debian stable on a SparcClassic and s SparcStation 5 and it works very well. I never had any problem with it.. And with the speed of the disk on that thing, I really need ext3, because when my roomate pulls the plug I can't really wait 3 hours before my firewall is back up.. SparcClassics make really nice firewall especially if you find a scsi-1 hardware that's not too noisy..

  14. Need 2.2 for microsecond packet timing. by Chmarr · · Score: 4, Interesting

    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.

    1. Re:Need 2.2 for microsecond packet timing. by Effugas · · Score: 3, Informative

      Chmarr--

      Try this:

      int immediate = 1; ...
      ioctl(pcap_fileno(pcap), BIOCIMMEDIATE, &immediate);

      Does screw with some nonblocking modes, though.

      Another quick tip: __attribute__ ((packed)); after your structure declarations will make structs vastly nicer to apply against raw packets in a cross platform manner.

      Whatcha trying to write?

      Yours Truly,

      Dan Kaminsky
      DoxPara Research
      http://www.doxpara.com

  15. Is this the long awaited by infonography · · Score: 3, Funny

    Sanders Kernel? I always know to trust the Kernel.

    --
    Sorry about the writing. Robot fingers, you know? Cliff Steele in DOOM PATROL #23
  16. Linux 2.2.x? by JWSmythe · · Score: 3, Interesting


    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.. :) The CPU went up from an AMD 300Mhz to AMD 450Mhz.. hehe. Free upgrades are the best, right?

    --
    Serious? Seriousness is well above my pay grade.
  17. torn by awing0 · · Score: 4, Funny

    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.
  18. Embedded devices by Anonymous Coward · · Score: 4, Insightful

    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.

  19. Re:why 2.2? simple answer by GRH · · Score: 5, Insightful

    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.

  20. On the flip side of the coin.. by XaXXon · · Score: 5, Interesting

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

    1. Re:On the flip side of the coin.. by ameoba · · Score: 4, Funny

      If you've got dual 2.2G Xeons for your 'play machine', what's your main box look like?

      --
      my sig's at the bottom of the page.
  21. Don't upgrade to 2.4! by Arandir · · Score: 4, Funny

    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
  22. Bridging firewalls! by Krellan · · Score: 3, Interesting

    I run a 2.2 kernel, with the patch for Ethernet bridging and firewalling.

    http://bridge.sourceforge.net/


    http://www.math.leidenuniv.nl/mailman/listinfo/bri dge


    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 :)