Slashdot Mirror


2.5.4 Kernel Out

Saint Aardvark writes: "Just in time for my 30th birthday, the new kernel is out...how did he know? Thanks, Linus! Change log here. I usually stick to stable stuff, but I think I'll try this for fun." Reader Scooby Snacks writes: "Be sure to use the patches and pick from the fine list of mirrors."

66 of 206 comments (clear)

  1. Patchdot by Anonymous Coward · · Score: 4, Funny

    2.6.0 released
    2.5.20 released
    2.5.19 released
    2.5.18 released
    2.5.17 released
    2.5.16 released
    2.5.15 released
    2.5.14 released
    2.5.13 released
    2.5.12 released
    2.5.11 released
    2.5.10 released
    2.5.9 released
    2.5.8 released
    2.5.7 released
    2.5.6 released
    2.5.5 released

    Expect all these articles on this site soon.
    Slashdot, news for "nerds", notifying you of minor changes to the penguin!

    1. Re:Patchdot by __aahlyu4518 · · Score: 3, Funny

      notifying you of minor changes to the penguin!


      Did he do something to his hair ? :-b

  2. New Topic Please by Dredd13 · · Score: 4, Insightful
    Can we have a topic "Linux-Kernel-Release", so that those of us who care about "Linux news" (and so don't want to check-to-exclude the "Linux" topic) can still send these Freshmeat-intended stories to /dev/null where they belong?

    1. Re:New Topic Please by Dredd13 · · Score: 5, Insightful
      I don't think I was trolling at all, I'm actually really sick of having to wade through kernel announcements.

      .0's are newsworthy

      .FINAL_VERSION's are newsworthy

      .PATCH_OF_THE_WEEK's are not "Stuff that matters" for the majority of folks out there. If you ARE one of the folks that it matters for, chances are you're monitoring the kernel.org site already.

      Just my $0.02 worth anyhow....

    2. Re:New Topic Please by hal200 · · Score: 5, Insightful

      I'm not trying to troll here, but I don't get it. Maybe it's just me, but is it really so onerous to read a headline and move on if you're not interested? (Just to go on the record though, I happen to like the Kernel X.Y.Z is out! news items.)

      Are you paying for your desktop real estate by the pixel or something?

      I rather effectively screen out JonKatz by reading the headline, and seeing the big green JonKatz underneath. Then I know it's drivel and I move on.

      I just don't understand the motivation behind, "I should be able to filter this out!"...It's not like they're forcing you to read the article and all the comments. Just move along if it doesn't pique your interest. Considering how many stories flit past the front page in a day (and more with judicious use of Slashboxes), it's not hard to find something more personally interesting.

      Then again, maybe I'm just being obtuse. Anyone care to enlighten me?

      --

      I just want to take over the world...Why does that automatically make me EVIL?

    3. Re:New Topic Please by Dredd13 · · Score: 2
      Do you call CNN every time they run a story you don't care about, or do you just change the channel?

      If CNN had this cool engine built that allowed me to customize the news articles I saw, and then didn't actually USE that engine to the proper granularity, I think I'd call CNN and bitch, yes.

      But since they don't, I'd change the channel.

      However, since Slashdot DOES have the capability to customize the news so you see the things you WANT to see, doesn't it make sense for Slashdot to actually USE that capability?

    4. Re:New Topic Please by ryanvm · · Score: 2

      If CNN had this cool engine built that allowed me to customize the news articles I saw, and then didn't actually USE that engine to the proper granularity, I think I'd call CNN and bitch, yes.

      The problem with your logic is that Slashdot is a free service. You don't really have any right to complain about it at all - let alone about something so trivial as story categories.

    5. Re:New Topic Please by dinivin · · Score: 2

      The problem with your logic is that Slashdot is a free service. You don't really have any right to complain about it at all - let alone about something so trivial as story categories.

      Bzzzt... Wrong.

      We have the right to complain about anything we want to, free or not.

      Dinivin

    6. Re:New Topic Please by blazerw11 · · Score: 2

      See, here's how it works. A whole bunch of folks post the article. Slashdot editorial staff then adds it to current news.

      Are you with me? It's not hard.

      If you don't understand, then read on...
      If a lots of slashdotters post the article, they must be interested in it. If slashdotters are interested in the story, it should be posted on the site. Even if there is a vocal minority that love to post complaints about the type of news.

      --
      A great many people think they are thinking when they are merely rearranging their prejudices. -- William James
    7. Re:New Topic Please by ryanvm · · Score: 2

      We have the right to complain about anything we want to, free or not.

      You're right - being an asshole is your prerogitive.

    8. Re:New Topic Please by baptiste · · Score: 2
      100-200, or even more topics

      Theres already 77 topics. But I agree adding a kernel topic would be good.

    9. Re:New Topic Please by big_hairy_mama · · Score: 2

      Seems to me like everyone posts these because they know they can get the karma boost, not because they really care about it. They know the editors are bound to use it.

      It's a vicious cycle; people post to get the karma, the editors use it because they think lots of people are interested, and then more people post because they know the editors will use it.

  3. Having trouble with 2.4.17, should I get this? by knulleke · · Score: 3, Interesting

    Well, I'm still having trouble with 2.4.17 on my AMD. A couple of weeks ago it was suggested here that I should add "nopentium" to my boot parameters but after that the machine doesn't feel as fast anymore (can't understand why; it should not be noticable)

    Parsing the changelog, I don't see that many changes with potential enormous impact. Should I consider trying this version because many problems are straightened out or should I wait for a next "stable" 2.4.x?

    I did see something regarding AGP (which I believe to be the source of my problems, as they go away if I disable 3D support) Linus said something about a workaround for AGP problems until a real solution was found. Doesn't look very encouraging, but hey...

    --
    no sig error.
    1. Re:Having trouble with 2.4.17, should I get this? by Sircus · · Score: 2

      As far as I know, the problem's not been fixed in either tree, so you should probably sit tight with 2.4, and keep with the nopentium flag (or don't use it, and don't be surprised when it's unstable).

      The problem is indeed with the combination of AGP and Athlon - disabling 3D support would probably help here, but is unlikely to make it go away completely.

      I'd expect it shouldn't be too long (maybe it already happened, and I missed it) before there's a patch available for the problem (just disabling use of 4Mb mappings on Athlon should be the quick fix). When this is available, I imagine it'll go into both 2.4 and 2.5 fairly quickly.

      --
      PenguiNet: the (shareware) Windows SSH client
    2. Re:Having trouble with 2.4.17, should I get this? by leuk_he · · Score: 2

      There is a lot more in the changelog now, but this is only because a new tool is used to maintain the changelog.

      If the nopentium option helps, stick there. If you want performance inprovements try:
      -Enable dma by playing with hdparms.
      -Try some 2.4.17 patch that promises improvement. (low latency patch is still available for the 2.14 tree, but will not be maintained as it is included in 2.5 now.)
      -Buy more RAM 8-)

  4. Congratulations! by Foehg · · Score: 3, Funny

    Good to see the patches, mirror list, and changelog linked to, not just the full kernel. We knew you could do it! Keep it up, guys!

    1. Re:Congratulations! by tom.allender · · Score: 3, Informative

      It'd be nice if they linked to the actual patch instead of some massive CGI output...

    2. Re:Congratulations! by Balinares · · Score: 2

      Yep. Maybe you have overlooked it, but I'll bet it was posted that way on purpose, to help reduce the load on kernel.org.

      --

      -- B.
      This sig does in fact not have the property it claims not to have.
  5. Think before you grab it by Nighttime · · Score: 4, Informative

    See that middle number of the kernel version? Note that it is of the form 2n-1 where n>0, otherwise known as an odd number. Now, in the Linux world this means that it is a development kernel. D-E-V-E-L-O-P-M-E-N-T. In other words, extreme beta.

    So, unless you wish to contribute to the kernel development or want a range of unknown problems, stick with the even middle-numbered kernels.

    --
    I've got a fever and the only prescription is more COBOL.
    1. Re:Think before you grab it by gTsiros · · Score: 2, Offtopic

      Not to be picky or anything...

      odd number is 2*n+1, n in Z.

      Don't run if you can't walk.

      --
      Looking for people to chat about multicopters, coding, music. skype: gtsiros
    2. Re:Think before you grab it by Pengo · · Score: 2


      hehe, look at what they call their stable kernels!

    3. Re:Think before you grab it by Frank+T.+Lofaro+Jr. · · Score: 2

      That doesn't mean anything anymore.

      Just ask people who ran 2.4.11 how "stable" that kernel was. ;)

      P.S. The proper way to say a number is odd is to say it is an x such than x%2=1 or x&1=1 ;)

      --
      Just because it CAN be done, doesn't mean it should!
  6. Thumbs up by serps · · Score: 4, Interesting

    Not being anything remotely resembling a kernal hacker, it was great to see and compare some of the (proposed) changes between 2.4.x and the new 2.5 fork at the recent linux.conf.au. The speaker, Rusty Russell, took us through the netfilter and scheduler code (2.4.13 vs 2.5.3) and it was a real eye-opener. I don't claim to be a C wizard, but I can tell elegance when I see it, and some of the code overhauls certainly have that ring to them.

    --
    "Einstein argued that [...] God is not capricious or arbitrary. No such faith comforts the software engineer." ~ Brooks
  7. I'm interested ... by tyrius · · Score: 2, Interesting

    After seeing so many posts on the preemptible patch being including into Linus' tree, I would have thought that everyone would be dying to try the first dev release with it incoporated. Give it test drive and see if that is really a useful feature.
    Or does everyone here REALLY run Win XP ??

    1. Re:I'm interested ... by Anonymous Coward · · Score: 2, Interesting

      There's also wellworking preemptible patch for 2.4.xx kernels so no need to use 2.5.x stuff.

    2. Re:I'm interested ... by mirko · · Score: 2, Insightful

      I have actually been using this one for months on a 2.4.16 kernel tree.
      The pre-empt kernel patch is actually the most interesting feature in Linux as it suddenly turns a server OS with a sluggish UI into a really responsive workstation with still impressive network performance.
      So it is quite good news to hear that it will be possible to determine whether we want our kernel user or services oriented by just checking a box in the Linux-compilation-tcl box.

      --
      Trolling using another account since 2005.
    3. Re:I'm interested ... by buckrogers · · Score: 2

      Actually, it turns out that having a pre-emptable kernel helps with server operations too. When the client request comes in, or the I/O operation completes the pre-empt patch lets the operation be serviced quicker. This makes the server more responsive to client requests and lets it read or write files as quickly as the hardware allows.

      This patch has been needed for a long, long time, and with the new O(1) schedualler linux is now as scalable as any other OS in the world. I am really interested in seeing how Linux 2.4.6 will do on an 8 way or 32 way machine. Are there anymore limitations left in scaling linux to high numbers of processors and large amounts of RAM? If so, how hard will it be to fix these issues, without affecting a user on a single processor box? :)

      I don't think we need to fork to support both the high end and low end with a single kernel.

      --
      -- Never make a general statement.
  8. Werid day... by Junta · · Score: 4, Informative

    Today there is a release of some sort in 4 kernel trees (see freshmeat.net):
    2.0.40-rc2
    2.2.21-pre2
    2.4.18-pre7-ac3
    And, of course, 2.5.4.

    Granted, only one was a full revision bump, but to see updates in so many trees is neat.

    --
    XML is like violence. If it doesn't solve the problem, use more.
    1. Re:Werid day... by dramaley · · Score: 2, Interesting

      What are the 2.0 kernels still being developed for? I'm not trying to troll, i'm seriously curious. I run 2.4 on my workstations and 2.2 on my firewall (a system based around 2.4 isn't small enough to easily fit on a floppy). Could someone give an example of an application where a 2.0 kernel would be better than a 2.2 or a 2.4?

      --
      ----- "I'm still sane on three planets and two moons."
    2. Re:Werid day... by Junta · · Score: 2

      What comes to my mind is embedded applications that don't need the more advanced features of the modern trees but are so space deprived that the smaller the better.

      --
      XML is like violence. If it doesn't solve the problem, use more.
  9. [OT] Re:New Topic Please by Psiren · · Score: 3, Insightful

    Moderators, this isn't a troll. Enough complaints have been made about this over time for it to be a justified request.

    There are those of use who do want to read Linux stories, but don't want to know about every release of the kernel. It's not as if theres a shortage of sites that have that information.

  10. Yeah, but by wiredog · · Score: 4, Insightful

    Some of us use slashdot as a central news source. Why go around to a zillion other places, when we can just catch the announce here? Saves time.

    1. Re:Yeah, but by Dredd13 · · Score: 5, Insightful
      And if there was a separate "LinuxKernelReleases" topic, both of us would be happy. you could get your "news" (which I don't consider news, but that's here nor there), and myself (and others) could simply check that box to say "Don't show me these stories".

      And life would be happy all around. See how nice that'd work if TPTB @ /. would just use the Slash engine the way it's designed to work? :-)

      D

  11. Re:Ratings by MjDascombe · · Score: 2, Funny

    Those are the first two big questions about /. posting : shortly to be followed by "Is there any sence/reasoning behind how things are rated?"

  12. Designed? by wiredog · · Score: 5, Funny
    use the Slash engine the way it's designed to work?

    The slash engine was designed? I thought it just sort of grew. Like a fungus.

    A'course, I haven't actually looked at it in a few years. The first release was traumatic.

  13. I'm sick of it... by __aahlyu4518 · · Score: 4, Insightful

    Sick of these minor release announcements on development branch kernels... Not because of the announcement itself, but because of all the people yelling and screaming that they don't want to know about it... Stop bitching and skip the article and move on and leave the thread clean for those that DO like to read about it and read INTERESTING comments...

  14. Collective scream... by powerlinekid · · Score: 5, Funny

    7:58 - Slashdot post that new kernel is out

    7:59 - "Bleeding edge" kernel hackers start downloading it

    8:30 - download finally is over, start unpacking it

    8:35 - ooh and ah over new features in config

    8:40 - start compiling, so far so good

    8:55 - kernels done, reboot

    8:56 - system is as fast as ever and that leet hardware is now supported

    8:59 - file system gets fscked due to some small oversight

    9:00 - a large scream is heard through country

    9:10 - screaming stops

    9:20 - hacker finally remembers that its the 2nd #, not the 3rd that means the kernel is unstable

    9:30 - i laugh

    --

    can't sleep slashdot will eat me
    1. Re:Collective scream... by Kynde · · Score: 3, Insightful

      8:40 - start compiling, so far so good

      ...and that's as far as you'd get on an x86. Although those _actually_ interested in developement kernels would have no trouble locating a suitable patch posted to kernel mailing list by Andrew Morton.

      Also vesa frame buffers users will have difficulties linking it together, because of few bus_to_virt instead of phys_to_virt

      (Patches for the x86 headers below...)

      --- linux-2.5.4/include/asm-i386/processor.h Sun Feb 10 22:00:29 2002
      +++ 25/include/asm-i386/processor.h Sun Feb 10 22:21:53 2002
      @@ -435,14 +435,7 @@ extern int kernel_thread(int (*fn)(void
      /* Copy and release all segment info associated with a VM */
      extern void copy_segments(struct task_struct *p, struct mm_struct * mm);
      extern void release_segments(struct mm_struct * mm);
      -
      -/*
      - * Return saved PC of a blocked thread.
      - */
      -static inline unsigned long thread_saved_pc(struct task_struct *tsk)
      -{
      - return ((unsigned long *)tsk->thread->esp)[3];
      -}
      +extern unsigned long thread_saved_pc(struct task_struct *tsk);

      unsigned long get_wchan(struct task_struct *p);
      #define KSTK_EIP(tsk) (((unsigned long *)(4096+(unsigned long)(tsk)->thread_info))[1019])
      --- linux-2.5.4/arch/i386/kernel/process.c Sun Feb 10 22:00:28 2002
      +++ 25/arch/i386/kernel/process.c Sun Feb 10 22:26:35 2002
      @@ -55,6 +55,14 @@ asmlinkage void ret_from_fork(void) __as
      int hlt_counter;

      /*
      + * Return saved PC of a blocked thread.
      + */
      +unsigned long thread_saved_pc(struct task_struct *tsk)
      +{
      + return ((unsigned long *)tsk->thread.esp)[3];
      +}
      +
      +/*
      * Powermanagement idle function, if any..
      */
      void (*pm_idle)(void);

      --
      1 Earth is warming, 2 It's us, 3 it's royally bad, 4 we need to take action NOW
    2. Re:Collective scream... by powerlinekid · · Score: 3, Funny

      My girl is weird. Everytime I tell her I'm a dork, shes goes "No baby, you're a geek." The funny thing is, she couldn't tell the difference between a computer and a toaster oven (yet, she probably could compile a kernel... )

      --

      can't sleep slashdot will eat me
    3. Re:Collective scream... by Khopesh · · Score: 2

      8:40 - pressed return
      (3.1415926535898...)

      --
      Use my userscript to add story images to Slashdot. There's no going back.
  15. Why are development kernels news? by Wakko+Warner · · Score: 2

    They extrude a new one every few days - what great big new feature does 2.5.4 provide that we should all care about?

    Or is slashdot just desperate for news on Monday morning?

    - A.P.

    --
    "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
  16. detailed Change log by TulioSerpio · · Score: 2, Insightful

    I'm glad to see a change Log that I can understand!.

    I's detailed and clear.

    --

    I'm from Argentina: Tango, Asado, Mate, Gaucho, Maradona, YPF

  17. Re:ChangeLog got hacked? by marcink1234 · · Score: 2

    Dave's wife has name Nina, she is Polish and she uses account on similarly named computer (pierdol.ninka.net) to post the news. So you see the real email on real computer named so in DNS. And the p**** word means in Polish the same as in Russion.

    For me, this really is not funny.

  18. Extremly offensive language in 2.5.4 ChangeLog by Anonymous Coward · · Score: 2, Funny

    The changelog for the kernel-v2.5.4 contains a
    few patches posted from "davem@pizda.ninka.net"

    In Russian the word "ninka" is a female name
    while the word "pizda" is a very dirty slang for a female genitals. To a Russian this email address sounds very offending!

    You know Linus cannot be proficient in all world languages. Therefore some ethics on the side of
    Linux contributors is very much appreciated.

    +Leo+

  19. Re:What's good about 2.5 by Alphix · · Score: 4, Informative

    Check out this link. It's a list of stuff to expect in 2.5
    Follow the link to the posts if you want the details and discussions, if you don't, the items and a more human-readable explaination is below:

    2.5.x API change summaries
    o Shouldn't matter much as far as I could tell, mostly "heads up" to people writing programs that mess with the kernel.

    o Block I/O layer changes:
    The goal seems to be a more generic i/o scheduler while at the same time making it more efficient.
    Typical "dont-understand-exactly-what-they-are-doing-but-g lad-they-do-it" stuff.

    o initrd / initramfs:
    initramfs is intended as a replacement for initrd. The basic idea seems to be to tack a .tar archive of modules and programs to the end of the kernel image, make a basic boot, unpack the tar file to a ram-based root filesystem then everything goes from userspace. If it's true that 2.5 will move to a completely modular kernel (as Alan Cox has hinted), this would be a much friendlier system than initrd.

    o SCSI changes
    As always?

    o driver model: driverfs
    Driverfs seems to aim towards merging all bus-type weirdness that lives under /proc and building one big tree with all bus:es in it. Most comments I've seen circle much around how much easier it would be to implement a proper ACPI power management system with this and that it clears up /proc.

    o reworking major/minor system
    The currrent model of drivers having major/minor numbers is going to change to allow larger numbers (and therefore, more devices). May be some hairy details involved in changing such a "standard" size. Consent seems to be that apps that depend on a specific size are broken anyway.

    o USB and WireLess API changes
    I don't use any of these so I haven't got much to say, anyone with more interest/info?

    o kbuild and CML2
    The new configuration language and makefiles, these have been discussed earlier on slashdot (see here).

  20. Mandrake 8.2 Beta 2 also became available today. by InShadows · · Score: 2, Informative

    Details can be found here. The isos can be downloaded from here and all bug reports can be discussed here.

    Very few 'really ugly' bugs have been found in the first beta, and we have been able to concentrate on hardware recognition, improving the *drake* tools, and updating the packages. For more details about what has changed since the beta1, and what should be tested, please wait for the articles in the "test this" serial.

  21. Re:wow by xanadu-xtroot.com · · Score: 2

    You, my friend, are a Troll...

    :-)

    --
    I'm not a prophet or a stone-age man,
    I'm just a mortal with potential of a super man.
  22. GNU/Linux by gotan · · Score: 2, Insightful

    Although most people use the term 'Linux' for the operating System as a whole it really only the name of the Kernel. Would we call it 'Hurd' if we ran it with a hurd-Kernel? No, we probably talk about 'Linux with a Hurd-kernel' or somesuch, which is funny enough (maybe it should be 'GNU/Hurd' or just 'GNU' then). In that light (Linux being really just the name of the kernel) news about new kernelversions are very appropriate under this topic, what more interesting could there be under the 'Linux' topic, than something about a new Version of 'Linux'?

    So if we want to keep the terms right (and those who always complain about the use of the term hacker in a wrong context know we should) maybe there should be another topic 'GNU/Linux' or 'LinuxOS' (and also 'LinuxAPPS'?) to comfort those who want to read about Linux, but not about the kernel (so actually not about 'Linux' ...). The term 'Linux-kernel' is redundant, and thus really not a good topic.

    I also wonder, how one can be interested in Operating systems based on the Linux kernel, without being interested in the development of the kernel itself (especially the unstable versions, since there is much more happening), and for a lot of readers the 'new kernel' news is the place to discuss these developments. So if you want to vent your complaints, that hardware x isn't supported, why patch y didn't make it in, express your happiness that z works now (z preferably being the VM), or just have a question these stories are the place to go. The kernel is the thing that all those LinuxOSes, LinuxDevices and whatnot have in common, and if you're interested in Linux on your Palm, or maybe in your coffee-machine, then you should be interested in the kerneldevelopment, since without a kernel allowing to be shrinked down to that size it's just not possible. If you're interested in 'Linux' running on big iron, like n-Processor machines, well, it's really the kernel and its development that makes it possible.

    And finally, if you're really not interested in kernel development, it's not that hard to spot, that a story is about the new kernel, just ignore it, and be happy, these storys are there, because if they weren't people would just post things about new kernel developments in other Linux-stories (even if slightly offtopic).
    --

    --
    "By the way if anyone here is in advertising or marketing... kill yourself." -- Bill Hicks
  23. Major breakage in this kernel. by worldwideweber · · Score: 5, Informative

    There was a change to the API in this kernel release which breaks a bunch of drivers for the moment. Specifically, all drivers that allocate buffers using the kmalloc/__get_free_pages and virt_to_bus will not link. Right now, I can see atleast two groups of drivers affected: some USB, and the PCI sound drivers.

    Even if you don't see the above problem, this kernel will not compile (atleast on most i386 systems) without the following patch:

    --- linux-2.5.4/include/asm-i386/processor.h Sun Feb 10 22:00:29 2002
    +++ 25/include/asm-i386/processor.h Sun Feb 10 22:21:53 2002
    @@ -435,14 +435,7 @@ extern int kernel_thread(int (*fn)(void
    /* Copy and release all segment info associated with a VM */
    extern void copy_segments(struct task_struct *p, struct mm_struct * mm);
    extern void release_segments(struct mm_struct * mm);
    -
    -/*
    - * Return saved PC of a blocked thread.
    - */
    -static inline unsigned long thread_saved_pc(struct task_struct *tsk)
    -{
    - return ((unsigned long *)tsk->thread->esp)[3];
    -}
    +extern unsigned long thread_saved_pc(struct task_struct *tsk);

    unsigned long get_wchan(struct task_struct *p);
    #define KSTK_EIP(tsk) (((unsigned long *)(4096+(unsigned long)(tsk)->thread_info))[1019])
    --- linux-2.5.4/arch/i386/kernel/process.c Sun Feb 10 22:00:28 2002
    +++ 25/arch/i386/kernel/process.c Sun Feb 10 22:26:35 2002
    @@ -55,6 +55,14 @@ asmlinkage void ret_from_fork(void) __as
    int hlt_counter;

    /*
    + * Return saved PC of a blocked thread.
    + */
    +unsigned long thread_saved_pc(struct task_struct *tsk)
    +{
    + return ((unsigned long *)tsk->thread.esp)[3];
    +}
    +
    +/*
    * Powermanagement idle function, if any..
    */
    void (*pm_idle)(void);

    -
    -

    --
    w o r l d w i d e w e b e r
    1. Re:Major breakage in this kernel. by worldwideweber · · Score: 2, Informative

      The short answer to the question of how to patch a kernel is:

      cd /usr/src/; patch -p0 < /wherever/is/file.patch

      However, since people use different conventions for naming their kernel source directory it is usually better to do:

      cd /usr/src/ (or whereever your kernel source is)

      patch -p 1 -d your-dir-2.5 < file.patch

      So, for example, if you keep your source in a directory called "linux-2.5" in /usr/src:

      # cp file.patch /usr/src
      # cd /usr/src
      # patch -p1 -d linux-2.5 < file.patch

      Anyway, hope this helps. If you want to read more on this, you might want to check out www.kernelnewbies.org.

      --
      w o r l d w i d e w e b e r
    2. Re:Major breakage in this kernel. by worldwideweber · · Score: 2

      My apologies...
      add

      "diff -Nru linux-2.4.5 25"

      to the first line of your patch file :)

      --
      w o r l d w i d e w e b e r
  24. Re:A Minor update to a development kernel? by baptiste · · Score: 2
    Actually, read the January and February threads on the kernel list. Some really heavy debate about changes to low level stuff like schedulers and such. I found it a VERY interesting read and I think the things being proposed for 2.5.x are pretty impressive. I found Ingos O(1) scheduler work and the debate it generated very interesting.

    It may not be "Justice wins over Microsoft" but its still a notable event.

  25. Use Linux with "old" hardware by Jeppe+Salvesen · · Score: 2

    If I was you (but i'm not) I would use Linux with a slightly dated yet powerful machine. Like - a year old or so. Good performance, and most bugs in the drivers have been ironed out. Looking through the list of supported hardware is also a good idea before ordering a machine or any other piece of hardware for that matter.

    Then again, you can always use w2k or xp. Sadly, there are more drivers available there.

    --

    Stop the brainwash

  26. Re:Can't compile it by sydneyfong · · Score: 2, Informative

    This will fix it... at least it did for me ;-)

    --
    Don't quote me on this.
  27. You should *not* be having issues. by clump · · Score: 2

    I run an AMD Athlon with an AGP4x video card on 2.4.17 with no issues whatsoever. I also compiled the kernel as an Athlon which is not affected by the issue. Gentoo describes the bug in kernels running on Athlons that were compiled for Pentiums. Pentiums builds enable 'extended paging', where the issue resides. In short: compile your kernel as an Athlon (which you should do anyway) and you will not have issues.

    1. Re:You should *not* be having issues. by kubrick · · Score: 2

      I have a similar setup, and also have no problems. I remember reading that these problems were also chipset-dependent, namely some subset of the VIA chips (and thus it makes sense that AGP would trigger them).

      I can't verify the 'running kernels compiled for Pentium on Athlon causes problems' reports because... well, I haven't, and why would I anyway? :)

      --
      deus does not exist but if he does
  28. Re:Silent Kernel by Bill+Currie · · Score: 2

    Are both klogd and syslogd running? Make sure they are, and I think klogd needs to be started after syslogd. I had this problem for a while until I discovered klogd wasn't running (or at least not talking to syslogd: restarting both fixed the problem).

    --

    Bill - aka taniwha
    --
    Leave others their otherness. -- Aratak

  29. Thanks for the namecalling, but your wrong. by clump · · Score: 2

    If you download and compile a kernel for your machine, you compile for your CPU. Why would you not take advantage of processor-specific optimizations? Do you compile for the least common denominator on your own machine? Did you read the parent? Is he not compiling for his own machine?

  30. Still wrong. by clump · · Score: 2

    Looks like your no longer namecalling, so at least thats good. Perhaps you can tell my why I run 2.4.17 with an Athlon T-Bird 800 using AGP 4x? Hmm? Hint: I compiled my CPU for Athlon, which as the link I provided in my first post clearly states, was never where the issue resided. Thanks for being rude, but it wasn't needed.

  31. Linus Torvalds school of design by StrawberryFrog · · Score: 2

    The slash engine was designed? I thought it just sort of grew. Like a fungus.

    Like some other software out there. I qoute:

    "Software "Design" is like a religion - too much of it makes you inflexibly and unpopular."
    - Linus Torvalds

    --

    My Karma: ran over your Dogma
    StrawberryFrog

  32. Like a fungus? Of course! Its OSS! by einhverfr · · Score: 2

    How much OSS software works the way it was designed at the beginning?

    Isn't the point that future redesigns of the software are based upon the users' needs and that they can directly affect the process? In this sense, it sort of organically grows very much like a fungus.

    Wasn't it Steve Balmer who said that Linux springs up "organically" as competition? Is this not one of the big strengths of OSS?

    --

    LedgerSMB: Open source Accounting/ERP
  33. Look champ... by clump · · Score: 2
    You still didn't answer why I can run in AGP4x with an Athlon and 2.4.17. From the page that started it all:
    However, with the introduction of the Pentium processor, Intel added a new feature called extended paging, which allows 4Mb pages to be used instead. Here's the problem -- many Athlon and Duron CPUs experience memory corruption when extended paging is used in conjunction with AGP. And, this problem hits us because Linux 2.4 kernels compiled with a Pentium-Classic or higher Processor family kernel configuration setting will automatically take advantage of extended paging (for kernel hackers out there, this is the X86_FEATURE_PSE constant defined in include/asm-i386/cpufeature.h.)

    Notice the line explaining the kernel configuration? I do not compile as Pentium* therefore I do not have this issue. Nor does anyone else who follows in my footsteps. Shows over. Nothing to see here.
  34. Have you ever compiled a kernel? by clump · · Score: 2
    And Athlon falls under the category "Pentium-Classic or higher Processor".

    Why you threw a hissy originally is beyond me... especially over something as trivial as this argument. Go to /usr/src/linux. Type make menuconfig. The third option down is 'Processor type and features'. Within that submenu, hit 'enter' and choose 'Athlon/Duron/K7'. Athlon falls under the category 'Athlon'. You are clearly wrong. Booya grandma, booya.
  35. Re:What's good about 2.5 by redcliffe · · Score: 2

    A new scheduler that improves interactive performance+preemptible kernel and other improvements.

    This should make 2.5/2.6 "feel" much faster.

  36. Facts: by clump · · Score: 2

    Facts:

    1.) This is an Athlon bug in handling 4M pages when dealing with Intel's extended-paging.
    2.) This bug becomes apparent when using Pentium-class optimizations in the kernel.
    3.) I never said this was not an Athlon bug.
    4.) You *will not* have this issue if you do not compile as a Pentium.
    5.) Calm down and stop acting like a child/children.

  37. Re:What's good about 2.5 by buckrogers · · Score: 2

    Last year, didn't they talk about a raw filesystem mode that skipped the kernel buffering to allow databases to have raw unbuffered access to the hard drives?

    And I seem to vaguely recall hearing about a new kind of IP mode to allow a single server to host tens of thousands of connections in a much more efficient manner than TCP allows. This would be useful for instant messanger and peer to peer clients.

    Anyone know anymore about either of these two projects? If I remember it right it was from an article about the top Linux people getting together at a linux world and having a couple of days of meetings.

    --
    -- Never make a general statement.