[lkml]   [2005]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectVendor specific SCSI opcodes
Hello all

I have a problem when using vendor-specific SCSI opcodes with the
ide-cdrom drive. Unless I run the CDROM_SEND_PACKET ioctl as root, I am
getting an error.... plus a kernel warning:
Aug 10 12:09:08 localhost kernel: scsi: unknown opcode 0xfa

(..and there is not only 0xfa ad opcode ;-)

As far as I have understood the kernel source code, the problem seems to
be related to the verify_command() introduced in 2.6.8. The thing is
that all these vendor-specific opcodes are not inside the 'cmd_type',
and so not 'safe'.
Nice thing is that when I use exactly the same device over an IDE-to-USB
bridge, it is working like a charm ;-)

So is there a way to bypass this command verification and to let the
program work without launching it as root user ?

Best Regards,

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-08-15 15:39    [W:0.020 / U:1.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site