From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: hwsusp defunct Date: Tue, 6 Feb 2007 18:55:48 +0100 Message-ID: <200702061855.49077.rjw@sisk.pl> References: <45C5DBBA.20502@gmail.com> <200702041452.28874.rjw@sisk.pl> <45C86405.1070902@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <45C86405.1070902@gmail.com> Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org To: Jiri Slaby Cc: Linux Kernel Mailing List , Pavel Machek , linux-pm@osdl.org List-Id: linux-pm@vger.kernel.org On Tuesday, 6 February 2007 12:18, Jiri Slaby wrote: > Rafael J. Wysocki napsal(a): > > Hi, > >=20 > > On Sunday, 4 February 2007 14:12, Jiri Slaby wrote: > >> Hi. > >> > >> When I'm trying to suspend to mem one machine, it wakes immediatly= back with=20 > >> nothing notable in dmesg: > > [--snip--]=20 > >> Will PM_DEBUG or ACPI_DEBUG help somehow? Or later kernel? > >=20 > > Later kernel might help, some important fixes have gone in since 2.= 6.19, > > PCI quirks-related etc. > >=20 > > Please try 2.6.20-rc7 and if that doesn't help, try the latest -mm. >=20 > 2.6.20 from init 2 is no go either, -mm (-rc6-mm3) with minimal confi= g [1]=20 > suspends, no key was able to resume it back, only power button, but m= onitor=20 > doesn't wake (actually I've this problem on another machine when X is= not=20 > running) -- how to debug both of this? Do not suspend consoles? PM_TR= ACE (this=20 > won't help since it completely resumes, I guess)? =46irst, you can try s2ram if you haven't done it already (http://en.op= ensuse.org/s2ram). It may help to get your video back after the resume. If you have a COM port, it is also possible to use a serial console thr= oughout the suspend/resume cycle. > This is blindly written dmesg after resume. See it whole at [2]: > Suspending device 0.0 > ACPI Exception (exoparg2-0442): AE_AML_PACKAGE_LIMIT, Index (00000000= 7) is beyon > d end of object [20070126] > ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.= IDE0.GTM_] > (Node dfe64fcc), AE_AML_PACKAGE_LIMIT > ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.= IDE0.CHN0._ > GTM] (Node dfe649f0), AE_AML_PACKAGE_LIMIT > ... > hda: selected mode 0x45 > ACPI Error (dsopcode-0481): Attempt to CreateField of length zero [20= 070126] > ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.= IDE0.RATA] > (Node dfe64ec8), AE_AML_OPERAND_VALUE > ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.= IDE0.CHN0.D > RV1._GTF] (Node dfe64964), AE_AML_OPERAND_VALUE > do_drive_get_GTF: Run _GTF error: status =3D 0x3006 This looks like an ACPI-vs-IDE problem. You can try to use libata driv= ers instead of the "old IDE" ones. > $ ls -l /sys/block/hda/device > lrwxrwxrwx 1 root root 0 =C3=BAno 6 12:14 /sys/block/hda/device ->=20 > ../../devices/pci0000:00/0000:00:1f.1/ide0/0.0 > $ ls -l /sys/block/hda/device/driver > lrwxrwxrwx 1 root root 0 =C3=BAno 6 12:15 /sys/block/hda/device/driv= er ->=20 > ../../../../../bus/ide/drivers/ide-disk > $ ls -l /sys/block/hda/device/driver/0.0 > lrwxrwxrwx 1 root root 0 =C3=BAno 6 12:16 /sys/block/hda/device/driv= er/0.0 ->=20 > ../../../../devices/pci0000:00/0000:00:1f.1/ide0/0.0 > # lspci -vvvxxs 0000:00:1f.1 > 00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE = Controller=20 > (rev 02) (prog-if 8a [Master SecP PriP]) > Subsystem: ASUSTeK Computer Inc. P5P800-MX Mainboard > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- = ParErr-=20 > Stepping- SERR- FastB2B- > Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=3Dmedium >T= Abort-=20 > SERR- Latency: 0 > Interrupt: pin A routed to IRQ 5 > Region 0: I/O ports at 01f0 [size=3D8] > Region 1: I/O ports at 03f4 [size=3D1] > Region 2: I/O ports at 0170 [size=3D8] > Region 3: I/O ports at 0374 [size=3D1] > Region 4: I/O ports at fc00 [size=3D16] > Region 5: Memory at 30100000 (32-bit, non-prefetchable) [siz= e=3D1K] > 00: 86 80 db 24 07 00 80 02 02 8a 01 01 00 00 00 00 > 10: 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00 > 20: 01 fc 00 00 00 00 10 30 00 00 00 00 43 10 a6 80 > 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 >=20 > Do you want acpidump? I'm not an ACPI expert, it won't tell me a lot, but perhaps you should = add linux-acpi to the Cc list. ;-) > Should I test 2.6.20 with minimal config?=20 I think it's better to try the -mm with the minimal config. Greetings, Rafael --=20 If you don't have the time to read, you don't have the time or the tools to write. - Stephen King