mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Muli Ben-Yehuda <muli@il.ibm.com>
Cc: Jeff Garzik <jeff@garzik.org>, Andres Freund <andres@anarazel.de>,
	linux-kernel@vger.kernel.org,
	linux-wireless <linux-wireless@vger.kernel.org>,
	Tomas Winkler <tomasw@gmail.com>
Subject: Re: bad DMAR interaction with iwlagn and SATA
Date: Fri, 26 Sep 2008 17:12:35 +0200	[thread overview]
Message-ID: <1222441955.3798.13.camel@johannes.berg> (raw)
In-Reply-To: <20080926144708.GD9118@il.ibm.com>

[-- Attachment #1: Type: text/plain, Size: 913 bytes --]

On Fri, 2008-09-26 at 17:47 +0300, Muli Ben-Yehuda wrote:

> The way to debug this is to figure out why device 00:1f.2 is trying to
> read from DMA address fffbf000 and does not have permission to do
> so. This could be indicative of a driver bug where it is programming
> the device to read from some buffer that has not been allocated
> through the DMA API and thus does not have a valid IOMMU mapping, or a
> hardware quirk where the device tries to read from memory without host
> involvement. The former is much more likely.

The same is probably true for the iwlagn case which was

> [ 4184.617392] DMAR:[DMA Read] Request device [03:00.0] fault addr fa946000 
> [ 4184.617393] DMAR:[fault reason 06] PTE Read access is not set
> [ 4184.644081] iwlagn: Microcode HW error detected.  Restarting.

and indeed matches experience from myself and Marcel that DMA bugs seem
to lurk.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2008-09-26 15:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-25 13:11 Andres Freund
2008-09-26  2:11 ` Jeff Garzik
2008-09-26  2:18   ` Andres Freund
2008-09-26  2:41     ` Jeff Garzik
2008-09-26 14:47       ` Muli Ben-Yehuda
2008-09-26 15:12         ` Johannes Berg [this message]
2008-09-26 23:30           ` Tomas Winkler
2008-09-29  8:27             ` Andres Freund
2008-09-29  8:40               ` Tomas Winkler
2008-10-06 12:26                 ` Johannes Berg
2008-10-06 14:32                   ` Andres Freund
2008-10-07  8:37                     ` Johannes Berg
2008-10-07 17:04                       ` Kyle McMartin
2008-10-07 17:08                         ` Johannes Berg
2008-09-26 15:10 ` Johannes Berg
2008-09-29  8:26   ` Andres Freund
2008-10-06 22:11 Boris Fersing

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=1222441955.3798.13.camel@johannes.berg \
    --to=johannes@sipsolutions.net \
    --cc=andres@anarazel.de \
    --cc=jeff@garzik.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=muli@il.ibm.com \
    --cc=tomasw@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

all inboxes | Powered by JetHome®