linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Detection failed after suspend and resume
@ 2012-05-14  4:06 Srikanth TS
  0 siblings, 0 replies; only message in thread
From: Srikanth TS @ 2012-05-14  4:06 UTC (permalink / raw)
  To: linux-ide

Hello, 

I am using ahci_platform for SSD on ARM based SOC.

Device works fine with normal operations.
But device detection fails after suspend and resume.
I also see failure message while suspend.
 
Below is the log while going to suspend.
 
[   20.106194] Suspending console(s) (use no_console_suspend to debug)
[   20.130311] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[   20.131393] sd 0:0:0:0: [sda] Stopping disk
[   20.180147] ata1.00: exception Emask 0x10 SAct 0x0 SErr 0x10200 action 0xe frozen
[   20.180153] ata1.00: irq_stat 0x00400000, PHY RDY changed
[   20.180166] ata1.00: cmd e0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[   20.180170]          res 50/00:00:00:00:00/00:00:00:00:00/a0 Emask 0x10 (ATA bus error)
[   20.180182] ata1: hard resetting link
[   20.995041] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   20.995736] ata1.00: configured for UDMA/133
[   20.995745] ata1.00: device reported invalid CHS sector 0
[   20.995763] ata1: EH complete
[   20.995788] sd 0:0:0:0: [sda] START_STOP FAILED
[   20.995793] sd 0:0:0:0: [sda]  Result: hostbyte=0x00 driverbyte=0x08
[   20.995801] sd 0:0:0:0: [sda]  Sense Key : 0xb [current] [descriptor]
[   20.995811] sd 0:0:0:0: [sda]  ASC=0x0 ASCQ=0x0
[   20.995827] pm_op(): scsi_bus_suspend+0x0/0x18 returns 134217730

Below is the log while resume.

[   22.235070] ata1: SATA link down (SStatus 0 SControl 300)
[   27.080074] exnos_usb_drd_switch_worker:device not attached by host
[   27.560070] ata1: SATA link down (SStatus 0 SControl 300)
[   27.560086] ata1: limiting SATA link speed to 1.5 Gbps
[   32.885059] ata1: SATA link down (SStatus 0 SControl 310)
[   32.885075] ata1.00: disabled
[   32.885145] ata1.00: detaching (SCSI 0:0:0:0)
[   32.885203] sd 0:0:0:0: [sda] Starting disk
[   32.885306] sd 0:0:0:0: [sda] START_STOP FAILED
[   32.885316] sd 0:0:0:0: [sda]  Result: hostbyte=0x04 driverbyte=0x00
[   32.885339] pm_op(): scsi_bus_resume_common+0x0/0x58 returns 262144
[   32.885351] PM: Device 0:0:0:0 failed to resume async: error 262144

I am using all the libahci patches till 3.3 stable.

Any suggestions?

WBRs,
srikanth.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-14  4:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-14  4:06 Detection failed after suspend and resume Srikanth TS

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).