SATA S3 resume problems on HP NC6400 notebook



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/



Relevant Pages

  • Re: 2.6.20 SATA error
    ... ata1: port is slow to respond, ... SCSI device sda: 488397168 512-byte hdwr sectors ... Failure registering Root Plug module with primary security module. ...
    (Linux-Kernel)
  • libata problems on Promise SX4000 controller
    ... I had problems getting my Promise SX4000 controller to run with libata. ... i8042 AUX port at 0x60,0x64 irq 12 ... ata_device_add: ata1: probe-wait begin ...
    (Linux-Kernel)
  • (S)ATA exceptions, disk frozen
    ... Mar 29 09:07:31 ata1: port is slow to respond, ... Mar 29 09:10:41 lost page write due to I/O error on sda2 ...
    (Debian-User)
  • Re: 2.6.20 SATA error
    ... ata1: port is slow to respond, ... ADMA mode in 2.6.20 where commands can time out when switching between NCQ commands and non-NCQ commands. ...
    (Linux-Kernel)