Slashdot Mirror


More On The 2.6 Kernel

Jan Stafford writes points out an article in which "SearchEnterpriseLinux.com expert Ken Milberg digs under the hood of the upcoming 2.6 Linux kernel and examines the benefits and opportunities it presents for Linux in the enterprise." And Semaphore writes "Linux.com is running a great article on the future of ide-scsi in 2.6. It seems Linus and Joerg Schilling, author of cdrtools disagree on whether the problems are with Linux or the application software. Interesting read.."

19 of 58 comments (clear)

  1. Sound Support by voss · · Score: 5, Funny

    Wow it only took 10 years to get reliable sound support into the kernel ;-)

    1. Re:Sound Support by Spoing · · Score: 3, Insightful
      Wow it only took 10 years to get reliable sound support into the kernel ;-)

      That's not insightful, it's funny.

      On a serious note, I've used the OSS modules for 5+ years, and it's worked well for me. Alsa is quite nice and I'm glad to see it as the default in the kernel now, though OSS is not unreliable by a long shot.

      --
      A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
    2. Re:Sound Support by MrHanky · · Score: 3, Informative

      No, it didn't. At least not in the way the article describes. Playing mp3s went quite well when I started using Linux, back in 1999 (Red Hat 6.0, Linux 2.2.5, on a 166 MHz Pentium MMX). The OSS sound drivers weren't great, but they were enough to let an IT manager listen to System Of A Down, even though their debut album from 1998 wasn't quite as good as Toxicity (2001). mp3 folks shouldn't notice much of a difference, despite what TFA says.

      ALSA is a good architecture, with a proper API, and should provide better support for the kind of audio musicians need: lower latency, better mixing, MIDI control, and so on. It should be used in conjunction with JACK, the low latency audio server, for that kind of application. Yes, for real multi-media work, ALSA is a lot better than OSS, and probably a necessity, but OSS was quite reliable for just playing or recording sound.

    3. Re:Sound Support by norkakn · · Score: 2, Funny

      wait.. isn't alsa oss?

      "ALSA is released under the GPL (GNU General Public license) and the LGPL (GNU Lesser General Public License)."

      am I missing something obvious?

    4. Re:Sound Support by natmsincome.com · · Score: 2, Informative

      OSS = Open Sound System (I think) not open source software :-)

      OSS was fine for playing music but you couldn't do things like fade from one song to the next so you'd get a "hss" or "pop" between songs if you had a cheap sound card.

  2. usb-storage and ntfs by asteinberg · · Score: 4, Interesting
    The first article mentions a rewritten NTFS driver that supports read/write - I thought that the NTFS driver is still (and always will be, aside from the recent story about using Windows' ntfs.dll) considered "experimental", right? Perhaps it will still be labeled that way but will actually be solid enough to use? Anyone know?

    Also, the second article mentions potential problems with usb mass storage devices (flash card readers, digital cameras, etc.) but never really draws any conclusions about how they will work - any ideas here?

    --
    The first ever Ultimate Frisbee video game: here (now
    1. Re:usb-storage and ntfs by Josh+Booth · · Score: 5, Informative

      A while ago the NTFS guys announced that you can indeed write to NTFS, as long as you don't make any new files and don't extend or shorten the length of any existing ones. Not really full write support, but something.

      About the usb mass storage devices etc., I suppose that certain features depend on having a SCSI interface, which is provided for non-SCSI devices by ide-scsi. I didn't realize that they need ide-scsi or a SCSI-like interface, and maybe they don't, but if they need ide-scsi and ide-scsi is broken, then people are in trouble. The reason I say that they might not need ide-scsi is that there apparently was an older SCSI interface that used bus/dev/lun addressing (Ex.: 0/1/0) and newer interfaces have been created. Linus wants to keep in the Unix spirit and just use device files (Ex.: /dev/sg0).

    2. Re:usb-storage and ntfs by AJWM · · Score: 2, Informative

      I didn't realize that they need ide-scsi or a SCSI-like interface, and maybe they don't

      They don't need ide-scsi. They (eg, USB storage devices, which might well be flash rom rather than actual disks) need some kind of interface so that they look like something you can put a filesystem on -- and the SCSI protocol (command level) is it. However, the non-IDE devices (USB, 1394, etc) that need it have their own interfaces to the SCSI module, not ide-scsi.

      --
      -- Alastair
  3. both their fault.. by molo · · Score: 4, Informative

    ide-scsi is mainly used by cd-burning software such as cdrdao and cdrecord (and their frontends). This works fairly well in the 2.2 and 2.4 kernels. However, it does lack some serious functionality: DMA support. Not having DMA support for ide-scsi means that burning takes up a lot of cpu time and it is very easy to cpu-starve the cd-burning software resulting in a bad burn.

    This might have never came up if ide-scsi was properly functioning.. but somewhere along the 2.5 series, it became mostly broken.

    Linus's solution? Fix the ide-cd interface to pass ATAPI generic instructions (analogous to SCSI generic) and enable DMA for those devices. This requires userspace software changes in cdrecord and cdrdao's scsilib (they share that code). This enables you to run cdrecord --dev=/dev/hdc and have it work.

    ide-scsi in 2.6 remains mostly broken. This is a problem for people who use ide-scsi for devices other than cd-r drives, such as zip drives or IDE tapes. A lot of zip drive and tape software was written only for scsi interfaces. ide-scsi lets people use their cheaper ide components with that software.

    Where does this leave us?
    1. the kernel should have supported burning to atapi devices directly a long time ago.
    2. the cd-r software should certainly support burning to atapi devices now (cvs versions of cdrecord and cdrdao support this).
    3. ide-scsi should be fixed, but NO ONE IS SENDING PATCHES.
    4. ide-cd works for most people, but is not 100%. It doesn't work with my hardware (even for reading CDs). This makes me go back to 2.4 for CD burning.

    What should be done?
    1. if you use ide-scsi for things other than cd burning and you want to upgrade to 2.6, take a look at the driver and try to fix it. Submit a patch.
    2. upgrade your cd-r software.
    3. report ide-cd problems to Jens Axboe and the LKML.

    Oh, and the author of cdrtools (cdrecord) just wants to talk SCSI to everything and not care what the device actually is. I'm not quite sure why.

    Thats it. End of story. Try ide-cd. Drop ide-scsi.

    -molo

    --
    Using your sig line to advertise for friends is lame.
    1. Re:both their fault.. by PyromanFO · · Score: 2, Informative

      "Oh, and the author of cdrtools (cdrecord) just wants to talk SCSI to everything and not care what the device actually is. I'm not quite sure why."

      I don't want to sound like a troll but basically the guy is an ass. Just go read some of his posts and draw your own conclusions, but there are alot of things wrong with cdrecord that could be fixed and he simply refuses to do it.

    2. Re:both their fault.. by advocate_one · · Score: 2, Insightful
      "but there are alot of things wrong with cdrecord that could be fixed and he simply refuses to do it"

      Why does he have to fix it??? You have the source code... isn't that what all the fuss is about Open Sorce Software... the big advantage you have in having the source code available???

      If he ain't gonna fix it, then fork it and get on with it...

      --
      Donald 'Duck' Dunn: We had a band powerful enough to turn goat piss into gasoline.
  4. Linux SCSI subsystem a gripe of JS for years by Spoing · · Score: 3, Insightful
    Linus and Joerg Schilling, author of cdrtools disagree on whether the problems are with Linux or the application software.

    Joerg has complained about Linux for years (4? +5?), and generally perfers the SCSI subsystem in Solaris.

    --
    A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
  5. Re:Two Things. by MacJedi · · Score: 2, Informative
    You can solve this by putting labels in /etc/fstab rather than a direct reference to /dev/whatever (at least for certain fs types.
    From the fstab manpage:

    Instead of giving the device explicitly, one may indicate the (ext2 or xfs) filesystem that is to be mounted by its UUID or volume label (cf. e2label(8) or xfs_admin(8)), writing LABEL= or UUID=, e.g., `LABEL=Boot' or `UUID=3e6be9de-8139-11d1-9106-a43f08d823a6'. This will make the system more robust: adding or removing a SCSI disk changes the disk device name but not the filesystem volume label.

    --
    2^5
  6. Re:Two Things. by dalutong · · Score: 2, Interesting

    I have them working -- and i also find it annoying that i can't make my /dev/sda ALWAYS be my camera and /dev/sdb always be my external drive. (you'd think there would be a way... i could grep the scsi bus... but i don't know how to make scsi0 be sda or anything else)

    --

    What comes first, finding a teacher or becoming a student?
  7. Re:Two Things. by cbcbcb · · Score: 2, Informative

    I think udev (user space replacement for devfs) is supposed to solve this.

  8. Re:2.6 by SanityInAnarchy · · Score: 2, Informative

    It already runs great on my laptop _and_ my webserver. As long as I stay away from decidedly unstable things (preempt, swsusp, intermezzo) it works.

    Some say it's already more stable than 2.4 is.

    --
    Don't thank God, thank a doctor!
  9. Re:Can someone tell me by Wolfrider · · Score: 2, Interesting

    IIRC:

    o It has to do with error-reporting (or the lack of it) in Linux

    o Talking to everything as "0,0,0"-type SCSI makes cdrecord easier to port.

    --
    .
    == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
  10. Re:Two Things. by Crazy+Eight · · Score: 2, Informative

    Supposedly it will also allow dalutong to call his usb devices "camera" and "external_drive" (or whatever he wants). Very cool stuff.

  11. ACPI by osho_gg · · Score: 3, Informative

    This chap seems to have completely missed the new and much improved support for ACPI. This is a significant feature addition for linux on laptops. APM does leave a lot to be desired.