linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Albert Lee <albertcc@tw.ibm.com>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: Linux IDE <linux-ide@vger.kernel.org>,
	Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>,
	Doug Maxey <dwm@maxeymade.com>
Subject: [RFC] libata: add MODE_SENSE(6) emulation?
Date: Wed, 06 Apr 2005 15:46:35 +0800	[thread overview]
Message-ID: <425393DB.3010702@tw.ibm.com> (raw)

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



             reply	other threads:[~2005-04-06  7:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-06  7:46 Albert Lee [this message]
2005-05-16  2:29 ` [RFC] libata: add MODE_SENSE(6) emulation? Jeff Garzik
2005-05-16 13:21   ` Mark Lord

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=425393DB.3010702@tw.ibm.com \
    --to=albertcc@tw.ibm.com \
    --cc=bzolnier@gmail.com \
    --cc=dwm@maxeymade.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).