More On The 2.6 Kernel 58
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.."
Sound Support (Score:5, Funny)
Re:Sound Support (Score:4, Insightful)
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.
Re:Sound Support (Score:2)
Re:Sound Support (Score:4, Informative)
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 [sourceforge.net], 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.
Re:Sound Support (Score:2, Funny)
"ALSA is released under the GPL (GNU General Public license) and the LGPL (GNU Lesser General Public License)."
am I missing something obvious?
Re:Sound Support (Score:3, Informative)
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.
Re:Sound Support (Score:2)
Re:Sound Support (Score:1)
Re:Sound Support (Score:2)
Re:Sound Support (Score:1)
2.6 (Score:2)
I'm glad that they could improve the kernel from both ends at the same time; big(ger) irons and the deskptop.
It should be a nice xmas.
Re:2.6 (Score:1)
Re:2.6 (Score:2, Informative)
Some say it's already more stable than 2.4 is.
usb-storage and ntfs (Score:5, Interesting)
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?
Re:usb-storage and ntfs (Score:2)
-molo
Re:usb-storage and ntfs (Score:5, Informative)
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.:
Re:usb-storage and ntfs (Score:3, Informative)
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.
Re:usb-storage and ntfs (Score:1)
[smartass] So that'll come in handy for hex editing. [/smartass]
Re:usb-storage and ntfs (Score:2)
Very funny
But what it will come in handy for, amongst other things, is having a linux-filesystem-within-an-NTFS-file (a bit like the old UMSDOS filesystem) for those people who want to try out Linux, but who don't want to go to the trouble of re-partitioning their disks (with the associated risks of losing data).
Not an ideal solution (certainly performance-wise) - but faster than running (Knoppix-style) from a CD-ROM drive, and allows you
Re:usb-storage and ntfs (Score:2)
Re:usb-storage and ntfs (Score:2)
The NTFS driver has been patched to do r/w on NT4 pretty well, but not on NT5/5.1, which I believe it will corrupt if you even mount it rw.
In 2.4 USB mass storage devices show up as a scsi de
both their fault.. (Score:5, Informative)
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
Re:both their fault.. (Score:2)
Bzzt. You lose, DMA works just fine with ide-scsi.
Just use hdparm on
Re:both their fault.. (Score:2)
-molo
Re:both their fault.. (Score:2)
Re:both their fault.. (Score:3, Informative)
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.
Re:both their fault.. (Score:3, Insightful)
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...
Re:both their fault.. (Score:2)
Re:both their fault.. (Score:2)
not relevant to my comment... You'll notice I didn't comment on him being an ass at all. In fact, I'm not in a position to call him an ass but those who are bitching about him have got the solution in their own sticky little mitts...
Just imagine if it were a highly usefull but entirely closed source piece of utility software that had problems, you knew what they were, but the author refused to fix them... you'd be up the swannee then without a paddle.
Re:both their fault.. (Score:1)
Your comment wasn't relevent to the parent - it's reasonable to call him an ass whether or not they fork or not.
Re:both their fault.. (Score:2)
???
So he, as the developer of a major application, os not going to upgrade his kernel because he's no longer getting free copies of commercial Linux distros? Sounds to me like it's
Re:both their fault.. (Score:2)
Linus is right when he said "ide-scsi has always been broken. You should not use it, and indeed there was never any good reason for it existing AT ALL." FreeBSD has recently gotten a simil
Linux SCSI subsystem a gripe of JS for years (Score:4, Insightful)
Joerg has complained about Linux for years (4? +5?), and generally perfers the SCSI subsystem in Solaris.
Can someone tell me (Score:2)
Re:Can someone tell me (Score:2)
I'm with you. I don't get the complaint except that he doesn't like how Linux implements SCSI. He seems really annoyed, though I don't understand the technical nat
Is this the line to bash Principal Skinner? (Score:1)
Re:Can someone tell me (Score:3, Interesting)
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.
Re:Linux SCSI subsystem a gripe of JS for years (Score:2)
Re:Linux SCSI subsystem a gripe of JS for years (Score:1)
Two Things. (Score:2)
Second -- What is the "good" way for me to get my usb-storage digital camera to work? Or for that matter my USB harddrive?
Woe is me!
Re:Two Things. (Score:2)
I don't believe it does. I have machines that access USB Mass Storage Devices and do not have IDE-SCSI enabled.
Re:Two Things. (Score:2)
USB hard-drives, digital cameras, even all-in-one printers work the same way, so once you've solved it for one you've solved for all. The only headache I have is that /dev/sda will always be the first thing you plug in after a reboot...
To get them to work, see the The Linux USB sub-system Chapter 2. How to get USB devices working under Linux [linux-usb.org]
Re:Two Things. (Score:3, Informative)
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: addin
Re:Two Things. (Score:2)
I'd guess we'd have to call it "Linux for Workbenches".
Re:Two Things. (Score:3, Interesting)
Re:Two Things. (Score:3, Informative)
Re:Two Things. (Score:2, Informative)
ACPI (Score:3, Informative)
ide-scsi bug is also in 2.4, causes DATA LOSS (Score:2)
If you burn a data CD without padding on the end, and the size is just wrong for your kernel/buffer/hardware combination, and you then rip it on a CD-R drive which is driven by the ide-scsi driver (rather than ide-CD) using "dd" without specifying the actual size, the iso image you rip may very well be truncated by up to 300K!. Read the cdrecord manpage if you don't believe me! The problem is th