linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* CDROM_SEND_PACKET oddity
@ 2003-09-27  3:33 Derek Foreman
  2003-09-27 11:47 ` Jens Axboe
  0 siblings, 1 reply; 10+ messages in thread
From: Derek Foreman @ 2003-09-27  3:33 UTC (permalink / raw)
  To: linux-kernel

The example code from
http://www.ussg.iu.edu/hypermail/linux/kernel/0202.0/att-0603/01-cd_poll.c

Does not behave as expected on my 2.6.0-test5 system.  While the command 
seems to be successfully sent - 2 of my drives report it as an invalid 
opcode - for the other 2 drives, the buffer comes back all zeros.
(actually, the buffer's contents will remain in whatever state they're in 
before the ioctl is called)

Sending the same command to those 2 drives with SG_IO results in the 
expected behaviour.

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

end of thread, other threads:[~2003-09-28 21:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-27  3:33 CDROM_SEND_PACKET oddity Derek Foreman
2003-09-27 11:47 ` Jens Axboe
2003-09-27 12:27   ` Jens Axboe
2003-09-27 17:54     ` Jens Axboe
2003-09-27 18:11       ` Derek Foreman
2003-09-28  3:50       ` Derek Foreman
2003-09-28  8:51         ` Jens Axboe
2003-09-28 16:56           ` Derek Foreman
2003-09-28 18:14             ` Jens Axboe
2003-09-28 21:02               ` Derek Foreman

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).