linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert Hancock <hancockrwd@gmail.com>
To: Wes Shull <wes.shull@gmail.com>
Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>,
	cebbert@redhat.com, linux-ide@vger.kernel.org
Subject: Re: sata_nv frees DMA memory with different size (possibly a generic libata bug)
Date: Sat, 21 Feb 2009 13:02:53 -0600	[thread overview]
Message-ID: <49A04FDD.4070101@gmail.com> (raw)
In-Reply-To: <d676b7a80902210157l47344e77yb5b36c67e3750ad7@mail.gmail.com>

Wes Shull wrote:
>>>>> I think that the following patch could fix this:
>>>>>
>>>>> http://marc.info/?l=linux-ide&m=123484533504307&w=2
>>>> The patch looks reasonable to me. I'm CCing the reporter of the bug. Wes,
>>>> would you be able to test out Fujita's patch linked above?
>>> I grabbed the srpm for the fedoraized 2.6.29-0.137.rc5.git4 from koji,
>>> applied the patch, and tested--no joy, I'm still getting the warning.
>>> Would there be any value to me trying this with a vanilla+dma-debug
>>> kernel build?
>>>
>>> Tomorrow I'm going to bump up the show_num_errors (currently at 1) in
>>> the dma debug patch to see if maybe that produces anything else
>>> interesting;
>> I think that probably it's not interesting much. Once you get a
>> dma-debug error, the later errors are not reliable.
>>
>> For example, dma-debug finds a dma-debug error about a NIC, you could
>> get false dma-debug errors about even good device drivers.
>>
>>
>>> I've already got another bug that races with nv_sata to
>>> get that first warning (in forcedeth, so you probably don't care, but
>>> if so see https://bugzilla.redhat.com/show_bug.cgi?id=484494 ).
>> As I explained above, you can't have other dma-debug error source. Can
>> you test only nv_sata with my patch again?
> 
> Ok, I blocked forcedeth from loading, rebooted (still running the
> kernel I built with your patch--despite these warning messages, it's
> 100% stable in all my testing), verified that forcedeth hadn't
> loaded...  but I still got the nv_sata warning.  So that's not it
> either :(

I suppose it makes sense it wouldn't fix this particular problem, though 
I think the patch is still correct (and Fujita should likely push it for 
-next). In this case it's complaining about a mismatch of one of the 
element sizes, not the number of elements which is what it was fixing

Fujita, do you know if there is some other kind of merging that the GART 
IOMMU code could be doing that would be tripping up this debug code?

  reply	other threads:[~2009-02-21 19:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-12 21:39 sata_nv frees DMA memory with different size (possibly a generic libata bug) Chuck Ebbert
2009-02-13  3:03 ` Robert Hancock
2009-02-16 21:36   ` Chuck Ebbert
2009-02-17  2:53     ` Robert Hancock
2009-02-17 11:22       ` FUJITA Tomonori
2009-02-18 20:25         ` Chuck Ebbert
2009-02-18 22:05           ` Chuck Ebbert
2009-02-19 13:09             ` FUJITA Tomonori
2009-02-20  2:58               ` Robert Hancock
2009-02-20 11:20                 ` Wes Shull
2009-02-21  6:57                   ` FUJITA Tomonori
2009-02-21  9:57                     ` Wes Shull
2009-02-21 19:02                       ` Robert Hancock [this message]
2009-02-22  9:39                         ` FUJITA Tomonori

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=49A04FDD.4070101@gmail.com \
    --to=hancockrwd@gmail.com \
    --cc=cebbert@redhat.com \
    --cc=fujita.tomonori@lab.ntt.co.jp \
    --cc=linux-ide@vger.kernel.org \
    --cc=wes.shull@gmail.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).