Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Linux Software

2.5.4 Kernel Out 208

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."
This discussion has been archived. No new comments can be posted.

2.5.4 Kernel Out

Comments Filter:
  • by Nighttime ( 231023 ) on Monday February 11, 2002 @09:14AM (#2986270) Homepage Journal
    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.
  • by Anonymous Coward on Monday February 11, 2002 @09:19AM (#2986292)
    Use a 2.4.18-pre kernel if you want to try something experimental
  • Werid day... (Score:4, Informative)

    by Junta ( 36770 ) on Monday February 11, 2002 @09:26AM (#2986315)
    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.
  • Re:Congratulations! (Score:3, Informative)

    by tom.allender ( 217176 ) on Monday February 11, 2002 @09:42AM (#2986379) Homepage
    It'd be nice if they linked to the actual patch [kernel.org] instead of some massive CGI output...
  • by Anonymous Coward on Monday February 11, 2002 @10:21AM (#2986560)
    Is it just me not knowing/noticing something, or e-mail address of Dave M. has magically changed from davem@redhat.com to davem@pizda.ninka.net?

    For people that do not read Russian: 'pizda' in Russian stands for 'C-word' and 'ninka' is a short form of female name.
  • by Anonymous Coward on Monday February 11, 2002 @10:24AM (#2986573)
    On the top of the changelog, there are plenty of changes marked with

    <davem@pizda.ninka.net>

    The problem is that the word 'pizda' is one of the most rude curses in the Polish language (used to name women vagina). This is problably some kind of humor of Dave Miller (whose wife is Polish) but ... it makes very, very bad look.

    After all, in case some 'adult filter' is implemented for Polish language, it will filter out the Linux change log.
  • by Alphix ( 33559 ) on Monday February 11, 2002 @11:01AM (#2986796) Homepage
    Check out this link [osdlab.org]. 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 [slashdot.org]).
  • by InShadows ( 103008 ) on Monday February 11, 2002 @11:06AM (#2986821)
    Details can be found here [mandrakeforum.com]. The isos can be downloaded from here [linux-mandrake.com] and all bug reports can be discussed here [linux-mandrake.com].

    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.
  • by worldwideweber ( 116531 ) on Monday February 11, 2002 @11:36AM (#2986977) Homepage Journal
    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);

    -
    -
  • Re:Can't compile it (Score:2, Informative)

    by sydneyfong ( 410107 ) on Monday February 11, 2002 @12:38PM (#2987331) Homepage Journal
    This will fix it [slashdot.org]... at least it did for me ;-)
  • by worldwideweber ( 116531 ) on Monday February 11, 2002 @12:59PM (#2987464) Homepage Journal
    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.
  • Re:Can't compile it (Score:1, Informative)

    by Anonymous Coward on Monday February 11, 2002 @02:08PM (#2987929)
    beta?! More like pre-alpha!! Get a grip! This kernel, as with all other 2.5.x kernels, could seriously trash your system.

"If it ain't broke, don't fix it." - Bert Lantz

Working...