From: "Salyzyn, Mark" <mark_salyzyn@adaptec.com>
To: "Andrew Morton" <akpm@linux-foundation.org>,
<linux-scsi@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>, "Duane Cox" <dcox@conxxus.com>,
<James.Bottomley@SteelEye.com>,
"Steve Fox" <drfickle@linux.vnet.ibm.com>
Subject: [PATCH] aacraid: 2.6.21-rc6-mm1 aacraid not finding device
Date: Fri, 13 Apr 2007 08:35:25 -0400 [thread overview]
Message-ID: <AE4F746F2AECFC4DA4AADD66A1DFEF018164DE@otce2k301.adaptec.com> (raw)
In-Reply-To: <1176243661.5949.59.camel@drfickle.rchland.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 2332 bytes --]
Thanks for the help from Steve Fox and Duane Cox investigating this
issue, I'd like to report that we found the problem. The issue is with
the patch Steve Fox isolated below, by not accommodating older adapters
properly and issuing a command they do not support when retrieving
storage parameters about the arrays. This simple patch resolves the
problem (and more accurately mimics the logic of the original code
before the patch).
ObligatoryDisclaimer: Please accept my condolences regarding Outlook's
handling of patches.
This attached patch is against current scsi-misc-2.6 and can apply to
2.6.21-rc6-mm1. Please consider it for expedited inclusion.
Signed-off-by: Mark Salyzyn <aacraid@adaptec.com>
---
Sincerely -- Mark Salyzyn
> -----Original Message-----
> From: Steve Fox [mailto:drfickle@linux.vnet.ibm.com]
> Sent: Tuesday, April 10, 2007 6:21 PM
> To: Andrew Morton
> Cc: linux-kernel@vger.kernel.org; Salyzyn, Mark;
> markh@linux-foundation.org; James.Bottomley@SteelEye.com;
> linux-scsi@vger.kernel.org
> Subject: Re: 2.6.21-rc6-mm1 aacraid not finding device
>
>
> On Sun, 2007-04-08 at 14:35 -0700, Andrew Morton wrote:
> >
>
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc6
/2.6.21-rc6-mm1/
Since 2.6.21-rc5-mm1, one of the test.kernel.org machines (elm3b239) has
not been able to boot because it cannot find the SCSI device. You can
view http://test.kernel.org/abat/82623/debug/console.log for the latest
boot log (rc6-mm1).
I tracked this down to the git-scsi-misc patch in the -mm tree and then
bisected the scsi-misc git tree until I reached the commit below from
Mark Salyzyn:
fe76df4235986cfacc2d3b71cef7c42bc1a6dd6c
[SCSI] aacraid: Fix blocking issue with container probing function (cast
update)
This is a pretty big patch, so hopefully Mark can take a look at it.
lspci shows
01:02.0 RAID bus controller: Adaptec AAC-RAID (rev 02)
0f:02.0 SCSI storage controller: Adaptec AIC-9410W SAS (Razor ASIC
non-RAID) (rev 08)
1d:02.0 SCSI storage controller: Adaptec AIC-9410W SAS (Razor ASIC
non-RAID) (rev 08)
2b:02.0 SCSI storage controller: Adaptec AIC-9410W SAS (Razor ASIC
non-RAID) (rev 08)
on 2.6.21-rc6. Let me know if I can provide more details.
--
Steve Fox
IBM Linux Technology Center
[-- Attachment #2: aacraid_logical_bugfix.patch --]
[-- Type: application/octet-stream, Size: 666 bytes --]
diff -ru a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c
--- a/drivers/scsi/aacraid/aachba.c 2007-04-12 15:54:25.244399102 -0400
+++ b/drivers/scsi/aacraid/aachba.c 2007-04-12 15:57:03.806468297 -0400
@@ -503,8 +503,7 @@
dresp = (struct aac_mount *) fib_data(fibptr);
dresp->mnt[0].capacityhigh = 0;
if ((le32_to_cpu(dresp->status) != ST_OK) ||
- ((le32_to_cpu(dresp->mnt[0].vol) != CT_NONE) &&
- (le32_to_cpu(dresp->mnt[0].state) == FSCS_HIDDEN)))
+ (le32_to_cpu(dresp->mnt[0].vol) != CT_NONE))
return _aac_probe_container2(context, fibptr);
scsicmd = (struct scsi_cmnd *) context;
scsicmd->SCp.phase = AAC_OWNER_MIDLEVEL;
next prev parent reply other threads:[~2007-04-13 12:35 UTC|newest]
Thread overview: 74+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-08 21:35 2.6.21-rc6-mm1 Andrew Morton
2007-04-09 11:13 ` 2.6.21-rc6-mm1 Borislav Petkov
2007-04-09 16:08 ` 2.6.21-rc6-mm1 Rafael J. Wysocki
2007-04-09 16:14 ` 2.6.21-rc6-mm1 Pallipadi, Venkatesh
2007-04-09 17:40 ` 2.6.21-rc6-mm1 Rafael J. Wysocki
2007-04-10 22:20 ` 2.6.21-rc6-mm1 Venki Pallipadi
2007-04-11 19:28 ` 2.6.21-rc6-mm1 Rafael J. Wysocki
2007-04-10 23:59 ` 2.6.21-rc6-mm1 Adam Belay
2007-04-11 0:15 ` 2.6.21-rc6-mm1 Venki Pallipadi
2007-04-11 5:20 ` 2.6.21-rc6-mm1 Stephane Eranian
2007-04-11 10:39 ` 2.6.21-rc6-mm1 Andi Kleen
2007-04-11 13:09 ` 2.6.21-rc6-mm1 Stephane Eranian
2007-04-11 13:19 ` 2.6.21-rc6-mm1 Andi Kleen
2007-04-11 18:06 ` 2.6.21-rc6-mm1 Andrew Morton
2007-04-09 19:03 ` 2.6.21-rc6-mm1 Torsten Kaiser
2007-04-09 21:42 ` <linux/wait.h> uses definitions from <linux/sched.h> (was Re: 2.6.21-rc6-mm1) Stefan Richter
2007-04-09 22:01 ` Stefan Richter
2007-04-10 0:50 ` 2.6.21-rc6-mm1 Nishanth Aravamudan
2007-04-10 0:56 ` 2.6.21-rc6-mm1 Christoph Lameter
2007-04-10 1:07 ` 2.6.21-rc6-mm1 William Lee Irwin III
2007-04-10 11:28 ` 2.6.21-rc6-mm1 ima "BUG: held lock freed!" Joseph Fannin
2007-04-10 12:24 ` 2.6.21-rc6-mm1 Cornelia Huck
2007-04-10 12:38 ` 2.6.21-rc6-mm1 Ananth N Mavinakayanahalli
2007-04-10 21:08 ` [-mm patch] make struct proc_kpagemap static Adrian Bunk
2007-04-10 21:09 ` Matt Mackall
2007-04-10 21:08 ` [-mm patch] make kernel/module.c:is_exported() static Adrian Bunk
2007-04-10 21:08 ` [RFC: -mm patch] fs/ocfs2/: make 3 functions static Adrian Bunk
2007-04-10 22:21 ` 2.6.21-rc6-mm1 aacraid not finding device Steve Fox
2007-04-13 12:35 ` Salyzyn, Mark [this message]
2007-04-11 19:42 ` 2.6.21-rc6-mm1 USB related boot hang Helge Hafting
2007-04-11 20:43 ` Andrew Morton
2007-04-11 23:07 ` Helge Hafting
2007-04-11 23:25 ` Andrew Morton
2007-04-12 7:50 ` Jiri Kosina
2007-04-12 8:02 ` Jiri Kosina
2007-04-12 11:42 ` Helge Hafting
2007-04-12 16:47 ` Andrew Morton
2007-04-12 18:56 ` Helge Hafting
2007-04-12 15:31 ` Jiri Kosina
2007-04-12 16:01 ` Corey Minyard
2007-04-12 16:55 ` Andrew Morton
2007-04-12 17:25 ` Greg KH
2007-04-12 17:49 ` Jiri Kosina
2007-04-12 17:58 ` Greg KH
2007-04-12 18:17 ` Jiri Kosina
2007-04-12 21:06 ` Corey Minyard
2007-04-12 20:19 ` Helge Hafting
2007-04-12 19:22 ` Helge Hafting
2007-04-12 18:32 ` Jiri Kosina
2007-04-12 20:25 ` Helge Hafting
2007-04-12 23:16 ` Jiri Kosina
2007-04-25 9:54 ` Helge Hafting
2007-04-25 11:28 ` Jiri Kosina
2007-04-25 12:45 ` Helge Hafting
2007-04-26 18:38 ` Helge Hafting
2007-04-26 22:28 ` 2.6.21-rc6-mm1 USB related boot hang - bisection result Helge Hafting
2007-04-26 22:39 ` Jiri Kosina
2007-04-26 23:13 ` Andrew Morton
2007-04-27 21:04 ` Helge Hafting
2007-04-27 22:41 ` Andrew Morton
2007-04-13 23:45 ` CPU_IDLE prevents resuming from STR [was: Re: 2.6.21-rc6-mm1] Mattia Dongili
2007-04-16 2:40 ` Shaohua Li
2007-04-17 2:50 ` Joshua Wise
2007-04-17 2:50 ` Shaohua Li
2007-04-17 6:47 ` Shaohua Li
2007-04-18 23:00 ` Joshua Wise
2007-04-19 1:05 ` Shaohua Li
2007-04-24 8:10 ` 2.6.21-rc6-mm1 J.A. Magallón
2007-04-24 11:58 ` 2.6.21-rc6-mm1 Andrew Morton
2007-04-24 13:43 ` 2.6.21-rc6-mm1 J.A. Magallón
2007-04-24 17:22 ` 2.6.21-rc6-mm1 Andrew Morton
2007-04-25 20:50 ` 2.6.21-rc6-mm1 J.A. Magallón
2007-04-25 21:39 ` start_udev and devpts [Re: 2.6.21-rc6-mm1] J.A. Magallón
2007-04-25 22:26 ` J.A. Magallón
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=AE4F746F2AECFC4DA4AADD66A1DFEF018164DE@otce2k301.adaptec.com \
--to=mark_salyzyn@adaptec.com \
--cc=James.Bottomley@SteelEye.com \
--cc=akpm@linux-foundation.org \
--cc=dcox@conxxus.com \
--cc=drfickle@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®