From: "Jun'ichi Nomura" <jnomura@mtc.biglobe.ne.jp>
To: "Bagalkote, Sreenivas" <sreenib@lsil.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: megaraid driver always fails to reset adapter
Date: Tue, 01 Mar 2005 15:50:23 -0500 [thread overview]
Message-ID: <4224D58F.6060400@mtc.biglobe.ne.jp> (raw)
In-Reply-To: <0E3FA95632D6D047BA649F95DAB60E570230CBE1@exa-atlanta>
Hi,
thanks for the info.
Adding one more 'F' to the loop counter works.
i.e. 0xFFFFFF.
Just adding rmb() didn't solve the problem though it
may decrease the necessary counter value.
I don't know this value is ok for environments other than mine.
Bagalkote, Sreenivas wrote:
> Please try:
>
> In mbox_post_sync_cmd_fast(...) replace
>
> for (i = 0; i < 0xFFFFF; i++) {
> if (mbox->numstatus != 0xFF) break;
> }
>
> with
>
> for (i = 0; i < 0xFFFFF; i++) {
> if (mbox->numstatus != 0xFF) break;
> rmb();
> }
>
> Additionally, increase the loop counter to a bigger value.
>
> Thanks,
> Sreenivas
> LSI LOGIC Corporation
>
>
>>-----Original Message-----
>>From: Jun'ichi Nomura [mailto:jnomura@mtc.biglobe.ne.jp]
>>Sent: Tuesday, March 01, 2005 1:36 PM
>>To: linux-scsi@vger.kernel.org
>>Subject: megaraid driver always fails to reset adapter
>>
>>Hello,
>>
>>I found that the megaraid driver always fails to reset the
>>adapter with the following message:
>> megaraid: resetting the host...
>> megaraid mbox: reset sequence completed successfully
>> megaraid: fast sync command timed out
>> megaraid: reservation reset failed
>>when the "Cluster mode" of the adapter BIOS is enabled.
>>So, whenever the reset occurs, the adapter goes to
>>offline and just become unavailable.
>>
>>Is this a known problem?
>>
>>I tried 2.6.9 and 2.6.11-rc5 and the results were the same.
>>I used sg_reset to invoke reset artificially to test this.
>>
>>The problem doesn't occur if I disabled the "Cluster mode"
>>parameter in the adapter BIOS.
>>
>>I'm not sure how well the currenet megaraid driver supports
>>the "Cluster mode".
>>I appreciate if you have any idea.
>>
>>Thanks,
>>Jun'ichi Nomura
next prev parent reply other threads:[~2005-03-01 20:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-01 19:20 megaraid driver always fails to reset adapter Bagalkote, Sreenivas
2005-03-01 20:50 ` Jun'ichi Nomura [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-03-01 21:01 Bagalkote, Sreenivas
2005-03-01 18:36 Jun'ichi Nomura
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=4224D58F.6060400@mtc.biglobe.ne.jp \
--to=jnomura@mtc.biglobe.ne.jp \
--cc=linux-scsi@vger.kernel.org \
--cc=sreenib@lsil.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