Just as an extra data point...
I've compiled the test program an ran it on my ICH7/Pentium D box running
2.6.24-rc1-192-gef49c32 (x86_64), but it does not give the error and
nothing in dmesg. I just get:
result 0
My SATA DVD-RW drive is:
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: Optiarc Model: DVD RW AD-7170S Rev: 1.00
Type: CD-ROM ANSI SCSI revision: 05
-