From: viresh kumar <viresh.kumar@st.com>
To: Tejun Heo <tj@kernel.org>
Cc: "linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>
Subject: Re: ata: hotplug not working with arasan CF controller driver
Date: Thu, 2 Dec 2010 16:11:20 +0530 [thread overview]
Message-ID: <4CF777D0.4010603@st.com> (raw)
In-Reply-To: <4CEFED92.7050701@kernel.org>
On 11/26/2010 10:55 PM, Tejun Heo wrote:
> You gotta tell EH that the device needs rescanning. When you detect a
> hotplug event, call ata_ehi_hotplugged() followed by
> ata_port_freeze().
Tejun,
Do you want to say, we need to call above routines for both hotplugging
events: card insert and remove??
Actually i am getting following messages on insert:
ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xe frozen
ata1: soft resetting link
ata1.00: CFA: TRANSCEND, 20091215, max UDMA/66
ata1.00: 62537328 sectors, multi 0: LBA
ata1.00: configured for PIO6
ata1.00: configured for PIO6
ata1: EH complete
scsi 0:0:0:0: Direct-Access ATA TRANSCEND 2009 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 62537328 512-byte logical blocks: (32.0 GB/29.8 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sda:
sd 0:0:0:0: Attached scsi generic sg0 type 0
sda1
sd 0:0:0:0: [sda] Attached SCSI disk
and following messages on card remove:
ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xe frozen
ata1: soft resetting link
ata1.00: revalidation failed (errno=-2)
ata1: soft resetting link
ata1.00: revalidation failed (errno=-2)
ata1: soft resetting link
ata1.00: revalidation failed (errno=-2)
ata1.00: disabled
ata1: soft resetting link
ata1: EH complete
ata1.00: detaching (SCSI 0:0:0:0)
sd 0:0:0:0: [sda] Stopping disk
sd 0:0:0:0: [sda] START_STOP FAILED
sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
For me, card insertion messages are fine, but I am not sure if card removal
messages are fine??
--
viresh
next prev parent reply other threads:[~2010-12-02 10:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-22 10:54 ata: hotplug not working with arasan CF controller driver Viresh Kumar
2010-11-24 5:44 ` viresh kumar
2010-11-26 17:25 ` Tejun Heo
2010-11-29 3:48 ` viresh kumar
2010-12-02 10:41 ` viresh kumar [this message]
2010-12-02 10:44 ` Tejun Heo
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=4CF777D0.4010603@st.com \
--to=viresh.kumar@st.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.