All of lore.kernel.org
 help / color / mirror / Atom feed
From: Albert Lee <albertcc@tw.ibm.com>
To: "Reinhard Brandstädter" <r.brandstaedter@gmx.at>
Cc: linux-ide@vger.kernel.org
Subject: Re: sata_via and SATA DVD drive (PX-712SA)
Date: Fri, 21 Apr 2006 15:24:30 +0800	[thread overview]
Message-ID: <444888AE.8000706@tw.ibm.com> (raw)
In-Reply-To: <200604202020.22010.r.brandstaedter@gmx.at>

Reinhard Brandstädter wrote:
> Hi,
> 
> since 2.6.12 I try to get a Plextor PX-712SA (SATA DVD-RW) drive to work on a 
> VIA SATA controller. Without success.
> 
> When I load the sata_via module the controller is initialized and two sata 
> interfaces are found (ata4 and ata5).
> Scanning the attached drive fails, and i think the returned code indicates the 
> drive is busy:
> 
> ...
> ata4: command 0xa0 timeout, stat 0xd0 host_stat 0x61
> ata4: translated ATA stat/err 0xd0/00 to SCSI SK/ASC/ASCQ 0xb/47/00
> ...
> 
> The controller seems to lock up (IDE LED is on) after that.
> I can unload the module and load it again, resulting in a timeout:
> 
> ...
> ata6 is slow to respond, please be patient
> ata6 failed to respond (30 secs)
> ...
> 
> Attached my dmesg output with the messages of loading the module, unloading it 
> and loading it again. (ata4 & ata5 found, then ata6 & ata7)
> 
> I also tried with SCSI debugging but this gives no additional info.
> 

From the dmesg, PX-712SA looks like a PATA drive bridged to SATA.
Could you try the atapi_dmadir=1 module parameter and check if it helps?
(For older kernels, please #define ATAPI_ENABLE_DMADIR
in include/linux/libata.h and recompile the kernel.)
--
albert



  reply	other threads:[~2006-04-21  7:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-20 18:20 sata_via and SATA DVD drive (PX-712SA) Reinhard Brandstädter
2006-04-21  7:24 ` Albert Lee [this message]
2006-04-21 21:20   ` Reinhard Brandstädter
2006-04-24  9:48     ` Albert Lee
2006-04-24 15:03       ` Reinhard Brandstädter
2006-04-29 10:50       ` Reinhard Brandstädter
2006-04-24 10:22     ` Albert Lee

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=444888AE.8000706@tw.ibm.com \
    --to=albertcc@tw.ibm.com \
    --cc=albertl@mail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=r.brandstaedter@gmx.at \
    /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.