Sorry about the reaction, but ATA:0,0,0 is *definitely* the wrong way to address your CD drive nowadays. (ATAPI:0,0,0 is just as bad, but only because I can never remember which of those two uses which ioctl set. One uses a horrifically bad ioctl that shouldn't even be in the kernel (something CDROM specific, IIRC), and the other uses SG_IO. SG_IO is correct; it's supported on any IDE disk device now, and works a *LOT* better than the CDROM-specific ioctl.)
The best way to specify a disk device in cdrecord is to use /dev/sdX or /dev/hdX directly. That way you don't have to worry about which bus-type you're using, and which ioctl layer cdrecord is going to use; choosing the device name directly uses SG_IO as well, and has no similar syntax that uses something broken, so it's not subject to confusion. ;-)
(Now, that doesn't mean that you won't get this error using the device file directly. And you will get warnings from the cdrecord author, unless your distro removed those -- but you can ignore those warnings; they're pretty much useless. The interface works better than anything else, even if it's officially unsupported.)
Now, to see if I can find the LKML post that explained this... Ah, here it is. (Be sure to read all of it: the original explanation of ATA vs. ATAPI is backwards.) :-) |