Slashdot Mirror


Linux v2.6 Begins Testing

xose quotes Linus from the kernel list: "the naming should be familiar - it's the same deal as with 2.4.0. One difference is that while 2.4.0 took about 7 months from the pre1 to the final release, I hope (and believe) that we have fewer issues facing us in the current 2.6.0. But very obviously there are going to be a few test-releases before the real thing. The point of the test versions is to make more people realize that they need testing and get some straggling developers realizing that it's too late to worry about the next big feature. I'm hoping that Linux vendors will start offering the test kernels as installation alternatives, and do things like make upgrade internal machines, so that when the real 2.6.0 does happen, we're all set." You all know what to do ;) Update: 07/14 17:49 GMT by S : OverNeith writes "Joe Pranevich has done it again! He's written another summary document on what to expect in the new and upcoming 2.6 Kernel!"

46 of 361 comments (clear)

  1. Re:Difference? by pe1rxq · · Score: 5, Informative

    The biggest change for normal users is the preempt patch, it will make your system very responsive to interactive tasks (ie a graphical desktop) also the new schedulers should help here.

    Jeroen

    --
    Secure messaging: http://quickmsg.vreeken.net/
  2. Re:How long... by Anonymous Coward · · Score: 2, Informative

    In a lot of development projects, including the linux kernel, the odd ended builds are developmental releases. So the question is not really "how long has it been since 2.5.0 and how long did that take?" , it's how long since 2.4.0 ...? I believe that question was answered in the summary, and AFAIK it was probably answered in the article (I did not RTFA).

  3. Re:I don't know what to do - really by pe1rxq · · Score: 4, Informative

    You connect another computer to the serial port and use it as a console...
    Or use multiple monitors, one for X, one for the console...
    (with the serial solution you can automagicly log it and don't have to type anything from a screen)

    Jeroen

    --
    Secure messaging: http://quickmsg.vreeken.net/
  4. Re:I got it before the /.ing by caluml · · Score: 4, Informative

    That's devfs. If you don't use that, they'll all be normal (hda, sdb, fd0, etc).
    At least it wasn't mandatory as of 2.5.69 anyway.
    Why isn't devfs the default now - it's been working fine for ages - for me anyway.

  5. Yea! by Anonymous Coward · · Score: 3, Informative

    No more SCSI-Emulation for burning CDs with this.

  6. Re:This is a big deal. by avalys · · Score: 5, Informative

    You don't have to wait - pretty much all of big stuff has already happened in the 2.5 series. 2.6 is the next stable series, which (usually) means no big architectural changes. What's going on now is testing to ensure that the 2.5 series is stable enough to be considered for a release as "2.6.0".

    --
    This space intentionally left blank.
  7. Re:I got it before the /.ing by bumby · · Score: 5, Informative

    For example. /dev/hda, /dev/hdb/, /dev/hdc now become /dev/discs/disc0, /dev/discs/disc1, /dev/discs/disc2

    That is called devfs, and as far as I know is an optional thing. At least it was in 2.4-series, and I really really doubt it isn't in 2.5 and will be in 2.6. So just skipp the CONFIG_DEVFS_FS and CONFIG_DEVFS_MOUNT and use your old nodes.

    --
    Hey! That's my sig you're smoking there!
  8. Re:Difference? by Libor+Vanek · · Score: 5, Informative

    And better USB support with easier way for writing drivers for various USB gadgets.

  9. Re:This is a big deal. by sfraggle · · Score: 5, Informative
    I personally can't wait to skim the change logs.
    Kernelnewbies.org has a page which usefully summarises the new stuff in 2.6.
    --
    were you expecting to see a sig here? perhaps you'd rather see the inside of an ambulance!
  10. How's the must-fix list going? by Bollie · · Score: 4, Informative

    Last time I looked at ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/ must-fix/ there were still some showstoppers. It seems like they were updated about a month ago, so I guess progress must have been made on them...

    The biggest problem I have with the newer kernels is probably some ACPI/IRQ routing bug in my board. It's a common problem with the NForce2 chipset (APIC doesn't work, so you have to boot with pci=noacpi or acpi=off). It's not the biggest inconvenience, but it causes half of my unused USB slots not to work...

    I must say the snappiness of 2.6 is great! I'm looking forward to beta-testing. AFTER I backed up my drive, of course!

  11. Re:Difference? by Wiz · · Score: 4, Informative

    The best reference I've found is Dave Jones' website..... Linux 2.5 core updates.

  12. Re:devfs? by rjw57 · · Score: 4, Informative

    Actually devfsd does (see here). Most distros use DevFS + devfsd these days (notable exeption off the top of my head is RedHat).

    --
    Rich
  13. Re:I got it before the /.ing by hacker · · Score: 2, Informative
    Why isn't devfs the default now - it's been working fine for ages - for me anyway.

    Because devfs is exploitable, slow, and is being ditched by all of the Linux distribution manufacturers. As one former coworker of mine put it so well:

    "Devfs is an over-engineered solution to a non-existant problem..."

    Seriously though, you need to look at the new work going on, udev, a userspace implementation of devfs.

  14. Re:Does Linux 2.6 permit decent video capture? by Anonymous Coward · · Score: 2, Informative

    That might also be because you are not using proper deinterlacing while encoding (if you're doing .avi mpeg4 or so) or while decoding (mpeg1, mpeg2).

    Also, have you checked that you have big enough dma buffers for the capturing card? I think you need to give some arguments to lilo to reserve some memory for the card..

  15. Re:Hmm... Devfs, Anyone? by Anonymous Coward · · Score: 1, Informative

    Mandrake

  16. Re:Sorry by Surak · · Score: 5, Informative

    Actually, it *is*. It's in the portage tree under sys-kernel/development-sources development-sources-2.6.0_beta1.ebuild

  17. Re:Does Linux 2.6 permit decent video capture? by gl4ss · · Score: 2, Informative

    Tried another sound card or different addres/int? 2.6 should allow decent capture(on bt* cards), as others do too. But it wont be a silver bullet to your problems i'm afraid.

    --
    world was created 5 seconds before this post as it is.
  18. Re:Difference? by inode_buddha · · Score: 5, Informative

    Yes, IPSEC is already in 2.5.xx, along with the NSA's SELINUX hooks, IBM's JFS filesystem, and SGI's XFS filesystem. Lots of VM and block I/O work, too.

    --
    C|N>K
  19. Re:NTLM in the kernel? by Majix · · Score: 2, Informative

    khttpd, the kernel webserver, has been removed in 2.5.x/2.6. I'm guessing NTLM support is part of the new kernel crypto/security API.

  20. Re:timeslice and 'hyperthreading'?? by nilsjuergens · · Score: 5, Informative

    Replying to point (2):

    The scheduler in 2.6.xx is hyperthreading-aware.
    It knows that switching a process from one hyperthread to another on the same cpu is less expensive than switching to another physical cpu (becaus both first- and second-level cache reside on-die), but it also tries to balance load on physical cpus.

    While >=2.4.19 supported hypterthreading up to a certain point it happend that two processes were running on the same cpu while the other (physical) cpu was running idle. This does not happen with the new ht-aware scheduler.

    Look here for a (compressed) version of the initial discussion.

    --
    -- Having problems sending big files over the net? Try out Efisto (http://efisto.org)
  21. Re:timeslice and 'hyperthreading'?? by groomed · · Score: 4, Informative
    The HZ value which determines scheduler granularity has been bumped from 100 (which gives 10ms granularity) to 1024 since 2.5.low-twenties or something. You can change the HZ value yourself on 2.4 kernels right now in fact.

    Haven't heard much about scheduler/hyperthreading interaction.

  22. Re:How to install? by caluml · · Score: 4, Informative
    Very rough old notes.

    Should help though
    http://gk.umtstrial.co.uk/~calum/2.5-kernel/
    Might update it if I get a few hits.

  23. Works, but no nvidia by Jethro · · Score: 2, Informative

    DLed it last night, and built it. Looked fine - I like that the make xconfig is no longer really REALLY ugly, but xinerama seemed to confuse it (;

    Anyway, I couldn't get the nvidia viddeo drivers to build for it, and it WAS 4am, so I'm back to 2.4.20, and maybe I'll play with it later. Hoping someone already did it and feels like posting. (:

    --


    In the land of the blind, the one-eyed man is kinky.
    1. Re:Works, but no nvidia by defMan · · Score: 4, Informative

      Take a look at minion.de. They have patches for getting NVIDIA's driver going.

  24. Re:How to install? by ashridah · · Score: 2, Informative

    check out www.kernelnewbies.org
    that has a bunch of that kind of stuff.

    ashridah

  25. Re:I got it before the /.ing by be-fan · · Score: 2, Informative

    devfs is also similar to what FreeBSD has had for years. Dynamic device files make sense, there is no way around it. Besides, your complients are the first I've heard of any issues. I've been using devfs for awhile (Gentoo's defaults to it on) and its nice not having to remember major/minor numbers for stuff like my iPod or my USB mouse.

    --
    A deep unwavering belief is a sure sign you're missing something...
  26. Re:took me a while to make it work... by defMan · · Score: 3, Informative

    From post-halloween-2.5.txt:

    - Older Direct Rendering Manager (DRM) support For XFree86 4.0) has been removed. Upgrade to XFree86 4.1.0 or higher.

    So, you need to upgrade to Xfree 4.1.0. I even saw Alan Cox mention that he needed Xfree 4.3.0 in some i810 testing.

    Check

  27. Re:Initial support for USB 2.0 by r00t_ur_b0x · · Score: 2, Informative

    High-speed is the faster one. USB2 high-speed is supported (at least somewhat) in the 2.4 kernel - at least it works in 2.4.20+ for me. I have read that 2.6 should have much better support for high-speed though.

  28. Re:How to install? by drwhite · · Score: 1, Informative

    hey, i got a good site for you...

    Here

    and if i can find the good site...ill post it...

    also try searching google and asking for help in iirc rooms...plus make sure you have a back-up kernel if compiling messes you up..

  29. Re:This is a big deal. by C0deJunkie · · Score: 2, Informative

    I personally can't wait to skim the change logs.
    I think someone has already done this for you ;-)
    Check that link for a complete and detailed list of "things to expect" in the next stable version, already merged in th 2.5 series.

  30. word of warning by Maimun · · Score: 5, Informative
    According to Alan Cox, there are security issues with 2.5.* (and thus with 2.6-test1)
    Last time I checked there were remote DoS attacks and local root attacks present in 2.5.7x
    See:

    Re: Linux v2.6.0-test1

    The whole thread is here Linux v2.6.0-test1

  31. Re:Difference? by Miles · · Score: 4, Informative

    They're using the new NTFS drivers. Check out:
    http://linux-ntfs.sourceforge.net/

  32. Re:BIO by kill-1 · · Score: 5, Informative
    From Dave Jones' write-up (link in the post above)
    CD Recording.
    ~~~~~~~~~~~~~
    - Jens Axboe added the ability to use DMA for writing CDs on ATAPI devices. Writing CDs should be much faster than it was in 2.4, and also less prone to buffer underruns and the like.
    - Updated cdrecord in rpm and tar.gz can be found at *.kernel.org/pub/linux/kernel/people/axboe/tools/
    - With the above tools, you also no longer need ide-scsi in order to use an IDE CD writer.
    - Ripping audio tracks off of CDs now also uses DMA and should be notably faster. You can also find an updated cdda2wav at the same location.
    - Send good/bad reports of audio extraction with cdda2wav and burning with the modified cdrecord to Jens Axboe
    - Currently only 'open by device name' works in cdrecord. cdrecord -dev=/dev/hdX -inq
    - More info at http://lwn.net/Articles/13538/ & http://lwn.net/Articles/13160/
  33. Re:timeslice and 'hyperthreading'?? by TeknoHog · · Score: 4, Informative
    You can change the HZ value yourself on 2.4 kernels right now in fact.

    I think it requires the CK patch to change it. The patch also includes other low latency features which can be quite useful.

    --
    Escher was the first MC and Giger invented the HR department.
  34. Re:Have they fixed SBP2 yet? by Cthefuture · · Score: 4, Informative

    Well, assuming that's a legitimate question and you're not just being a smart-ass (hard to tell)...

    I used rfstool.

    --
    The ratio of people to cake is too big
  35. Still the same problems since 2.5.68 by hacker · · Score: 5, Informative
    2.6.0-test1 is MUCH slower than 2.4.21 or 2.4.21-preempt-rml here. I see that the timing issues are still not fixed in 2.6.0-test1, and haven't been working since 2.5.68. I've reported this at least a dozen times to the appropriate people, with no fixes eminent yet.

    To test this issue out, run Sawfish, and bind a key like Ctrl-Alt-B to a black-background xterm. Launch X, and run Sawfish. Hit Ctrl-Alt-B once and see what happens. It's consistant here across about 6 machines, all different hardware.. a 3-4 second delay, then anywhere from none to 4 xterms will open up. On 2.4.anything, it opens the xterm instantly, and only opens one of them, not 3, not none.

    The other issue is that there's some underlying change in the TCP stack/net drivers that cause rsync and anything running over ssh/ipsec to fail with weird dropped-socket errors from the applications using them. Again, on 2.4, it works flawlessly.

    It's very annoying, and both of these are blockers for me and most of the machines I'd be running this on. It happens with anything that involves keyboard shortcuts; menu accels, launched applications, keybindings, everything.

    Changing to the different schedulers does not help; deadline, as, or cfq. 2.5.68 worked perfectly, and didn't have these anomalies, but every single kernel since that time, has had it. I've diffed, and I can't tell which of the dozens of changes actually broke this.

    If anyone has a solution, I'm all ears.

    1. Re:Still the same problems since 2.5.68 by Anonymous Coward · · Score: 1, Informative
      The other issue is that there's some underlying change in the TCP stack/net drivers that cause rsync and anything running over ssh/ipsec to fail with weird dropped-socket errors from the applications using them. Again, on 2.4, it works flawlessly.
      With me it's the opposite. With 2.4, I get pkt_too_big often, and it misreports my MTU. On 2.5, networking works beautifully.

      I have experienced major scheduler problems, though, and that's why I'm using 2.4 now.
    2. Re:Still the same problems since 2.5.68 by MSG · · Score: 2, Informative

      The bug you're seeing is in XFree86, not the kernel:

      https://bugzilla.redhat.com/bugzilla/show_bug.cg i? id=76959

      It looks like it will be fixed in the next version of XFree86:

      http://www.xfree86.org.ru/develsnaps/

      However, this doesn't address the problem you're having with the kernel being slow.

  36. Re:Does Linux 2.6 permit decent video capture? by PhracturedBlue · · Score: 2, Informative

    Well, it is better, but not wonderful. I also have a cheapish bttv style card, and have run both 2.4 and 2.5.* and 2.5 drops fewer frames but I still lose quite a few, though certainly not in regular intervals. This happens using virtually any encoder (nuv, mpeg4) at anything over 480x480 (and my cpu is only at about 50% from the capture/encoding when doing 640x480 which is my normal recording setting). you may want to try the triton1=1 and vsfx=1 insmod options mentioned in:
    Documentation/video4linux/bttv/README.quirks

    or increase the number of buffers (I use gbuffers=32)

    (the dma thing is a big deal too, so better check hdparm)

    These made my capture more stable, though it didn't do too much about the dropped frames). Also, 2.5+ includes the new 0.9 bttv drivers which support V4L2 and seem overall to perform better.

    Good luck. And if you want a kick-ass PVR, here is my plug for www.mythtv.org :)

  37. Re:How to install? by loadquo · · Score: 2, Informative

    Look for the kernel HOWTO in your distribution. Or online here

  38. Re:This is a bad idea.... by johnnyb · · Score: 2, Informative

    "Once the 2.6 series is out of its "testing versions" it is considered STABLE."

    This is not entirely true. First of all, the percentage of people willing to run test kernels is much less than it used to be. Therefore, the test kernels have not seen as many strange hardware configurations nor the same usage loads. In fact, they probably haven't seen hardly _any_ true production loads.

    When the .0 kernels are released, many people view them as stable, so the testing base increases. This exposes a lot more bugs and problems. Usually it takes about 5 - 10 releases for it to "really" become stable. In fact, Linus admitted when he labelled 2.4 as officially blessed with the .0 that he did so more to increase the test base than he really thought it was a production-ready kernel.

    I think the problem is that many people (including me) don't take the time to run our own tests on new kernels as a matter of course, and so the actual stabilizing of the kernel is being moved further and further back into the release cycle.

    One good thing though is that Linus is going to have a smaller role in the release cycle. Linus is much better at development than he is at making production releases, and kernels usually stabilize when he takes his hands off of them.

    For example, Linus wants things to be totally technically pure - which is great, except that most people want a working kernel today. That's what release managers do. They make the nasty bug-fixes and trade-offs that are not good long-term but get the problem fixed today. Linus' view is (and should be) in the long-term, while a release manager needs to look at getting it working today.

  39. Re:This is a big deal. by samhalliday · · Score: 2, Informative
    how the hell did this get modded up??? EVERY well-informed linux user on the planet, ESPECIALLY slashdotters, know that x.EVEN.z releases are stable, x.ODD.z are development, and the transition from an odd to even release is entirely stability related. therefore, there will be NO new major revamps of core components (hopefully) unless an emergency comes up... like the 2.4.8 vfs fiasco.

    meta-moderators, you know what to do...

  40. Re:This is a big deal. by Anonymous Coward · · Score: 2, Informative

    Linus isn't one to just slap another number on there, notice they are usuallly things like 2.4.25-10

    No.

    That extra -10 is something that dicks like REDHAT add onto the stock kernel because they have patched it, tweaked it, or fucked with it so it's no longer a standard Linux kernel.

    See Slackware or Debian for examples of proper kernel packaging.

  41. wow... by sdaemon · · Score: 3, Informative

    holy sweet jesus, huge noticeable performance difference on my athlon 650, going to 2.6.0-test1 with the new scheduling algorithms and the preemptive kernel mod... much, much better performance under heavy loads than it was with 2.4.20

  42. Re:Have they fixed SBP2 yet? by Anonymous Coward · · Score: 1, Informative

    Use Total Commander (shareware) and ext2 plugin. This plugin can mount ReiserFS too (tested on my notebook with Mandrake 9.0 and Windows XP Home.

  43. Re:Linux/PPC by jrockway · · Score: 2, Informative

    Ah, ok. You need to enable "Generic IDE Support" AND "PowerMac IDE Support". A .c file in generic ide support EXPORT_SYMBOLs the necessary constants :)

    Let's see if it boots...

    --
    My other car is first.