From: Mark Lord <liml@rtr.ca>
To: Tejun Heo <htejun@gmail.com>,
IDE/ATA development list <linux-ide@vger.kernel.org>,
Jeff Garzik <jgarzik@pobox.com>
Subject: Re: WARNING: at drivers/ata/libata-sff.c:1016
Date: Sat, 19 Apr 2008 08:01:21 -0400 [thread overview]
Message-ID: <4809DF11.2010309@rtr.ca> (raw)
In-Reply-To: <48093681.7050100@rtr.ca>
Mark Lord wrote:
>
> Mmmm.. got another one, slightly different line perhaps,
> though maybe it just moved around (latest libata-dev#upstream this
> morning).
>
>
> ata201: SATA link down (SStatus 0 SControl 300)
> ata202: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> ------------[ cut here ]------------
> WARNING: at drivers/ata/libata-sff.c:1211 ata_sff_hsm_move+0x595/0x628()
..
> [ata_pio_task+168/185] ata_pio_task+0xa8/0xb9
..
> ata202.15: failed to read PMP GSCR[0] (Emask=0x10)
> ata202: failed to recover some devices, retrying in 5 secs
> ata202: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
..
That's from here in libata-sff.c:1211:
case HSM_ST_LAST:
if (unlikely(!ata_ok(status))) {
qc->err_mask |= __ac_err_mask(status);
ap->hsm_task_state = HSM_ST_ERR;
goto fsm_start;
}
/* no more data to transfer */
DPRINTK("ata%u: dev %u command complete, drv_stat 0x%x\n",
ap->print_id, qc->dev->devno, status);
>>>>>> WARN_ON(qc->err_mask);
ap->hsm_task_state = HSM_ST_IDLE;
...
I thought that maybe this might have been my LLD (sata_mv) noticing that
the device (PM in this case) got unplugged mid-stride, and set the qc->err_mask
for it. But te LLD doesn't touch polled PIO commands, and there was no log
message from the LLD preceding this one, or following it either.
However, there were three of these same WARN_ONs in a row,
so perhaps libata-eh was just cancelling the outstanding commands
or something, and ???.
No big deal, it didn't crash or anything, and I was abusively unplugging/replugging
things rather rapidly at the time. :)
Expect to see the sata_mv IRQ/EH/hotplug patches here in a day or three,
after I wind them up and through Marvell's people first.
I'm beginning to *like* this driver, and might actually have to remove
the "HIGHLY EXPERIMENTAL" label from it soon-ish. :)
prev parent reply other threads:[~2008-04-19 12:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-18 1:29 WARNING: at drivers/ata/libata-sff.c:1016 Mark Lord
2008-04-19 0:02 ` Mark Lord
2008-04-19 12:01 ` 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=4809DF11.2010309@rtr.ca \
--to=liml@rtr.ca \
--cc=htejun@gmail.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).