From: Tejun Heo <htejun@gmail.com>
To: boac@wanadoo.nl
Cc: linux-ide@vger.kernel.org
Subject: Re: Hotplug drives on vt8251 with ahci module
Date: Thu, 22 Jun 2006 16:34:02 +0900 [thread overview]
Message-ID: <449A47EA.90601@gmail.com> (raw)
In-Reply-To: <200606220916.18020.boac@wanadoo.nl>
Aalderd Bouwman wrote:
> Hello Tejun,
>
> Is the NCQ-patch already in libata-dev git and how could I update my
> libata-dev tree?
No, the turn-off-NCQ-for-vt8251 patch isn't yet in libata-dev #upstream.
To apply the patch, simply checkout #upstream and apply the patch.
> Now the port is disabled by the driver :'( so I am unable to use this port for
> an another drive and I think that is not what you want. When this module
> is 'build in' you should reboot your machine.
You can tell the driver to rescan by issuing scan request via sysfs.
For instruction, please read the following.
http://home-tj.org/wiki/index.php/Libata-tj-stable#README
About the disabling on hardreset failure... Maybe there is some room
for improvement - e.g. leave PHY status interrupts alive if it's not
causing interrupt storm, but I'm not sure whether the benefits would
outweigh the cost.
Leaving the port frozen (disabled & interrupts plugged) is a safety
measure libata implements. The driver isn't sure in what state the
controller and the attached device are in as they are not responding
even to the 'hard' reset, so it assumes the worst and shuns the port.
As I wrote above, you can ask libata to retry by explicitly telling
libata to rescan the bus. I thought that should be enough when I was
implementing it. At any rate, I doubt it will help your case as your
controller gets completely stuck during EH and only controller-wide
reset brings it back.
Also, I checked and the oops you've reported earlier shouldn't happen in
the current #upstream. It's been taken care of when the hotplug support
was added. So, you should at least be able to load and unload ahci as
you wish. :-(
--
tejun
next prev parent reply other threads:[~2006-06-22 7:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-21 7:42 Hotplug drives on vt8251 with ahci module Aalderd Bouwman
2006-06-21 14:01 ` Tejun Heo
2006-06-22 7:16 ` Aalderd Bouwman
2006-06-22 7:34 ` Tejun Heo [this message]
2006-06-22 12:16 ` Mark Lord
2006-06-23 11:42 ` Tejun Heo
2006-06-22 13:00 ` Aalderd Bouwman
2006-06-23 3:52 ` Tejun Heo
2006-06-23 8:12 ` Tejun Heo
2006-06-24 18:02 ` Aalderd Bouwman
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=449A47EA.90601@gmail.com \
--to=htejun@gmail.com \
--cc=boac@wanadoo.nl \
--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).