There is a #define DEBUG you can turn on in drivers/scsi/sr_vendor.c
And adding
print_sense("sr", SCpnt); /* handy for debugging */
after that printk about the illegal request (it is in sr_ioctl.c)
prints some more (hopefully useful) informations.
Gerd