[ltp] swsusp / t23

Ronald Hitz linux-thinkpad@linux-thinkpad.org
Fri, 15 Oct 2004 22:20:50 +0200


--Y5rl02BVI9TCfPar
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Christopher,

do You have an working swap Partition ?

best regards=20

Ronald Hitz

On Wed, Oct 13, 2004 at 05:32:59AM -0400, Christopher Hubbell wrote:
> Greetings,
>=20
> I think I'm very close to conquering suspend to disk on my T23, but I've=
=20
> hit a wall and am hoping someone else has broken through.  Here's my=20
> environment:
>=20
> Kernel:  2.6.9.rc1
> ibm-acpi: v0.3
> Dist: Fedora Core 2
>=20
> Grub.Conf:
>  kernel /vmlinuz-2.6.9.rc1-cgh2 ro root=3DLABEL=3D/ rhgb quiet=20
> resume2=3D/dev/hda6
>=20
> /etc/acpi/events/f12.conf:
>  event=3Dibm/hotkey HKEY 00000080 0000100c
>  action=3D/etc/acpi/actions/suspend2disk.sh
>=20
> /etc/acpi/actions/suspend2disk.sh:
>  #!/bin/bash
>  rmmod uhci_hcd
>  echo "disk" > /sys/power/state
>  modprobe uhci_hcd
>=20
> I know that the acpi event is being properly trapped from the acpid log:
>=20
> [Wed Oct 13 05:20:05 2004] received event "ibm/hotkey HKEY 00000080=20
> 0000100c"
> [Wed Oct 13 05:20:05 2004] notifying client 2472[500:500]
> [Wed Oct 13 05:20:05 2004] executing action=20
> "/etc/acpi/actions/suspend2disk.sh"
> [Wed Oct 13 05:20:05 2004] BEGIN HANDLER MESSAGES
> [Wed Oct 13 05:20:22 2004] END HANDLER MESSAGES
> [Wed Oct 13 05:20:22 2004] action exited with status 0
> [Wed Oct 13 05:20:22 2004] completed event "ibm/hotkey HKEY 00000080=20
> 0000100c"
>=20
> And I see the display change to text mode, and go through the normal=20
> messages
> Stopping tasks:=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D|
> Freeing memory:=20
> .........................................................................=
=2E....................floppy0:=20
> no floppy controllers found
> .....................................|
> PM: Attempting to suspend to disk.
> PM: snapshotting memory.
> ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 11 (level, low) -> IRQ 11
> PCI: Setting latency timer of device 0000:00:1d.0 to 64
> ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 11 (level, low) -> IRQ 11
> PCI: Setting latency timer of device 0000:00:1d.1 to 64
> ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 11 (level, low) -> IRQ 11
> PCI: Setting latency timer of device 0000:00:1d.2 to 64
> ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 11 (level, low) -> IRQ 11
> ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 11 (level, low) -> IRQ 11
> PCI: Setting latency timer of device 0000:00:1f.5 to 64
> e100: eth0: e100_watchdog: link up, 10Mbps, half-duplex
> Restarting tasks... done
>=20
> So, it looks like eveything works, but it never actually suspends...  It=
=20
> just suspends, then goes right back to the graphical display...  I'm=20
> suspicious of the floppy0 error, but I have no idea where this would be=
=20
> coming from since I don't have a floppy drive.  I don't even have the=20
> floppy module loaded:
>=20
> [cgh@synapse log]$ lsmod
> Module                  Size  Used by
> uhci_hcd               34448  0
> snd_mixer_oss          18688  2
> snd_intel8x0           35336  3
> snd_ac97_codec         71940  1 snd_intel8x0
> snd_pcm               104456  1 snd_intel8x0
> snd_timer              32260  1 snd_pcm
> snd_page_alloc          9608  2 snd_intel8x0,snd_pcm
> snd_mpu401_uart         9472  1 snd_intel8x0
> snd_rawmidi            26788  1 snd_mpu401_uart
> snd_seq_device          7304  1 snd_rawmidi
> snd                    53220  10=20
> snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_ua=
rt,snd_rawmidi,snd_seq_device
> soundcore               9440  3 snd
> nvram                  13064  1
> parport_pc             24512  1
> lp                     10604  0
> parport                43336  2 parport_pc,lp
> irda                  136508  0
> crc_ccitt               2176  1 irda
> autofs4                26116  0
> ds                     15108  4
> yenta_socket           19200  0
> pcmcia_core            56972  2 ds,yenta_socket
> sunrpc                171364  1
> e100                   44032  0
> mii                     4480  1 e100
> microcode               6432  0
> dm_mod                 57108  0
> ibm_acpi               10124  0
> button                  5272  0
> battery                 7692  0
> ac                      3724  0
> ext3                  116072  2
> jbd                    87448  1 ext3
>=20
> I'm sure this is something obvious I'm overlooking - any RTFMs or help=20
> would be greatly appreciated!
>=20
> Thanks,
> Chris
>=20
> --=20
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>=20
>=20

--Y5rl02BVI9TCfPar
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBcDEiIZtySvzDl4oRAj7TAJ4hIP6JreNmIX8iEcZC0ouKTEOWoQCgin9y
L5wDiV9kLwppl30Dfdp0yYM=
=oJm3
-----END PGP SIGNATURE-----

--Y5rl02BVI9TCfPar--