All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Carroll <david.carroll@microsemi.com>
To: Piotr Szymaniak <szarpaj@grubelek.pl>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	"vfio-users@redhat.com" <vfio-users@redhat.com>
Cc: "aacraid@adaptec.com" <aacraid@adaptec.com>
Subject: RE: aacraid / Adaptec 3805 - AAC: Host adapter dead -1
Date: Mon, 8 Aug 2016 18:02:19 +0000	[thread overview]
Message-ID: <423FD6710FB8FB4F8728F93591889F9A15FA63B8@avsrvexchmbx1.microsemi.net> (raw)
In-Reply-To: <20160804151524.GA3226@pontus.sran>

> On Mon, Aug 01, 2016 at 11:42:24AM +0200, Piotr Szymaniak wrote:
> > Hi,
> 
> (Sorry, for almost-topposting. Leaving below for reference.)
> 
> As a followup to this thread - looking for answers here and there I've added
> intel_iommu=igfx_off (found at some thread with some other hardware
> mentioning Sandy Bridge) and it seems to work - just transfered
> 300 gigabytes of data to a testing array. On the other hand it still fills logs with
> those over and over every 10 seconds:
> AAC: Host adapter dead -1
> 
> I'm using Intel i5-2400 with Intel DQ67SW motherboard.
> 
> I've also tried various Live Linux 64-bit distros:
> 1/2. Arch Bang (4.6.4-1-ARCH) and Ubuntu 16.04.1 (4.4.0-31-generic
> #50-Ubuntu) - prints errors every 10 seconds (afair didnt test if it works as I
> expected it doesnt) 3. Ubuntu 14.04 (4.4.0-15-generic #31-Ubuntu) - doesnt
> print errors, works
> 

Hi Piotr,

You had indicated that a kernel using Alex Williamson's patch allowed you to use the system correctly. Is that true?
You also indicated that Ubuntu 14.04 worked, while 16.04 did not. Is that true?

Looking at the aacraid driver shipped with the Ubuntu flavors seems to be the same version of the driver. Do either of those kernel's have Alex's patch applied for the 3805?

At this point, assuming the above statements are true, I would believe that you would get the best results when using a kernel with Alex's
patches applied.

Thanks, -Dave

> Further help appreciated.
> 
> linux-scsi@v.k.o please CC me as I'm not subscribed, thanks.
> 
> 
> Best regards,
> Piotr Szymaniak.
> 
> 
> 
> > I have some issues with Adaptec 3805 and found that it could be
> > related to iommu as described here [1]. I've tried various (iommu=pt
> > etc.) but nothing seems to change the behaviour of the controller.
> > Also tried the patch [2] from Alex Williamson on top of 4.6.5.
> > Controller seems to work fine (random r/w) for some hours under Windows 7
> or (on the same machine) with Clonezilla.
> >
> > Every 10 seconds my dmesg fills with:
> > AAC: Host adapter dead -1
> >
> > Not sure about the state now (as I tried rebuilding kernel with some
> > more PCI related options, various iommu lines in grub etc), but I
> > could read the array (dd if=controller of=/dev/null), but not write.
> > With dd write, trying to make fs or partition or whatever it ended with
> messages similar to this:
> > DMAR: DRHD: handling fault status reg 3
> > DMAR: DMAR:[DMA Write] Request device [03:01.0] fault addr ffbb5000
> > DMAR:[fault reason 02] Present bit in context entry is clear


  reply	other threads:[~2016-08-08 18:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-01  9:42 aacraid / Adaptec 3805 - AAC: Host adapter dead -1 Piotr Szymaniak
2016-08-04 15:15 ` Piotr Szymaniak
2016-08-08 18:02   ` David Carroll [this message]
2016-08-09 19:38     ` Piotr Szymaniak

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=423FD6710FB8FB4F8728F93591889F9A15FA63B8@avsrvexchmbx1.microsemi.net \
    --to=david.carroll@microsemi.com \
    --cc=aacraid@adaptec.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=szarpaj@grubelek.pl \
    --cc=vfio-users@redhat.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 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.