From: Justin Madru <jdm64@gawab.com>
To: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Hugh Dickins <hugh@veritas.com>,
"Rafael J. Wysocki" <rjw@sisk.pl>, Ingo Molnar <mingo@elte.hu>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Kernel Testers List <kernel-testers@vger.kernel.org>,
Linux IDE <linux-ide@vger.kernel.org>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
Larry Finger <Larry.Finger@lwfinger.net>,
Mikael Pettersson <mikpe@it.uu.se>
Subject: Re: [Bug #12263] Sata soft reset filling log
Date: Tue, 17 Feb 2009 22:42:27 -0800 [thread overview]
Message-ID: <499BADD3.2080805@gawab.com> (raw)
In-Reply-To: <499B5E49.4070409@ru.mvista.com>
Sergei Shtylyov wrote:
> Hello.
>
> Justin Madru wrote:
>
>>>>> If 12609 is truly a post-2.6.28 regression and 12263 is post-2.6.27
>>>>> regresssion, this just cannot be.
>>>>>
>>>> Maybe the reporter of #12609 didn't notice/test kernels 28-rc1 to
>>>> 28. Or maybe
>>>> the difference in hardware is
>>>> the issue, but the bug is still the same. Don't know.
>>>>
>>>
>>> Sorry Justin, you must be confused: as Sergei says,
>>> #12609 and #12263 can only be different.
>>>
>>> I was one of the reporters of #12609, and I do know it's a post-2.6.28
>>> regression (and Larry said so too), and one fix (not the preferred fix)
>>> is to revert the ata_bmdma32_port_ops from 2.6.29-rc, and the preferred
>>> fix is to improve the ata_sff_data_xfer32() introduced in 2.6.29-rc1.
>>>
>>> 2.6.28 does not contain any ata_bmdma32_port_ops, nor
>>> ata_sff_data_xfer32(),
>>> not did 2.6.28-rc1 contain them. So it is impossible for the
>>> reversion of
>>> the patch that introduced them to fix any problem on 2.6.28.
>>>
>>> I'm quite prepared to believe that your #12263 manifests similarly to
>>> #12609, and that a tip tree which contains a fix for #12609 contains
>>> a fix for #12263; but please, those bugs are not the same, and they
>>> don't have the same fix.
>>>
>>> Hugh
>>>
>>>
>> Well, like I said: "[I] Don't know". I'm not a kernel developer (or
>> even any developer... yet).
>> I'm just someone that tests the -rc kernels to see if there's any
>> problems with my hardware.
>> I try to report any regressions to lkml, and hopefully help the
>> developers.
>>
>> To me, who has no knowledge of all these low level issues, the
>> following error messages
>> look strikingly similar with a quick glance.
>>
>> # bug 12609
>> # http://marc.info/?l=linux-kernel&m=123254501314058&w=4
>> #
>> ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
>> ata2.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
>> cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>> res 51/20:03:00:00:00/00:00:00:00:00/a0 Emask 0x5 (timeout)
>> ata2.00: status: { DRDY ERR }
>> ata2: soft resetting link
>> ata2.00: configured for UDMA/33
>> ata2: EH complete
>>
>> # bug 12263
>> # http://marc.info/?l=linux-kernel&m=122913412608533&w=4
>> #
>> ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
>> ata2.00: ST_FIRST: !(DRQ|ERR|DF)
>> ata2.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
>> cdb 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>> res 50/00:01:00:00:00/00:00:00:00:00/a0 Emask 0x2 (HSM
>> violation)
>
> Note the different value of the status, error and interrupt reason
> registers: 51/20:03 vs 50/00:01. The former means (unexpected?) status
> phase interrupt with error indication and the sense key NOT READY, the
> latter means (unexpected?) command phase interrupt with no error.
> IIUC, the former happens once the 'sr' driver first sends the TEST
> UNIT READY command while probing the CD/DVD drive, the latter seems to
> be a result of some polling process (originated from userland) -- I'm
> not seeing ALLOW_MEDIUM_REMOVAL anywhere in this driver. So they only
> look similar, I think...
And that is why I'm a tester and you're a developer ;) Thanks for the
info! Next time I'll look closer
and maybe know what I'm actually looking at.
>
>
>> So, will the patch for 12609 fix my issue also, or does there need to
>> be another patch?
>
> Most probably it'll need another patch.
So then, #12263 should be reopened and marked as not a duplicate.
Anyways, if tip/master gets merged how it is now then my bug should be
fixed.
Justin Madru
next prev parent reply other threads:[~2009-02-18 6:42 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <sTyoMUwdm9B.A.QCH.U40lJB@chimera>
2009-02-14 20:50 ` [Bug #12263] Sata soft reset filling log Rafael J. Wysocki
2009-02-15 20:47 ` Justin Madru
2009-02-15 21:21 ` Rafael J. Wysocki
2009-02-15 22:30 ` Ingo Molnar
2009-02-15 23:12 ` Rafael J. Wysocki
2009-02-16 15:18 ` Sergei Shtylyov
2009-02-16 15:21 ` Ingo Molnar
[not found] ` <499983DF.5050503-hkdhdckH98+B+jHODAdFcQ@public.gmane.org>
2009-02-16 15:21 ` Sergei Shtylyov
[not found] ` <49998480.3090408-hkdhdckH98+B+jHODAdFcQ@public.gmane.org>
2009-02-16 15:31 ` Sergei Shtylyov
2009-02-16 19:23 ` Justin Madru
[not found] ` <4999BD1A.1060101-u1xxEuL7cY4AvxtiuMwx3w@public.gmane.org>
2009-02-16 19:42 ` Sergei Shtylyov
[not found] ` <4999C195.5050905-hkdhdckH98+B+jHODAdFcQ@public.gmane.org>
2009-02-16 21:40 ` Justin Madru
[not found] ` <4999DD31.4010504-u1xxEuL7cY4AvxtiuMwx3w@public.gmane.org>
2009-02-17 11:19 ` Hugh Dickins
2009-02-17 19:08 ` Justin Madru
[not found] ` <499B0B3E.3070101-u1xxEuL7cY4AvxtiuMwx3w@public.gmane.org>
2009-02-18 1:03 ` Sergei Shtylyov
2009-02-18 6:42 ` Justin Madru [this message]
[not found] <a47yn9c9JrF.A.hz.L5YiJB@chimera>
2009-02-04 10:58 ` Rafael J. Wysocki
[not found] <KTnguC9mFUC.A.VNB.TJRdJB@chimera>
2009-01-19 21:45 ` Rafael J. Wysocki
[not found] <nn3SOLVZ28H.A.bY.CafaJB@chimera>
2009-01-11 11:41 ` Rafael J. Wysocki
2009-01-12 23:53 ` Justin Madru
[not found] ` <496BD7ED.1010909-u1xxEuL7cY4AvxtiuMwx3w@public.gmane.org>
2009-01-13 0:18 ` Rafael J. Wysocki
[not found] <vYigq6XkyUN.A.E1H.7ZYTJB@chimera>
2008-12-20 22:00 ` Rafael J. Wysocki
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=499BADD3.2080805@gawab.com \
--to=jdm64@gawab.com \
--cc=Larry.Finger@lwfinger.net \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=hugh@veritas.com \
--cc=kernel-testers@vger.kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mikpe@it.uu.se \
--cc=mingo@elte.hu \
--cc=rjw@sisk.pl \
--cc=sshtylyov@ru.mvista.com \
/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).