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.."
Wow it only took 10 years to get reliable sound support into the kernel ;-)
Hopefully 2.6.0 will be decently stable from the get go and won't get the bad reputation that early 2.4 had.
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.
Treehugger? Treehugger... Treehugger!
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
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.
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.
One -- I didn't know usb storage used ide-scsi. Stupid me.
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!
What comes first, finding a teacher or becoming a student?
...what exactly are the issues that Joerg has with Linux's SCSI layer? I've heard about this in bits and pieces for years, but never really understand what the beef is. I've heard it mentioned that he wants to only talk to devices as if they are SCSI, but I don't know how true this is, nor what the real issues he has beyond this are. Anyone?
Flamebait perhaps, but its true. I have continually challenged BSD zealots to show me somewhere FreeBSD is faster than Linux. They can't. They change the subject, dismiss its relevance, attack the most minor points of my posts, but NEVER, not ONE has admitted that Linux is faster than FreeBSD. Even when faced with facts.
Of course, when FreeBSD users believe they have the performance advantage, its the best thing since sliced bread. Like when they all thought FreeBSD runs Linux binaries faster than Linux... it actually didn't, but you get the idea.
Count me in then. I remember reading his site back when I got my first burner. He's got (had?) a chart outlining his opinion of varied *nix SCSI implementations. IIRC, Solaris and BSD came out pretty good and Linux was roundly trashed. Yet there were no reasons offered for his remarkably low opinion. When I say "remarkably" I mean that Linux failed in a class of B+ to A students (according to him). I know nothing about comparative SCSI transort layers so I assume he could be correct, but I have never found any technical clue as to what inspires his distaste.
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.
FreeBSD folks are very quiet about objective benchmarks. FreeBSD consistently gets its ass creamed by the benchmark results.
There's a dirty big ad for IBM covering the text and any links to the story that might be there.
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 that at the end of the disk, an i/o error is flagged, and data in a certain buffer is not returned.
FUCK ide-scsi. Something with that kind of bug shouldn't be in the kernel.