Slashdot Mirror


New Features For 2.5 Linux Kernel

An anonymous person writes "The current development version of the Linux kernel is 2.5. At the recent Linux kernel summit, it was agreed to have a "feature freeze" on this kernel by October 31, 2002. Here's a story looking at what's left to be merged before the freeze. Projects most likely to make it into 2.5 (and thus be a part of the next stable kernel, 2.6), include: the reverse mapping VM, the Linux Security Module framework, User Mode Linux and support for filesystems greater than 2TB."

25 of 141 comments (clear)

  1. To infinity, and beyond! by Dirtside · · Score: 4, Interesting

    So what I'm wondering is, wouldn't it be possible to invent a disk addressing scheme which basically self-extends, so that you would never really need to manually change things to support disk sizes beyond a certain size? In other words, depending on how big your hard drive is, the addressing method would change to address sectors of a certain size, keeping the need for indexes/tables/whatever down to a certain size, etc.?

    --
    "Destroy science and religion. Science would re-emerge exactly the same; but not religion." - Penn Jillette, paraphrased
    1. Re:To infinity, and beyond! by Christopher+Thomas · · Score: 5, Insightful

      So what I'm wondering is, wouldn't it be possible to invent a disk addressing scheme which basically self-extends, so that you would never really need to manually change things to support disk sizes beyond a certain size?

      Finishing moving disk-related parameters to 64 bits makes this largely unnecessary. It is extremely unlikely that we'll have to worry about devices with more than 2^63 blocks for a very long time (with 1k blocks, this would be eight [us] billion terabytes).

      Having the OS scale block size instead of just using a sane parameter width leads to much nastiness (remember how much fun FAT16 was).

    2. Re:To infinity, and beyond! by Ami+Ganguli · · Score: 3, Insightful

      We may need it some day, but figure 64 gig (2^36) is a reasonable hard disk size today. Then assume that hard disk size doubles every year. We won't be running into the 64 bit limit for another (64-36=) 28 years!

      By that time all of our computers will be using 256 bit words, or maybe word-sizes won't really exist anymore. Who knows. Certainly Linux will have morphed into something entirely different. It's pointless trying to plan that far ahead.

      Also, there is in fact some limit to hard disk size, we just don't know what it will be yet. I have a 10gig drive in my laptop, and really I just fill it up with crap. I don't need half that much room. Until I start saving movies on my laptop I'll never need 80 gig. We'll run into physical limits too at some point.

      --
      It is tempting, if the only tool you have is a hammer, to treat everything as if it were a nail. - Abraham Maslow
    3. Re:To infinity, and beyond! by bruthasj · · Score: 5, Insightful

      > for a very long time

      Let's compute this long time, just for fun. Let's see, we've got to assume a bunch of crap before we can compute a specific time for this. Using data from this and this, let's assume that the current largest hard drive size on the market is 180GB with a doubling rate now at 9 months. (The 80s saw 30% growth annually, 60% in the 90s and 130% now.) Unlike processors, which have been steadily doubling every 18 months thanks to Mr. Moore, it appears that the growth rate itself for storage capacity is doubling every 10 years. Go figure.

      Let's use this, blow some hot air and molest these numbers a little bit.

      180 * 2 ^ p = 8 billion TB

      p = periods of doubling = 36

      Using a flat constant growth of 130% this would equal to

      36 * 9 = 324 months / 12 = 27 years

      Now, we see crossed 2 periods of doubling in growth, but can storage technology really experience growths of 260% or 520% annually. I'd have to say not, so I'll just give up computing the time given the growth of the growth right now. That's an assignment left to the reader -- I'd say it has to do with "e".

      Anyhow, the reality is:

      1) No one will ever read this comment since the article is so far down on the front page.
      2) We'll have quantum computers in 10 years that will use unlimited-bit numbers to access unlimited capacity storage devices.

      Ok, I'm all babbled out...

    4. Re:To infinity, and beyond! by Citizen+of+Earth · · Score: 3, Informative

      Keep in mind that there are only 10^80 (2^265) subatomic particles in the universe.

  2. Serial ATA support - why? by yem · · Score: 5, Interesting

    From the TODO:

    Would be nice to have before feature freeze, but most likely 2.7:
    ...
    o Serial ATA support

    From serialata.org:

    Q13: When does Microsoft plan to support Serial ATA in its OS's?
    A13: Serial ATA is software compatible with Parallel ATA and requires no changes to Microsoft operating systems, or any other OS as well.

    If this is a drop in replacement for parallel ATA, why is support needed in the linux kernel?

    --
    No, I did not read the f***ing article!
  3. mounting floppies, CD's and DVD's by oever · · Score: 5, Interesting

    I'd like to install linux on my Mom's new computer, but the mounting of disks should be a lot easier. All we regular linux users are very accustomed to it, but really, it's rediculous.

    It possible to jerk out my netword PC-Card. The network is closed down nicely. Reinsert the card and the network restarts.

    But if I put a floppy in the drive, I cannot read it by default. Aargh. Sure, I can use automount, but then it's not safe to just remove the floppy.

    And for the CD it's even more weird. A CD/DVD player has a button. This is disabled when I mount a CD. So a mounted CD cannot be ejected. Yet, mounting the CD when it is inserted. That's apparently asking too much.

    It's great that so many new features go into the kernel. But why can't a simple feature like this make it into the kernel. There's no lack of patches.

    --
    DNA is the ultimate spaghetti code.
    1. Re:mounting floppies, CD's and DVD's by yobbo · · Score: 4, Insightful

      supermount is entirely adequate, IMO. Sure there may be dangers removing floppies, but then again, do we *really* need floppies still? I thought we were over the days where we'd save our documents to 8 different disks and hope one of them worked when we got to work...

    2. Re:mounting floppies, CD's and DVD's by yem · · Score: 3, Informative

      You probably want supermount. Just ask google.

      Here's a patch for 2.4.18:
      http://espectro.hypermart.net/supermount. patch

      The latest version of Mandrake Linux includes supermount and I've grown to like it. It would be nice to have it in the kernel, even if it was marked EXPERIMENTAL.

      --
      No, I did not read the f***ing article!
    3. Re:mounting floppies, CD's and DVD's by rossz · · Score: 4, Insightful

      The need to mount and unmount CD/DVDs has been one of my pet peeves. Hell, Windoze can detect when a new disk is inserted and even launch stuff (which is annoying but can be disabled). So use the same technique and automount the damn thing. And when the eject button is pressed, catch that and umount. If the Microsoft programmers can do it, it can't be all that hard!

      --
      -- Will program for bandwidth
    4. Re:mounting floppies, CD's and DVD's by DGolden · · Score: 5, Informative

      I find a deeper problem with removable disks on Linux and Windows: ranted about this at length on LKML a while back. I'm now trying to do something (possibly misguided) about it. The basic problem is that a disk is not the drive it is in.

      both Unix and Windows, in general, assume it is. You don't copy a file to "disk xyzzy", you copy it to "A:" or "the filesystem mounted on /dev/fd0" - /dev/fd0 identifies a drive, not a disk!

      The amiga got this right:
      a disk became part of the filesystem based on its label/id, if possible -
      so I could say "copy mfile.doc to xyzzy:mydocs", and if the disk xyzzy was unvailable, the system would prompt for it, while the copy process blocked waiting for it. If I put it back in a different drive, the system didn't care.

      I'm currently casting an eye over the linux block device and filesystem code with a view to mangling into something vaguely amiga-like - but I'm not really even a C programmer (more of a Lisp guy), so I make take a while.

      Basically, a disk contains a set of blocks. Some or all of those blocks may be accesible via a block device file. But you should be able to mount the filesystem "on the set of blocks of the disk", not the set of blocks currently accessible by a particular drive - disk partitioning schemes still have one or two fields to facilitate this, the disk label/name and/or a uniqueid.

      If I have a disk labelled "peaches", I want it part of the filesystem at e.g. /mnt/peaches, and if I have two drives, I don't want to have to care about what drive it is in!

      --
      Choice of masters is not freedom.
    5. Re:mounting floppies, CD's and DVD's by Hawke · · Score: 3, Informative
      oever says:
      Sure, I can use automount, but then its not safe to just remove the floppy.

      $ more /etc/auto.master
      # Format of this file:
      # mountpoint map options
      # For details of the format look at autofs(8).
      /misc /etc/auto.misc --timeout=1

      A 1 second delay good enough? There are still some details about remembering to change out of any automounted subdirectories, but this setup "Works For Me(TM)"

      I also use the CD like this, and have setup some view profiles for Konqi that start in the directory. Now I can buttons on the desktop I click to look at the cd... and no need to care about mounting/unmounting it.

  4. Left Out and Left Behind by tarsi210 · · Score: 3, Informative
    Now, someone correct me, but it sounds like a lot of really really necessary crap is (probably) going to be left out of the 2.5 kernel (which will become 2.6 stable eventually). I'd like to mention a few here and why I'm stunned that they probably won't make it.
    • Add XFS (A journaling filesystem from SGI) - Excuse-the-hell me? Isn't the idea to get journaling filesystems in to the kernel because that's what everyone wants? XFS is proven, get it the heck in there.
    • Asynchronous IO (aio) support - This is really surprising in some ways. IIRC from the kernel summit summary, this was a hot topic and argued vehemently. Even Linus agreed it was a Good Thing(tm) and should be done. If I also remember correctly, it's a hell of a lot of work, so I can justify that.
    • Full compliance with IPv6 - Ok, for crying in my lukewarm beer, this needs to get in there, folks. IPv6 needs to get going and you're not helping.
    • ext2/ext3 large directory support: HTree index - Sounds like something that enterprise Linux people would enjoy, yes?
    • Remove the 2TB block device limit - Ditto.
    • Overhaul PCMCIA support - Ogg heat metal. Ogg form new stick from copper, copper much better than wood stick. Ogg progresses. Anyone else think that PCMCIA sucks under Linux? It could use an overhaul in a large, hairy, neanderthal way.
    • Reiserfs v4 - See the comment above about XFS.
    • Serial ATA support - I don't know how close this standard is to manufacturing, but it certainly sounds like this is the way that hardware is going (and bless them, too.) Probably a good thing to NOT leave in the dust.
    That about does it for the ones that make me cringe uncomfortably. Past that, I can rationalize the other ones out. These just flick that, "Whoa, aren't you making a mistake?" light inside my head.

    And would anyone care to comment on the SCSI interface? According to the kernel summit, there was going to be much code yoinkage and redoing for the entire subsystem. Where does that play in the 2.5 freeze?
    1. Re:Left Out and Left Behind by yem · · Score: 3
      * Add XFS (A journaling filesystem from SGI) - Excuse-the-hell me? Isn't the idea to get journaling filesystems in to the kernel because that's what everyone wants? XFS is proven, get it the heck in there.

      Easy there - XFS has been available available for months for those that really want it. It'd be nice to have it in the base kernel, but its not like you're going without.

      I'd like to know exactly what hasn't been implemented in IPv6...

      --
      No, I did not read the f***ing article!
    2. Re:Left Out and Left Behind by RussGarrett · · Score: 3, Informative

      Full compliance with IPv6

      Exactly what isn't compliant with IPv6 in the current (2.4) kernel? I'm currently using stock unpatched 2.4 to run a web server over IPv6 quite happily. It's the applications that are lacking support. Hell, with radvd it's functioning as a full 6-to-4 router for my home network.

    3. Re:Left Out and Left Behind by Ami+Ganguli · · Score: 3

      Depends on how you look at it. If the feature freeze holds (a big 'if') then 2.7/2.8 will follow in reasonable time. There's always a next version.

      The danger is that the feature freeze holds just well enough to keep a few important features out, but not well enough to bring a stable 2.6 quickly. That's pretty much the worst of both worlds.

      I'm hopeful anyway. I think everybody is serious about getting the release cycle shorter.

      --
      It is tempting, if the only tool you have is a hammer, to treat everything as if it were a nail. - Abraham Maslow
    4. Re:Left Out and Left Behind by Screaming+Lunatic · · Score: 3, Informative
      Full compliance with IPv6

      Exactly what isn't compliant with IPv6 in the current (2.4) kernel? I'm currently using stock unpatched 2.4 to run a web server over IPv6 quite happily. It's the applications that are lacking support. Hell, with radvd it's functioning as a full 6-to-4 router for my home network.

      Here's a little info . Doesn't go into specifics. Follow the links and you end up here .

      They key is the "my home network" part. The router for an autonomous system would probably require full support. I'm running RH7.3 (kernel v2.4.18) and i don't see kame dancing.

  5. My project by Alsee · · Score: 5, Funny

    support for filesystems greater than 2TB

    Ah, good! This has been a major stumbling block for me. I've been writing a guide and I hit the 2TB ceiling. My target market is hitchhikers.

    -

    --
    - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  6. are you new here? by Xtifr · · Score: 4, Funny

    The kernel developers know what a feature freeze is. There's no quotation marks around it in the referenced article. The quotation marks in the slashdot headline came from an "anonymous person" somewhere, and the slashdot "editors" decided to leave it there because they are "editors", not editors.

    #include <usual lecture about reading the article before commenting.h>

  7. Re:My Question: Why Does [s]locate Exist? by jrfonseca · · Score: 3, Informative

    Both alocate and the FS table index the content of a disk but with different purposes _and_ structures.

    FS has a tree alike structure (which maps directly to the directories and files) to easily get from a file name to its position on the disk.

    [s]locate has progressive encoding (from their website http://www.geekreview.org/slocate/) which maps from name fragments to their complete name.

    Another difference is that slocate database structure is difficult to update, and you wouldn't want to do that everytime you rename/add/delete a file...

    Note that I'm not an expert, and this is just my (incomplete and perhaps even wrong) understanding .

  8. kbuild? by spongman · · Score: 4, Interesting
    how about kbuild that has been ready for a fucking eon? yeah, yeah, it's a big patch, so were the first few that went into 2.5, and kbuild2.5 was ready then, too. and still we wait for kai to pretent he's helping...

    politics: from the greek: poly:(adj.) many, ticks:(n., pl.) blood sucking animals.

  9. In kernel checkpoint support? by maynard · · Score: 3, Interesting

    I'd really like to see one of the checkpoint patches includeded in the mainline kernel series. There are several to choose from: EPCKPT, CRAK, CP.... Which one doesn't matter (feature wise), they all basically allow for the kernel to stop a process, save it's state and pages to a file, and then load and restart that process by request.

    Yes, I could distribute a patched kernel across all of my systems. But then I'm tied to that kernel until whichever project I'm following updates their patch (or I update it myself, and I don't consider myself competent as a kernel hacker). This would be a really useful mainline feature for those of us in the scientific computing community. Wasn't there some talk of one of these going in 2.6 proper? --M

  10. So much for Enterprise Linux by baptiste · · Score: 3, Interesting
    While I understand that you have to draw the line somewhere and that it can be difficult to deal with such far flung development groups with their own priorities. BUT...

    Why is XFS still not considered ready? Its in almost every major distro except for RedHat. Heck - the XFS team even provides custom XFS RedHat installer iso's to fill in the gap. XFS v1.1 is already released and is being used on huge fileservers in production all the time. Why can't we get past the 'we don't like the way you tweaked module X' and finally move forward.

    I wish EVMS was going to be ready - this is going to be huge for enterprises - finally a unified, feature rich storage manager.

    LVM 2.0 - well, I'd rather ensure 1.x is super stable (it is so far for me) so this isn't as big a deal.

    Serial ATA - Bummer. I realize this is new. But I get the feeling Serial ATA is going to be huge, especially for lower end servers. Finally getting real hot plug support and a setup that'll make things easier on the HW RAID vendors (I can't wait to see a Serial ATA card from 3-Ware!) I would hope this would be flagged as something to be merged into 2.6 as soon as its possible, even if marked experimental.

    Don't get me wrong - I'm really psyched for 2.6, but there are some features (whose development is out of the control of the core kernel team) we really need, to push Linux farther and farther into the enterprise. I know you can patch in what you want - but many IT folks, even Linux zealots, are wary of doing so in production - they want stock RedHat kernels so they can tell their boss its gone through RedHat Q&A and all that. Its CYA sure, but necessary in many environments. Granted RedHat often adds stuff not in the stock kernel, but not usually hueg features.

  11. LSM to be included - yay! by sasha328 · · Score: 3, Insightful

    I think it is about time that the LSM (or anything similar) was included in the kernel. When it comes to access control, I think Windows NT/2000 wins hands down against Linux.
    I know I am running the risk of being modded down for saying that Win2K is way ahead of linux (or other *nix for all I know) but in the real world of file sharing, we use permissions and auditing quite a lot; these are not always black and white (what linux is currently capable of) permissions, they are often varying shades of grey.
    Hopefully, with LSM, this will change even if it is in the future (1 year? 2 years?)
    For a good explanation of the LSM, read this from NSA/SELinux

  12. Re:Support for mounting NTFS by Zapdos · · Score: 4, Informative

    3.2 How do I get Linux to understand NTFS?
    There are two ways to get NTFS support. The simplest is to add the NTFS module to the kernel (as root):

    modprobe ntfs

    If this fails, modprobe: Can't locate module ntfs, then your distribution didn't install the NTFS module.

    The second way is to recompile the kernel, yourself. This sounds like a lot of work, but it isn't that hard. Have a look at the section: How do I add NTFS support to Linux?

    3.3 Can I write to an NTFS Volume, too?
    NO.

    There are two drivers, currently. The original driver, in 2.4 has some write code in it, but it is extremely dangerous to use it. The possibility of destroying your filesystem is very high.

    The new driver, introduced in 2.5.11, has no write code at all. This may sound like a backwards step, but it was necessary to rewrite the driver in order to make the future coding simpler and more solid.

    Adding write support will take a long time. NTFS is built like a database. Any changes you make, necessitate making changes in many places, for consistancy. Make a mistake and the filesystem will be damaged, make too many mistakes and the filesystem will be destroyed. Also, the current developers are only working on NTFS as a hobby, during their free time. If you'd like to help, please email: webmaster@flatcap.org.