Bug 36742 - Fusion MPT2SAS driver fails to suspend to S3 incorrectly, suspend to disk works.
Summary: Fusion MPT2SAS driver fails to suspend to S3 incorrectly, suspend to disk works.
Status: RESOLVED OBSOLETE
Alias: None
Product: SCSI Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: scsi_drivers-other
URL:
Keywords:
Depends on:
Blocks: 7216
  Show dependency tree
 
Reported: 2011-06-05 23:54 UTC by devsk
Modified: 2013-12-23 13:43 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.38.8
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description devsk 2011-06-05 23:54:20 UTC
The configurations:

# lspci|grep LSI
04:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)

# dmesg|grep sas
[    1.975000] megasas: 00.00.05.29-rc1 Tue. Dec. 7 17:00:00 PDT 2010
[    3.880000] mpt2sas version 07.100.00.00 loaded
[    3.881000] mpt2sas 0000:04:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    3.881000] mpt2sas 0000:04:00.0: setting latency timer to 64
[    3.881000] mpt2sas0: 64 BIT PCI BUS DMA ADDRESSING SUPPORTED, total mem (12298180 kB)
[    3.881000] mpt2sas 0000:04:00.0: irq 44 for MSI/MSI-X
[    3.881000] mpt2sas0: PCI-MSI-X enabled: IRQ 44
[    3.881000] mpt2sas0: iomem(0x00000000f3dfc000), mapped(0xffffc900100f0000), size(16384)
[    3.881000] mpt2sas0: ioport(0x000000000000ce00), size(256)
[    3.953000] mpt2sas0: sending diag reset !!
[    5.033000] mpt2sas0: diag reset: SUCCESS
[    5.073000] mpt2sas0: Allocated physical memory: size(3971 kB)
[    5.073000] mpt2sas0: Current Controller Queue Depth(1739), Max Controller Queue Depth(2000)
[    5.073000] mpt2sas0: Scatter Gather Elements per IO(128)
[    5.132000] mpt2sas0: LSISAS2008: FWVersion(09.00.00.00), ChipRevision(0x03), BiosVersion(07.17.00.00)
[    5.132000] mpt2sas0: Protocol=(Initiator,Target), Capabilities=(Raid,TLR,EEDP,Snapshot Buffer,Diag Trace Buffer,Task Set Full,NCQ)
[    5.132000] mpt2sas0: sending port enable !!
[    6.703000] mpt2sas0: host_add: handle(0x0001), sas_addr(0x500605b0035b5e30), phys(8)
[   12.575000] mpt2sas0: port enable: SUCCESS
[   12.579000] scsi 6:0:0:0: SATA: handle(0x000a), sas_addr(0x4433221102000000), phy(2), device_name(0x4ee25001e1075a3b)
[   12.583000] scsi 6:0:1:0: SATA: handle(0x0009), sas_addr(0x4433221103000000), phy(3), device_name(0xc5005000295b10aa)
[   12.586000] scsi 6:0:2:0: SATA: handle(0x000b), sas_addr(0x4433221101000000), phy(1), device_name(0xc50050001ca510a2)
[   12.587000] scsi 6:0:3:0: SATA: handle(0x000c), sas_addr(0x4433221100000000), phy(0), device_name(0x0751500a2ac80305)

The drive is an SSD device in Unconfigured state on port 4 of the LSI 9211-8i HBA.

Symptoms:

1. Without the LSI 9211-8i card in, pm-suspend suspends the machine to S3 and powering on the system resumes fine.
2. With the card in and the drive on it, pm-suspend seems to suspend but when I try to resume, it just does a regular power on.
3. With the Windows XP on dual boot setup on the same drive in another partition, I suspend to S3 and it resumes fine, with and without the card.

This combination points to mpt2sas driver being the culprit.

Let me know what additional information you need.

Note You need to log in before you can comment on or make changes to this bug.