All of lore.kernel.org
 help / color / mirror / Atom feed
From: Douglas Gilbert <dougg@torque.net>
To: Mark Haverkamp <markh@osdl.org>
Cc: linux-scsi <linux-scsi@vger.kernel.org>, djwong@us.ibm.com
Subject: Re: aic94xx panic on module load
Date: Tue, 28 Nov 2006 13:44:50 -0500	[thread overview]
Message-ID: <456C83A2.8020507@torque.net> (raw)
In-Reply-To: <1164734233.21827.8.camel@markh3.pdx.osdl.net>

Mark Haverkamp wrote:
> I got this panic when loading the aic94xx module.  The adapter is
> connected to an HP MSA50 SAS enclosure with 3 72GB SAS disks.
> 
> Kernel 2.6.19-rc6-scsi-misc on an x86_64
> 
> ---
> 
> 
> aic94xx: Adaptec aic94xx SAS/SATA driver version 1.0.2 loaded
> aic94xx: found Adaptec AIC-9410W SAS/SATA Host Adapter, device 0000:08:01.0
> aic94xx: BIOS present (1,2), 1673
> aic94xx: ue num:3, ue size:88
> aic94xx: manuf sect SAS_ADDR 50000d100045af00
<snip>

> sas: phy1 matched wide port0
> sas: phy1 added to port0, phy_mask:0x3
> sas: phy2 matched wide port0
> sas: phy2 added to port0, phy_mask:0x7
> sas: phy3 matched wide port0
> sas: phy3 added to port0, phy_mask:0xf
> sas: DOING DISCOVERY on port 0, pid:3524
> sas: ex 500508b300a27a2f phy00:T attached: 500508b300a27a3f
> sas: ex 500508b300a27a2f phy01:T attached: 500508b300a27a3f
> sas: ex 500508b300a27a2f phy02:T attached: 0000000000000000
> sas: ex 500508b300a27a2f phy03:T attached: 0000000000000000
> sas: ex 500508b300a27a2f phy04:S attached: 50000d100045af00
> sas: ex 500508b300a27a2f phy05:S attached: 50000d100045af00
> sas: ex 500508b300a27a2f phy06:S attached: 50000d100045af00
> sas: ex 500508b300a27a2f phy07:S attached: 50000d100045af00
> sas: ex 500508b300a27a2f phy08:T attached: 0000000000000000
> sas: ex 500508b300a27a2f phy09:T attached: 0000000000000000
> sas: ex 500508b300a27a2f phy10:T attached: 0000000000000000
> sas: ex 500508b300a27a2f phy11:T attached: 0000000000000000
> sas: ex 500508b300a27a2f phy12:D attached: 500508b300a27a2c
> sas: ex 500508b300a27a3f phy00:D attached: 5000c5000095f8b5
> sas: ex 500508b300a27a3f phy01:D attached: 0000000000000000
> sas: ex 500508b300a27a3f phy02:D attached: 5000c5000095d3b5
> sas: ex 500508b300a27a3f phy03:D attached: 0000000000000000
> sas: ex 500508b300a27a3f phy04:D attached: 5000c5000095c0b9
> sas: ex 500508b300a27a3f phy05:D attached: 0000000000000000
> sas: ex 500508b300a27a3f phy06:D attached: 0000000000000000
> sas: ex 500508b300a27a3f phy07:D attached: 0000000000000000
> sas: ex 500508b300a27a3f phy08:D attached: 0000000000000000
> sas: ex 500508b300a27a3f phy09:D attached: 0000000000000000
> sas: ex 500508b300a27a3f phy10:S attached: 500508b300a27a2f
> sas: ex 500508b300a27a3f phy11:S attached: 500508b300a27a2f
> sas: task finished with resp:0x0, stat:0x89
> sas: sas_discover_sata() for device 500508b300a27a2c at 500508b300a27a2f:0xc returned 0xffffff06
> kobject_add failed for port-2:0:12 with -EEXIST, don't try to register things with the same name in the same directory.

So this is an interesting expander setup within the enclosure.
There are two expanders (500508b300a27a2f + 500508b300a27a3f)
interconnected via a two wide link (0,1 <-> 10,11 (T-S)) with
a four wide link back to the 94xx HBA (4,5,6,7 <-> 0,1,2,3).
My guess is that 500508b300a27a2f:12 is virtual and contains a
SES target. That leaves SAS disks on 500508b300a27a3f:0,
500508b300a27a3f,2 and 500508b300a27a3f,4

The pain starts immediately after the sas transport layer
tries to process those expander SMP DISCOVER responses.
The trace seems to suggest the device at 500508b300a27a2f:12
is SATA: extremely unlikely.

Mark, do you have a LSI MPT Fusion SAS HBA handy? If
so you might connect the enclosure to it, get smp_utils
and do something like:
 # modprobe mptctl
 # smp_discover -p 12 -s 0x500508b300a27a2f /dev/mptctl

and post the output.


BTW Darrick, SATA disks connected to an expander usually
get SAS addresses like <expander_sas_address + n> where
"n" is small. The device attached to 500508b300a27a2f:12
is in that region: 500508b300a27a2c

Doug Gilbert



  parent reply	other threads:[~2006-11-28 18:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-28 17:17 aic94xx panic on module load Mark Haverkamp
2006-11-28 18:01 ` Darrick J. Wong
2006-11-29 19:29   ` Mark Haverkamp
2006-11-28 18:44 ` Douglas Gilbert [this message]
2006-11-28 18:51   ` Mark Haverkamp
2006-11-28 21:46   ` Mark Haverkamp
2006-11-28 23:17     ` Mark Haverkamp
2006-11-29  1:52       ` Douglas Gilbert
2006-11-29 15:16         ` Mark Haverkamp
2006-11-29 16:30           ` Douglas Gilbert
2006-11-30  7:11             ` Luben Tuikov

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=456C83A2.8020507@torque.net \
    --to=dougg@torque.net \
    --cc=djwong@us.ibm.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=markh@osdl.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 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.