All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] libata: add MODE_SENSE(6) emulation?
@ 2005-04-06  7:46 Albert Lee
  2005-05-16  2:29 ` Jeff Garzik
  0 siblings, 1 reply; 3+ messages in thread
From: Albert Lee @ 2005-04-06  7:46 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Linux IDE, Bartlomiej Zolnierkiewicz, Doug Maxey

Hi Jeff,

   Even though libata sets  sdev->use_10_for_ms = 1;
libata still receives MODE_SENSE(6) and MODE_SELECT(6) commands during the test.
(These commands seems to be coming from the user space, not from the SCSI mid-layer.)

Most ATAPI devices don't like it, and either return error or time out.
(Ex.
Attached scsi CD-ROM sr0 at scsi7, channel 0, id 0, lun 0
ata7: command 0xa0 timeout, stat 0x50 host_stat 0x1)

Should MODE_SENSE(6) / MODE_SELECT(6) emulation be added to libata
to fix this? This can also make the ATAPI devices look more like real SCSI devices.

Albert



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

end of thread, other threads:[~2005-05-16 13:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-06  7:46 [RFC] libata: add MODE_SENSE(6) emulation? Albert Lee
2005-05-16  2:29 ` Jeff Garzik
2005-05-16 13:21   ` Mark Lord

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.