SATA S3 resume problems on HP NC6400 notebook

From: Ben Buxton
Date: Mon Aug 07 2006 - 17:10:28 EST


Hi,

I'm trying to get S3 suspend working on a new HP Nc6400 notebook PC, and
I'm having problems getting SATA restarted on resume.

The SATA controller is an intel ICH7/AHCI, as shown in this lspci -v:

00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface
Bridge (rev 01)
Subsystem: Hewlett-Packard Company Unknown device 30ad
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information

00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE
Controller (rev 01) (prog-if 8a [Master SecP PriP])
Subsystem: Hewlett-Packard Company Unknown device 30ad
Flags: bus master, medium devsel, latency 0, IRQ 177
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at 40a0 [size=16]

00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family)
Serial ATA Storage Controller AHCI (rev 01) (prog-if 01 [AHCI 1.0])
Subsystem: Hewlett-Packard Company Unknown device 30ad
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 58
I/O ports at 13f0 [size=8]
I/O ports at 15f4 [size=4]
I/O ports at 1370 [size=8]
I/O ports at 1574 [size=4]
I/O ports at 40d0 [size=16]
Memory at f4785000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [80] Message Signalled Interrupts: 64bit-
Queue=0/0 Enable+
Capabilities: [70] Power Management version 2

The BIOS on this notebook is pretty basic, at least as far as user
configuration options goes. I tried the ata_piix driver, but the SATA
controller wasn't detected, and there's no way to change the bios mode.

I read about -mm6 and tried to give it a go, but I get this error:

ata1.00: exception Emask 0x10 SAct 0x0 SErr 0x4050000 action 0x2 frozen
ata1.00: tag 0 cmd 0x35 Emask 0x14 stat 0x40 err 0x0 (ATA bus error)
ata1: waiting for device to spin up (8 secs)
ata1: soft resetting port
ata1: softreset failed (1st FIS failed)
ata1: softreset failed, retrying in 5 secs
ata1: hard resetting port
ata1: port is slow to respond, please be patient
ata1: port failed to respond (30 secs)
ata1: COMRESET failed (device not ready)
ata1: hardreset failed, retrying in 5 secs
ata1: hard resetting port
ata1: port is slow to respond, please be patient
ata1: port failed to respond (30 secs)
ata1: COMRESET failed (device not ready)
ata1: reset failed, giving up

After a while, there are SCSI errors reported, naturally.

And this is the error with 2.6.17.7 vanilla.

ata1: handling error/timeout
ata1: port reset. p_is 400000 is 0 pis 400000 cmd 2004 tf 80 ss 113 se 4050000
ata1: status=0x50 { DriveReady SeekComplete }
sda: Current: sense key: No Sense
Additional sense: No additional sense information
Info fld=0x8b8008e

Which repeats before ext3 gives an error.

So...what can I do to help get this up and running?

Ben

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/