From: James Bottomley <James.Bottomley@suse.de>
To: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: stunnel@attglobal.net, matthew@wil.cx,
linux-scsi@vger.kernel.org, bo.yang@lsi.com
Subject: Re: LSI MegaRAID not recognised correctly in 64-bit. 2.6.29.6
Date: Mon, 21 Sep 2009 15:34:04 +0000 [thread overview]
Message-ID: <1253547244.4579.4.camel@mulgrave.site> (raw)
In-Reply-To: <20090921225015B.fujita.tomonori@lab.ntt.co.jp>
On Mon, 2009-09-21 at 22:51 +0900, FUJITA Tomonori wrote:
> On Sat, 19 Sep 2009 08:24:02 -0700
> Eddie <stunnel@attglobal.net> wrote:
>
> > FUJITA Tomonori wrote:
> > > Thanks, now the problem is clear; the driver uses 64bit dma_mask but
> > > the hardware is not capable of 64bit dma according to James. Seems
> > > that hardware lies about the dma capability.
> > >
> > > Can you try the following patch?
> > >
> > >
> > > diff --git a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c
> > > index 234f0b7..9ead856 100644
> > > --- a/drivers/scsi/megaraid/megaraid_mbox.c
> > > +++ b/drivers/scsi/megaraid/megaraid_mbox.c
> > > @@ -888,6 +888,8 @@ megaraid_init_mbox(adapter_t *adapter)
> > > if (((magic64 == HBA_SIGNATURE_64_BIT) &&
> > > ((adapter->pdev->subsystem_device !=
> > > PCI_SUBSYS_ID_MEGARAID_SATA_150_6) &&
> > > + (adapter->pdev->device !=
> > > + PCI_DEVICE_ID_AMI_MEGARAID3) &&
> > > (adapter->pdev->subsystem_device !=
> > > PCI_SUBSYS_ID_MEGARAID_SATA_150_4))) ||
> > > (adapter->pdev->vendor == PCI_VENDOR_ID_LSI_LOGIC &&
> > >
> > >
> > OK, that appears to have done the trick.
>
> Thanks for the confirmation.
>
> James, here's a patch in the proper format.
Got it ... I'd like to wait on confirmation from LSI on this ... I
actually said the Megaraid3 wasn't 64 bit based on the 64 bit exception
table, but if it really has the firmware marker that says it's 64 bit,
we should make sure the manufacturers agree that it needs to be added to
the exception table.
James
next prev parent reply other threads:[~2009-09-21 15:34 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-16 16:18 LSI MegaRAID not recognised correctly in 64-bit. 2.6.29.6 Eddie
2009-09-16 16:31 ` James Bottomley
2009-09-16 16:54 ` Eddie
2009-09-17 2:58 ` Eddie
2009-09-17 2:59 ` Eddie
2009-09-17 15:59 ` James Bottomley
2009-09-17 16:09 ` Eddie
2009-09-17 18:39 ` James Bottomley
2009-09-17 20:28 ` James Bottomley
2009-09-18 13:00 ` FUJITA Tomonori
2009-09-18 14:11 ` Matthew Wilcox
2009-09-18 14:18 ` FUJITA Tomonori
2009-09-19 7:03 ` Eddie
2009-09-19 7:55 ` FUJITA Tomonori
2009-09-19 15:24 ` Eddie
2009-09-21 13:51 ` FUJITA Tomonori
2009-09-21 15:34 ` James Bottomley [this message]
2009-09-21 15:37 ` Yang, Bo
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=1253547244.4579.4.camel@mulgrave.site \
--to=james.bottomley@suse.de \
--cc=bo.yang@lsi.com \
--cc=fujita.tomonori@lab.ntt.co.jp \
--cc=linux-scsi@vger.kernel.org \
--cc=matthew@wil.cx \
--cc=stunnel@attglobal.net \
/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