From: Yinghai Lu <yinghai.lu@oracle.com>
To: Nagalakshmi Nandigama <nagalakshmi.nandigama@lsi.com>,
James Bottomley <JBottomley@Parallels.com>,
Linux-Scsi <linux-scsi@vger.kernel.org>
Subject: mpt2sas regression: can not add disk...
Date: Mon, 21 Nov 2011 19:12:28 -0800 [thread overview]
Message-ID: <4ECB131C.2040903@oracle.com> (raw)
[ 42.047744] calling _scsih_init+0x0/0x175 @ 1
[ 42.052184] mpt2sas version 10.100.00.00 loaded
[ 42.057154] scsi0 : Fusion MPT SAS Host
[ 42.062299] mpt2sas 0000:40:00.0: PCI INT A -> GSI 40 (level, low) -> IRQ 40
[ 42.069351] mpt2sas 0000:40:00.0: setting latency timer to 64
[ 42.075094] mpt2sas0: 64 BIT PCI BUS DMA ADDRESSING SUPPORTED, total mem (8120880 kB)
[ 42.083052] alloc irq_desc for 100 on node 0
[ 42.087502] msi_compose_msg: mpt2sas 0000:40:00.0 irq 100 Set *IRTE* entry (P:1 FPD:0 Dst_Mode:1 Redir_hint:1 Trig_Mode:0 Dlvry_Mode:1 Avail:0 Vector:6A Dest:00000001 SID:4000 SQ:0 SVT:1)
[ 42.104342] mpt2sas 0000:40:00.0: irq 100 for MSI-X
[ 42.109238] ir_irq_set_affinity: mpt2sas 0000:40:00.0 irq 100 IRTE entry (P:1 FPD:0 Dst_Mode:1 Redir_hint:1 Trig_Mode:0 Dlvry_Mode:1 Avail:0 *Vector*:6A *Dest*:00000001 SID:4000 SQ:0 SVT:1)
[ 42.126264] mpt2sas0-msix0: PCI-MSI-X enabled: IRQ 100
[ 42.131397] mpt2sas0: iomem(0x00000000df500000), mapped(0xffffc90000c60000), size(16384)
[ 42.139480] mpt2sas0: ioport(0x0000000000007000), size(256)
[ 42.433031] mpt2sas0: sending diag reset !!
[ 43.564513] mpt2sas0: diag reset: SUCCESS
[ 43.712491] mpt2sas 0000:40:00.0: with iommu 1 : domain 3
[ 43.724243] mpt2sas0: Allocated physical memory: size(2255 kB)
[ 43.730069] mpt2sas0: Current Controller Queue Depth(1001), Max Controller Queue Depth(1024)
[ 43.738499] mpt2sas0: Scatter Gather Elements per IO(128)
[ 43.976988] mpt2sas0: LSISAS2008: FWVersion(11.00.02.00), ChipRevision(0x02), BiosVersion(07.21.03.00)
[ 43.986283] mpt2sas0: Protocol=(Initiator), Capabilities=(Raid,TLR,EEDP,Snapshot Buffer,Diag Trace Buffer,Task Set Full,NCQ)
[ 43.997760] mpt2sas0: sending port enable !!
[ 45.606943] mpt2sas0: host_add: handle(0x0001), sas_addr(0x500605b000fa9460), phys(8)
[ 51.724793] mpt2sas0: port enable: SUCCESS
[ 51.731423] scsi 0:0:0:0: Direct-Access SEAGATE ST930003SSUN300G 0768 PQ: 0 ANSI: 5
[ 51.739509] scsi 0:0:0:0: SSP: handle(0x0009), sas_addr(0x5000c5001364dfe1), phy(0), device_name(0x5000c5001364dfe0)
[ 51.750108] scsi 0:0:0:0: SSP: enclosure_logical_id(0x500605b000fa9460), slot(0)
[ 51.757496] scsi 0:0:0:0: qdepth(254), tagged(1), simple(0), ordered(0), scsi_level(6), cmd_que(1)
[ 51.768474] port-0:0: remove: sas_addr(0x5000c5001364dfe1)
[ 51.774051] port-0:0: remove: sas_addr(0x5000c5001364dfe1), phy(0)
[ 51.782940] mpt2sas0: removing handle(0x0009), sas_addr(0x5000c5001364dfe1)
[ 51.789895] mpt2sas0: failure at drivers/scsi/mpt2sas/mpt2sas_transport.c:705/mpt2sas_transport_port_add()!
[ 51.799920] initcall _scsih_init+0x0/0x175 returned 0 after 9523612 usecs
bisected to:
921cd8024b908f8f49f772c8d3a02381b4db2ed2 is the first bad commit
commit 921cd8024b908f8f49f772c8d3a02381b4db2ed2
Author: nagalakshmi.nandigama@lsi.com <nagalakshmi.nandigama@lsi.com>
Date: Wed Oct 19 15:36:26 2011 +0530
[SCSI] mpt2sas: New feature - Fast Load Support
New feature Fast Load Support.
(1)Asynchronous SCSI scanning: This will allow the drivers to scan
for devices in parallel while other device drivers are loading at
the same time. This will improve the amount of time it takes for the
OS to load.
(2) Reporting Devices while port enable is active: This feature will
allow devices to be reported to OS immediately while port enable is
active. The previous implementation waits for port enable to complete,
and then report devices. This feature is only enabled on IT firmware
configurations when there are no boot device configured in BIOS
Configuration
Utility, else the driver will wait till port enable completes reporting
devices. For IR firmware, this feature is turned off. This feature
is to
address large SAS topologies (>100 drives) when the boot OS is
using onboard
SATA device, in other words, the boot devices is not
connected to our controller.
(3) Scanning for devices after diagnostic reset completes: A new
routine
_scsih_scan_start is added. This will scan the expander pages, IR
pages,
and sas device pages, then reporting new devices to SCSI Mid layer. It
seems the driver is not supporting adding devices while diagnostic
reset
is active. Apparently this is due to the sanity checks on
ioc->shost_recovery flag throughout the context of kernel work
thread FIFO,
and the mpt2sas_fw_work.
Signed-off-by: Nagalakshmi Nandigama <nagalakshmi.nandigama@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
:040000 040000 1677fb01f359d74e0cca33f81d47a66906e91969
78cbc450d0224573f1bbf0d7427bbbbaeecb93d6 M drivers
next reply other threads:[~2011-11-22 3:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-22 3:12 Yinghai Lu [this message]
[not found] <7863850E8C98C748980632D9D3B7C19911968B8AE5@inbmail02.lsi.com>
2011-11-28 6:09 ` mpt2sas regression: can not add disk Nandigama, Nagalakshmi
2011-11-28 20:00 ` Yinghai Lu
2011-12-07 0:15 ` Yinghai Lu
2011-12-07 17:54 ` Desai, Kashyap
2011-12-08 13:30 ` Desai, Kashyap
2011-12-08 21:09 ` Yinghai Lu
2011-12-09 14:56 ` Desai, Kashyap
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=4ECB131C.2040903@oracle.com \
--to=yinghai.lu@oracle.com \
--cc=JBottomley@Parallels.com \
--cc=linux-scsi@vger.kernel.org \
--cc=nagalakshmi.nandigama@lsi.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;
as well as URLs for NNTP newsgroup(s).