From: Jack Hammer <jack_hammer@adaptec.com>
To: linux-scsi@vger.kernel.org
Subject: ips - Mode Sense (Caching Page ) fix
Date: Fri, 13 Jan 2006 10:06:50 -0500 [thread overview]
Message-ID: <43C7C209.3000301@adaptec.com> (raw)
Much better ... To avoid the "sda: got wrong page" message,
the ServeRAID driver should be setting flags indicating
that the Mode Sense commands are not supported.
Signed-off-by: Jack Hammer <jack_hammer@adaptec.com>
--- a/drivers/scsi/ips.c Mon Jan 2 22:21:10 2006
+++ b/drivers/scsi/ips.c Fri Jan 13 09:44:02 2006
@@ -1319,6 +1319,9 @@
min = ha->max_cmds - 1;
scsi_adjust_queue_depth(SDptr, MSG_ORDERED_TAG, min);
}
+
+ SDptr->skip_ms_page_8 = 1;
+ SDptr->skip_ms_page_3f = 1;
return 0;
}
#endif
next reply other threads:[~2006-01-13 15:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-13 15:06 Jack Hammer [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-01-13 13:49 ips - Mode Sense ( Caching Page ) fix Hammer, Jack
2006-01-13 13:30 Jack Hammer
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=43C7C209.3000301@adaptec.com \
--to=jack_hammer@adaptec.com \
--cc=linux-scsi@vger.kernel.org \
/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).