Slashdot Mirror


2.4, The Kernel of Pain

Joshua Drake has written an article for LinuxWorld.com called The Kernel of Pain. He seems to think 2.4 is fine for desktop systems but is only now, after a year of release, approaching stability for high-end use. Slashdot has had its own issues with 2.4, so I know where he's coming from. What have your experiences been? Is it still too soon for 2.4?

224 of 730 comments (clear)

  1. Well, from my point of view... by Kirkoff · · Score: 2, Interesting

    2.4.x has been OK, albeit not totally stable. I've got 2.4.17 running and I like it quite a bit. As for me, it has probably been benifical since it got me reading a bit of the LKML, and learning more of how to do stuff with my kernel.

    --Josh

    --
    There are exactly 42,935,718 letter sized sheets in a square mile.
    1. Re:Well, from my point of view... by sfe_software · · Score: 2

      I have to agree, 2.4.17 is rock solid in my opinion. I've kept up with the latest 2.4 kernel since 2.4.0 on my home systems, and currently I'm running several systems (3 home, 2 web servers) on 2.4.17. IMO this is the best 2.4 kernel we've had yet.

      With the new VM, ext3 file system, and other major changes finally stabled out, I think .17 is proving to be pretty solid. Until now, I was keeping a few servers at 2.2.19/20, but now I feel we finally have a 2.4 kernel that is ready for production use.

      --
      NGWave - Fast Sound Editor for Windows
    2. Re:Well, from my point of view... by biohazard99 · · Score: 3, Interesting

      Hey you've just hit on a very good point, why not create "talkback builds" of various daemons and kernel modules just like Moz, NS6, and WinXP, the system automates the core read, backtrace, and sending of data back to a central repository. The big distributions could concievably get tons of real world Q&A about the real world use of their programs, just as long as the users privacy is maintained, there should be no problems

    3. Re:Well, from my point of view... by Peyna · · Score: 2, Insightful
      If it was good software, shouldn't the user not have to go through that much trouble to get his problem fixed?

      If linux makes any ground at all in the desktop market, do you expect each of those people to know what to do when something crashes on them? Do you think they will have a clue how to fix it or report what happened in detail?

      Probably not. They'll probably hit the reset button and try again, until they get so upset they give up and dismiss Linux as a hobbyists dream.

      --
      What?
    4. Re:Well, from my point of view... by minus9 · · Score: 3, Funny

      Why would you need a reset button on a Linux box?

    5. Re:Well, from my point of view... by Kirkoff · · Score: 2

      Good Luck on getting your linux stuff fixed; I dunno what the problem is, but I'd give upgrading pppd a shot. Personally, I'm a slacker, so ease of use mainly means that it doesn't fight me compiling an app that I want. ;-)

      what was that my mother said? "AL AL AL ALWAYS PUT SALT IN YOUR EYES

      Too bad I can't mod ya +5 Getting my sig...

      --Josh

      --
      There are exactly 42,935,718 letter sized sheets in a square mile.
    6. Re:Well, from my point of view... by tzanger · · Score: 2

      I have to agree, 2.4.17 is rock solid in my opinion.

      I'll third that. :-) I have had no trouble with .16 or .17 with or without the preemptable kernel patch. Win4Lin has some issues which occassinally lock up my notebook good and hard but when I'm not running with their kernel "enhancements" I have yet to experience a crash here.

      My server, however, seems to be showing its age... Abit BP6, dual Celeron 466 (not overclocked) -- I get good solid hangs that even kdb doesn't let me investigate when I have heavy traffic on the HPT366 interface. Disabling DMA on the drives on those controllers seems to help but I've bought a HPT370 PCI card to try and eliminate the problem. I've gotten addicted to dual processor computing on the desktop and can't afford a nice Athlon MP system yet. :-/

    7. Re:Well, from my point of view... by arivanov · · Score: 2

      2.4.17 still crashes when tasks try to run semi-realtime. A good combination is ISDN and cdrecording. Crashes it 100% within the first 15 minutes or so.

      If you need a 2.4 (I need for my hardware), use 2.4.9. The last kernel before the new VM. It may not be the fastest kernel out there, but it is quite stable. But definitely not anything between 2.4.10 and 2.4.17.

      --
      Baker's Law: Misery no longer loves company. Nowadays it insists on it
      http://www.sigsegv.cx/
    8. Re:Well, from my point of view... by Anonymous Coward · · Score: 2, Insightful

      And once again, the reason Linux will never succeed on the desktop.

      "My internet access doesn't work."

      "You twit. Fire up the debugger like a real man. You've got source!"

      "I just want to send an e-card to my granddaughter..."

      As long as it demands that the user cater to the OS, the Linux community will never be more than an insulated gang of zealots.

    9. Re:Well, from my point of view... by gengee · · Score: 2

      Yes, that's all well and good for Netscape and Explorer. But you might have some trouble 'talking back' after your kernel deadlocks:P

      --
      - James
  2. Au contraire by AntiPasto · · Score: 3, Interesting
    I would say it is almost the opposite. I think Linux is very stable for the server end, but what about the desktop?!

    I'll tell ya, I tried the preemptive patches, and all the -ac stuff naturally, and well, the desktop just isn't snappy ... I mean, Windows (follow me here) just feels better. I don't need a force feedback mouse or anything, it just doesn't not show me that it is rendering a window... and that's something that Gnome was doing even on 450 mhz machine.

    Also, even with the preemptive patches, I could hold down a key in, say, star office or abi word, and it would stutter! Hold down the arrow key, and it stutters.

    These are basic inferace issues that could use some due attention before Linux is ever ready for the desktop.

    1. Re:Au contraire by PD · · Score: 3, Insightful

      I hadn't noticed that Linux was any slower feeling than Windows. On my Celery 300A Windows is PAINFUL to use, but Linux is amazingly quick - running 2.4.17. I run Windowmaker, and that's it. No Gnome, no KDE, no funny transparent terms.

    2. Re:Au contraire by ElOttoGrande · · Score: 5, Interesting
      it just doesn't not show me that it is rendering a window... and that's something that Gnome was doing even on 450 mhz machine.

      The preemptive patches have made my system a lot more responsive under use. Most notably the mouse cursor doesn't slow down during heavy compiles and audio latency is good enough to play with some of the more interesting sound software projects out for linux.

      But it really sounds like your problem isn't with linux but with XFree86. X has its share of problems but if you have a good video card that's supported well under it, you should get more than acceptible 2d drawing performance. I use a 3dfx voodoo3 here and its about as good as win2k running KDE (sometimes you can see it rendering when resizing or moving windows quickly but i like to think of it as a cool effect ;) and its way faster with lighter WM's like blackbox.

    3. Re:Au contraire by Ace+Rimmer · · Score: 4, Informative

      Try the low-latency patches to 2.4 tree. They have much better impact than those call "preemptive".

      Also
      nice -n -10 /usr/bin/X11/X
      helps quite a lot on an average desktop linux

      --

      :wq

    4. Re:Au contraire by hansendc · · Score: 5, Informative

      What are you smoking?!? High end box DOES NOT mean your 1.2 GHz Athlon!! We're talking about machines with >8 processors here. Machines which need to use the PPro PAE so that over 4gig of memory can be addressed.
      There are serious VM stability issues with these systems. Ever wonder why Redhat hasn't released a >2.4.9 kernel? It's because 2.4.10 is where the new VM system went in. Redhat is busily porting Rick van Riel's 2.4.9 VM up to the later kernels so that they can use it.

    5. Re:Au contraire by roguerez · · Score: 3, Insightful

      Must have been a problem with your system. I have been running Windows 2000 on a K6-266 with 128 MB of RAM for about a year. It flew. It's important to have good disk access, so I put a 10 MB 7200 rpm disk in it and installed Windows on that, which made it even snappier.

      The only reasons I bought a new machine is that I needed the K6 to act as a FreeBSD box and because I wanted to play DiVX and games, both of which demand more than a K6-266 regardless of the OS used.

    6. Re:Au contraire by bartok · · Score: 2, Insightful

      Windowmaker is a window manager, not a desktop environment and that's why it's faster. You don't gets half of the features and integrations a real desktop provides when you only run a WM.

      What you're saying is equivalent to one of the many post on using VI when the discussion's topic is IDEs. fine if it does the job for you but 90% of people out there want the fully integrated DEs like GNOME and KDE.

    7. Re:Au contraire by harlows_monkeys · · Score: 2

      Yes, I've noticed something similar. XP on my 900 MHz Athlon is noticably snappier than Linux with KDE or Gnome on my 1200 MHz Athlon. Much of this is that XP simply caches the heck out of everything in sight. Simple, but very effective.

    8. Re:Au contraire by Cryptnotic · · Score: 3, Interesting

      2.4.17 wasn't the problem. 2.4.17 finally fixed the problems that were inherent in all of the 2.4.* kernels before 2.4.17. If you read the article, you'd see that he had problems with 2.4.6 and 2.4.9 and even 2.4.16.

      Also, the problem wasn't that the system was slow, but that when you had many active processes, the system would respond very poorly or lock up.

      Cryptnotic

      --
      My other first post is car post.
    9. Re:Au contraire by captaineo · · Score: 5, Insightful

      I definitely see this too... In fact I'm about to start a full crusade against shitty windowing performance. (long visible lags between exposure and repaint, very jerky moving/resizing, etc). These are very real issues on Linux/XFree86. I plan to go as far as shooting my screen with a 100Hz camera to really see what's going on, retrace by retrace.

      There are many links in the GUI chain, any of which can cause a problem. Roughly from top to bottom-

      1. Widget toolkit (GTK, QT, etc)
      2. Client painting library (GDK, QT, etc)
      3. Window manager
      4. X protocol
      5. context switches
      6. X server
      7. 2D video card driver

      The folklore seems to be that 4, 5, and 7 are the major problems - "the X protocol is badly designed, switching between client, server, and window manager processes is too expensive, and XFree86's video drivers are no good."

      In reality though, the problems aren't where most people expect. The X protocol is not generally a bottleneck, especially if the client programmer knows what he's doing (wait until the input queue empties before repainting anything, avoid synchronous behavior, double-buffer windows using server-side pixmaps, etc). The copy-and-context-switch overhead isn't too bad either (keep in mind that context switches are much more expensive on Windows, and Windows is the platform to beat for 2D smoothness!). And finally, many of the 2D drivers really do take advantage of all the hardware offers.

      The real culprits are turning out to be 1 and 3 - the tookits and window managers. Many of the Linux toolkits (especially GTK) have very advanced widget alignment/constraint systems that bog down when windows are resized. Some toolkits are doing naughty things with the event loop (painting while events are still in the input queue, or trying to "optimize" by pausing for new events), and most of them aren't fully double-buffered yet (though GTK 2.0 and recent KDE/QT are most of the way there). Window managers are some of the most horrific perpetrators of 2D crappiness. Some of them try too hard to snap or quantize window sizes and positions, resulting in jerky motion. Kwin seems to prolong expose/repaint cycles much more than necessary. And finally, I will make one criticism of X's overall architecture - I don't think separating the window manager from the X server was a good choice. The asynchronous relationship between X and the wm can cause nasty delays in window moving and resizing. (plus, all widely-used wm's have basically the same features these days; what's the use of having a choice? ;]).

      I used to think that the only way to get perfectly smooth 2D would be to embed the widget toolkit in the X server, so that it could handle repainting all on its own. Now I don't think one needs to go that far; it may just take a well-written window manager, and a similarly carefully-designed widget toolkit. (though it may be helpful for the server to mandatorily double-buffer every window - hey, video RAM is plentiful these days =)

      There are lots of issues I haven't investigated yet - for instance, I think Windows may be doing something interesting with vblank; dragging windows around seems to show a lot less tearing compared to X... Also, 3D OpenGL windows seem to cause much worse artifacting on both X and MS Windows. It's almost possible to bring an animating OpenGL program to a complete halt just by resizing the window, or dragging another window in front of it.

      It's an interesting problem, and I'm glad to see I'm not the only one who cares about it. I find it apalling that (to my knowledge) not one major 2D GUI system has been able to produce 100% correct results - i.e. every window correctly drawn on every single monitor retrace, even while dragging or resizing. Why should we settle for less than 100%?

    10. Re:Au contraire by brinkster · · Score: 2, Informative

      I had the same complaints but I am now using KDE 3 beta and the improvements in speed are amazing. Although quicker apps still take a while to start but the reponsiveness of switching between windows and menu actions is very much improved. Konqueror has also received a nice speed boost.
      The KDE team and Trolltech have done a great job and when KDE 3 is released in the next month or so it will be definitly worth checking out.

    11. Re:Au contraire by Quixote · · Score: 2

      I put a 10 MB 7200 rpm disk in it and installed Windows on that, which made it even snappier.
      Dude, Windows installed on a 10MB disk is called DOS . Of course it'll be snappier; it has no GUI component to it. Just don't try using more than 640KB of memory, tho... ;-)

    12. Re:Au contraire by ghildstr · · Score: 2, Informative

      Hello. I currently administer and write software for an 8 node cluster at the Naval Surface Warfare Center in Bethesda MD. All of our machines have AMD 1000MHz processors, dual 80GB ATA100 Raid 0, 512 MB PC 133, and 3Com 100bT NICs. We are running Red Hat 7.1, which uses kernel 2.4.2. As of yesterday, the entire cluster, which is used for production work almost daily, had an uptime of 99 days. The software I have written uses lam-mpi for communication. The software is for high volume data analysis, of ship and submarine test data, in the time and frequency domains, which is very network, memory, and cpu intensive. Because of our software design and the size of the data files, we have not experienced heavy swapping, so I cannot comment on the speed or stability of the VM portion of the kernel. Some of our analysis jobs take 6-8 hours to complete at 99.9% cpu load on the compute nodes. I am pleased with 2.4*.

    13. Re:Au contraire by Havoc+Pennington · · Score: 5, Informative

      As the author of a window manager and big hunks of GTK, I don't think your analysis is quite right.

      The primary problem is synchronization, not delay. GTK 1.2 is very fast, its geometry code is not causing any slowness. You are confusing slow with flicker. Flicker looks slow but slow is not the problem; no matter how fast code is, if it flickers, you will see it, and it will look slow.

      Similarly when opaque resizing a window; it has nothing to do with quantization or speed, the problem is that the window manager frame and the client are not resized/drawn at the same time resulting in a "tearing" effect. This would be visible no matter how fast you make things.

      As you say, putting the toolkit in the server or putting the WM in the toolkit are overradical ways to fix this. It's not even necessary to backing store all X windows. It could be done with an extension allowing us to push a backing store on a single X window during a resize, for example. However fixing it 100% pretty clearly requires server changes, and that's why you haven't seen a fix yet.

    14. Re:Au contraire by tzanger · · Score: 2

      Eventually I got tired of it crapping out on me and switched over to KDE, which, although not as pretty, seems to run much faster and with fewer hiccups.

      I agree for the most part. I'm running KDE3.0b1 (well WindowMaker 0.80.0 with a lot of KDE apps) but I've run across an annoying problem with multi-line edit boxes (not all of 'em, but most) -- QT3 has a HORRIBLY slow repeat rate in most of those boxes! It's quicker for me to mouse over and click and return to the keyboard than it is to cursor. Acutally this /. window is one of them (Konqueror) that has this problem. y Psi message window is another one (which isn't KDE at all, just QT3). qtconfig doesn't help since it doesn't have any way to change the repeat rates.

      has anyone run across this before

    15. Re:Au contraire by tzanger · · Score: 2

      What you're saying is equivalent to one of the many post on using VI when the discussion's topic is IDEs. fine if it does the job for you but 90% of people out there want the fully integrated DEs like GNOME and KDE.

      If you can tell me how to alter the menus for right-click (on desktop) and middle button click on desktop with KDE I'll use it (Kwin). Eliminate the panel and give me desktop menus; so far nobody has been able to tell me how to do so (including the gurus in #kde on openprojects), so until then WindowMaker has the features I need and KWin is the slow one with the lack of features.

    16. Re:Au contraire by MrResistor · · Score: 2
      Redhat is busily porting Rick van Riel's 2.4.9 VM up to the later kernels so that they can use it.

      Why don't they just use -ac? Didn't he keep van Riel's VM?

      --
      Under capitalism man exploits man. Under communism it's the other way around.
    17. Re:Au contraire by Havoc+Pennington · · Score: 2


      With the tk toolkit, FVWM 2.4 and crappy hardware,
      I see almost no tearing. It is certainly nothing
      compared to the tearing that gtk+ produces.

      I'm talking about tearing between the frame and client, not flicker inside the client. GTK 2 does not flicker inside the client, at all, ever. Tearing between the frame and client is not something that's possible to eliminate entirely without an X extension. It's less visible or more visible in some cases, can depend on what graphics you have and so on, but it's always there.


      Why would this be substantially better than what gtk does now:

      [create pixmap]
      [draw on pixmap]
      [blit pixmap to screen]
      [delete pixmap]

      (Note that only GTK 2 does that.) The server-side backing store is better because it would be for the window manager frame and all subwindows. The GTK backing store is only for the client window, and does not include the frame/client as an assembly, thus you see the frame/client out of sync.

      Additionally, there is an unavoidable tearing problem for the few GTK widgets that still have their own X window in GTK 2; these have the same issues as frame/client because X has no way to move multiple windows atomically. Server-side backing store could also give the impression of atomically moving many windows at once.

      GTK could avoid this problem by never having widgets with their own X window, which is indeed the long-term plan.

      In any case, the point I'm making is not that GTK is cool or whatever, but that you need to think about this problem in terms of whether intermediate/inconsistent drawing states appear on the screen. It's a synchronization/flicker/tearing issue. Speed isn't what gives the perception that it's "wrong"

    18. Re:Au contraire by Havoc+Pennington · · Score: 2

      There's still some basic speed you need to have, and I think there's an issue of how to be sure you aren't constantly buffering and never displaying, but I'm not sure.

    19. Re:Au contraire by spitzak · · Score: 3, Insightful
      This is correct. The unavoidable flicker is due to the fact that the window frame is drawn by a seperate program (the window manager) than the contents.

      Other causes of flicker: multiple visuals (not a problem on most Linux XFree86 systems), and toolkits (fixable with double buffering and can be reduced though not eliminated by the programmer of the toolkit).

      I think the window hould be put into the toolkit. The window borders are no different than any other widget. In fact I believe far more code is expended trying to talk to a window manager than would be needed to do this in a toolkit (which already contains code to draw the buttons and borders). This would allow new ideas in window management to be experimented with, such as getting rid of the borders entirely.

      The system might provide a "Task Manager" (using the term taken from Windows) that any program creating a window would talk to. The program would indicate the task that window belonged to and the name of the window itself. The task manager would send commands like "raise this window" or "map this window" or "hide this window" to the program, and by watching the visiblity and positions of windows could provide pagers, icons, and taskbar type interfaces.

      I strongly believe that putting widgets into the server is BAD. If X had done this we would be using Athena widgets right now and X would look laughably bad. The fact that X can emulate Windows and Mac interface designs invented 10 years after X was is definate proof that keeping UI elements out of it was the best possible design.

    20. Re:Au contraire by tzanger · · Score: 2

      Dude: Control Center -> LookNFeel -> Desktop -> Clicks on the desktop. Choose what you want for each mouse click

      Dude:
      Okay, select to pull up a menu. Now where do I go to configure the menu that pops up?

    21. Re:Au contraire by Shanep · · Score: 2

      windowmaker is nice, but i still dont like those dock/icons/clips on the side of the monitor.

      Get into the config files for WM and get rid of the dock/icons/clip if you don't want to use them.

      It's been a while since I configured a machine with WM like this, but it can be done.

      --
      War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
    22. Re:Au contraire by tzanger · · Score: 2

      Well, I don't know about the custom menus

      Exactly what I wanted to edit... :-) Yeah I know kmenuedit works fine for the app menu but I wasn't interested in that. Oh well, I thought I may have had the problem solved.

  3. No ... I like 2.4 ... by SuperDuG · · Score: 4, Insightful
    2.4 was long over do. Does anyone else remember the "coming soon ... erm wait ..." and the date kept getting pushed back further and further ...

    I really like using USB, and I like not having to use ALSA for my sound card (not that I have anything against ALSA).

    After playing around with debian the other day and seeing all of my hardware that WON'T WORK with the 2.2 series it has basically come to my attention that I am all for the 2.4 series.

    Linux is a continously developing system, whether it be the kernel, distribution, or software. Linux will always be "In Developement". Which is perfect for linux.

    So yeah ... if you don't like 2.4 ... go back to 2.2 ... yeah ... thought so :-P

    --
    Ignore the "p2p is theft" trolls, they're just uninformed
    1. Re:No ... I like 2.4 ... by GigsVT · · Score: 2

      I agree totally. I installed a cheapo motherboard with integrated everything (sound, video, network), and it all works. I was amazed. 2.4 is definitely the kernel of choice for any system that wasn't designed from the ground up to only have known safe hardware.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
  4. Nothing but anecdote, but... by evilpenguin · · Score: 2

    I've had a lot of poor swap perfromance on my 2.4.x kernel compared to my 2.2.x kernel. On my dual processor machine with 1G ram I haven't had problems, but then I use it so lightly it has never had to swap anything! On anything where normal load causes some swap out, I get mighty slow response when I go to do something after some idle time: type, change input focus in X, etc.

    I imagine I could suss it out, but it isn't a big issue for me. I'm told later 2.4.x kernels fix this (I'm running 2.4.9).

    Anecdotal, I know. For myself, I'd run 2.2.x still on production systems. But I don't run any big production systems...

  5. 2.4 running just fine here by jorre · · Score: 2, Interesting

    We've got a 2.4.7 kernel with RTAI real-time extentions for a house automation system running for several months now without ANY problem. Besides the house automation stuff, this box also acts as a mail,web,ftp,file,whatever server. 2.4 unstanble? I don't think so!

  6. Alphas by Paul+Komarek · · Score: 5, Informative

    And this guy appears to be talking about only x86 machines. My lab has had a horrible time with 2.4 on Alphas. In fact, we've moved back to 2.2.18 on some macines. (2.2.20 for Alpha didn't compile properly, and I didn't want to mess with it -- anyone know if which 2.2 kernel is best for number-crunching Alphas right now?). Oh, the pain. The lost time. "Kernel of Pain" is a fine description of our 2.4 experience on Alphas.

    -Paul Komarek

    1. Re:Alphas by Dr.+Tom · · Score: 4, Informative

      I'm running 2.4.17 and it works great on a DP264. I followed the whole 2.4 series and there were some rough spots in the first dozen or so but it's good to go now.

    2. Re:Alphas by Steffen · · Score: 2, Informative

      I couldn't get 2.2.20 to compile on my alpha (ruffian) either, some problems relating to some PCI code. I tried to fix it myself, (it appeared that a wrong struct type was being used somewhere) but other things broke after that, so I gave up.

      2.2.18 worked grand, and I believe 2.2.19 will as well. I'm running 2.4.16 now which has given me very little trouble (bar a broken network driver)... the machine is rarely stressed so I can't say for sure. One day I'll fire up 10 seti processes and see what happens.

      Hope that's of some use.

    3. Re:Alphas by Paul+Komarek · · Score: 2

      Having read through the responses, it's clear I should have specified *which* Alpha architecure! Some people have had no problem with 2.4 on Alpha, but those using the 264DP claim that 2.4.17 has improved things.

      Also, 2.2.21pre1 or pre2 seems to have fixed the compile bugs for Alpha. It appears that I would have gotten in over my head had I tried to fix them myself. =-)

      Thanks for sharing your experiences! I just might force 2.4.17 down some poor unsuspecting user's throats soon (inlcuding mine)! ;-)

      -Paul Komarek

    4. Re:Alphas by ajv · · Score: 2

      I was incredibly frustrated by the lack of software release management and code control skills exhibited by the kernel team when I was trying to make 2.4.0pre -7 to -11 work on my Alpha. These kernels didn't compile on any Alpha - at all. The fix was trivial, and yet Linus didn't accept my patch because he's (charitably) human or (uncharitably) a code control moron.

      2.4 freezes were a joke. It was warm and slushy. Features and drivers crept in all the time, and few were doing stablization work. Necessary patches, like mine, to make entire architectures compile let alone boot went missing in action when unnecessary new features were glibly accepted. I was shocked to discover they were calling 2.4.0 "done".

      The sooner Linus retires, the sooner Linux has a long term future.

      --
      Andrew van der Stock
  7. 2.4 woes by BigMeanBear · · Score: 2

    I've been using linux for nearly 7 years and the 2.4 tree has been pretty buggy for a stable kernel. 2.2 was always pretty rock solid for me, and 2.4 was quite unuseable for me until after 2.4.7 when SCSI emulation and loopback filesystems started working for me again. I think 2.4 was a bit rushed, but I'm glad it was, I will start experimenting with the unstable trees now, its much more exciting!

    Erik

    --
    += E
  8. Re:Been running fine for me by great+throwdini · · Score: 2, Funny

    Slashdot reports:

    Joshua Drake ... seems to think 2.4 is fine for desktop systems but is only now ... approaching stability for high-end use.

    Cliffom responds:

    Been running fine for me ... Although, I do only use my box as a desktop box and not for a productive use server ...

    Throwdini the Great thinks:

    Cliffom could have saved 78 characters by simply writing: "Me, too."

    *rimshot*

  9. My experience by nzhavok · · Score: 5, Informative

    What have your experiences been?

    Well:
    8:33pm up 45 days, 5:49,

    Shameful I know, but I had to move city before that I had 6 months. Should had a UPS ;-)

    This is pretty much a desktop/development box running postgres, JBoss, tomcat, apache, JBuilder and (occasionally) kylix. No problems so far, touch wood.

    I also used to work at the comp-sci department of a university were we had 40 boxes in the linux lab, no real problems except they were running ext2 so only the occasional manual fsck. Now the maclab, that is another story (OS9 not OSX).

    --

    He who defends everything, defends nothing. -- Fredrick The Great
    1. Re:My experience by krogoth · · Score: 2

      My server (which runs about 10 daemons in addition to many other small things) has an uptime of 72 days and not a single problem (It's been about 80 since I installed slackware on it, and I'm now running 2.4.12-ac6 - I had to reboot to get that in and another time after I reconfigured it for IPv6). I think the most telling thing about my experience is that my kernel was the most recent one available last time I rebooted. I'm going for 256 days, then I'll put in a new kernel :)

      --

      They that quote Benjamin Franklin on liberty and safety deserve neither.
    2. Re:My experience by Stonehead · · Score: 2

      Ha! An -ac kernel! Alan Cox saved my days too - I haven't had a single problem with 2.4. I ran 2.4.3-pre6 for half a year, then went to 2.4.9-ac18 when the security and Linus' VM problems in 2.4.9 became known, and I've been running 2.4.13-ac2 since October.
      To be honest, indeed I can't be really proud on the 2.4 series, but I hate to see it get this bad press now that Marcelo Tosatti is doing such good work. If you missed it, he has started doing prereleases to prevent Linus' 0-day blunders like 2.4.11 and 2.4.15. Linus might argue that that's slowing down development - I think it will give better timing and a better version names.

    3. Re:My experience by Reality+Master+101 · · Score: 2

      Here's mine: 8:28am up 17:28, 4 users, load average: 0.00, 0.00, 0.00

      I recently upgraded my computer (hardware and everything), and have loaded on RedHat 7.2. It crashes an average of twice a day. Quite frankly, this sucks.

      I'm pretty sure I've narrowed it down to the built-in Ethernet adapter, which is an Intel adapter (uses eepro100 driver). It seems to crash during network activity. I'm probably going to swap in a more stable adapter. And pray.

      It's always been the case that Linux is stable if you stick with very, very generic hardware. Well, it's still the case.

      --
      Sometimes it's best to just let stupid people be stupid.
  10. Re:Been running fine for me by nurightshu · · Score: 2

    not for a productive use server...

    Freudian slip? I have to agree, though, the biggest productivity killer I have is SameGnome...

    --
    They that would sacrifice their .sig space for that cliched Franklin quote deserve neither.
  11. Yes, the emperor has no clothes! by Kenneth+Stephen · · Score: 3, Interesting

    As a sysadmin, I have to state that the 2.4 kernels have ruined whatever reputation that existed before about the 2.2n series kernels being stable. Atleast in the 2.0 and the 2.2 series, you had islands of stability where really careful distributions could pick a kernel version as their default kernel. One of the main problems with Debian not finalizing a 2.4 kernel has been due to the fact that there hasnt been an island of stability so far in the 2.4 series.

    And I've been waiting a long time now. The early 2.4 series didnt really work out on my SMP servers. The 2.4.6 onwards kernels broke Tulip support for me. Then came the VM switch. Then just when I decide, ok, 2.4.16 seems stable enough, we have the OOM problem. And I also keep hearing statements being made about the new VM being more friendly to desktop systems than servers.....

    Now if only 2.2 offered iptables.....

    --

    There is no such thing as luck. Luck is nothing but an absence of bad luck.

  12. Mandrake8.1 ships with both 2.4 and 2.2 by renoX · · Score: 5, Insightful

    This guy is complaining that he had troubles on a production server with Mandrake8.1 and its kernel 2.4.

    But Mandrake 8.1 ships with both kernel 2.4 and 2.2.
    The idea behind it is: if you need all the fancy stuff use 2.4 but if you want stability use 2.2.

    So using 2.4 on a server and then complaining that it isn't stable enough is silly IMHO.

    That said I agree that 2.4 has been slow to stabilize (VM mess apparently caused by communications problems between Linus and Rick Van Riel).

    1. Re:Mandrake8.1 ships with both 2.4 and 2.2 by tpv · · Score: 3, Insightful
      if you need all the fancy stuff use 2.4 but if you want stability use 2.2.
      Yeah, cause Linus was joking when he said that even numbers were "stable".

      2.4 is a supposedly stable tree.
      It's supposed to be Odd versions have fancy (ie experimental) stuff, use at own risk, Even versions are stable and suitable for real usage.

      So using 2.4 on a server and then complaining that it isn't stable enough is silly IMHO
      Then Linus should stop saying that the even versions are stable.

      Insert obligatory *BSD advert here

      --
      Read more of this story at Slashdot.Read more of this story at Slashdot.Read more of this story at Slashdot.
    2. Re:Mandrake8.1 ships with both 2.4 and 2.2 by aanantha · · Score: 2, Insightful

      But 2.4 is *supposed* to be stable. That's why it's called a stable kernel branch. It's perfectly justified to complain that it's not stable.

      And as far as the VM mess, it wasn't really an issue of communication. It was an issue of Linus arbitrarily accepting some patches from Rik, and ignoring others. Alan Cox at least made a real attempt to incorporate all of Rik's VM patches in the -ac branch. And the -ac branch had a much improved VM as a result. But Linus didn't make the effort for some reason.

      The reason 2.4 has been unstable is because the maintainership has been poor. Usually Linus turns over maintainership to someone else (previously Alan) very early on in the series. I think that happened at 2.2.7 for the 2.2 series. Alan puts out of lots of prepatches and gives people enough time to test prerelease kernel patches. Linus is random about it. He'll release a kernel that has changes that weren't in the prepatches. And a bunch of times those changes broke something badly. It probably doesn't help that he has a day job. Alan gets paid to work on Linux full time. The 2.2 series only started getting stable when Alan took over. 2.4 only just recently got handed off.

    3. Re:Mandrake8.1 ships with both 2.4 and 2.2 by marco_craveiro · · Score: 2

      man, this type of comments really pisses me off. why is everyone falling on top of linus sudenly? linus receives billions of patches from different people, do you really want him to check carefully each patch and make sure they work???

      he is right on putting the responsability on top of the maintainer, otherwise IT WOULD NOT BE A DISTRIBUTED FRIGGIN SYSTEM. and a project this large can only work if everyone makes sure their little bit works. now i tell you this much, y'all falling on top of linus but i reckon that if rick had followed linus's model and had made sure the VM patches were all applied in order, at this time we would probably be celebrating the reasonable quality of the 2.4 series. thats how ficke we are, mate.

      nuff said.

      soup

  13. Similar problem here... by Cryptnotic · · Score: 3, Informative
    The article is a little short on the details, but we had a similar problem here at work with a new Redhat 7.2 server (kernel 2.4.9) we were setting up. The machine was to be a CVS/file server, running a cvs pserver and Samba. It had 1GB of main memory, and a 180 GB RAID5 array (external via a Mylex RAID card w/ LVD SCSI U160). The machine would seem to run fine, but then in testing, the machine would block on processes for seemingly no reason. It was something in the [kswapd] kernel process that was blocking things. If you logged in at a terminal or over a network, you'd get extreme "stuttering" on your responsiveness. Basically, it was unresponsive under loads with several running processes. This wasn't even excessive.

    Oh yeah, and the machine would crash randomly and lose data. We were using ext3, so the file system was (supposedly) still consistant, but whatever was being worked on would be lost.

    Ultimately, we upgraded the kernel to 2.4.17, and the problems have been fixed. But the "even number == stable reliable" rule failed us that time.

    Since then, I've read that "the entire VM system in 2.4 was replaced around 2.4.10". This really scares me. I hope that Linus and Alan Cox have learned to manage things better now. If not, someone else will have to pick up the slack (maybe RedHat) and manage a stable kernel.

    Cryptnotic

    --
    My other first post is car post.
    1. Re:Similar problem here... by Rentar · · Score: 3, Informative
      I hope that Linus and Alan Cox have learned to manage things better now. If not, someone else will have to pick up the slack (maybe RedHat) and manage a stable kernel.

      Neither Linus, nor Alan Cox maintain 2.4 at the moment. Marcelo Tosatti does, and from what I read on LKML some ppl thought that to be a bad move at the beginning, but I think it works out just great (the first release he made was 2.4.17 IIRC)

    2. Re:Similar problem here... by SpinyNorman · · Score: 2

      The real problem appears to be Linus. Note that people like Alan Cox, Marcelo Tosatti, Andrea Arcangeli all seem to be able to maintain stable kernel trees - the only one who apparently can't is Linux.

      This isn't meant to be flamebait. Think about it - it's true.

      It's also noteworthy that in recent interviews people like Alan Cox and Rik Van Riel have distanced themselves from Linus...

      It seems the Linus is much like someone who has the energy to create a start-up, but needs to bring in professional experienced managers once the company gets bigger and more complex than his ability to manage it.

  14. Why didn't he downgrade immediately? by mvdwege · · Score: 4, Insightful

    First, he replaces a known working server with something new. Then he keeps on adding bleeding edge newest kernel upon newest kernel to this box (following his narrative, it sounds as if he installed new kernels upon release).

    Second, nowhere does he mention why he needed a 2.4 kernel in the first place. In fact, he mentions how he finally decided to downgrade to 2.2.

    So, in conclusion: He upgrades to the bleeding edge without proper need, and when trouble ensues, instead of rolling back, he continues upgrading. Tell me why this guy is not a hopelessly incompetent sysadmin who's trying to blame Linux for his shortcomings?

    Hell, even I as a home user waited until 2.4.17 before upgrading my main box from 2.2.19. If I can perceive the weaknesses of the 2.4 kernel, why can't a professional do so?

    Mart
    --
    "I know I will be modded down for this": where's the option '-1, Asking for it'?
    1. Re:Why didn't he downgrade immediately? by bakreule · · Score: 5, Insightful
      "Hopelessly incompenetent"??? Are you kidding? You think he has shortcomings because he was doing what every single rational person does when encountering a software problem? When a program that I buy/download doesn't work, I immediately search for a patch. VERY reasonable behaviour.

      Far be it for me to criticize Linus, et. al as I could never do what they do, but the shortcomings are not with this guy, but with the buggy kernels. These are release kernels, they are not beta kernals. I think, considering the reputation of Linux, that a release kernel should be stable. Yes, bugs happen, and when they do, you would expect a patch to fix these problems.

      If everyone did as you suggested and rolled back to 2.2.x at the first whiff of trouble, who would be out using these "bleeding edge kernels"??

      I think you should cut the boy some slack.....

      --

      Buses stop at a bus station
      Trains stop at a train station
      On my desk there's a workstation....

    2. Re:Why didn't he downgrade immediately? by Lumpy · · Score: 5, Insightful

      EXACTLY!!!! Everyone that has been bitching about the 2.4 series could never give a real reason why they switches their servers to it. I swirtched to 2.4 and kept using every version because of my firewire video editing projects. and firewire is just now getting stable and useable. a server does not need this. nor does it need usb, or anything else added to the 2.4 series. All of my linux servers at work are running 2.2 and will continue to do so until they NEED a 2.4 kernel. It this insane constant "tinkering" that many linux zealots do that makes management not even consider linux as an option. MY boss mentioned that another devision asked him how we kept the linux boxes running well, I told him that we installed it ,configured it and then LEFT IT ALONE except for security patches. and that kiddies is the key to any server..

      --
      Do not look at laser with remaining good eye.
    3. Re:Why didn't he downgrade immediately? by Corrado · · Score: 2

      No, bleeding edge newest kernels are the 2.5.x series. What he's ranting and raving about it that he is using a supposedly stable kernel version (2.4.x) in a production environment. There are lots of things 2.4 provides that 2.2 did not do well.

      Don't flame the man for using a stable kernel!

      --
      KangarooBox - We make IT simple!
    4. Re:Why didn't he downgrade immediately? by MobyDisk · · Score: 3, Insightful

      This is hilarious!

      At my work, just yesterday we were discussing how frustrating it was that users would downgrade when they had a problem instead of reporting it or checking for a newer version! The argument was that since they kept doing that, we could never determine if a new version needed bug fixes or not, and the bug reports we did get were meaningless because they were always on dated versions. I find this to be a common mentality.

      Now I hear the exact opposite. This guy did exactly the right thing. Don't use beta versions, but if you have a problem, upgrade to the NEWEST, don't downgrade to an old version.

    5. Re:Why didn't he downgrade immediately? by RatFink100 · · Score: 3, Insightful

      He mentions in passing that the reason for wanting to use 2.4 are the 'big iron' features - better support for large memory, large file and SMP. Notice it's better support so 2.2 will work but may not be exploiting his hardware to its best ability.

      The reason he doesn't downgrade immediately is that it's a big job. Compared to a downgrade - which presumably involves a backup, rebuild and restore (sounds like several hours downtime), an upgrade to the next kernel is basically a reboot.

      The fact is they took a significant decision when they decided to go 2.4 to begin with. Having made that decision - rightly or wrongly - he then has to make decisions about what to do when he hits bugs. The business may prefer (initially at least) to live with the problems rather than face a prolonged downtime for the downgrade. Or live with them until they can schedule such a downtime.

      There may have been things he could have done better but hopelessly incompetent is a bit harsh.

    6. Re:Why didn't he downgrade immediately? by haruharaharu · · Score: 2

      When a program that I buy/download doesn't work, I immediately search for a patch. VERY reasonable behaviour.

      When considering a new kernel version on a production box, thie first thing I do is test the hell out of it on a spare box. Anything less is unacceptable.

      --
      Reboot macht Frei.
  15. 2.4 is hit and miss. by aussersterne · · Score: 5, Interesting

    We're running the Red Hat 2.4.9-13 kernel on several SMP database servers and they have been perfect (not rebooted since 'rpm -U' of the new kernel) for several weeks. Before that, we were running 2.4.7-something from Red Hat and they were the same -- ran straight from the day we installed the kernel to the day we updated without needing to be restarted.

    On my desktop machine, I've taken more risks (installed pretty much every official 2.4.x-linus release as they have come out) and some have been good, while others have been total dogs.

    I'm running 2.4.17 right now. It seems okay; I've only had a freeze-up once over the last couple of weeks, though it was a total hard freeze (i.e. no ping, no magic SysRq, no nothing), which I haven't had in Linux for several years.

    The obvious issue is VM; if you keep lots of memory (768M, or preferably 1.0G+) in your system, things to much more smoothly, though MP3 playback still skips a little.

    Right now, I'd prefer some work on the RAID and IDE performance issues. One or two of the 2.4 series have had disk performance 100%+ better than the current 2.4 kernels. Why? I'd like to get the disk I/O back to reasonable levels.

    --
    STOP . AMERICA . NOW
    1. Re:2.4 is hit and miss. by warpeightbot · · Score: 3, Interesting
      We're shipping machines with 2.4.9 preinstalled, and have had few problems; these run the gamut of mid- to high-range stuff, Intel and AMD... we did have one nasty problem involving a Mylex card, but after talking to the gentleman that wrote it, I went to 2.4.17-0.13 (Rawhide, with whatever AC did to that - it's not a Linus kernel) and pounded the hell out of them and couldn't make it die.... my intent is to make it our standard shipping kernel within a week or two...

      The original article author went off and yelled about this problem and that problem in the Linus kernels, but totally left Red Hat's stuff out in the cold until the very end.... yes, I admit, right now is not a good time to be following 100% pristine Linus code. But the beauty of Linux now is what everybody feared would get really ugly: We have SEVERAL forks in the code, and at least one of them is working quite well....

      I'd still rather run Alan's beta code than the best Bill can possibly offer.

  16. Re:The Old Question. by Anonymous+DWord · · Score: 2, Funny

    Yeah, but Windows doesn't have kernels like "Greased-Turkey," so there, nyah. Who wants to run "kernel32?" Boooooring!

    --
    "If he thinks he can hide and run from the United States and our allies, he's sorely mistaken." Bush on bin Laden
  17. Cluestick by thimo · · Score: 4, Insightful

    Oke, so we're talking:

    1. Mandrake 8.0, *the* desktop distribution _and_ a dot zero release.
    2. A kernel lt/eq 2.4.6 with known problems and definetaly /not proven/.
    3. A large-scale *production* server.

    Somebody hit this guy with a cluestick! Please?

    Thimo

    --
    Avoid the Gates of Hell. Use Linux!
  18. Heh (horribly OT) by Anonymous+DWord · · Score: 4, Funny

    Your formatting reminds me of this post from alt.(somethingorother).metallica in '93 or so. It looked so poetic that I saved it. Check it out:

    Well about two months ago
    I found Garage Days Re-revisited
    on tape in a used record shop
    for about ten dollars

    I came back two weeks later and
    found Kill 'Em All with the two extra
    songs-on tape for 3.50

    I came back last week and found a rare
    Soundgarden CD (Badmotorfinger w/the
    Somm EP) for around 15.00

    SO, hope is alive, those albums are still
    floating around in some form

    --
    "If he thinks he can hide and run from the United States and our allies, he's sorely mistaken." Bush on bin Laden
    1. Re:Heh (horribly OT) by biglig2 · · Score: 2

      Exquisite. That's worth clicking the marble. (You naughty man!)

      Is that what we're supposed to do with the marble? I guess so.

      --
      ~~~~~ BigLig2? You mean there's another one of me?
  19. No probs here. by arsaspe · · Score: 2, Troll

    I run Linux 2.4.16-pre1 on both my desktop machine and a server and have never had any probs (except for the odd system slowdown due to ext3 sync()`ing, but winME was much worse.) Ironicly, I run windows XP as a NAT server on my dialup box, because it also has to run some windows-only software that doesnt like wine. It took me HOURS to get the bloody thing setup and working, and I spent another 3 hours downloading all the patches, plus a virus scanner (AVG... very good- www.grisoft.com), ZoneAlarm, and then had to wrestle with XP's bullshit "User friendly" configuration while it told me that everything I did wasn't a good idea. After all that, XP's built in 'firewall' (which is on even though I turned it off) conflicts with ZoneAlarm, and constantly locks down all internet traffic, requiring a reboot. It also runs like a sloth with 520mb ram on a 1.5 ghz p4. And to top it all off, XP constantly refuses to connect to my ISP... which are running "Incompatible" windows2000 servers.

  20. Worked for me. by roystgnr · · Score: 5, Interesting

    There was a bad period where the Soundblaster Live driver (particularly mixer settings) was broken. That lasted through at least three kernel releases. There was a worse period where the VM had fits, and where performance degraded way too rapidly if the system had to swap. That lasted at least six kernel releases. There were at least one or two releases where I discovered that Alan Cox's (usually more bleeding edge) tree was being better behaved.

    Of course, whenever I'm playing around with this stuff I don't delete my "last known good" kernel, so if after a couple hours or a couple days I noticed a problem, I just booted back to what worked. The default (albeit heavily patched) Red Hat kernels were good, so "last known good" always existed for me.

    To summarize: this hasn't been a source of inconvenience for me, but it has been one of vicarious embarrassment. I've only been using Linux since 2.0.somehighnumber, but this is the worst mess I've seen the "stable" kernel tree go through in that time. Don't get me wrong, I've experienced system-crashing bugs (a tulip driver that freaked at some tulip chipset clones, some really bad OOM behavior a couple years ago) before, and pragmatically I guess that's worse... but those problems were always fixed fast enough that the patches predated my bug reports. Watching even the top kernel developers seem to flounder for months over bugs in a core part of the OS like the virtual memory system just sucked.

  21. 2.4.16 + preempt by mirko · · Score: 3, Interesting

    I have a kernel 2.4.16 + preempt patch.
    It is the most stable config I ever had using this kernel generation.
    I explain :
    Before, with kernel 2.2.1x I only had "some" preformance issues (mostly disk access related) and what I thought were apm problems (this is a laptop).
    Since I have been using kernel 2.4 I happened to have good times but mostly bad surprises.
    pcmcia (I use the pcmcia-cs package) is not quite plug'n play (system even hanged once) but symptoms vary from version to version.
    So, the big PROS is that, yes, I boot a much quicker way.
    The CONS is that since the 2.4.6/7, I bitterly regret upgrading this kernel since the functionality I gained was compensated by the new bugs.
    Note that I don't mention the APM because besides the Windowmaker apm applet, I don't even imagine using the suspend/resume on this laptop.
    BTW, when I see the difference with and without the preempt kernel, I wonder why this is not implemented in the official tree (radio button : "server or desktop" ?).

    --
    Trolling using another account since 2005.
  22. We are worse off with 2.2 by oingoboingo · · Score: 5, Insightful

    Interesting what the author was saying about 2.2 versus 2.4 in terms of stability. We have 3 Linux machines which are used quite heavily here at the moment:

    1) A dual PIII-800/Intel 440GX/512MB ECC RAM based server, with a Mylex AcceleRAID 170 adapter, an Adaptec AIC-7896 SCSI adapter, Intel EtherExpress Pro 10/100, and an external 450GB SCSI RAID-5. This box is used for NFS/Samba file serving and an e-mail server for around 100 users.
    It runs kernel 2.2.17

    2) A dual PIII-800/VIA 133 server/1GB PC-133 RAM server, with an Initio A100U2W SCSI adapter, Intel EtherExpress 10/100 and 70GB of external SCSI RAID 1/0. It runs MySQL, Apache, and a collection of internally developed Perl, C and Java server apps, on kernel 2.4.3

    3) A dual PIII-450/Intel 440BX/512MB PC-100 RAM server, with an Adaptec 2940UW adapter, Intel EtherExpress 10/100 and 170GB of external SCSI RAID-5. It is used as a development system, and runs MySQL, Apache, and assorted Perl, C and Java apps, on kernel 2.4.1.

    Systems 2 and 3 have both been up for 197 days as I type this, and would have been up for over 250 days had we not needed to power them down to move them to a new server room.

    System 1 (with the 2.2.17 kernel) has never stayed up for more than 55 days. It hard crashes without anything informative being written to the logs, and obviously required the reset button to be pressed.

    Has anyone got any ideas, given the hardware configs and software running on these machines why 2.2 is so horrendous, yet 2.4 so stable?

    1. Re:We are worse off with 2.2 by WasterDave · · Score: 5, Insightful

      I know that there certainly were some... ahhh... issues with the Intel 8255x driver for Linux. There was a bunfight a while back when FreeBSD wasn't compatible with the embedded version of the 82559 (82559er), and the suggestion was made that someone look at the Linux driver to see what the command we were missing was. This led to a big stream of mails about how bad Linux's 8255x driver was, see.

      Or something like that.

      Anyway, I'd look at the changelogs for the network driver between 2.2.17 and 2.4.1, you may learn something.

      Dave

      --
      I write a blog now, you should be afraid.
    2. Re:We are worse off with 2.2 by Corgha · · Score: 2

      System 1 (with the 2.2.17 kernel) has never stayed up for more than 55 days. It hard crashes without anything informative being written to the logs, and obviously required the reset button to be pressed.

      Of course it's crashing all the time; it's 2.2.17! You mention the logs, but not the console (don't expect syslogd to work when the kernel is in trouble). Does the console say something like "VM: do_try_to_free_pages failed"? See Kernel Traffic #99. That bug sucked, and, paradoxically, is one reason why I still haven't gone to 2.4 (after seeing all the VM trouble 2.4 had).

      Upgrade to at least 2.2.19 or maybe apply Andrea Arcangeli's VM-global patch.

  23. Kernel Panic by ChaoticCoyote · · Score: 4, Insightful

    Is Linux 2.4 unstable? It depends on your perspective and luck. I'm running 2.4.8 and 2.2.19 (Debian potato) on my systems successfully; 2.8.9 thru .12 have been glitchy for me, especially when it comes to running big jobs that stress the VM. Haven't tried anything above .12 yet; I'm waiting for .18. My old cluster runs 2.2 simply because I have no reason to change.

    Your mileage, of course, may vary.

    I do think that 2.4 has been managed poorly. People complain that Microsoft beta-tests software on thier customers -- yet that is precisely what the kernel team does to Linux users when they release a "stable" kernel with an entirely new VM. A couple months' (weeks'?) testing on developer workstations is not sufficient for an "enterprise" class operating system. Anyone who understands the least bit about complex systems knows that you don't replace critical architecture (the VM) without jeopardizing stability.

    It's all water under the bridge now; I hope Linus and company have learned from the 2.4 battles. If 2.6 has the same kinds of problems and controversies... well, I prefer not to think about it. For my part, I plan to beat 2.5 beta kernels to death, to help the testing along. Testing is as important as kernel hacking -- even if it isn't as sexy.

    1. Re:Kernel Panic by ChaoticCoyote · · Score: 2

      As I point out above, I *am* running a stable distribution on a system where stability matters, namely Debian potato on my cluster...

    2. Re:Kernel Panic by GigsVT · · Score: 2

      A couple months' (weeks'?) testing on developer workstations is not sufficient for an "enterprise" class operating system.

      Linus doesn't test the kernels at all, except to make sure they compile his config and work well enough to boot.

      I don't know what testing you refer to.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    3. Re:Kernel Panic by ChaoticCoyote · · Score: 2

      I don't know what testing you refer to.

      Exactly my point. There is no testing by the kernel developers, which is why people like Alan Cox are involved. Essentially, Linus produces a raw kernel with his perview as kernel leader; it is up to distributors to make sure they created a reliable kernel from the raw material.

      Which begs the question: Why were so many people upset with Alan about his stance on the VM? Alan's kernel is Alan's kernel (i.e., RedHat's kernel, among others); he is taking the repsonsibility for selling a kernel, and I don;t see why it should offend anyone that Alan wants to be absolutely sure of stability. Linus doesn;t *care* is the kernel is stable... that's not his job.

      If we want Linux to succeed, then the community must take just as much responsibility for QA as the kernel hackers do for coding.

  24. life ain't easy, kernel-programming too by mephinet · · Score: 2, Insightful
    well, my personal experience with the 2.4.x kernel is a good one, i didn't have any problems since my upgrade. i suppose that you can get a stable kernel if you just spend enough time fiddling with the compiler and its options.

    as an electronics student, i wouldn't dare criticizing the kernel programmers: if you ever tried to program a kernel from scratch, you'd know what a damn job that is...

    for all of you interested, there's a great book over at o'reillys, understanding the linux kernel. it covers the changes from the 2.2 to 2.4 version and explains into every very detail the structures behind all the features you enjoy in you everyday linux life ;-)

    cu, mephinet

    --
    Use the source, Luke!
  25. Unfortunately I have to agree by JeffL · · Score: 5, Interesting
    I'll start by saying that I find 2.4 to be very stable, and to perform mostly ok on 1 and 2 way machines. My laptop, desktop, and 2-way server stay up until I decide to reboot them. Actually, I brought my 2-way server down for a disk upgrade today for the first time since early November when I installed 2.4.14.

    Having said that, there are some serious issues with 2.4 on some 8-way 8GB machines that I manage. They have been running 2.4.13-ac7 since November, because that is the last kernel that is usable for me (-ac11 would probably be ok). Newer kernels have terrible behavior under the intense IO load these machines go through. They get 14-30 days of uptime, and then hang or get resource starved or something and have to be rebooted.

    I think part of the issue is that there simply aren't that many people running 8-way boxes, so bugs aren't found as easy, this is of course on top of having 8-way SMP being much more complex than a defacto single user, single processor desktop machine. To make it even worse, the machines are pushed hard. They move around GBs of data every day, and often will run for extended periods with loads over 25.

    Of course, it is still mostly ok. While the machines are working they mostly work fine. Of course 20 days of uptime is totally unacceptable. I have an alpha running Tru64 pushing 300 days of uptime, and the last time it was down was due to a drive failure, not an OS problem.

    My only remaining issue with Linux on "small" machines is an oscillation problem in IO. Data will fill up all available memory before being written to disk, and then everything from memory will be written out, and then memory fills up again before anything new is written to disk. This is a bit inefficient, and the machine's responsiveness at the memory-full part of the cycle is poor.

    What are my options though? I guess I could try FreeBSD, but a bit of lurking on their lists and forums reveals plenty of problems there, too. Do I switch and hope things get better, or wait out 2.4 and hope it comes around soon? Aside from a few nasty bugs in some releases, pretty much each successive 2.4 kernel has been better than the previous one, at least on small systems.

    Several years ago I was having a hard lockup problem with Tru64 (Digital Unix, at the time) and that was very scary. It took time to get the problem escalated to the OS engineers, instead of just sending an e-mail to lkm. Even then I could only hope that the issue was being addressed, but I had no way to know if anybody was doing anything about it or not. (Turned out to be an bug in the NFS server that would cause the machine to lockup when serving to AIX.) For all of its problems though, it is extremely reassuring for me to be able to monitor the development process of Linux through the linux-kernel-mailing list, and other specialized lists. If I feel that people aren't aware of some problem I am experiencing, I can raise the issue. I am not in the dark about what is happening, and what fixes are being made. I know what changes have gone into each kernel update, so I know if there is a chance of it fixing my problems.

    1. Re:Unfortunately I have to agree by Anonymous Coward · · Score: 2, Interesting
      Granted, SMP isn't great, but neiter is the SMP of Linux.

      That's unfortunatly the point. 2.4 is stable for desktop use, but obviously it's the 8-processors+RAID heavy use which is problematic. But honestly I must say I'm not surprised... Having done a bit of kernel developping, I always wondered how developpers managed to get SMP right (with spin locks etc...), when most of them probably don't have SMP machines AND considering that fine-grained SMP locking was added as a backthought. Actually when I wrote my little personnal kernel module, I was amazed at how many things could go wrong in SMP, so much that my envy of dual Athlon motherboards is now close to zero.

      I think Linux is now meeting the exact same problem as Windows NT+ kernel, i.e. fine grained SMP is hell.

    2. Re:Unfortunately I have to agree by Brian+Knotts · · Score: 2
      when most of them probably don't have SMP machines

      Huh?

      I thought everyone running Linux had SMP machines by now. All of mine but one are. :-)

    3. Re:Unfortunately I have to agree by _johnnyc · · Score: 4, Informative

      Same here.

      At about the time the 2.4 kernel was first released, we were bulding a server for serving out large media files for encoding. We were on a limited budget, so we put together a PC with about 256 MB RAM running on a K6-2/500. Set it up with a combination of RAID 1 and RAID 5 with 2x40GB and 2x80 GB IDE drives. While running with the stock RH 6.2 kernel we had no problems. But we needed the 2.4 kernel for large files, so we waited until we couldn't wait any longer.

      This turned out to be problematic to say the least. While we had 7 servers running RH 6.2 and never had a crash, the machine serving up the media files would lock up whenever copying large files, or whenever many files were being copied. Kept me working through a few weekends trying the latest kernel and then stress testing the server with large file copies. We wound up reverting back to a 2.2 kernel because the crashes were too frequent.

      I haven't tried the RH kernels for 2.4 on anything other than desktop systems. I can say that, on RH 7.1 at least, the 2.4 kernel in use is rock solid and has never crashed for me at home or on desktop systems at work. I never got the chance to try the kernels on RH 7.1, but I suspect Redhat kernels would probably be more stable. They've got the resources to stress test and modify kernels for specific needs.

      I liked the article. He's not a kernel hacker and writes from his experience of the 2.4 kernel with clients. Only problem I see is WTH was he thinking using Mandrake 8.0 for a server? That version of Mandrake, more than any other I've used, I've found to be very unstable on 2.4.

    4. Re:Unfortunately I have to agree by haruharaharu · · Score: 2

      cdrom.com runs on FreeBSD, which is not a small server

      cdrom.com is an FTP site - not exactly rocket science. What would impress me is large simulations running on big, expensive hardware, not serving FTP to 4000 users.

      --
      Reboot macht Frei.
    5. Re:Unfortunately I have to agree by rho · · Score: 2
      What are my options though?

      For lightweight server duties (single, maybe dual processor), Linux or one of the BSDs will do you.

      For anything greater, I would move to a Sun SPARC with Solaris. The price difference is negligible when you hold it up to the light of experience: Solaris props up some of the biggest and baddest sites in the world. Linux doesn't have that distiction, at least not yet. Solaris admins tend to be of a more "professional" cut than Linux admins.

      Not a slam on Linux: it just doesn't have that kind of history or reputation yet. Given time, Linux may be keeping Scott McNealy up at night, rather than Bill Gates.

      Bottom line, a 1U single x86 rackmount couldn't be happier than with Linux or a BSD (my personal choice would be a BSD). For that 8-headed monster with a 300GB RAID-5, I'd put my faith in Sun and Solaris, and write Scott the check...

      --
      Potato chips are a by-yourself food.
  26. Desktop Myth by ImaLamer · · Score: 5, Insightful

    He seems to think 2.4 is fine for desktop systems but is only now, after a year of release, approaching stability for high-end use.

    I don't get it. I use Linux on the desktop. I have to admit that I don't run linux on my main machine. This is only because I've taken my second hard drive out, and put it back into an older machine. [sorry, wine doesn't like Red Alert 2]

    Before I did this though, I ran 2.4 kernels on my desktop. None of the problems I may have had were with the kernel. Problems I had were mainly with certain applications and when I pushed them to their limits. Pan, for instance, crashed a lot on me, but that was because I was downloading gigs per day. A simple Pan upgrade fixed that.

    In my humble opinion, 2.4 is prime for the desktop. Linux is more than ready for the desktop. I know he says it's ready for the desktop, but not ready for high end systems. To me 'high-end' is what you ask of a computer. I've got a 333MHZ running Red Hat 7.2. The computer is running webmin, proftpd, apache, and many mail daemons. I must also mention that SETI runs 24/7, it only has 64 MB of RAM. It never goes down, it never 'crashes', and is up as long as there is power running to it.

    So... it's ready for the desktop? Sure, 2.4.x is prime. All the drivers I've needed supported are there. Even my >$50 webcam.

    The question of 'desktop' use isn't with the kernel though. Desktop users don't patch or compile the kernel... how many times do they do it in *indows or MacOS X? They install complete distributions. IMHO, again, the only thing that keeps Linux off the desktop is easy program install. RPM has killed itself with dependencies, and apt-get is console based. Apt-get is waaay better, and it has worked wonders on my Red Hat machine [apt-rpm]. The problem is not being able to download an app and install it like *indows.

    Solve this and I will sit outside my local computer store and hand out CDs. I don't know about high end systems, but dammit!, desktop users are ready... format that *indows crap and get a real OS!

    Gimme a good apt-get gui... or have the system run apt-get in the background solving dependencies when needed... my g'ma will have it.

    BTW, I just saw a guy on TV and his name is... get this: Joe Householder

    1. Re:Desktop Myth by Jens · · Score: 2
      "The problem is not being able to download an app and install it like *indows."

      For those that don't own SusE (or don't like YaST2): KPackage does this. click on a RPM, kpackage pops up with a description, click on "Install", it asks for the root password and installs the package.

      Same for debian. It also provides a way to browse installed, non-installed (available) packages, and updated packages. You can install via net and locally.

      The only thing KPackage misses is two things, actually:

      • "Close all applications before you install this."
      • "Restart your computer for the changes to take affect."

      And I can live without those.

    2. Re:Desktop Myth by GigsVT · · Score: 2

      Up2date solves dependancies with RPMs. I've found most people who don't like RedHat and RPMS aren't using them very effectively.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    3. Re:Desktop Myth by ImaLamer · · Score: 2

      I've had no such luck with up2date.

      The best way, on a RedHat system is to go to the RHN page and select packages that way.

      The problems with RPM seem to be when software isn't part of the distribution. apt-rpm seems to help since they draw from many sources.

    4. Re:Desktop Myth by ImaLamer · · Score: 2

      The KDE suite is.. sweet.

      But kpackage doesn't actually get the RPM's needed to solve the problems.

      I'm not saying "fuck linux" i'm simply pointing out the problem.

  27. You get what you deserve? by MikeFM · · Score: 2

    Call me precautious but I usually test out everything, including the kernel by running it on clients and development servers before putting it on any mission critical servers. As much as I like the improvements I didn't find it stable enough for heavy usage until recently so I just never upgraded any major servers to use it until now. No pain at all because as an admin I did my job. Anyway it always did pretty good for me unless I put it on a total crap box (of which I have many) and stressed it a lot (which I tend to do) so I don't think it had that big of problems to begin with. In reality Netscape was the only program I found that caused consistant problems with the 2.4 kernels. From time to time programs like Xine would also but that was usually when I did something stupid like trying to run several movies at once on a low end machine with barely enough RAM to breath. My development web servers don't get a lot of traffic but they do some heavy data processing and I never noticed any problem there.

    --
    At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
  28. Press Release by edibleplastic · · Score: 5, Funny

    And in other news, the Associated Press is reporting that Linus Torvalds has sent out a memo to the core Linux development team telling them to make stability their "highest priority". In his memo he called this strategy "Trustworthy Computing", saying that it should not be the case that people have to use previous versions of the OS in order to find a stable working environment.

  29. Debian Testing w/ 2.4.17-K6 by Bob_Robertson · · Score: 2

    Woody's working fine for me, I've been pulling down 2.4.x kernels
    as they've been made available.

    You're absolutely right, though, Woody base install still
    uses 2.2.19(?), the 2.4.x kernels are available options.

    I still keep 2.2.19 in lilo as an alternative in case I run into
    any problems, but once I got all the module configs fixed
    for 2.4, there's been no need to use it.

    Bob-

    --
    The Ludwig von Mises Institute. The reasoning individuals economics
  30. Let's call it a curiosity by Oestergaard · · Score: 4, Interesting

    jakob@unthought ~> uptime
    9:21am up 181 days, 13:25, 3 users, load average: 3.57, 3.33, 2.79

    jakob@unthought ~> uname -a
    Linux unthought.net 2.4.0-test4 #1 SMP Fri Jul 14 01:56:30 CEST 2000 i686 unknown

    I suppose that ain't too bad. Other than that, with real 2.4 kernels, on UP and SMP systems, I've been fairly satisfied.

    There was a RAID bug (RAID-1) in 2.4.9 or there about, which they forgot in the article. I think, except for the fs/raid corruption problems (which are horrible when they happen), that the 2.4 kernel has been a nice experience.

    Think back for a moment: How would you like *not* to have iptables, reiser, proper software RAID, etc. etc. etc.

    I think I would miss 2.4 if I went back, although the fs/raid corruption bugs made me "almost" do that.

  31. Problem more serious in Business Computing by lamj · · Score: 2, Informative

    I notice that a few people mention they don't have problems with 2.4. I find that true based on certain conditions.

    For home use, I really don't find a lot of problem with 2.4 except minor driver problems. But at work, things are very different. I run a few high load critical servers at work that are still on 2.2, the lab attempt to upgrade 2.4 (at early stage) failed because of lock up and performance issues (yes, some due to VM)

    It was till recently, I tried again with 2.4.16 that I am getting some reasonable results with the 2.4 series. For your information, performance are about the same on 2.4 with my application, I cannot confirm high load stability issue yet as I need more time to test. But initial results tells me 2.4.17 are resonably stable, only one lockup so far (for two weeks).

  32. Needs "unstable", "testing", "stable" or something by Anonymous Coward · · Score: 2, Interesting

    The problem is the "release" level kernels usually aren't really ready for release. Most hard-core linux people tend to know this, but those that are coming in from elsewhere expect that a "release" product is, well, ready for release... maybe with some hesitation on a .1, but by .2 or .3 the thing should be good.

    Maybe holding on to "beta" status for a little longer, or having a "unstable", "testing" and "stable" like debian. So that when someone wants the latest stable kernel, they don't end up with something the kernel guys think is stable... till they release the next "stable" version a day later...

  33. Observations & Experiences by WildThing · · Score: 2, Insightful
    I've noticed that most of the comments both in the article and others complaining about the 2.4.x kernels and various stability problems are running RedHat, Mandrake, and even Debian Distros. Hell my best friend even like RedHat best. But that something that we and many Linux people will argue/discuss until their blue in the face. I have used just about all the distibutions from time to time. However I have prefered Slackware since I started with Linux in late 1994. (Boy have things changed since then). What's my point? Many if not most of the problems people are having can be traced to a few reasons:
    1. running a distribution with bad compatiblity between libs,tools,compilers and the kernel (i.e. Redhat 7.0)
    2. upgradings the kernel without regard to upgrading libs,tools,compilers, etc.
    3. upgrading for the purpose of upgrading's sake - no real reason.
    4. Not that much knowledge of what's really goining on in their machine.
    I have set-up enterprise level production servers on Linux for many years and haven't ever <knock on wood - my head > had stability problems. I know of 4 Servers runnig at my most recent employer that have been running 2.4.x Kernels since they were put into service and have never crashed or even hiccuped - over 2 years ago. They are running Oracle, MySQL, Apache with multiple modules, Perl Apps, Samba and NFS filesystems, and other stuff I can't think of right now. Why haven't they had problems -
    1. Good STABLE distribution
    2. conservative upgrades (2.4.1 to 2.4.5 to 2.4.12)
    3. running in test before placed in production
    Eveyone seems to think that with a kernel from the "stable" tree you shouldn't have any problems whatsoever. Keeps in mind that the kernel alone doesn't make the OS the user space tools are also part of it. Therfore running a kernel in the 2.4.x tree and bleeding edge alpha versions of user space software and server daemons != a stable system necessarily. How many people are running a version of Apache in the 1.3.x tree? Well if you are that's a development tree and not necessariliy stable. Yes there are stable versions, but you must test! Also remember to separate device drivers from the kernel. Just because many are distributed with the kernel doesn't make them part of it.

    The other problem I've noticed that started with the 2.4.x tree was the 'ac' or Alan Cox branch. Don't get me wrong I think Alan has contributed meny good thing to the kernel; however, I do think Alan has gotten to feeling a little to self-important to Linux's success. Also keep in mind that he works for Red Hat now and everything I've seen with Red Hat's politics is they want to "control" Linux. So, I say stay away from any '-ac' kernel. But that's just my opinion and I could be wrong.

    As far as the 'new' VM being put into the 2.4.x kernel - I don't completely agree or disagree with it being done when it was but there were various reason to do it then. I was holding up some important things and the kernels wasn't ready for a 2.5.x tree yet. It was a hard decision on Linus's part but not one I'm going to second guess.

    Don't get me wrong. you can get a stable machine with just about any distribution; howver, I have found, from experience, that Slackware has a track record for being the most stable 'out-of-the-box'.

    Also keep in mind that with Winblows you'd be rebooting every 14 to 30 days. Even with 2000 and XP.

    On the other hand I still have one box at home still running 1.3.72 with an uptime of over 3 years. It's running as my router and is my experiment on just how long with a Linux box run without crashing.
    1. Re:Observations & Experiences by schwap · · Score: 4, Informative
      How many people are running a version of Apache in the 1.3.x tree? Well if you are that's a development tree and not necessariliy stable. Yes there are stable versions, but you must test!

      Um... 1.3.x is, indeed, the stable version. From the website:

      The Apache Group is pleased to announce the release of the 1.3.22 version of the Apache HTTP server. Apache 1.3.22 is the best version of Apache currently available.

      2.0.x is the unstable tree at the moment.

    2. Re:Observations & Experiences by schwap · · Score: 2

      I guess its a matter of symantics vs. context. The context being a 'production environment'. 1.3.22 is what one puts into 'production'. 1.2.x is depreciated and 2.0 is not yet suitible to put into a production environment. If the apache had used the Linux numbering scheme, 1.3.x would have been the 'development' tree and when it became stable it would have become 1.4.x. 2.0 would have become 1.5.x, to then become 2.0 when it was 'stable'. I guess that is the nature of these projects. Version numbers really dont matter. It's all about what works. 2.4.x didnt really work for a while after it was released, but being that, for linux anyway, an even number minor version means that it is stable and ready for production (which it wasnt). It may have gotten better a lot faster if they just kept it in the 2.3.xxx state for a while.

    3. Re:Observations & Experiences by A+Masquerade · · Score: 2

      I know of 4 Servers runnig at my most recent employer that have been running 2.4.x Kernels since they were put into service and have never crashed or even hiccuped - over 2 years ago.

      2.4.0 appeared to the world on 4 Jan 2001 - 1 year and 13 days ago. Either this guy has a time machine or he is a not very accomplished liar.

    4. Re:Observations & Experiences by TheAwfulTruth · · Score: 2

      And did you know that every kernel from 2.4.0 to 2.4.10 has a security hole in it? That and dozens of other bugs including 2 versions that can destroy your file system? Is that what you REALLY want to have sitting on your company servers?

      --
      Contrary to popular belief, coding is not all free blow-jobs and beer. Those things cost MONEY!
  34. Kernel is ok, biggest problem is the applications by johnburton · · Score: 3, Interesting

    Some people have already mentioned this in passing, but I think its an important point to make.

    I've found that the kernel is pretty stable for me. I use my system mostly for code development and as a server for files and web pages.

    I find that the kernel itself is pretty stable, although as the article says, it does seem less stable that 2.2 series did. But even so it's not bad for the use I've made of it.

    The old style applications are also very good. The command line tools, and the development tools (gcc etc) are all totally solid and are why linux gained it's early reputation for reliability.

    *BUT* I find that much _new_ software. Both gnome, kde and others GUI software to be terribly unreliable. Say what you like about microsoft outlook but it rarely just crashes. On the other hand, every "modern" mail program I've used on linux tends to end with a crash eventually. And it's not just mail programs. I find that many of the programs I would use tend to crash quite a lot. Not all the time, but just once is too much.

    It's rather sad in my opinion that such a solid base of reliable code is being let down by the stability of some of the more modern software. Frankly it doesn't matter how stable the kernel is if the programs that run on it crash.

    This isn't indended to be a complaint, and I realise that before applications can be considered reliable the kernel needs to be, but it does concern me that the overall reliability of linux systems does seem to be going downwards.

    --
    Sig is taking a break!
  35. Re:Kernel too big? by WildThing · · Score: 2, Informative

    For example, why do you put USB support into the kernel? Cant this be moved to a driver or external module or something? The same applies for file systems etc.

    Uh... You can compile USB and many other parts as a module.

  36. The real irony... by ameoba · · Score: 2, Offtopic

    What I find truley ironic about the 2.4 series is that, before it was released, there was a big delay because they wanted it to be perfect. It was held up and held up, thinking that the fate of 2.4 was the fate of Linux, it was going to be the kernel that everyone was watching.

    What do we get? Stability problems, kernels with DO NOT USE warnings, massive changes to the core of the OS, the list goes on. All on what was supposed to be the flawless kernel that proved the worth of Linux to the masses.

    --
    my sig's at the bottom of the page.
  37. Re:Kernel is ok, biggest problem is the applicatio by johnburton · · Score: 2

    Didn't say all my programs are crashing, or ever that they crash often. I said that they are not as reliable as they should be.

    There are some great, reliable programs out there too, but I just get the feeling that quality of many of the *applications* is going down recently. And if the applications are not reliable, then it probably doesn't matter too much if the kernel crashes every few months...

    --
    Sig is taking a break!
  38. Re:Oh, stop it! by Anonymous Coward · · Score: 2, Informative
    First of all, there is no code difference between "server" and "desktop" distributions of Linux. That's right, none.

    No, that's wrong. Red Hat, for instance, which is generally designed to be an industrial-strength server distribution, applies something like 200 patches to Linus's kernel. Red Hat knows that its customers expect a solid, stable server operating system, so they will do what it takes to build one. Mandrake, on the other hand, knows that its customers are mostly desktop users, so it has other priorities (providing games, etc.) than testing and patching the kernel.

  39. Re:Kernel too big? by BladeMelbourne · · Score: 2, Interesting

    I agree with you re: a small, stable kernel with memory and processor management, but when you think about it, USB hardware is very common. I bought my box 3 years ago and it has USB (even though I have never used it).

    This is my opinion:
    optional hardware, devices, peripherals -> modules
    hardware found on most x86 machines -> built in

  40. Works ok for me by Zo0ok · · Score: 2

    I have used 2.4.* since the very beginning on my firewall (to get IP-tables). arch/i386/kernel/bluesmoke.c is broken for my IBM PC Server, Dual P90 since 2.4.5 or something but just replacing with the old version works fine.

    I am running the entire system in RAM (loading a 96 Mb almost empty ramdisk from floppy, populating the filesystem via rcS from /dev/hda and then shutting down the hard drive). I had problems with this in 2.2 and early 2.4 (perhaps 2.4.10) because for some reason double amount of RAM was required. Allocating 20 Mb of RAMdisk cost me 20 Mb of ram, but when I filled the filesystem another 20 Mb was used. sync did not help. Unmounting and remounting helped... but it was my root filesystem and no good solution.

    Conclusion:
    If you run old hardware, puts little load on it, and patches the kernel before you compile it you will be quite satisfied with 2.4.* ;)

    Oh, btw. I run 2.4.* on a laptop (with more than enough RAM). 2.4.* has been stable and satisfactory since the first release, for me.

  41. large system problems by markj02 · · Score: 4, Insightful
    Let me first say that, despite the problems I mention below, I really appreciate the work that has been going into the Linux kernel. Once you get it configured and compiled, it's a reliable and powerful system. But if the kernel is too hard to configure and compile, that severely limits how widely Linux can get adopted.

    Now, what problems am I talking about? The latest 2.4 kernels still have compilation problems in some drivers (2.4.17 has problems in USB, 2.4.18pre4 has problems in one of the sound drivers). Important and mature packages like MOSIX require patching the kernel and aren't integrated into the kernel. Many hardware setups require recompiling the kernel and experimenting endlessly. Every time you recompile the kernel, you need to recompile some kernel modules. Dependencies and recompilation aren't working correctly--some things don't recompile when they should, and lots of things recompile over and over and over again. The kernel itself is a 30Mbyte download. And the list of problems goes on and on.

    People seem to have gotten used to it and think there is nothing wrong. The kernel hackers keep telling us that C and make are just great tools for building kernels. But as a user and sometime driver hacker, I think the kernel is falling apart under its own weight. This is not a system I can recommend to non-technical users--commercial distributions can't cover all the possible kernel configurations (even with fully modularized kernels), and recompilation is out of the question for many users. What is needed?

    • It must be possible to write drivers and other kernel modules that can be compiled separately from the kernel and work across many versions. Binary modules really should keep working across minor version number changes (2.2 to 2.4, for example).
    • As a consequence, it should be possible to package bits and pieces of the kernel separately. If I want the ACPI module, I should be able to install that with "apt-get install kernel-2.x-module-acpi". I should be able to download RPM packages from reiserfs.com and install them on (at least) any 2.4 kernel without recompiling anything.
    • It must be possible to write kernel modules with more safety in mind. There should also be some way to apply some memory protection to kernel modules when desired.
    • The build system needs to get fixed. There is no reason why adding or removing a module should result in a recompilation of the whole kernel. Maybe it's time to get rid of "make" altogether for the kernel.
    • The configuration system needs to get fixed. The kinds of questions it asks right now just cannot be answered by a normal user. In fact, there really shouldn't be much of any configuration: all the different options should be dynamically loadable. Yes, this even means MMX-optimized versions of some piece of code or other. And most of the drivers and file systems should be distributed in completely separate source packages, independent of the kernel. (The new configuration system treats the symptom but not the root case.)

    I think, ultimately, if the kernel wants to survive and be able to keep up with the world, it needs some kind of more flexible dynamic binding of functions at runtime. It also must allow people to start writing kernel components in languages other than C, foremost C++. No, C++ isn't the epitome of good language design, and, yes, people can write even more horrible code in C++ than in C, but C++ can really help with safety, security, resource management, and modularity.

    If those things don't happen, I think the Linux kernel will simply fall so far behind that it will get replaced by something else. And that would be a shame because the Linux kernel actually does have a lot of useful functionality, and once compiled and configured, works very well.

    1. Re:large system problems by leandrod · · Score: 3, Interesting

      Yeah, you nailed it down.

      Now remember that the whole point of microkernels is to enable flexibility -- not only for development's sake but also to be able to adapt to different loads and usage characteristics.

      So the HURD seems to be the answer. That or Linus (or someone else, or a group of kernel hackers) over a reasonable amount of time manages to get better at (1) understanding modifications to Linux and their consequences and (2) based on this understanding only release "stable" kernels once they're done.

      Given the complexity of the task, I doubt it's doable. The free flavours of BSD never scaled as far as GNU/Linux; the proprietay Unices have basically choosen to scale up and up, forgetting the small systems situations and accepting bloatedness in order to cater for stability, resilience and other high-iron stuff. Even single-server microkernels like Windows NT and Apple Darwin haven't much to offer, being bloated, slow and not flexible at all.

      We still have a free software and open systems advantage, because POSIX OSs can cover the whole gamut of computing systems simply by having different kernels with the same APIs; standard bodies and GNU libc are the real heros here, not Linux or BSD. Proprietary software usually will be even more fragmented, with all those slightly incompatible, underperforming, unstable versions of Microsoft Windows, Mac OS Classic and so on. But still it would be nice to have a free, copylefted common kernel. Unless the Linux situation improves dramatically soon, the only answer in the horizon is the Hurd -- and it still needs to be finished.

      --
      Leandro Guimarães Faria Corcete DUTRA
      DA, DBA, SysAdmin, Data Modeller
      GNU Project, Debian GNU/Lin
    2. Re:large system problems by markj02 · · Score: 2
      C++ is a big shotgun--it's very effective if you point it forward, but it's very easy to shoot yourself in the foot if you point it generally downward. I think in the short run, it's the only feasible choice because it really interfaces very easily with C.

      If the kernel weren't so monolithic and was composed from lots of different bits and pieces compiled separately, I think this would happen naturally.

    3. Re:large system problems by markj02 · · Score: 2
      Kernel configuration and compilation only needs to be a one-time event at distributor HQ. Users should not have to worry about such things. Imagine the impact on Windows use if it did :)

      Indeed. Trouble is that the Linux kernel apparently doesn't admit that kind of "one-time event" to happen easily, since neither Debian nor RedHat seem to be able to figure out how to make a modular binary kernel distribution that works on most machines with all of the supported devices. Because if they did, I would just be using this, my friends would not be asking me to help them recompile their kernels, and we wouldn't be having this discussion.

      Congratulations, you've proven that *gasp!* some modules are still immature.

      The question is: why do they remain immature for so long? Why do I (realistically) need to wait for a kernel upgrade to get a fixed audio card driver? Why isn't driver development completely separate from the kernel?

      Again, what is wrong with the build system?

      If I change, say, an APM setting and follow the instructions ("make dep; make; make modules"), it ends up recompiling everything as far as I can tell. Furthermore, "make install" ends up recompiling some stuff yet again. And the recursive make itself has a lot of overhead.

      "Every time you recompile the kernel, you need to recompile some kernel modules." If you're recompiling the kernel, taking the time to compile modules isn't that much of an inconvenience

      The inconvenience isn't the time spent, the inconvenience is that vendors can't make a fully modular binary kernel distribution.

      or wasting space with all the different "versions" of the kernel binaries (also icky, but not as).

      You forgot the third option: making the kernel modular and distributing different "versions" as separate binary packages. That's the way the rest of Linux works. Allowing for packaging and individual distribution of packages is what has made Linux distributions practical and accessible to many people.

    4. Re:large system problems by markj02 · · Score: 2
      Sorry, what I meant was:

      You forgot the third option: making the kernel modular and distributing different "versions" [of individual drivers and modules] as separate binary packages [from different sources, where it makes sense].

  42. Improvements by Molina+the+Bofh · · Score: 2

    I think kernel 2.4 has what I always dreamt of on my linux firewall: Stateful firewalling and NAT. It is great for building inexpensive firewalls that can be as good as those costing grands.

    Also, the VM system is much improved, when compared to the 2.2.
    The only thing I think was a little too risky was replacing the entire VM (originally built by Rik van Riel) with a new one, by Andrea Arcangeli. I believe such dratic changes should be reserved for developmente kernels. But the important thing is that now it's working wonderfully, and is much improved.

    I don't think 2.4. should be called the Kernel of Pain. We're what, in 2.4.17 ? Remember 2.2.17 or 2.0.17 ? Heck, 2.0 had DoS bugs till release 2.0.35.

    I am running 2.4 on some production boxes. They're behaving fine and very stable, thank you, and I think 2.4 is ready for production.

    --

    -
    Roses are #FF0000, Violets are #0000FF, find / -name '*base*' |xargs chown -R us && mv zig greatjustice
    1. Re:Improvements by SpinyNorman · · Score: 2

      Pure crap. 2.2 was stable way before that. I'm running Mandrake 7.1 with the 2.2.15 kernel, and it's solid as a rock. Hell, we're only at 2.2.20 now... it's hardly changed in the last few years.

    2. Re:Improvements by Molina+the+Bofh · · Score: 2

      Crap ? What about these bugsin kernel 2.2.x, x<=19 and 2.4.y, y<=9 that allow local Denial-of-Service and to gain root privileges locally.

      Sorry to say this, but youre running a kernel that has known security problems. And I was talking about the 2.0.x, that had DoS problems till the 2.0.35.

      --

      -
      Roses are #FF0000, Violets are #0000FF, find / -name '*base*' |xargs chown -R us && mv zig greatjustice
  43. It's what people have been saying for years! by Spunk · · Score: 3, Funny

    Linux isnt ready for the -

    Server?

    Wait a minute...

  44. *sigh* by Matts · · Score: 2

    The people reporting problems are talking about heavily loaded systems usually on SMP systems. This is the stuff 2.4 promised to deliver, and while it's delivered them, it's delivered unstable stuff.

    But this is the way of open source - it's obvious this stuff wasn't tested to destruction while still in the 2.3 phase, or we wouldn't be seeing this stuff. However distribution developers should be doing this testing before releasing a new OS, and they're obviously not doing so.

    --

    Matt. Want XML + Apache + Stylesheets? Get AxKit.
    1. Re:*sigh* by friscolr · · Score: 2
      [frisco@host1 frisco]$ uptime
      8:35am up 35 days, 26 min, 1 user, load average: 2.02, 2.04, 2.10
      [frisco@host1 frisco]$ uname -a
      Linux host1 2.4.9-13smp #1 SMP Tue Oct 30 19:57:16 EST 2001 i686 unknown

      It's a (mostly) default RH 7.2 install - shouldn't that be asking for trouble? - yet hasn't rebooted since i did some disk rearranging (couldn't afford hot swap on my home machine; yes i do that much processing on my home machine). Load average on this machine is generally at 2, sometimes gets up to 20+ when things go awry.

      checking the other machines at work, i see

      [frisco@host2 frisco]$ uname -a
      Linux host2 2.4.3-12smp #1 SMP Fri Jun 8 14:38:50 EDT 2001 i686 unknown
      [frisco@host2 frisco]$ uptime
      8:26am up 68 days, 17:04, 2 users, load average: 0.00, 0.01, 0.00

      this machine regularly sees 30+ users login at once and run 30+ instances of a web server and have those 30+ people do database/web development on it (it's a student machine so given the time right now its load is low). last reboot was someone trying to fix network issues the wrong way.

      We have 2.4 kernels in a dual boot lab which we have trouble with, but that's mostly b/c of the other side of the dual boot. There are also other machines of various configurations running 2.4 here w/o problems.

      Anyways, there's your SMP systems with some load on distribution releases of 2.4. Granted, the load isn't 24/7 serving 100+ users each second, but it is there.

      Of course that doesn't mean anything save YMMV and that with the multitude of hardware configurations out there, some will work fine and some won't; stories about well-working 2.4 kernels abound, as do stories about 2.4 kernels that suck.

    2. Re:*Sigh* by leandrod · · Score: 2

      Yes, you got me -- I was confused about Darwin and Mac OS X. The 96 MB figure applies to Mac OS X, not Darwin -- I knew that but my reasoning broke like Microsoft Windows.

      Anyway, Darwin is bloated yes -- it incorporates Mach in the BSD kernel for no good reason, since it takes no advantage neither of microkernel's best characteristic, that is flexibility nor of BSD, which has speed and leanness; this combination robs Mach of flexibility and BSD of its speed. It is a monolithical microkernel, because it has a single server.

      OTOH Hurd is a true microkernel, flexible because of its multiple server architecture. Please go read the Hurd introductory documentation...

      --
      Leandro Guimarães Faria Corcete DUTRA
      DA, DBA, SysAdmin, Data Modeller
      GNU Project, Debian GNU/Lin
  45. 2.4 RAID-0 by Shanep · · Score: 2

    The RAID-0 in 2.4 has so far been between -18% and 0% faster over the raw hdd speeds for those same md partitions on my system. The 2.2 kernels were giving me about 30% speed increase.

    PS, notice thats negative 18%, I say negative 18% faster, since RAID-0 is supposed to give a speed increase above all else.

    --
    War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
  46. Innovation vs stability by CatherineCornelius · · Score: 2
    I guess the following makes me unusual for a Linux user--I value stability quite highly, innovation is just a nice-to-have.

    I'm happily running Debian stable (potato) with a 2.2.18pre21 kernel. I'm only vaguely aware that some 2.4 kernel features could be nice to have. The main attraction is iptables, which of course wouldn't be any use on my desktop and laptop machines.

    I'm about to play around with 2.4.17 on my current firewall server using Adrian Bunk's 2.4 kernel package, for that very reason. Would it be wiser to hold off? ipchains does an adequate job under 2.2, after all, and I'm perfectly happy with 2.2 on the desktop machines until Woody (the Debian candidate in testing) is moved to stable, by which time all the major gotchas will have been ironed out.

  47. Dude.. by OpCode42 · · Score: 3, Funny

    Dude, where's my stability?
    Where's your stability dude?
    Dude! Where's my stability?
    Where's your stability dude?
    Oh! There it is! (points to linux-2.2.20.tar.gz)

    ;)

  48. The real problem is... by rsd · · Score: 4, Insightful

    IMHO, the real problem is the stock kernel.

    It is commom to see that the stock kernel has lots
    of missing patchs to increase stability and as pointed out by
    Rik van Riel which was posted
    here in slashdot, Linus rejects
    random patchs which cause some areas of the kernel to not be "as good as it should".

    The VM is one part which Linus just got random
    patchs from Riel and rejected some of them randomically which made the VM suck so hard in
    earlier stock 2.4 kernels.

    OTOH, kernels shiped from distributions includes
    (at least it should) the missing parts and should
    be better than the stock kernel from kernel.org .

    I don't use Mandrake to tell how good their
    kernel is or is not. But I use
    Conectiva Linux and I know how good their kernel package is.
    Their kernel includes missing fixes that do not get over the stock kernel.
    Better of all, their kernel maintainer is

    Marcelo Tosati
    who maintains the stable kernel tree now.

    I think that we will see an improvement into new
    2.4 releases.

    The latest 2.4.17 kernels from Conectiva can be found in here .

    1. Re:The real problem is... by SpinyNorman · · Score: 2

      Definitely true, although as a particular stable kernel matures the stock kernel becomes fine itself, even if missing the added goodies some distributions add for you (eg. Mandrake has had reiserfs in 2.2 for a long time, and SuSe has had LFS (> 2GB files) in 2.2).

      However, as far as Conectiva specifically goes, I'd be pissed if Marcelo added stability fixes to their kernel that he didn't admit to the stock one!

  49. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  50. Comment removed by account_deleted · · Score: 3, Informative

    Comment removed based on user account deletion

  51. Kernel series 2.5 by flend · · Score: 2, Interesting

    Is it not significant the new experimental kernel series 2.5 is being launched just as the `stable' 2.4 series finally becomes stable?

    Maybe even number kernels should only be declared stable when they have an experimental branch :)

    Saying that, I've not had many problems with 2.4, bar terribly IDE performance on my hpt370 controller.

  52. Why Linux? by evilviper · · Score: 3, Insightful

    I've always found it incredible how hypocritical SOME peole can be.

    The big arguement FOR linux up until recently was stability of the OS. With Windows 2000 (and XP I assume) it seems that Linux users are now the ones willing to put up with the more problematic OS, and for some of the same reasons Windows users clung to not-long-ago.

    Now my question... Why use Linux? It's that needlessly complex and clunky operating system in-between Windows/OS X.1 & the *BSDs. Windows & the *BSDs being far easier to configure than Linux, with the *BSDs being faster, more secure, more stable, and simply smoother (less clunky) all around.

    The *BSDs are PnP (no need for Kudzu) no kernel modules to be manually configured, and the configuration files are far simpler than ANY Linux distro (although you CAN use Sys V scripts instead if you are so inclined-anyone who uses the BSD-style scripts for awhile will not want to use anything else though).

    So I ask politely, hoping to avoid flames and rants... Why choose Linux? It's not the most stable, the most secure, the fastest, the most free, the easiest.

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    1. Re:Why Linux? by orangesquid · · Score: 4, Insightful

      Actually, there's many reasons I still use Linux rather than BSD, but the chief one being:

      Linux is a buzzword, and being one, gets the benefits. When people talk about "non-Windows support," what jumps to mind is "Linux" even before "Mac" for many developers. Thus, there are many precompiled binaries, precompiled kernel modules, etc., that run under Linux. (I know BSD can run many Linux binaries, but what about kernel modules?) Additionally, many people are actively developing hardware drivers for Linux, but not so many for BSD.

      Plus, it's very easy to find support for various Linux-related problems, because so many people use it.

      --
      --TheOrangeSquid Is it any wonder things seem so awry? We swim in a sea of confusion and don't have to think to survive
    2. Re:Why Linux? by xphase · · Score: 2, Informative

      Additionally, many people are actively developing hardware drivers for Linux, but not so many for BSD.

      Regardless of your other points, this is simply not true. There is a large amount of driver development happening in the FreeBSD project. Most hardware that people actually use is supported. Even the nVidia binary module for linux is being ported(in some obscure way) to FreeBSD.

      Also, why would you want a linux kernel module running on a FreeBSD kernel?

      --xPhase

      --
      The following sentence is TRUE. The previous sentence is FALSE.
    3. Re:Why Linux? by Ded+Bob · · Score: 5, Interesting

      I know BSD can run many Linux binaries, but what about kernel modules?

      At least for nVidia, it is being worked on: FreeBSD NVIDIA Driver Initiative

    4. Re:Why Linux? by Catiline · · Score: 2

      The *BSDs are PnP (no need for Kudzu)
      Linux supports PnP with tools like isapnp. Kudzu is, so far as I can tell, just for automagically manipulating (read: breaking :-( ) all your config files when you install new hardware. For example, I have a broken video card that changes it's chip ID (depending on whether boot is cold/warm). When this happens (normally after I played a windows game), Kudzu comes up and offers to mangle^W fix my XF86config file. The hardware in question is not PnP based, ergo Kudzo has nothing to do with PnP. (Well, except for doing your config like Windows does, and I do mean just like Windows does.)

    5. Re:Why Linux? by Codifex+Maximus · · Score: 4, Insightful

      > So I ask politely, hoping to avoid flames and
      > rants... Why choose Linux? It's not the most
      > stable, the most secure, the fastest, the most
      > free, the easiest.

      I like Linux would be the first answer that comes to mind. Linux is very stable, very secure, and quite fast, very free, and once you get to know it - very easy! Linux is all these things and more.

      Linux is stable - OpenBSD may be more stable.
      Linux is secure - NetBSD may be more secure.
      Linux is fast - BeOS may be faster.
      Linux is free - FreeBSD may be freer.
      Linux is easy - OS-X may be easier.

      Linux gives me all these benefits in one package AND the GPL'd codebase keeps getting richer.

      --
      Codifex Maximus ~ In search of... a shorter sig.
    6. Re:Why Linux? by Tony-A · · Score: 2

      Name recognition. Plus being able to fairly easily position yourself at about the right point on the Stability-CuttingEdge-BleedingEdge continuum. 2.4 is *supposed* to be the stable branch, but 2.4 was long overdue, and unless the jump is made, it takes careful selecting of 2.3.xxx. *is* stable can only be determined after it has been in production for a while. Pre's and Beta's are not useless, but the are not a substitute for being in production.
      This isn't bad for BSD. They watch and learn from other peoples mistakes (How to avoid the Bleeding Edge). Also it's rather easy to explain a snuck-in BSD as a special kind of Linux ;)

    7. Re:Why Linux? by Ryan+Amos · · Score: 2

      While I realize that one OS is not the end-all of all operating systems-- each has their merits-- I'm beginning to really, really like OS X. I've been a Mac user for about 15 years, but I would concede that pre-OS X (especially the 7.5 series.. yech) systems were crap. However, OS X is extremely stable, very fast, reasonably secure (they stole a lot of code from OpenBSD and FreeBSD for Darwin, but isn't that the nature of open source?) and very easy to use.

      It's not "free" (beer or speech) but IMO, a closed development cycle is much more efficient. It took Apple a year after they bought NeXT to come out with an OS that did pretty much everything Linux had spent 6 years doing.

      Granted, a lot of Apple's expediated development time is due to that work on Linux (gnu tools especially, apache, openssh, etc) but now the OS is moving in exciting new directions (mass deployment on a true 64-bit architecture within the next 6 months?) plus all the professional application support coming out (mostly things Linux doesn't have, namely Photoshop, Illustrator, AutoCAD, MS Office v.X, plus a host of others.) True, Linux does have more device support, but I don't think I'm ever going to use networking over Ham Radio (though I think it's cool I could, if I wanted to.)

      It's also easier to support and develop for a predefined platform (Apple makes the machines) and Apple's machines are always so cutting edge (stylistically and technologically) that there's little to be desired. Don't get me wrong, I love Linux and think it has done great things for the world, and I'll continue to run it on my x86 machines, but OS X just strikes me as a much more polished, professional system, where Linux feels more like an amalgamation of little bits and pieces. Linux will always have a place in the world, though I have a feeling it will eventually be relegated to server use only.

    8. Re:Why Linux? by Ded+Bob · · Score: 2

      That is why my next card is going to be an ATI card. ATI gives the specs to XFree86, so all OS's will have the ability to use it to its fullest.

      Other than an unsupported 3D card (2D works great) and Flash capabilities in Mozilla, there is nothing else Linux can provide me with that I do not already have. This comment is not an attack on Linux--some people can get very defensive--but just how I feel.

    9. Re:Why Linux? by Trepalium · · Score: 2

      No, they don't give all specs to XFree86. They have withheld information about their cards in the past, and continue to do so today. I believe they still do not provide information to developers on the iDCT and motion compensation in the Rage128 and higher cards. While this is far less problematic than the information that nvidia is withholding on their cards, it's still far from being able to use the card to it's fullest (some future version of XFree86 will feature XvMC - X Video Motion Compensation). Both vendors are willing to give up anything they think will not help there competition (for ATI, everything but the video bits, for nvidia, everything but the memory bits), but fiercely guard everything else.

      --
      I used up all my sick days, so I'm calling in dead.
    10. Re:Why Linux? by Arandir · · Score: 2

      Did you try reading the documentation. You can add packages straight from the net. And check out portupgrade, an awesome tool I suspect will be a standard tool in the base system for 5.0. Personally, I prefer compiling ports from scratch to get i686 binaries instead of i386 binaries, but everyone's different.

      5 hours to do an upgrade? You're talking about apps, but that sounds like a full system upgrade. Unless you need specific fixes, stick with -RELEASE and don't upgrade the base OS.

      --
      A Government Is a Body of People, Usually Notably Ungoverned
    11. Re:Why Linux? by evilviper · · Score: 2
      Linux is stable - OpenBSD may be more stable.
      Linux is secure - NetBSD may be more secure.
      Linux is fast - BeOS may be faster.
      Linux is free - FreeBSD may be freer.
      Linux is easy - OS-X may be easier.


      So lets just stick with one then... FreeBSD beats Linux easially in EVERY SINGLE category you brought up.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    12. Re:Why Linux? by evilviper · · Score: 2

      Why thank you, you just graphically illustrated what I meant about Linux users using the arguments Windows users used to!

      I suppose I'll at least answer your question. If it's Open Source, Linux emulation is not even necessary. If it's not Open Source, then what's the point of not using Windows?

      BSDs support a huge assortment of hardware. It may not be as huge as the Linux hardware list, but close.

      As for your final problem... The Linux howtos usually translate closely to the BSDs. And the zinger, BSDers don't have a fraction the number of problems that Linux users do. The BSDs have a more elegant and simplistic design that really does make things far easier than Linux. With OpenBSD having the most elegant configuration system I've come across.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    13. Re:Why Linux? by evilviper · · Score: 2

      Okay, you stand corrected. Under OpenBSD I simply unplugged my PS/2 Keyboard and Mouse and plugged in the USB Keyboard/Mouse without so much as a reboot.

      I was using PS/2 soon after because I didn't like the keyboard and I saw no reason to waste a good USB port when my mouse had a PS/2 adapter just waiting to be used.

      As for propriatary drivers... Go use Windows. It ALWAYS has the drivers first.

      And I don't want to hurt your head or anything, but I'm sure the VESA X Driver should work fine on any modern video card.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    14. Re:Why Linux? by evilviper · · Score: 2

      The BSDs don't have ANYTHING to learn from Linux. BSD has been around longer than MANY slashdoters. When the BSDs have a stable release... you KNOW that it IS stable. No questions asked.

      Obviously, Linux has much to learn... And once it gets to be as old as BSD, perhaps it will be leaps and bounds ahead of where the BSDs are now, but the BSDs will not be standing still over that time either.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    15. Re:Why Linux? by evilviper · · Score: 2
      Apple's expediated development time is due to that work on Linux (gnu tools especially, apache, openssh, etc)

      I just have to point out that for OpenSSH and Apache, Linux and GNU is an afterthought. OpenSSH was developed by the OpenBSD team, and Apache has been around before Linux, is under a BSD-similiar license, and will likely be around long after Linux's buzz (and linux itself) has passed away.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    16. Re:Why Linux? by Ded+Bob · · Score: 2
      I use an nVidia card and that is one reason why I don't use FreeBSD. There is some sort of "initiative" going on, but since I do a lot of desktop work under Linux despite what people say about it not being ready for the desktop, I need it *now*.

      It depends on what you need it for. 2D works wonderful for FreeBSD on nVidia cards. 3D is so-so w/o the kernel module.

      Also, correct me if I'm wrong, but I've heard that BSD doesn't yet support USB keyboards without compiling a custom kernel.

      As evilviper pointed out, OpenBSD has it. FreeBSD has it compiled in by default. From the GENERIC (default) kernel:

      device uhci # UHCI PCI->USB interface
      device ohci # OHCI PCI->USB interface
      device usb # USB Bus (required)
      device ugen # Generic
      device uhid # "Human Interface Devices"
      device ukbd # Keyboard
      device ulpt # Printer
      device umass # Disks/Mass storage - Requires scbus and da
      device ums # Mouse
      device uscanner # Scanners
      device urio # Diamond Rio MP3 Player
      # USB Ethernet, requires mii

      device aue # ADMtek USB ethernet
      device cue # CATC USB ethernet
      device kue # Kawasaki LSI USB ethernet

      As you can see, a lot of USB devices are compiled in by default. Maybe someone can correct me, but I believe BSD's had USB support before Linux. Was it NetBSD that had it first?

      Personally, I use FreeBSD for both servers and desktops. The only problem I have is with 3D games which are too slow. I plan on getting an ATI Radeon 8500DV All-in-Wonder card whenever the support for it in XFree86 comes out. I think it is in CVS already, but I just prefer a released version.

      I think BSD is wonderful, but the hardware support in Linux is far superior, and in my case a requirement.

      It depends on the hardware you want to use. Usually, BSD has more and/or newer network hardware support than Linux. The only reason Linux has better support than any BSD when it comes to nVidia cards is that it is a closed-source driver. Someone will have to re-engineer it before XFree86's nVidia driver can compete with it.
    17. Re:Why Linux? by Tony-A · · Score: 2

      Good thread!
      For me at least, the why is escape from the mess that Microsoft Windows is becoming. The perception is that the transition to Linux is easier. Reality can be different. Linux tends to be a bit more bleeding edge. I have the impression that BSD doesn't like to bleed. Because it wouldn't show on the mascot?
      Stability is not an absolute, except maybe VM on big iron. BSD comes pretty close. The thing about the high Linux up-times was staying up through configurations, misconfigurations, things where the expectation is at least a few kernel panics. I have panicked FreeBSD. Once. Uninstalling after installing a few hundred megs on about 40 meg free disk space. That's still "rock-solid" in my book.
      Oh, and BSD will learn from Linux, at least a few things not to do ;-)

    18. Re:Why Linux? by evilviper · · Score: 2

      I have panicked FreeBSD. Once.


      On a stable release of FreeBSD/OpenBSD I have never had any such problem that wasn't caused by faulty hardware. And I've been using Free/Open for a good long time now.


      BSD will learn from Linux, at least a few things not to do


      You should check up on BSD history. If there is a mistake to be made, it's been made by someone, somewhere, in one of the BSD camps at one time. With the BSDs, they have a kernel that handles problems much better than Linux. Perhaps more importantly, BSDs have the best programmers around, and know how to properly 'test' new versions, very much unlike Linux. Linux is just too fly-by-wire. If Linus or Alan sneezes while they are typing new code, it goes completely unnoticed until after the offical release.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    19. Re:Why Linux? by Codifex+Maximus · · Score: 2

      Problem with BSD folks.. (God bless em)... they want to give everything away and not get any return... either pay or code.

      It is this philosophy I cannot agree with.

      --
      Codifex Maximus ~ In search of... a shorter sig.
    20. Re:Why Linux? by Codifex+Maximus · · Score: 2

      Once again, I must say that I can't agree with the total freeness of FreeBSD.

      FreeBSD's license is Throwing your money to the winds.
      Linux's license is: Here is a loan. I want intrest on that.

      Furthermore, I had no intention of opening a BSD vs. GPL license thread. I merely tried to give BSD it's just acknowledgment as an excellent UNIX OS group.

      --
      Codifex Maximus ~ In search of... a shorter sig.
    21. Re:Why Linux? by evilviper · · Score: 2
      Problem with BSD folks.. (God bless em)... they want to give everything away and not get any return... either pay or code.

      Not true, they do indeed want to recieve money and code... The difference is that they don't feel it is morally right to FORCE others to do that.

      The sole right the BSD license enforces is the attribution, which is the same reason many people before have worked without any other benefit for themselves.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    22. Re:Why Linux? by Codifex+Maximus · · Score: 2

      > The sole right the BSD license enforces is the
      > attribution, which is the same reason many
      > people before have worked without any other
      > benefit for themselves.

      Wholely laudable! However, not very practical in a dog eat dog corporate environment today. If you wish to give your code away with nothing more in return than a blurb of recognition then you are free to do it. I merely stated that *I* cannot agree with it - I speak for no one else but myself in this regard.

      --
      Codifex Maximus ~ In search of... a shorter sig.
    23. Re:Why Linux? by evilviper · · Score: 2

      BSD is very practical in a corporate environment. It is the GPL that is not.

      Just imagine releasing a bit of software to the public without a few of the value-added extensions you have in your propritary product. If the GPL version of the code evolves with advantages over your own product, you may not be able to incorporate them back into your own product. If it was BSD licensed, you may do as you wish with the code.

      Of course, your competitors MAY potentially incorporate that very code, but:
      1) If you are releasing it under GPL, that same risk is there. The only difference is that their added value features must be released to the public as well.
      2) If you publicly release code, your intent is to have a propritatry product that beats the public one, so you already intend to compete with the OTHER version. Making a competing version a non-issue.

      Like I said, it's the GPL that is wholly anti-corporate. The BSD is corporate friendly.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    24. Re:Why Linux? by Codifex+Maximus · · Score: 2

      I said:
      >>Wholely laudable! However, not very practical in
      >>a dog eat dog corporate environment today.

      You said:
      >BSD is very practical in a corporate environment.
      >It is the GPL that is not.

      I see where you are going with this one... you are the dog that wishes to be eaten; I am the dog that does not.

      Comparing the BSD and GPL licenses is folly. They are two differing ideas... let's leave it at that.

      --
      Codifex Maximus ~ In search of... a shorter sig.
    25. Re:Why Linux? by evilviper · · Score: 2

      I think you REALLY mistook my comment.

      What I am saying, is that if you ARE going to release some code to the public under an open license, the BSD is your best friend, and far more practical than any other license out there (unless you count the other licenses that are nearly identical to it).

      For a corporation, no open license is wholly viable (hell, what would you have to sell) but corporations have been know to release the odd piece of code now and again.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    26. Re:Why Linux? by evilviper · · Score: 2
      Yup, I read through it all. Not sure I'd like to respond to each point though. I'm not as long winded as you, and replies typically take 3 times as long as the questions. Since you did specifically ask what Linux users are clinging to that windows users also use as an excuse, I'll take the time to answer that one.

      From your own post:

      reasons for choosing Linux, It is more scalable, especially in that it handles SMP better than FreeBSD to date. There are more drivers available for Linux, including non-trivial binary only drivers. There is more commercial support in general for Linux than any other Free Operating System, and more name recognition (media "buzz"). More public attention is given to the desires of users (figure that one out) than the esoteric needs of administrators and developers in general.

      And there you have it. Each and every reason you mentioned has been applied to Windows-against-Linux and does apply more-so to Windows than Linux. (Just put Windows where you have linux, and linux where you have FreeBSD. Shorten Free Operating System to "Operating System".) Now if you have some other specifics. Feel free to ask, in the 'short' format next time.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    27. Re:Why Linux? by evilviper · · Score: 2
      GNU was not fundamental to NetBSD and I can't imagine where you got that from.

      Linux here to stay? I've heard the same of dozens of other GPLed OSes. Just because the hype is bigger doesn't mean that it somehow suggests how long Linux will last.

      For BSD/Linux both... They will remain free as long as there is 1 person willing to maintain it. All the code from thousands of different companies won't make a kernel/OS. Someone has to do the low-level stuff any way you look at it. Besides, once public interest/development disolves, companies will run from Linux like the plague. (And don't get me started on how hypocritical it is for a GPL program to solicit commercial support).

      As far a GPL going propritary, I have a quote (from myself oddly enough) that should inform...
      If the next version of the GPL says that closed source use of GPL'ed code is legal as long as a $10,000 is sent to Stallman's Swiss bank account, then everything [any GPL developers] released falls under those terms because of that single clause in the GPL.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  53. Re:stability is fine by Paul+Jakma · · Score: 2

    yep it is. :)

    however, there is another machine running 2.4 that does get reasonably loaded at times, eg it often has context switch / second rates in the many thousands/sec for sustained periods of time. (highest seen this month so far 7873.12 c'switches/sec). it's a dual cpu 1GB compaq server. (the other was a uni proc, 128mb compaq server), and it's been up for 27 days so far with 2.4.9 - only 27 cause of a reboot due to an nfs problem (which was probably due to a mistake in firewalling).

    2.4 does indeed have problems with corner cases. however, this is probably more of a problem for desktops than for servers that have admins paid to watch and tune them.

    --
    I use Friend/Foe + mod-point modifiers as a karma/reputation system.
  54. re:(not rebooted since 'rpm -U' of the new kernel) by dpilot · · Score: 2

    Rather gutsy of you, doing a '-U' on a kernel upgrade. I sure hope you didn't forget to run lilo, and had your boot/rescue disk handy.

    Most of us '-i' the new kernel, and check it out a bit before removing the old one. One of the errata kernels under RedHat 7.x (I forget the exact time, I think it was 7.1.) simply wouldn't boot on one of my systems, though the one issued shortly after did.

    --
    The living have better things to do than to continue hating the dead.
  55. Linux 2.4 on our router by Tack · · Score: 4, Informative

    I had been running 2.4 on our router for many months. That's not to say those months were consecutive running. :) I had so many problems. I reached the point where I had to reboot the box at least once a week (usually twice) or else it would suddenly become unresponsive. If I had an uptime over 10 days I was doing REALLY well. I tried about 10 different 2.4 kernels (up to 2.4.13), as well as RedHat's 2.4.7 kernel. (I was forced to use 2.4 because of features I required.) At any rate, after about 6-8 months of this, I was resigned to putting either freeBSD on the router or recommending we buy a hardware solution next fiscal year (i.e. cisco router).

    Well, I put 2.4.14 on the box and I haven't rebooted since. I have 61 days of uptime and that's the most I've seen on that box ever. It is finally stable. The only thing I can conclude is that it's AA's VM that is doing the trick. And in hindsight, it makes sense. The behaviour of the box was that it was thrashing, but at the time it didn't seem that way because I hadn't noticed the HDD light was disconnected from the box and I couldn't hear the disk in the noisy server room.

    So, Linux 2.4 is (knock on wood) stable for my servers, now.

    Jason.

  56. Guess I've been lucky by Brian+Knotts · · Score: 2
    I've been running 2.4 since .5 or so, mainly because I wanted to use XFS on my machines (I use SGI's CVS tree). Since then, I've had it running on a few desktops and several servers (one with LVM, too), and have had no kernel problems besides one possible hiccup on a desktop machine.

    Granted, the servers don't get pushed too hard, but my desktop does. :-)

    Any compilation problems I've had have always traced back to PEBCAK.

    1. Re:Guess I've been lucky by Brian+Knotts · · Score: 2, Informative

      Problem Exists Between Chair And Keyboard. :-)

  57. We've been using it... by pellaeon · · Score: 4, Interesting

    almost from the start (2.4.3 if I remember correctly). We patched XFS into the kernels and some other stuff we needed and the transition to 2.4 was relatively painless using a fresh install (for XFS).

    We ran into some trouble with a number of Athlon systems but that was due to the 'Athlon bug' and was soon fixed. More worrisome was the performance of pre-2.4.9 kernels on the desktop: sometimes they slowed down to a crawl (and i'm talking about lightly loaded ~750MHz machines here).

    We got over that with the -ac kernels however, and it's been a breeze ever since. We currently use 2.4.14 with XFS patched in (although we're ditching it in favor of ext3 now that it's been integrated and the RH installer supports it) and we're looking at 2.4.17 now.

    Why use 2.4 on servers (as some have asked)? Well, iptables is a good reason, for one. Other security-related things count heavily too. And XFS seemed a good reason to do it at the time too. It can deliver very good performance.

    Some stats:
    zuse [1] > uname -a
    Linux zuse 2.4.14-xfs_MI10 #1 Tue Nov 6 17:34:04 MET 2001 i686 unknown
    zuse [2] > uptime
    2:25pm up 61 days, 21:21, 1 user, load average: 1.07, 1.02, 0.93

    --
    -- /bin/coffee missing. universe halted.
  58. RE: 2.4.x and feeling the pain. by fshalor · · Score: 2, Funny
    Here goes, in order of when I used them. Pain index is on a scale from 0-499, 500 being sheer, Hell's Chicken Agony. :) Just for reference: PI of Windows 2000 is about 94.
    • 2.4.0 : PI=30 : Nice, stable, quick. Ran it for a while.
    • 2.4.2 : PI=68.7 : Had a few issues, USB didn't seem to work right.
    • 2.4.6 : PI=246.246246246 : ACK WHAT the F***?!? Where's the Keyboard??
    • 2.4.5 : PI=20 : Don't leave home without it. This kernel's saved my butt about 6 times.
    • 2.4.9 : PI=20+2^t, t(days)=[1,2,3,...] : I lost count of the reboot cycles due to my video ram being corrupted. NVIDIA Geforce2 and 2.4.9 don't like each other too well. Also, this really needed some preemption help. I had to ssh into my box about 4 times in one day to kill X and reset (or try).
    • 2.4.17 : PI=3 : S. O. L. I. D. {for now} all seems well thus far. I'll go to 2.4.18 in about three months of uptime. Complaint: no NVIDIA kernel option. Solution: Switch to ATI. Pending.

    Just my (22/7)x10^-1 cents.

    --
    -=fshalor ::this post not spellchecked. move along::
  59. 2.2.19 for production 2.4.17 for dev by bruceg · · Score: 2, Insightful

    2.2.19 for servers @ Work, which all have uptimes aproaching 1 year.

    At home I use RH 7.2, with 2.4.17 vanilla. Can't seem to figure out what uses so much memory, because I have 768MB of RAM, and after a few days, it starts to swap. The 2.2.19 machines @ work, have never dipped into swap, and most of them are 256MB or lower.

    I think 2.4.17 needs to iron out VM issues, before it will start being loaded on production machines.

  60. I'll throw my two cents by Mr.roboto · · Score: 2, Interesting

    2.4.5 has fried my box twice. It corrupted the partition, comes up with a freakout message and such. Ran fsck, but it never was quite right afterwards, so I re-installed both times. Never seemed to happen with later versions (9 through 16) Then again, I probably should be blaming the VIA chipset ;0

    --
    Don't call my crazy, that's what they called me back in the home!
  61. Re:Oh, stop it! by vondo · · Score: 3, Interesting

    Mandrake puts a lot of patches in the kernel too. I think both Mandrake and Redhat tended to base their kernels off of the -ac series rather than the vanilla Linus kernel.

    However, you are absolutely right that Mandrake focuses on ease of use and new desktop-like features while Red Hat focuses on stability at the expense of "coolness."

    Both can be frustrating if they're used in the "wrong" places.

  62. Re:Desktop vs. High End by SuiteSisterMary · · Score: 2

    The idea here, my friend, is that stability on the desktop means something different than stability on the server. Different requirements, different end results. It's kinda the difference between sprinting and distance running; they're different disciplines with different training regimines and different requirements, but both involve running.

    --
    Vintage computer games and RPG books available. Email me if you're interested.
  63. NFS and 2.2 by ansible · · Score: 3, Informative

    There were some lingering problems with NFS (even v2 using UDP) in the 2.2.x kernel series until 2.2.19.

    I recommend that you upgrade the machine that's running 2.2.17, or else apply the NFS patches. If you're using NFS v3 or TCP, you definitely want to upgrade to the latest version, and get the latest NFS utils.

  64. STABLE vs STABLE by ajs · · Score: 5, Interesting

    I'm beginning to feel like a broken record, and maybe Linus should just change the terminology so that people stop making the same assumption over and over, but people: wake up and smell the bogomips!

    "Stable", in the context of a kernel release refers to the interfaces. When Linus releases 2.&ltleven>.0, he is saying that this kernel is one that has reached some arbitrary plateu of development stability, and it's now ready for others to begin actuall release engineering on.

    You have to understand that the Linux Kernel is released by Linus in a state that is very reasonable for a development team, but that will never be "production quality". Debian puts a lot of realease engineering work into a Kernel. As does Red Hat. As does SuSe, etc, etc.

    If you just grab 2.4.x and install it, you're acting as Linux Q/A, and I applaud your effort, but when it breaks in your environment, you should not be stunned.

    Once again, production release != stable release. A stable release is just one the developers are happy with (and I've yet to see a 2.4 kernel that I can say developers should not be happy with).

    So, maybe next time, 2.6.0 should be called the "post-development" release so that people don't go off half-cocked installing it on production systems.

  65. Re:And where were the news stories? by the+eric+conspiracy · · Score: 2

    So it took the Linux community a whole YEAR to stablize their Kernel? If MS doesn't have a patch out in 2 days everyone screams. I guess this proves that MS does not have the most unstahle software. Just the most talked about.

    It proves no such thing.

    Microsoft Windows 95, 98, or ME are not stable, and never will be. Windows NT, after, what 6 years? is still lagging behind any kernel that RedHat has supplied it's users as far as stability.

    Win 2000 is STARTING to approach something akin to the stability of a 2.4 kernel release, although it is nowhere near the stability of the current 2.2 kernel.

  66. Turn on your hard drives by blazerw11 · · Score: 2, Informative

    Do this for your ide hard drives:
    hdparm -u1 -ci -d1 /dev/whatever
    I can't believe I was running without it. Does anyone know why this is not turned on by default?
    Use
    man hdparm to learn what these settings do.
    However, your problems sound more like Xwindows problems than kernel problems.

    --
    A great many people think they are thinking when they are merely rearranging their prejudices. -- William James
    1. Re:Turn on your hard drives by cachedout · · Score: 2, Informative

      Beware the -u option: From the hdparm manpage comes the following warning...

      -u Get/set interrupt-unmask flag for the drive. A
      setting of 1 permits the driver to unmask other
      interrupts during processing of a disk interrupt,
      which greatly improves Linux's responsiveness and
      eliminates "serial port overrun" errors. Use this
      feature with caution: some drive/controller combi
      nations do not tolerate the increased I/O latencies
      possible when this feature is enabled, resulting in
      massive filesystem corruption. In particular,
      CMD-640B and RZ1000 (E)IDE interfaces can be unre
      liable (due to a hardware flaw) when this option is
      used with kernel versions earlier than 2.0.13.
      Disabling the IDE prefetch feature of these interfaces
      (usually a BIOS/CMOS setting) provides a
      safe fix for the problem for use with earlier ker
      nels.

  67. FreeBSD VM, sync(3) OK for 10 YEARS. by aphor · · Score: 4, Interesting

    If the code is unreadable for most advanced users (people with enough C background to follow execution flow in readable code), then you really can't get the benefit of having a large community debugging the software.

    What you have here is a LARGE body of (l)users, and a small cadre of kernel hackers who are separated and out of communication. The three times I've found a problem in FreeBSD-STABLE (to be honest, I think one was the 2.2.6, and two were 3.x branches), I sent my bug report in with instructions on how to repeat the problem, and a patch for the ugly hack I made to make the problem go away. I never beat the committers to the bug. Now, before I do all the work, I watch the WebCVS for commits for a couple of days and email the committer who touched the effective files last with a quick question "hey, I see this problem.. have you?"

    I tried to read some Linux (the kernel) code a long while ago. There were some funny comments, error messages, and variable identifiers, but otherwise it gave me a headache. I just felt being a Linux participant was beyond my tolerance. I browsed the FreeBSD source code though, and even in the midst of reorganization, both organising schemes were apparent, well documented, and there is a clean style to all FreeBSD code I've seen that makes for (relatively) easy reading.

    I guess that the difference is culture, but in this case it seems to be a serious problem. I have to wonder why the Linux kernel people haven't broken the Linux VM code out for modularity and borrowed the FreeBSD VM as an option? I mean: FreeBSD is free-as-in-beer and also free-as-in-software. I'm not volunteering, but after all these years wouldn't it make sense to hack out some Linux wrappers for the FreeBSD VM system? I think I remember reading a Matthew Dillon interview where he talks about all the good stuff he's done to FreeBSD VM recently...

    --
    --- Nothing clever here: move along now...
  68. Why 2.4 was released by EvlG · · Score: 3, Interesting

    If my memory serves me correctly, one reason to release 2.4 a year ago is to get more people to use the damn thing.

    There is a relatively small number of people that use the odd-numbered, experimental kernels. At the end of 2000, it was becoming clear that having the same people running the development kernels on their hardware wasn't fixing many more bugs - I remember a post from Linus to LKML to that effect.

    2.4 was stable enough for mass consumption, and so it was released. However, it is important to remember that this is free software, and frequent incremental updates are the rule. Free software can't work if it is not constantly evaluated by users, bugs reported and fixed, and new versions shipped out.

    Software is an evolutionary process; it is important to remember that free software (especially the Linux kernel) fully embraces this notion.

  69. Re:Don't whine about antique OSs sucking! by GrenDel+Fuego · · Score: 2

    OS 9 isn't that old.

    Timewise, a better analogy would be someone running the early 2.4 series. Possibly a recent 2.2.

  70. He Almost Had Me by bwt · · Score: 5, Interesting

    I almost took this guy seriously until this part:

    The kernel seemed to show more stability. Then we hit kernel 2.4.15.

    Linux version 2.4.15 contained a bug that was arguably worse than the VM bug. Essentially, if you unmounted a file system via reboot -- or any another common method -- you would get filesystem corruption. A fix, called kernel 2.4.16, was released 24 hours later.


    Look, anybody who is deploying a kernel on the day it is released on a production server deserves what they get. One day turnaround on a bug fix is phenomenal. Even if these are marked as "stable" kernels, trying to track the new versions in real time is a dumb thing to do.

    This guy has written a moan and groan article based on a small set of bugs, some of which he only could have experienced if he is experimenting on his production system. He obviously requires extreme stability and says he needs this over the new 2.4 features (SMP, 2G memory, 2G files), which makes me ask: why was he putting new kernels on his production system before emperical evidence was there about high stability?

    Open source will fix bugs faster the proprietary. It doesn't change reality to make bugs impossible. This is true even in "stable" releases, especially if you are talking about highly stressful production environments.

    1. Re:He Almost Had Me by bwt · · Score: 2

      These are supposed to be stable kernels.

      They are what they are. The point of open sourse is that all the facts are available -- nothing is hidden or kept secret from you. You don't need to rely on "supposed".

      I expect buggy "stable" software from Microsoft, but not from the Open Source community.

      Expectations are the root of all disappointment. You have a "Zero Defects" mentality. That went out of style in the '80's, when Demming showed people that to get fewer defects they had to stop trying to magically be perfect and instead had to actually and continually improve their processes. The worst quality is always produced by people who think they are perfect, because they are blind and don't seek to continually improve. Quality is a process, not a feature.

      Open source is an improvement over traditional proprietary process because it identifies and fixes bugs more quickly. Sorry to disappoint your "expectations", but that doesn't make it perfect.

  71. While Linux remains superior to Windows by FreeUser · · Score: 5, Informative

    ... you are absolutely correct in observing that the 2.4 debacle has used up a great deal of Linux's reputation for being stable. I use 2.4.x with SGI's xfs patches both in production systems at work, and at home (like others, we need various features of 2.4.x not available in 2.2.x), and while it has never been anything close to as flakey as the most stable of Microsoft systems, it has in comparison to 2.2.x (and FreeBSD for that matter) been pretty damn unreliable. In comparison to just about everything else it is still quite stable, so happiness is indeed to some degree relative.

    And now for some arm chair quarterbacking, all that having been said, I really think Linus needs to excersize some self discipline and stay away from maintaining even-numbered kernel releases (x.0.x, x.2.x, x.4.x, etc.). By his own admission he isn't good at being a stable kernel maintainer and prefers the more interesting work done in development kernels, and his track record in 2.2 wasn't fantastic (particularly in comparison to 2.0, where he did a fantastic job) and was pretty abysmal in 2.4. As someone who's been using GNU/Linux since the early pre 1.0 days I hope he'll put his efforts where his talents are (managing changes in odd numbered development releases) and leave stable maintenance to Cox and Marcelo (who are very good at maintaining and improving stable releases). But enough commentary from the peanut gallery...

    --
    The Future of Human Evolution: Autonomy
    1. Re:While Linux remains superior to Windows by Xoro · · Score: 2, Interesting

      Excellent point about the difference in maintaining stable vs. development series.

      While watching the 2.4 drama unfold, I've been wondering if it wouldn't be a better idea to switch kernel development to a Debian-like model -- a simultaneous Stable, Testing and Unstable (experimental) series. It may just be too much to ask bleeding-edge hackers to wait *years* before trying out their latest ideas. At the same time, those who excel at tweaking, optimizing and clarifying shouldn't have the ground shifting under them all the time.

      It would probably take some more resources, but it seems that there is a surplus of good minds drawn to kernel development anyway.

      --
      Kill, Tux, kill!
  72. Use a vendor supplied kernel by teg · · Score: 2

    Vendors test (in Red Hat's (where I work) case, a lot), fix and create known good kernels. He should use them, instead of whatever is new (and untested) this week.

    1. Re:Use a vendor supplied kernel by dodobh · · Score: 2

      Hmmm, since I am trying to get a stable 2.4.x kernel for my proxy, heres my problem (RH 7.1 fully patched):
      Squid will start consuming CPU like crazy. This does not happen on RH 6.2.
      The box is under heavy load
      $netstat -ant|grep ESTAB
      1019
      is common enough. The box starts off normally, and then goes into 100% CPU usage (in system as reported by vmstat. Rarely will a user process get 1% of CPU [~ every 2 min]).

      Could you test your box under very heavy disk IO?
      The system in question is an IBM netfinity 5000, 1GB RAM 1x4.5 + 3x9GB disks, with 2x9+1x4.5 being dedicated to cache. Squid is a transparent proxy.

      If you could figure this out and release a newer kernel, I would be grateful.

      TIA.

      --
      I can throw myself at the ground, and miss.
  73. I don't trust it by Sloppy · · Score: 2

    I run it on my "unimportant" box (the one I use for games and don't care if it crashes) and 2.4.17 has been a "so far so good" situation, but I've only had it a couple of months, I think. Considering the turmoil 2.4 went through in it's "early teen" revisions, I simply don't have a lot of confidence. Maybe 2.4 is ok now, but it takes time to earn trust, and 2.4 didn't do that in 2001.

    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  74. the above message may be a troll by denshi · · Score: 3, Informative
    I think your message is highly misinformed and borders on trolling. Maybe you're just new.

    Many hardware setups require recompiling the kernel and experimenting endlessly.
    This is true. On machines with really exotic hardware, I have had to recompile a great many kernel configurations. Usually, however, I can just rmmod & insmod to test the new configurations without rebooting, so the experimenting phase is not overlong.
    Every time you recompile the kernel, you need to recompile some kernel modules.
    You are in no way forced to compile anything as a module -- the kernel will live quite happily as a solitary elf executable. So don't tell me 'every time'.
    Dependencies and recompilation aren't working correctly--some things don't recompile when they should, and lots of things recompile over and over and over again.
    That's possible anywhere, and I have seen little evidence for your recompiliation loop. It has been some time since I have last seen an incorrect dependency in the kernel build. And on an average uniprocessor machine, my full builds complete in under two minutes. So I'm not crying for time.
    The kernel itself is a 30Mbyte download.
    Cry me a river. Get DSL. Or learn to use the patch command -- that's why all those patch files are on the kernel mirrors. I've been pulling kernel sources off a 33k modem link for the last 6 months, and I'm not hurting for the speed.
    And the list of problems goes on and on.
    All of which are apparently handwaving. Let's watch.
    The kernel hackers keep telling us that C and make are just great tools for building kernels.
    I agree with you that make sucks. Unfortunately, it still sucks less than almost everything on the field. Please suggest an alternative. I also agree that C sucks. OTOH, C++ sucks even harder, and for its extra demands of space and time and its ability to obfuscate, C++ doesn't deliver any of the benefits that a real language (like LISP) does. C++ has been out for 20 years, and it still hasn't superseded C in close-to-the-metal progging. Figure it out.
    This is not a system I can recommend to non-technical users--commercial distributions can't cover all the possible kernel configurations (even with fully modularized kernels), and recompilation is out of the question for many users.
    I have to agree with you on that, but recent kernels are pretty complete -- most users won't need to recompile.
    It must be possible to write drivers and other kernel modules that can be compiled separately from the kernel and work across many versions. Binary modules really should keep working across minor version number changes (2.2 to 2.4, for example).
    You can do that. Say yes to 'attach version information to modules' in the kernel config.
    It must be possible to write kernel modules with more safety in mind. There should also be some way to apply some memory protection to kernel modules when desired.
    I agree with you, but that's pretty far off. The MIT exokernel is I think the shining example of what you are looking for. In the meantime, most people get the same effect by running your theoretic modules outside of the kernel, in daemons or shared libs or something. The user/kernel protections are usually enough.
    The build system needs to get fixed. There is no reason why adding or removing a module should result in a recompilation of the whole kernel. Maybe it's time to get rid of "make" altogether for the kernel.
    There *is* no reason to recompile the whole kernel to add a module. What are you smoking? "make modules","cd to blah","cp blah.o /lib/modules/x.y.z/","depmod". Or just "make modules; make modules_install". As for 'getting rid of make', what would you use to replace it?

    I saved this one for last:

    Important and mature packages like MOSIX require patching the kernel and aren't integrated into the kernel.
    You see, that's what we call not in the linus kernel. Your impressions of importance and maturity of the patch are really something you should take up with Linus himself. I, for one, wish Ingo's TUX subsystem makes it into the linus tree sometime soon. But you have no basis to say that just b/c a kernel patch is out, and linus hasn't integrated it into his stable tree, the linux process is flawed. Get a clue! Independent patches come out much faster than anyone can pull them into the core; they are usually conflictive and compete with other patches to solve the same problem. So it takes a while. If you want it in the linus tree sooner, help out. Welcome to open source.
  75. 2.4, fb, usb and cd write by GodWasAnAlien · · Score: 2, Informative

    2.4.0-? frame buffer had some problems with edge offset.

    -2.4.5 usb-storage was flakey.

    2.4.6 usb stablized.

    2.4.15 broken
    2.4.16 first stable version with ext3
    2.4.16 ide-scsi hangs with some cd-recorders

    2.4.17 seems stable for me.

  76. a few issues by Roadmaster · · Score: 2, Insightful

    First, I don't know what compelled Joshua to choose Mandrake, whose "bleeding-edgeness" usually keeps them a bit unstable and unpolished.

    Second, I've no idea why he backed his customer down to red hat 6.2, maybe he didn't know that red hat 7.0 still has a 2.2 kernel and is way more modern than 6.2. Was he really *that* frightened?

    Finally, I don't know what qualifies as "production use", but I have at least 3 servers with Red Hat 7.2, kernel 2.4.7, in "production" (meaning serving a lot of database-driven web pages, serving up files and working as X servers) and I've yet to have a kernel-related crash. Actually, my only downtime has been due to power outages.

  77. Re:iptables or ipchains by wytcld · · Score: 2

    ipchains does an adequate job under 2.2

    One case where you could really want to run iptables (which requires 2.4.x) is if you run an ftp server. With ipchains, you have to leave port 20 and a range of ports > 1024 wide open to connections from anywhere (to allow both active and passive ftp). With iptables, you only need to open them to folks who have already established a port 21 ftp negotiation. I'm much happier running 2.4.17 on several systems because of this.

    --
    "with their freedom lost all virtue lose" - Milton
  78. open your eyes by markj02 · · Score: 2
    On machines with really exotic hardware, I have had to recompile a great many kernel configurations. Usually, however, I can just rmmod & insmod to test the new configurations without rebooting, so the experimenting phase is not overlong.

    Every single machine I have (a few dekstops and a few laptops) has required recompilation, even with recent kernel installs. Why? APM configuration requires different settings (if they are wrong, the machine crashes or hangs), drivers are missing from the default kernel, etc.

    You are in no way forced to compile anything as a module -- the kernel will live quite happily as a solitary elf executable. So don't tell me 'every time'.

    You are missing the point, which is that if you have modules, many of them need to be recompiled.

    I've been pulling kernel sources off a 33k modem link for the last 6 months, and I'm not hurting for the speed.

    Well, wonderful for you. But imagine where Windows or OSX were if the premise was "in order to make your sound card work, please download these 30Mbytes of stuff, a complete development environment, and recompile everything". Don't you even begin to see the folly of that suggestion?

    I agree with you that make sucks. Unfortunately, it still sucks less than almost everything on the field. Please suggest an alternative.

    Well, for starters, you could get rid of hierarchical make files, which simply don't work right. There are several alternatives to "make", any of which could be distributed with the kernel.

    OTOH, C++ sucks even harder, and for its extra demands of space and time and its ability to obfuscate,

    And you accuse me of trolling? C++ imposes no unexpected overhead in space or time. If you don't use a feature, it doesn't cost you (at least in a good C++ implementation).

    You can do that. Say yes to 'attach version information to modules' in the kernel config.

    I do, and it doesn't work. The kernel keeps complaining about version mismatches when tryikng to load those modules.

    I agree with you, but that's pretty far off. The MIT exokernel is I think the shining example of what you are looking for.

    No, it's not "far off". Microkernels have been around for years. But what Linux could do is, rather than imposing a microkernel architecture throughout, allow the loading of some modules into a protected space.

    There *is* no reason to recompile the whole kernel to add a module. What are you smoking?

    I follow the instructions in the kernel: after changing configuration parameters in menuconfig, I type "make dep; make; make modules". That recompiles the whole kernel. How am I supposed to know in what cases it is safe to type just "make modules"?

    You see, that's what we call not in the linus kernel. Your impressions of importance and maturity of the patch are really something you should take up with Linus himself.

    If so many bits and pieces of functionality need to be approved by one person, that really is an architecture problem. Imagine where the whole Linux system were if any command line program needed to be approved by the shell maintainer and then merged into a single, huge source tree.

    It's easy to throw around accusations of trolling, but I think you are just out of touch with reality. I think the majority of Linux users either recompile the kernel, or they put up with significant chunks of missing functionality (no audio, no APM, etc.) on their installations. Rebuilding the kernel is an arcane and time consuming process out of the reach of even many technically savvy users. And new functionality takes forever to make it into the kernel.

    If you do something long enough, you don't see the problems with it anymore. Try to take a fresh look at how cumbersome the kernel actually is, even if it works like a charm once you get it installed. And keep those accusations of "trolling" down--listen for a change and try to understand what people are saying.

    1. Re:open your eyes by denshi · · Score: 2
      And keep those accusations of "trolling" down--listen for a change and try to understand what people are saying.
      I'll apologize for calling you a troll, but I think you are widely misinformed and here on /. the two go hand in hand, thus my mistake.
      No, it's not "far off". Microkernels have been around for years. But what Linux could do is, rather than imposing a microkernel architecture throughout, allow the loading of some modules into a protected space.
      I meant far-off in terms of when Linus would feel like it is necessary. And I think he would think it was necessary when lots of subsystem like TUX were trying to get in, and he needed a harder seperation. For the time being, this is almost a non-issue, b/c most of the things you can do in a kernel subsystem people are implementing in user space, and quite well I should point out.
      You are missing the point, which is that if you have modules, many of them need to be recompiled.
      You didn't qualify your statement, which allows for non-module setups. Sure, if you have modules, etc, etc..
      Well, wonderful for you. But imagine where Windows or OSX were if the premise was "in order to make your sound card work, please download these 30Mbytes of stuff, a complete development environment, and recompile everything". Don't you even begin to see the folly of that suggestion?
      How about, "in order to make your sound card work", please go get in your car, drive over to a retailer, and get a CD with the new minor release of our operating system. Or download a service pack in excess of 30MB." I see folly in either direction. I do not see where you think the latter in some kind of panacea.
      There are several alternatives to "make", any of which could be distributed with the kernel.
      Please tell us more! I am not interested in antagonizing you; I genuinely want to know of a superior alternative, as each I have tried has proven to be less useful than make.
      I do, and it doesn't work. The kernel keeps complaining about version mismatches when tryikng to load those modules.
      I do, and it does work. Perhaps you are confusing a refusal to load with just a message of mismatch -- when it loads across version boundaries, insmod reports the message but loads anyway. All my modules from 2.2.19 have loaded into my 2.4 kernels. Perhaps you have a specific problematic module?
      I follow the instructions in the kernel: after changing configuration parameters in menuconfig, I type "make dep; make; make modules". That recompiles the whole kernel. How am I supposed to know in what cases it is safe to type just "make modules"?
      Oof. You just nailed me to the wall with that one. You're right, someone unfamiliar with make dev environments wouldn't know that. Hmm.. better docs could fix that, but another approach would be superior. There is much to consider here. Thank you.
      And you accuse me of trolling? C++ imposes no unexpected overhead in space or time. If you don't use a feature, it doesn't cost you (at least in a good C++ implementation).
      I repeat -- C++ doesn't offer enough in the way of language to make it worth stepping farther away from the machine. C is almost an assembly language, albeit a machine-independent one. Once you're down mucking in page frames, you know the machine pretty well, and you need to know what your dev language compiles into. C is easy to understand the output of; C++ output is much more difficult. So there is a real cost problem there. So unless you can point out precisely where C++ makes development so much simpler and safer, and how those approaches are excessively onerous for a skilled C programmer to emulate, it is hard to justify its use. Note that I am not down on that level -- these days I work in Ruby, SQL, and Common LISP, so I'm not some kind of C bigot who disdains high-level langs.
      If so many bits and pieces of functionality need to be approved by one person, that really is an architecture problem. Imagine where the whole Linux system were if any command line program needed to be approved by the shell maintainer and then merged into a single, huge source tree.
      Firstly, your analogy is flawed, although it does look a lot like computers before the development of operating systems. But as for the architectural complaint, please tell us what is better. Most systems everywhere hinge on a high level person making the call. I don't know why you've ignored this fact. OSS systems at least offer the option of variants, so you can alan's tree, ingo's tree, rik's tree, etc; which is superior to closed source systems and certainly more to your liking.

      I haven't messed at all with APM. Sorry about the nasty luck there.

    2. Re:open your eyes by markj02 · · Score: 2
      [excessive recompilation after configuration changes] Hmm.. better docs could fix that, but another approach would be superior.

      I don't think it's a question of documentation. There are two choices "don't check everything, just recompile the modules" and "recompile everything". If the make system can't figure it out automatically, people have to guess, and they will make mistakes. I follow the instructions ("make dep; make; make modules") precisely because I have guessed wrong in the past.

      Note, incidentally, that "make install" starts recompiling parts of the kernel, and that definitely is a bug.

      How about, "in order to make your sound card work", please go get in your car, drive over to a retailer, and get a CD with the new minor release of our operating system. Or download a service pack in excess of 30MB." I see folly in either direction. I do not see where you think the latter in some kind of panacea.

      Driving to a dealer and getting a new CD, or downloading even a big service pack, doesn't involve answering trick questions posed by "menuconfig" or installing a software development system. My mother can drive to a dealer and get an OS upgrade CD; she can't recompile the Linux kernel.

      I genuinely want to know of a superior alternative [to make], as each I have tried has proven to be less useful than make.

      An alternative doesn't have to be "superior", in the sense of doing even more than "make" does. In fact, I think part of the problem is that "make" is so powerful that people create lots of messy dependencies that eventually make the whole system unmanageable. I think the best approach would be a custom build script (Perl or Python), together with a restructuring of the kernel tree or more explicit dependency annotations in source files. In fact, several open source Python and Perl-based make-clones could be a good starting point.

      Perhaps you are confusing a refusal to load with just a message of mismatch -- when it loads across version boundaries, insmod reports the message but loads anyway.

      Either it is guaranteed to work, in which case there shouldn't be a "warning", or it is something that only works sometimes, in which case I can't predict what's going to happen. And if I can't rely on it to work, I have to recompile if I want a reliable system.

      I repeat -- C++ doesn't offer enough in the way of language to make it worth stepping farther away from the machine.

      The issue isn't whether you or I like C++. The issue is that kernel development and the kernel architecture are organized in such a way that the core developers effectively decide what languages anybody else in the world develops in if they want to create a kernel module.

      Most systems everywhere hinge on a high level person making the call. I don't know why you've ignored this fact.

      Most monolithic systems hing on a high level person making the call. But look about what made the UNIX environment great: everybody could write scripts, programs, and tools in whatever language they wanted to. A UNIX distribution is a collection of weakly coupled programs. But Linux kernel development goes through a bottleneck. It doesn't matter how benevolent, intelligent, and well-meaning the people making the decisions are (and they are), there is still a bottleneck.

      But as for the architectural complaint, please tell us what is better.

      Well, first of all, I'm mainly prognosticating, not prescribing cures. As a practical matter, many people are having trouble with installing Linux because of its kernel, and that's a problem. Windows or OSX may not be any better designed, but, by whatever mechanisms, Microsoft and Apple have managed to distribute driver development among many developers. That's what Linux is competing with. That may not be fair, but it's a fact. Whether there are technical solutions to that problem that Linux can adopt is an open question.

      Now, what concretely can be done? Before tackling the big things, maybe a few small things, and I have already mentioned some:

      • Fix the make and dependency system. A "make" in the top level should recompile only the necessary parts of the kernel, not everything. A "make install" should not recompile anything. How can you do that? If you want to stick with "make", get rid of nested make files and create a single, large set of dependencies at the top.
      • Decide whether loading mismatching modules is safe or not. If it is safe, don't have the kernel complain about it and stick to versioning that ensures that it is safe. If it is not safe, don't allow it. Don't leave users guessing.
      • Break up the kernel source tree into lots of separate tar files and distribute them individually. Is that more convenient? No. But what it does is force kernel development in the direction where new functionality can be distributed separately by others--being part of the one kernel tree would become much less of an issue.
      • Accomodate other languages if it isn't too much hassle. You may not like C++ in the kernel, but there is no reason not to fix the header files so that people can write their own C++ modules and distribute them outside the kernel tree. Failure to accept the necessary patches (supplied by IBM and others) is pure politics.

      In the long run, I think it would be worth to think about making Linux a bit more micro-kernelish. Unlike a true microkernel, Linux wouldn't be a microkernel from the ground up, it would be a monolithic kernel with optional Mach-like servers.

    3. Re:open your eyes by Error27 · · Score: 2
      If so many bits and pieces of functionality need to be approved by one person, that really is an architecture problem.

      Well... Mostly Linus is just a fall guy. Not many people feel that MOSIX needs to be included into the standard kernel. I think that RML's patches show that people are more than willing to patch -p0 the kernel themselves. This is especially true for cluster people compared to desktop users.

      Your concerns about the build system and configuration are real and being addressed in the 2.5 kernel. There has been tons of discussion about this and I'm surprised you seem to have missed all the articles/debate about it.

      Every single machine I have (a few dekstops and a few laptops) has required recompilation, even with recent kernel installs.

      That is the real problem. All the talk about how it needs to be simple to compile the kernel is really just a work around for a poor default kernel. File a bug report with your vendor.

    4. Re:open your eyes by markj02 · · Score: 2
      Mostly Linus is just a fall guy. Not many people feel that MOSIX needs to be included into the standard kernel.

      Not many people may feel that ReiserFS or a SupermaticFooBar driver or vid4lin or any other specific functionality needs to be in the kernel. Just like not many people may feel that "ptx" is a particularly important command line utility. But if you need it, you need it. For the command line stuff, there is no monolithic source tree and there are no gatekeepers. For the kernel, there are, and that really limits how the kernel can evolve. It's not a complete bar, it just makes adding kernel functionality sufficiently cumbersome that a lot doesn't get done.

      All the talk about how it needs to be simple to compile the kernel is really just a work around for a poor default kernel. File a bug report with your vendor.

      No, sorry, that's not it. Vendors generally modularize everything they can. But there are lots of important configuration choices that cannot be modularized. And that, again, is a kernel architecture problem.

    5. Re:open your eyes by Error27 · · Score: 2
      >>Not many people may feel that ReiserFS

      No. When ReiserFS was included in the kernel most people felt it was the right choice to make. Suse was already including it in their kernel and I believe that Mandrake was too.

      >>Vendors generally modularize everything they can.

      The drivers at least could have been modularized and are a vendor bug.

      >>But there are lots of important configuration choices that cannot be modularized. And that, again, is a kernel architecture problem.

      I question the "lots" and the "important" but if that's the problem then that is what needs to be fixed.

    6. Re:open your eyes by markj02 · · Score: 2
      The drivers at least could have been modularized and are a vendor bug.

      Oh, please. Do you think vendors purposely make their kernels hard to configure? If Debian and RedHat packagers can't figure out how to create binary kernel distributions that support all the hardware on most machines out of the box, then that is a problem with the kernel, not with the vendors.

      (But there are lots of important configuration choices that cannot be modularized. And that, again, is a kernel architecture problem.)

      I question the "lots" and the "important" but if that's the problem then that is what needs to be fixed.

      Indeed, that's all I'm saying: it needs to get fixed. Otherwise, the future of Linux may be running GNU/Linux userland stuff under MacOSX or Darwin. I mean, it's easier to write and distribute kernel extensions for those systems than for Linux.

      But if you believe that fixing it is just a matter of hacking around a little in a few source files, I think you are wrong.

  79. Re:Wait.. I thought this was Linux by talks_to_birds · · Score: 2
    Yeah..

    he prolly put on Win 2K by mistake...

    t_t_b

    --
    I'm on PJ's "enemies" list! Are you?
  80. Moderators, please re-moderate by pclminion · · Score: 2
    I intended to mod this message +1, insightful, but for some reason it got modded as -1, flamebait.

    If this was due to a bug in Slash, then shame on someone.

    If it was due to me accidentally selecting "Flamebait" instead of "Insightful," although I can't imagine how that could have happened, I sincerely apologize.

  81. 2.4.1 and 2.4.17 work perfectly for me by iabervon · · Score: 2

    I built a new box when 2.4.1 was new, installed that, and didn't have any problems with it. When Linus started 2.5, I decided to get the next 2.4 version, so I'm now running 2.4.17. I've had one lockup, with the ALSA driver for 2.4.17. Of course, this is on my desktop box, which I only turn on when I actually go home from work and still want to do computer things.

    With 2.4.1, it didn't have any trouble with giving up cleanly on building Mozilla in too little memory. I don't actually have any swap, since I haven't quite recovered from 1.2.13 with a small swap partition on the only hard drive (with swap, it would slow to a crawl for half an hour *before* killing some things and recovering. Without swap, it would just kill things and recover). I haven't tried doing anything extreme on 2.4.17, although I've been meaning to now that I'm using ext3.

  82. Re:Kernel is ok, biggest problem is the applicatio by pclminion · · Score: 3, Interesting

    So true. I often have to reboot my home machine, because X crashes and locks up the console. The kernel itself is ok, I just can't type anything. On the occasions when I have my laptop available, I can just telnet in and reboot the system cleanly. Unfortunately, most of the time I have to hard-reset it and experience the joy of fsck.

  83. My experience by SCHecklerX · · Score: 2
    I know that when I upgraded from 2.2 to 2.4 (Mandrake 7.2 to 8.1), I had (still have) many stability problems, especially with running multiple X sessions (I do...or did...this frequently when playing quake and UT).

    I can live with it, but yes, my system was more stable before. USB-storage is also quite quirky with the new kernel, whereas with the backport into 2.2 I never had problems. I've also been having problems with USB HID (Mouse) since the change.

    On the plus side I gained ext3.

  84. Re:iptables or ipchains by CatherineCornelius · · Score: 2
    With ipchains, you have to leave port 20 and a range of ports > 1024 wide open to connections from anywhere (to allow both active and passive ftp). With iptables, you only need to open them to folks who have already established a port 21 ftp negotiation.

    Yes, with iptables I might actually think about running a ftp server. At the moment ssh serves my needs quite well, but it isn't a good solution for, say, publicly sharing source code.

  85. Point Overstated by sabat · · Score: 2, Interesting

    While the facts in this guy's article are correct, he is way overstating stability problems. My company, a high-traffic dot-com survivor, has been running on 2.4 since the pre-releases, and we have never had a single incident on any of our servers.

    Although known problems with 2.4 might account for his troubles, it's equally likely he has been having hardware problems. These "bugs" may very well be a straw man, drawing attention away from faulty hardware, which is usually the problem when a machine just suddenly locks up.

    --
    I, for one, welcome our new Antichrist overlord.
  86. Tulip driver in 2.4.17 seems broken by Isaac-Lew · · Score: 2

    After I upgraded to 2.4.17 on my home machine (with a Linksys card using the tulip driver), I noticed that networking would intermittently stop. I asked around on IRC & apparently this is a known problem, so for now I'm sticking with 2.4.16. Anyone else experience this?

    1. Re:Tulip driver in 2.4.17 seems broken by ikekrull · · Score: 2

      Yep, autodetection of link speed seems to be horribly broken, with the result that the card just doesn't work.

      I just copied the .c and .h files from a 2.4.8 kernel source tree and rebuilt it as a 2.4.17 module and no more problems.

      --
      I gots ta ding a ding dang my dang a long ling long
  87. hmm.. by talks_to_birds · · Score: 3, Insightful
    Me thinks there's one faint, common thread here:

    • "...upgrading a customer's server from Red Hat 6.2 to Mandrake 8.0..."

      "...when I upgraded from 2.2 to 2.4 (Mandrake 7.2 to 8.1), I had (still have) many stability problems..."

      "...I don't know what compelled Joshua to choose Mandrake, whose "bleeding-edgeness" usually keeps them a bit unstable and unpolished..."

      "...He's using MANDRAKE on a SERVER. For crying out loud, you don't use Mandrake on a server. Get something realistic like Slackware or Debian, and if you want to be a idiot use redhat, not Mandrake..."

      "...First of all, who would used Mandrake for a server. We are talking about an installation that is meant for a laptop environment..."

      "...i was running a 2.4 on mandrake 8.0 and had nothing but problems...."

      "...I've noticed that most of the comments both in the article and others complaining about the 2.4.x kernels and various stability problems are running RedHat [redhat.com], Mandrake [mandrake.com], and even Debian [debian.org] Distros..."

    huh..

    Perhaps we have a Mandrake issue, here, and not really a 2.4.x kernel issue, and certainly not, as the few M$ trolls have tried to suggest, a Linux issue...

    dunno..

    Food for thought.

    t_t_b

    --
    I'm on PJ's "enemies" list! Are you?
    1. Re:hmm.. by talks_to_birds · · Score: 2
      /* loves replying to his own posts */

      For those who don't get what I'm talking about, there's a helluva difference between a distro and a kernel.

      (hmm.. If you don't understand *that*, stick with Window$...)

      t_t_b

      --
      I'm on PJ's "enemies" list! Are you?
  88. running gnome or kde by realjungleboy · · Score: 2, Insightful

    You should try window maker, it never crashes, there's not much to it is why. It's been around a while and doesn't get or need updates frequently so it's never bugged out on me yet! also there the new version of evolution from ximian is great. With wmaker you can still intall qt libs and gtk and gnome libs and run your old favs without the hassle of gnome nor kde! Try wmaker it's simple, lightweight, and insanely stable. i reboot here at work, well i don't actuall i shut down on friday nights. i just logout(which doesn't actually restart x, every other evening. it's rare for me to reboot! just some suggestions for ya...

    --
    ...There's nothing wrong with Southern California that a rise in the ocean level wouldn't cure...
  89. MODERATORS - MODERATORS -MODERATORS -MODERATORS by AntiPasto · · Score: 2

    What the hell is wrong with you? This thread is highly informative, and I'm not a troll.

  90. I can't resist by kindbud · · Score: 4, Funny

    It was the kernel of fire... the kernel of destruction... the kernel that took back what was ours. It was the kernel of rebirth... the kernel of great sadness... the kernel of pain... and the kernel of joy. It was a new age. It was the end of history. It was the kernel where everything changed. The year is 2001. The version: Linux 2.4.5
    Cue martial music

    --
    Edith Keeler Must Die
  91. 2.4.17 by CAIMLAS · · Score: 2

    I don't know about anyone else, but I'm fairly unsatisfied w/ 2.4.17 - which is (was?) reputed to be quite stable and such. I get it to compile fine, etc., but I'm unable to get it to boot. It consistently stops booting after the "Loading linux........." bit. Sometimes it'll just sit there, sometimes it'll sit there and beep randomly/sequentially at me. I've tried everything, including using the default config, and disabling everything I can, to no avail. I've tried other configs that others used to make their kernels, with teh same effect. Grr. Any ideas if it's just me or my system, or what the deal might be?

    --
    ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
  92. 2.4.3 was the worst by ikekrull · · Score: 2

    The kernel that shipped with Mandrake 8.0 was completely broken. Processes, especially mozilla, would go into 'D' uninterruptible sleep every hour or so, requiring a reboot to be killed.

    This was immensely frustrating and made a joke out of Linux's claimed 'stability'. I blame Mandrake for this one, whats worse is that this distro is one i paid for. Will i buy another Mandrake Linux distro? Not likely.

    The 2.4.15 'issue' was one i luckily missed, but it would have been all too easy to download 30MB of kernel, spend several hours configuring and compiling on my P-75, only to have a broken system that inexplicably corrupted my disks.

    That being said, every other 2.4 kernel i have tried has worked pretty well, and the 2.4.17 kernel i run on my routers seems to work flawlessly and fast, while providing significant extra capabilities over 2.2. 2 out of 17 aint bad i guess.

    I am not complaining, i got this stuff for free, and in general, it is good stuff, but I there is definitely room for improvement in the way kernel releases are tested and labelled.

    I mean, on kernel.org, 2.4.15 is listed identically to the other kernel releases - there should at least be a 'broken' sub-directory with kernels with major issues that prevent safe operation of your system.

    The changelog on kernel 2.4.15 and 2.4.16 don't make specific reference to '2.4.15 would corrupt your disks when unmounted', which might be understandable to the average user.

    'Correctly sync inodes in iput()', in the 2.4.16 changelog only makes sense if you already knew what the problem was, or if you are already a kernel hacker.

    In general, the 2.4 kernel has been a huge step forward in functionality and performance, but i think it would be very helpful to flag kernel releases with issues somewhere prominent on kernel.org.'

    --
    I gots ta ding a ding dang my dang a long ling long
  93. "My experience" by Kourino · · Score: 2, Informative

    Although I'm sure this is already lost in the flood of comments :)

    I started out running Debian 2.2r2(3?), which had a 2.2 kernel. I never had any problems with it, and I didn't have very fancy hardware. I did have a fun ride getting integrated i815 audio/video to work (that was all I had then). Upgrading to 2.4.4 didn't really help with that issue ... I had impeccable stability, but I never really pushed the envelope :)

    Things got more interesting around 2.4.10, partly because my HD crashed (the Deathstar effect) and I rebuilt my system. Lack of MIDI for the SB Live! finally drove me to use ALSA drivers (SB Live! MIDI hasn't worked for me with OSS drivers). No problems support-wise for the Radeon-based card I had for kernel-related issues (kernel DRI mainly). Nice USB support except for the cheap Visioneer 4400 scanner I had (which isn't the kernel's fault). Stability and performance under medium loads has been generally good. I flirted with the pre-emptive and lock-breaking patches for a while, but things got really messy under 2.4.17 (stuff happened that I stopped using Windows to get away from, ie, sudden hard system freezes), so I dropped back to 2.4.16 with no patches. I'll probably try again with .18 or something. The only speed complaint I've really had is gmc takes a long time to scan directories with lots of stuff in them :)

    Now, I haven't really had many problems. 2.4.13-ac8 oopsed, but since I was panicking about midterms at the time I didn't really look at it that closely, and never got around to actually reading the oops screen (I took a pic of it with someone else's camera ... ). I haven't taken time to find out why yet, but XMMS' memory footprint has this habit of growing unbounded ^^; The ALSA output plugins make it worse.

    For the curious: my system is a P3 866 with 128 megs of RAM to start. I upgraded to 512 megs in July when I was running 2.4.4; that's the most memory my motherboard can take, alas. Heaviest loads include running XMMS, apache, xinetd, xchat, and compiles at the same time, so not too bad. Apache was mainly serving stuff to one or two people at maybe 20-30k/sec. I've been generally happy with the 2.4 series, but since I haven't really pushed my system hard yet I may experience problems later when I do :3

  94. Interesting post. by renoX · · Score: 2

    Have you made performance mesurement ?
    How did you came with those number?

    I always thought that 4 was really the culprit having seen the *huge* amount of communications needed between the toolkit and the X server (used to do some Xlib programing).

    So I was thinking that Berlin was really the way to go..
    I'd really like to see numbers.

  95. Practical PostgreSQL by Davorama · · Score: 2
    His most demanding project at this time is a new PostgreSQL book for O'Reilly, Practical PostgreSQL

    Joshua, great article. Thanks a bunch for writing it. But.... do you have a better idea of when that book is going to ship? The publishing date posted keeps slipping... ;)

    --

    Davo -- Free speech, free software, AND free beer.

  96. Re:Darwin Bloated?! by leandrod · · Score: 2

    This was never intended to be a dissertation, but as an answer, I think you haven't read or experimented enough.

    Darwin is bloated, yes. It needs 96MB to perform, and it's pretty monolithic.

    This is not Linux conventional wisdom, in fact Linus believes in monolithic systems -- that's a factor in the current inadaptable, hard-to-change, hard-to -test situation. Do yourself a favor and look for the famous exchange between Linus Torvalds and Professor Tannenbaun (is this the name?) of OS design and Minix fame.

    Darwin is a kind of half-baked microkernel, because it is integrated with a single server. So it has the performance problems, isn't compatible with other BSDs drivers, and looses flexibility. Besides, Apple and its users aren't really interested in flexibility.

    Linux hope can't be in Hurd, because Hurd and Linux are mutually exclusive, Linux having being created because Hurd was taking too long. Go see Linus' announcements in Linux start of life. Rather, Hurd is a hope for the GNU Project and the free software community, especially that part of it that believes in copyleft and has lost hope in monolithic kernels. Meanwhile Linux was created out the GNU Project, while having a symbiotic relationship to it and depending on it; Linus believes in copyleft but not strictly; and he's more aligned to Open Source than to Free Software.

    And Hurd has a chance at viability because of the microkernel plus multiple servers architecture inherent flexibility. So it could theoretically scale from small to big systems, and each configuration needn't include anything non-funcional or ill-suited.

    Please do your research before babbling out.

    --
    Leandro Guimarães Faria Corcete DUTRA
    DA, DBA, SysAdmin, Data Modeller
    GNU Project, Debian GNU/Lin
  97. Reset button? WE DON'T NEED NO STEENKING RESET BU by BattyMan · · Score: 3, Funny

    As a matter of fact, my latest Linux box is coming together in an ancient IBM 5160 (PC/XT) case with no reset button. I remember when this came out (actually its predecessor the 5150 PC) and it was remarkable in its day for the same lack of a reset button, which was de rigeur for personal computers in a day when CP/M had reduced the battery of data-entry switches called a "front panel" to a single reset switch.

    IBM must be pretty confident, the reviewers figured, to leave the reset button out (Apple subsequently did the same on the Mac)(Did the Apple ][ have a reset button?). Bill Gates and DoS proved them (IBM) merely arrogant, and the 286-based PC/AT a couple of years later (5170? I know not the model number) had a reset button.

    Now, twenty years later, I've removed the reset switch I eventually added to the 5160 cabinet for the sake of DoS. I'll need it no more.

    --
    Exceeding the recommended torque is not recommended.
  98. "Mac OS X.i is what Linux-on-desktop People Crave" by Dr.+Pantzo · · Score: 2, Interesting

    An article by Michael J. DeMaria over at networkcomputing.com.

  99. My Effort at Organized Linux QA by goingware · · Score: 2
    A few months before 2.4.0 was released, I inquired on the linux-kernel mailing if there was any organized QA effort for the new kernels. Read my post Organized Linux QA?

    The response I received from a number of kernel developers was that there wasn't such a thing really but it would be great if I did the work of organizing it.

    SunSITE.dk seemed to be the best site of the many kind folks who offerred to host it, and so was born The Linux Quality Database.

    What my plan was, and is, to organize serious QA efforts among people other than the normal kernel developers, in support of the developers, so they can get faster and more thorough feedback on their code.

    Unfortunately, my consulting work has always been very hectic, and so I have not been able to do the work on this that I want to, at least not yet. Things are getting a little more rational in my business, so I have high hopes for resuming my work on it sometime soon.

    There is something of value on the site that can help everyone though, I wrote a few articles on the topic of linux kernel and web application quality. The articles of interest to kernel testing are:

    I placed these under the GNU Free Documentation License in hopes that they would get widely distributed, perhaps included with distros. I plan to write a lot more articles - I like to write when I have the time.

    I was happy to see that the Open Source Development Lab took advantage of the GFDL on the articles and reproduced them at its own site here.

    Some might ask why I don't use an existing bug database such as bugzilla. I may well adapt bugzilla, I'm still trying to figure out what to do, but a central part of what I plan is a bug database optimized for tracking kernel bugs.

    A database user will be able to enter in the configurations of the machines they have at their disposal, drawing on a database of known hardware, and give names to particular configurations.

    When they report a bug, they can report the bug against selections from a list or menu of the configurations they have previously configured.

    Also, they can upload the kernel .config file used in the kernel build.

    Doing this will allow developers who are researching bugs to determine whether their code has been used on certain hardware, or to do boolean searches on both hardware and .config options to find out about interactions of kernel code with hardware.

    I think bugzilla could be expanded to do this, or another bug database, but this is not a capability in any bug database I've used so far, either open source or proprietary ones at companies I've worked for.

    --
    -- Could you use my software consulting serv
  100. Good point: not readbility but VM learning curve.. by aphor · · Score: 2

    I recognise your point that following kernel code isn't that hard, but I still wonder why Linux couldn't borrow some FreeBSD VM code where FreeBSD drivers often come from a rewrite of Linux drivers.

    --
    --- Nothing clever here: move along now...
  101. Re:Kernel is ok, biggest problem is the applicatio by pclminion · · Score: 2

    I said "when X crashes and hangs the console." That is, the console driver itself is hung because X f*cked it up. ctrl-alt-bkspc does nothing, nor does ctrl-alt-num to switch consoles. Only way in is via telnet, and sometimes I can't.

  102. Re:Why GPL? World domination! by evilviper · · Score: 2
    If you as a corporate entity are realeasing Open Sourced code, then the implicit assumption is that you don't have the talent or resources available to make some valuable enhancements to your code base. If you did, then you would keep the code proprietary, and the resources spent would be the investment in a competitive advantage.
    All I can really say is "NO". If you are releasing software, either you have some added value to your own version that you are not releasing, or you aren't going to compete using that program as leverage (obsolete, part of a whole, etc). If you don't intend to compete, you won't care if somebody else propritizes it with extras. If you have your own enhancements, you CAN'T use the GPL or you'll be locked out of publicly added enhancements (possibly by your own competitor) or will have to lose your own enhancements to the GPL as well.

    Analogies should use REAL products, the whole EvilViper Corp. thing was not helpful and truly obsecure, so I can't well address your example.

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  103. Re:faster, freer, easier? by evilviper · · Score: 2
    is FreeBSD's FFS faster then Linux's EXT2?


    Hands down. The answer is a solid yes. I doubt you'll be able to find a benchmark that will put EXT2 over FFS with comparable options (EXT2 does beat it when softupdates are not enabled, etc.) This is not to mention that you can manually enable async mode on any filesystem you like, it's just not the default (and definately not recomended) opposed to Linux which, as always, chooses the half-assed performace solution over stability.


    I have used BeOS quite a bit. It does boot to the GUI quickly, but not because it's a well-performing OS. It boots and runs apps quickly because (like Windows 9x) it is a single user OS, without the multiuser/multitasking file and memory protection most Unixes put in place. I'm fairly sure that with quite a bit of tweaking to make FreeBSD run everything near real-time priority, and remove the parts of the kernel that protect the system from the application's bad behaviors, we could well out-do BeOS.

    though you might be more deliberate with your bonus next time.

    I do not worry about my karma. I've been at the karma cap for some time now so being moderated down does not worry me, and the slashdot system defaults to giving my comments +2 points. I do not have the ability to change the default (I'd just have to check a box every time I post a comment). The primary reason is this: If the /. karma system sees fit for my comments to get a +2, I don't see any reason to argue with a system which has been developed for many years. Just think of it this way. If my posts don't deserve a +2, then it wouldn't take long to reduce me to a point where they don't get +2 any longer. I think a discussion on /. belongs elsewhere, so I'll end it on that.
    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  104. Re:Why Open Source at all? by evilviper · · Score: 2
    I assumed that you were a Proponent of Open Source - are you? Why should you release your code to the public at all? Is there any reason not to just keep all of your code proprietary? If not, then you really should have represented yourself as against Open Source much earlier, so that I wouldn't have wasted my time on the obscure, finer points of discussion.

    I think I've pretty clearly illustrated I am a proponent of BSD/Public Domain, but not GPL/Free Software (except in a few fringe cases). The reason our discussions went they way it has is simply because we obviously disagree on why you would be releasing it as Open Source. You believe it's because you no longer have the resources to maintain it, and I believe it is because you want to:
    a) widen the acceptance of a program (i.e. release Netscape, BeOS, DR-DOS, so it gains public acceptance and once again surpasses it's competitor)
    OR
    b) you want to do something in the public interest (security programs, operating systems, consumer information programs, etc).

    Neither of those qualifies as 'not having the resources to maintain it', although that may be true IN ADDITION to the above, but not the sole reason for releasing it.

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  105. Re:faster? by evilviper · · Score: 2
    Without Citrix, it's hard to consider NT multiuser
    Not true. I've run Win NT 4.0 Terminal Server Edition and Win 2000 Server/Advanced Server with multiple simultaneous users without Citrix. Citrix is merely a different protocol on top of Windows Terminal Services.

    Personally, I don't find that Windows 95/98 boots noticeably faster than NT/2000.

    It's hard to rationally argue with someone what fails to grasp things we all take for granted. Windows NT/2k takes _much_ longer to boot than 95/98. It's just not something that is debatable. Install 95/NT/98/2000 from scratch on identical machines and time the bootup.

    You must not have been paying very much attention to say that the BeOS didn't have multitasking
    Pretend I didn't say that... My point didn't come across the way it was supposed to. It does indeed do multitasking very well, but I stand by my point that it is painfully single user, unprotected, etc.

    even if you tweaked FreeBSD to run everything near real-time priority, it wouldn't do much good...
    No, what would be needed is to strip the priorities and multiuser capabilities out of the kernel and programs. An OS would simply have to be as indifferent to the stability of the system as BeOS is.
    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant