All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Lord <liml@rtr.ca>
To: Tejun Heo <tj@kernel.org>
Cc: Chuck Ebbert <cebbert@redhat.com>, linux-ide@vger.kernel.org
Subject: Re: ahci fails with SATA DVD drive, IDE mode works
Date: Wed, 04 Mar 2009 10:51:02 -0500	[thread overview]
Message-ID: <49AEA366.5070906@rtr.ca> (raw)
In-Reply-To: <49ADD9C7.7000207@kernel.org>

Tejun Heo wrote:
> Chuck Ebbert wrote:
>> On Sun, 01 Mar 2009 21:26:33 +0900
>> Tejun Heo <tj@kernel.org> wrote:
>>
>>>> I ran 'hdparm -I' here. Why would it send BLANK to the drive??
>>>> (There was a 1.4 GB DVD-RW in the drive when I did that.)
>>> CDB 0xa1 is BLANK alright.  Is the problem reproducible?
>>>
> 
> Now that I think about it, 0xa0 is PACKET and 0xa1 is IDENTIFY_ATAPI.
> You used "hdparm -I /dev/sr0", right?  Mark, any ideas?  Somehow
> IDENTIFY is getting wrapped inside packet and sent to the device.
..

Does it do that with the latest versions, hdparm-9.11 or hdparm-9.12 ?
(probably fine with those)

In hdparm-9.7 I changed things so that it used ATA_12 rather than ATA_16
when passing short commands through SCSI.  Worked for for disks, but failed
for optical drives -- libata doesn't process ATA_12 for ATAPI (oops).

Fixed it again in hdparm-9.11, so just upgrade.

      reply	other threads:[~2009-03-04 15:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-11 22:45 ahci fails with SATA DVD drive, IDE mode works Chuck Ebbert
2009-02-19  9:10 ` Tejun Heo
2009-02-21 23:17   ` Chuck Ebbert
2009-02-25  6:06     ` Tejun Heo
2009-02-25 23:15       ` Chuck Ebbert
2009-02-26  1:07         ` Tejun Heo
2009-02-27 22:57           ` Chuck Ebbert
2009-03-01 12:26             ` Tejun Heo
2009-03-02 13:02               ` Mark Lord
2009-03-03 21:23               ` Chuck Ebbert
2009-03-04  1:30                 ` Tejun Heo
2009-03-04 15:51                   ` Mark Lord [this message]

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=49AEA366.5070906@rtr.ca \
    --to=liml@rtr.ca \
    --cc=cebbert@redhat.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=tj@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 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.