From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kenneth Langga Subject: Drive not detected upon resume from suspend-to-ram [sata_promise] Date: Wed, 18 Jul 2012 16:11:06 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-wi0-f178.google.com ([209.85.212.178]:35300 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753035Ab2GRIL3 (ORCPT ); Wed, 18 Jul 2012 04:11:29 -0400 Received: by wibhr14 with SMTP id hr14so1150069wib.1 for ; Wed, 18 Jul 2012 01:11:26 -0700 (PDT) Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: linux-ide@vger.kernel.org Hi! I'm having problems with resuming from suspend-to-ram. Specifically, the hard drive fails to be detected. Here is the card info from lspci: 03:05.0 Mass storage controller: Promise Technology, Inc. PDC20375 (SATA150 TX2plus) (rev 02) Subsystem: Promise Technology, Inc. PDC20375 (SATA150 TX2plus) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- sata_promise 0000:03:05.0: PCI INT A disabled <...resuming...> sata_promise 0000:03:05.0: restoring config space at offset 0xf (was 0x1204010e, writing 0x1204010a) sata_promise 0000:03:05.0: restoring config space at offset 0xc (was 0x80001, writing 0xfebe0000) sata_promise 0000:03:05.0: restoring config space at offset 0x8 (was 0x900000, writing 0xfebc0000) sata_promise 0000:03:05.0: restoring config space at offset 0x7 (was 0x800000, writing 0xfebff000) sata_promise 0000:03:05.0: restoring config space at offset 0x6 (was 0x8201, writing 0xe001) sata_promise 0000:03:05.0: restoring config space at offset 0x5 (was 0x8101, writing 0xe401) sata_promise 0000:03:05.0: restoring config space at offset 0x4 (was 0x8001, writing 0xe801) sata_promise 0000:03:05.0: restoring config space at offset 0x3 (was 0x0, writing 0x6090) sata_promise 0000:03:05.0: restoring config space at offset 0x1 (was 0x2300000, writing 0x2300113) sata_promise 0000:03:05.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20 <...> ata3.00: exception Emask 0x10 SAct 0x0 SErr 0x100 action 0x6 ata3: SError: { UnrecovData } ata3.00: failed command: IDENTIFY DEVICE ata3.00: cmd ec/00:01:00:00:00/00:00:00:00:00/40 tag 0 pio 512 in ata3.00: status: { DRDY ERR } ata3.00: error: { ABRT } ata3: hard resetting link ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata3.00: both IDENTIFYs aborted, assuming NODEV ata3.00: revalidation failed (errno=-2) ata3: hard resetting link ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata3.00: both IDENTIFYs aborted, assuming NODEV ata3.00: revalidation failed (errno=-2) ata3: hard resetting link ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata3.00: both IDENTIFYs aborted, assuming NODEV ata3.00: revalidation failed (errno=-2) ata3.00: disabled ata3: EH complete I am using pm-suspend to suspend-to-ram and my OS is Debian Wheezy. Any help would be greatly appreciated. Thanks!