hibernation problem under ubuntu/gutsy-rc

Bug #152294 reported by Marc Quinton
2
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned

Bug Description

hello,

I'm trying to make hibernation work on my computer with Gutsy. On this particular computer it does't work since Gutsy beta testing and updates.
It was working fine before with Feisty. Other computer work fine to.

- I have discovered that hibernation from init 1 level works fine, But not from init 2 with GDM.
- I have changed driver from fglrx to ati. But I have same problem.

When I try to hibernate from Gnome, computer starts hibernation, harddisk is running some time. And after few seconds, cap-lock and scroll-lock leds
are blinking together. After that, can't get control from computer. CapLock key is not active.

don't know how to recover from this problem.

update : in init 2 (graphical mode), I run sudo /etc/acpi/hibernate.sh and It works fine. So this may be an hal-script problem for ubuntu-gutsy.
update2 : I have resolved this problem with editing /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux and calling directly /etc/acpi/hibernate.sh.

don't know how to debug hal-system-power-hibernate-linux ; sh -xv hal-system-power-hibernate-linux >> /var/log/hibernate.log does not produce anything, perhaps because of buffering.

update3 : with official ubuntu-gutsy 7.10, on a fresh install, this bug does not appear. This can be closed.

Revision history for this message
Marc Quinton (mquinton) wrote :
Download full text (5.5 KiB)

my computer internals :

marc@ubuntu-gutsy:~$ lspci -v
00:00.0 Host bridge: ATI Technologies Inc Radeon Xpress 200 Host Bridge (rev 01)
        Subsystem: Elitegroup Computer Systems Unknown device 1b36
        Flags: bus master, 66MHz, medium devsel, latency 64
        Memory at <ignored> (64-bit, non-prefetchable)

00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge (prog-if 00 [Normal decode])
        Flags: bus master, 66MHz, medium devsel, latency 64
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        I/O behind bridge: 0000b000-0000bfff
        Memory behind bridge: ff400000-ff4fffff
        Prefetchable memory behind bridge: bff00000-dfefffff
        Capabilities: <access denied>

00:19.0 PCI bridge: ALi Corporation M5249 HTT to PCI Bridge (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: ff500000-ff5fffff
        Capabilities: <access denied>

00:1c.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
        Subsystem: Elitegroup Computer Systems Unknown device 1b36
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
        Memory at ff6ff000 (32-bit, non-prefetchable) [size=4K]

00:1c.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
        Subsystem: Elitegroup Computer Systems Unknown device 1b36
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
        Memory at ff6fe000 (32-bit, non-prefetchable) [size=4K]

00:1c.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
        Subsystem: Elitegroup Computer Systems Unknown device 1b36
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 20
        Memory at ff6fd000 (32-bit, non-prefetchable) [size=4K]

00:1c.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01) (prog-if 20 [EHCI])
        Subsystem: Elitegroup Computer Systems Unknown device 1b36
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
        Memory at ff6fcc00 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>

00:1d.0 Audio device: ALi Corporation High Definition Audio/AC'97 Host Controller
        Subsystem: Elitegroup Computer Systems Unknown device 1b36
        Flags: bus master, medium devsel, latency 64, IRQ 22
        Memory at ff6f8000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>

00:1e.0 ISA bridge: ALi Corporation PCI to LPC Controller (rev 31)
        Subsystem: Elitegroup Computer Systems Unknown device 1b36
        Flags: bus master, medium devsel, latency 0

00:1e.1 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
        Subsystem: Elitegroup Computer Systems Unknown device 1b36
        Flags: medium devsel

00:1f.0 IDE interface: ALi Corporation M5229 IDE (rev c7) (prog-if 8a [Master SecP PriP])
        Subsystem: Elitegroup Computer Systems Unknown device 1b36
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 17
        [virtual] Memory at 000001f0 (32-bit...

Read more...

Revision history for this message
Marc Quinton (mquinton) wrote :
Download full text (25.4 KiB)

dmesg :

marc@ubuntu-gutsy:~$ dmesg
[ 0.000000] Linux version 2.6.22-14-generic (buildd@vernadsky) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Wed Oct 10 06:00:47 GMT 2007 (Ubuntu 2.6.22-14.43-generic)
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 0000000037fd0000 (usable)
[ 0.000000] BIOS-e820: 0000000037fd0000 - 0000000037fdf000 (ACPI data)
[ 0.000000] BIOS-e820: 0000000037fdf000 - 0000000038000000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[ 0.000000] BIOS-e820: 00000000ff780000 - 0000000100000000 (reserved)
[ 0.000000] 0MB HIGHMEM available.
[ 0.000000] 895MB LOWMEM available.
[ 0.000000] Entering add_active_range(0, 0, 229328) 0 entries of 256 used
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] Normal 4096 -> 229328
[ 0.000000] HighMem 229328 -> 229328
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0 -> 229328
[ 0.000000] On node 0 totalpages: 229328
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 4064 pages, LIFO batch:0
[ 0.000000] Normal zone: 1759 pages used for memmap
[ 0.000000] Normal zone: 223473 pages, LIFO batch:31
[ 0.000000] HighMem zone: 0 pages used for memmap
[ 0.000000] DMI 2.3 present.
[ 0.000000] ACPI: RSDP signature @ 0xC00F9AA0 checksum 0
[ 0.000000] ACPI: RSDP 000F9AA0, 0014 (r0 ACPIAM)
[ 0.000000] ACPI: RSDT 37FD0000, 0038 (r1 A M I OEMRSDT 1000606 MSFT 97)
[ 0.000000] ACPI: FACP 37FD0200, 0081 (r1 A M I OEMFACP 1000606 MSFT 97)
[ 0.000000] ACPI: DSDT 37FD0400, 4CB1 (r1 41S11 41S11001 1 INTL 2002026)
[ 0.000000] ACPI: FACS 37FDF000, 0040
[ 0.000000] ACPI: APIC 37FD0390, 006C (r1 A M I OEMAPIC 1000606 MSFT 97)
[ 0.000000] ACPI: SSDT 37FD50C0, 007B (r1 OEM_ID OEMTBLID 1 INTL 2002026)
[ 0.000000] ACPI: OEMB 37FDF040, 0040 (r1 A M I AMI_OEM 1000606 MSFT 97)
[ 0.000000] ACPI: MCFG 37FD5140, 003C (r1 A M I OEMMCFG 1000606 MSFT 97)
[ 0.000000] ATI board detected. Disabling timer routing over 8254.
[ 0.000000] ACPI: PM-Timer IO Port: 0x4008
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[ 0.000000] Processor #0 15:4 APIC version 20
[ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
[ 0.000000] Processor #1 15:4 APIC version 20
[ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled)
[ 0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000...

description: updated
Revision history for this message
Marc Quinton (mquinton) wrote :
Download full text (4.5 KiB)

my loaded modules and iwconfig

marc@ubuntu-gutsy:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:""
          Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
          Retry min limit:7 RTS thr:off Fragment thr=2346 B
          Link Quality:0 Signal level:0 Noise level:0
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

marc@ubuntu-gutsy:~$ lsmod | grep iwl
marc@ubuntu-gutsy:~$ lsmod
Module Size Used by
ipv6 273892 10
af_packet 24840 2
rfcomm 42136 2
l2cap 26240 11 rfcomm
bluetooth 57060 4 rfcomm,l2cap
ppdev 10244 0
speedstep_lib 6404 0
cpufreq_userspace 5280 0
cpufreq_ondemand 9612 0
cpufreq_powersave 2688 0
cpufreq_conservative 8072 0
cpufreq_stats 7232 0
freq_table 5792 2 cpufreq_ondemand,cpufreq_stats
video 18060 0
container 5504 0
sbs 19592 0
ac 6148 0
dock 10656 0
button 8976 0
battery 11012 0
nls_iso8859_1 5120 2
nls_cp437 6784 2
vfat 14080 2
fat 54300 1 vfat
sbp2 24072 0
lp 12580 0
arc4 2944 2
ecb 4608 2
blkcipher 7556 1 ecb
rc80211_simple 6912 1
snd_hda_intel 263712 1
snd_pcm_oss 44672 0
snd_mixer_oss 17664 1 snd_pcm_oss
snd_pcm 80388 2 snd_hda_intel,snd_pcm_oss
snd_seq_dummy 4740 0
rt2500pci 19072 0
rt2x00pci 11520 1 rt2500pci
rt2x00lib 19584 2 rt2500pci,rt2x00pci
rfkill 8208 1 rt2x00lib
mac80211 171016 4 rc80211_simple,rt2500pci,rt2x00pci,rt2x00lib
snd_seq_oss 33152 0
cfg80211 7304 1 mac80211
input_polldev 5896 1 rt2x00lib
crc_itu_t 3072 1 rt2x00lib
eeprom_93cx6 3200 1 rt2500pci
snd_seq_midi 9600 0
irtty_sir 9856 0
sir_dev 17412 1 irtty_sir
snd_rawmidi 25728 1 snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
sg 36764 0
snd_seq 53232 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
irda 202300 2 irtty_sir,sir_dev
snd_timer 24324 2 snd_pcm,snd_seq
snd_seq_device 9228 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 54660 11 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
ati_agp 10124 0
crc_ccitt 3072 1 irda
i2c_ali15x3 9092 0
i2c_ali1535 8196 0
agpgart 35016 1 ati_agp
soundcore 8800...

Read more...

Marc Quinton (mquinton)
description: updated
Revision history for this message
Marc Quinton (mquinton) wrote :

my dmesg file with sudo /etc/acpi/hibernate.sh and good hibernation.

description: updated
Marc Quinton (mquinton)
description: updated
Marc Quinton (mquinton)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.