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 ;-)
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.
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
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?
I think udev (user space replacement for devfs) is supposed to solve this.
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!
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??
Supposedly it will also allow dalutong to call his usb devices "camera" and "external_drive" (or whatever he wants). Very cool stuff.
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.