Problem using suspend

From: Madhusudan Singh (spammers-go-here_at_yahoo.com)
Date: 05/06/04


Date: Wed, 05 May 2004 22:57:49 -0400

Hi

Just compiled kernel 2.6.5 with the acpi and laptop mode patches applied (in
that order) on my new Debian Sarge system.

I am now able to suspend (though not with the button as I was able to with
the stock kernel (686) - both suspend and back - even at runlevel 5).
However, I am unable to bring it back up. I enabled DRI in the kernel (is
that the problem ?).

I am not using swsusp but the version in the kernel.

Extract from .config :

CONFIG_PM=y
CONFIG_SOFTWARE_SUSPEND=y
CONFIG_PM_DISK=y
CONFIG_PM_DISK_PARTITION=""

I used xconfig (which does not allow strings to be specified (I liked the
old Tcl/Tk based xconfig - at least everything that had to be changed,
could be changed)).

Do I need to enter /dev/hda5 (my swap partition) above ?

Excerpt from my /boot/grub/menu.lst :

title           Debian GNU/Linux, kernel 2.6.5-CUSTOM-ACPI_LAPTOP_MODE
root            (hd0,0)
kernel          /vmlinuz-2.6.5-CUSTOM-ACPI_LAPTOP_MODE root=/dev/hda9 ro
resume=
/dev/hda5
initrd          /initrd.img-2.6.5-CUSTOM-ACPI_LAPTOP_MODE
savedefault
boot

(other images have noresume appended as an option).

A summary of ACPI related messages from /var/log/messages :
May  5 21:46:28 nanak kernel: mtrr: v2.0 (20020519)
May  5 21:46:28 nanak kernel: ACPI: Subsystem revision 20040326
May  5 21:46:28 nanak kernel: ACPI: Interpreter enabled
May  5 21:46:28 nanak kernel: ACPI: Using IOAPIC for interrupt routing
May  5 21:46:28 nanak kernel: ACPI: PCI Root Bridge [PCI0] (00:00)
May  5 21:46:28 nanak kernel: PCI: Probing PCI hardware (bus 00)
May  5 21:46:28 nanak kernel: PCI: Ignoring BAR0-3 of IDE controller
0000:00:1f.
1
May  5 21:46:28 nanak kernel: Transparent bridge - 0000:00:1e.0
May  5 21:46:28 nanak kernel: ACPI: Embedded Controller [EC0] (gpe 28)
May  5 21:46:28 nanak kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6
7 9
10 *11 12 14 15)
May  5 21:46:28 nanak kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6
7 9
*10 11 12 14 15)
May  5 21:46:28 nanak kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6
7 9
 10 11 12 14 15)
May  5 21:46:28 nanak kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6
7 *9
 10 11 12 14 15)
May  5 21:46:28 nanak kernel: ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6
7 9
10 *11 12 14 15)
May  5 21:46:28 nanak kernel: ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6
7 9
10 11 12) *0, disabled.
May  5 21:46:28 nanak kernel: ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6
7 9
*11 12 14 15)
May  5 21:46:28 nanak kernel: ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6
7 *9
 10 11 12 14 15)
May  5 21:46:28 nanak kernel: Linux Plug and Play Support v0.97 (c) Adam
Belay
May  5 21:46:28 nanak kernel: SCSI subsystem initialized
May  5 21:46:28 nanak kernel: testing the IO APIC.......................
May  5 21:46:28 nanak kernel: .................................... done.
May  5 21:46:28 nanak kernel: PCI: Using ACPI for IRQ routing
May  5 21:46:28 nanak kernel: IA-32 Microcode Update Driver: v1.13
<tigran@verit
as.com>
May  5 21:46:28 nanak kernel: ikconfig 0.7 with /proc/config*
May  5 21:46:28 nanak kernel: VFS: Disk quotas dquot_6.5.1
May  5 21:46:28 nanak kernel: udf: registering filesystem
May  5 21:46:28 nanak kernel: Initializing Cryptographic API
May  5 21:46:28 nanak kernel: ACPI: AC Adapter [AC0] (on-line)
May  5 21:46:28 nanak kernel: ACPI: Battery Slot [BAT0] (battery present)
May  5 21:46:28 nanak kernel: ACPI: Battery Slot [BAT1] (battery absent)
May  5 21:46:28 nanak kernel: ACPI: Power Button (FF) [PWRF]
May  5 21:46:28 nanak kernel: ACPI: Lid Switch [LID]
May  5 21:46:28 nanak kernel: ACPI: Sleep Button (CM) [SLPB]
May  5 21:46:28 nanak kernel: ACPI: Processor [CPU1] (supports C1, 8
throttling
states)
May  5 21:46:28 nanak kernel: ACPI: Thermal Zone [THRM] (75 C)

May  5 21:46:28 nanak kernel: ACPI: (supports S0 S1 S3 S4 S5)

A curious "fact" ;

The temperature in /proc/acpi/thermal_zone/THRM/temperature is absent !

Before I installed Debian, this laptop had come preinstalled with Fedora
Core 1, and the temperature in this file was always stuck at 75 C, an
oddity that I had not observed on my previous laptop (an IBM ThinkPad
i1300).

How do I bring the thing back up properly ?

Thanks,

MS


Quantcast