linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/block/scsi_ioctl problem
@ 2004-12-14 23:49 Brian King
  2004-12-15  5:32 ` Douglas Gilbert
  2004-12-15  7:18 ` Jens Axboe
  0 siblings, 2 replies; 9+ messages in thread
From: Brian King @ 2004-12-14 23:49 UTC (permalink / raw)
  To: linux-scsi

Can someone explain to me the need for this bit of code in 
drivers/block/scsi_ioctl.c:

if (!(type & CMD_WARNED)) {
	cmd_type[cmd[0]] = CMD_WARNED;
	printk(KERN_WARNING "scsi: unknown opcode 0x%02x\n", cmd[0]);
}

I'm trying to convert an application to use SG_IO to /dev/sd* devices 
rather than using /dev/sg* devices and this is one problem I have been 
running into. Any time I issue a vendor specific scsi opcode I end up 
getting one of these error logs. Is there a good reason this error log 
is needed?


-- 
Brian King
eServer Storage I/O
IBM Linux Technology Center

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-10-07 17:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-14 23:49 drivers/block/scsi_ioctl problem Brian King
2004-12-15  5:32 ` Douglas Gilbert
2004-12-15  7:18 ` Jens Axboe
2004-12-15 19:13   ` Brian King
2004-12-15 22:44     ` Brian King
2004-12-16  6:32       ` Jens Axboe
2004-12-16 16:31         ` Brian King
2005-10-07 14:13         ` Brian King
2005-10-07 17:41           ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).