ATAng suspend/resume support broken

From: Nate Lawson <nate_at_root.org>
Date: Thu, 28 Aug 2003 21:57:24 -0700 (PDT)
With today's ATAng, I can suspend my laptop but when I resume, the system
hangs.  I'll try to get the exact dmesg with a serial console since
syscons gets screwed up by resuming (this is normal behavior).  In any
case, my laptop hangs with the drive light on while trying to reset the
ata controller.  I can't enter DDB.  By reverting just the ATAng commit to
2003/08/23, suspend and resume work well.  Here is my dmesg from a working
suspend/resume...

-Nate

======== acpi_printcpu() debug dump ========
gdt[0077:c03fc3a0] idt[0407:c03fc740] ldt[0028] tr[0020] efl[00000086]
eax[0000d000] ebx[c11f2d80] ecx[c35d38b0] edx[bfc00034]
esi[00000000] edi[c35d38b0] ebp[d4002ad0] esp[d4002a98]
cr0[8005003b] cr2[081c0420] cr3[105b9000] cr4[00000691]
cs[0008] ds[0010] es[0010] fs[0018] gs[002f] ss[0010]
======== acpi_printcpu() debug dump ========
gdt[0077:c03fc3a0] idt[0407:c03fc740] ldt[0028] tr[0020] efl[00000002]
eax[00000001] ebx[c11f2d80] ecx[00000001] edx[c34ff850]
esi[00000000] edi[c35d38b0] ebp[d4002ad0] esp[d4002a98]
cr0[8005003b] cr2[081c0420] cr3[105b9000] cr4[00000691]
cs[0008] ds[0010] es[0010] fs[0018] gs[002f] ss[0010]
usb0: cannot start
usb1: cannot start
usb2: cannot start
wakeup from sleeping state (slept 00:00:21)
ata0: resetting devices ..
usb0: resume detect
usb0: host system error
usb0: host controller process error
usb0: host controller halted
usb0 regs: cmd=ffff, sts=ffff, intr=ffff, frnum=ffff, flbase=ffffffff,
sof=00ff, portsc1=ffff, portsc2=ffff
intrs=0
QH(0xc32d6f80) at 0060af80: hlink=0060afa2 elink=00000001
usb1: resume detect
usb1: host system error
usb1: host controller process error
usb1: host controller halted
usb1 regs: cmd=ffff, sts=ffff, intr=ffff, frnum=ffff, flbase=ffffffff,
sof=00ff, portsc1=ffff, portsc2=ffff
intrs=0
QH(0xc3307f80) at 0065bf80: hlink=0065bfa2 elink=00000001
usb2: resume detect
usb2: host system error
usb2: host controller process error
usb2: host controller halted
usb2 regs: cmd=ffff, sts=ffff, intr=ffff, frnum=ffff, flbase=ffffffff,
sof=00ff, portsc1=ffff, portsc2=ffff
intrs=0
QH(0xc32fff80) at 00673f80: hlink=00673fa2 elink=00000001
acpi_cmbat1: battery initialization failed, giving up
done
ata1: resetting devices ..
ata1-slave: timeout waiting for interrupt
ata1-slave: ATAPI identify failed
done
acpi_cmbat0: battery initialization start
acpi_cmbat0: battery initialization done, tried 1 times
acpi_cmbat1: battery initialization start
acpi_cmbat1: battery initialization failed, giving up

Here is dmesg for my controller/drives:
atapci0: <Intel ICH3 UDMA100 controller> port
0x1860-0x186f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ata1-slave: timeout waiting for interrupt
ata1-slave: ATAPI identify failed
ad0: 19077MB <IC25N020ATCS04-0> [41344/15/63] at ata0-master UDMA100
acd0: CD-RW <UJDA720 DVD/CDRW> at ata1-master PIO4
Received on Thu Aug 28 2003 - 19:57:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:20 UTC