Bug 144644

Summary: powersave -U freezes 2.6.15-git12-6-default hard
Product: [openSUSE] SUSE Linux 10.1 Reporter: Gerd Bavendiek <gerd.bavendiek>
Component: KernelAssignee: Pavel Machek <pavel>
Status: RESOLVED WORKSFORME QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Beta 1   
Target Milestone: ---   
Hardware: x86   
OS: Linux   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Gerd Bavendiek 2006-01-22 10:35:10 UTC
I just updated my laptop to OSS 10.1 Beta Kernel 2.6.15-git12-6-default. I switched to run level 3 to make things simpler. 

powersave -U starts the suspend process, giving some of the usual messages. After
a second or two all these mesages disappear and the screen looks like before 
issueing the powersave command. The system ist locked hard now. Cursor no longer blinking, no input, no switching to other consoles, no ping from outside.

I run SuSE 9.2 on this laptop as my productive system. powersave -U here works really fine, even for weeks (Kernel 2.6.8-24-default).

OSS 10.1 Beta is in a test partition, so I can give additional information as
needed.

Please let me know what is needed.

Kind regards

Gerd
Comment 1 Pavel Machek 2006-01-24 11:26:43 UTC
Try again with minimal drivers (well, init 3 is nice try, init=/bin/bash would be even better) and make sure you have enough swap space available.
Comment 2 Gerd Bavendiek 2006-01-24 20:02:57 UTC
I tried:

mount /proc
mount /var
/etc/init.d/acpid start
/etc/init.d/dbus start
/etc/init.d/boot.localnet start
/etc/init.d/haldaemon start
/etc/init.d/powersaved start
powersave -U
# At this point the bell rings 3 times. Nothing more happens. dmesg does not show new entries. I'm back in the bash.

I tried the same procedure after booting tu run level s.
Same result.

Obviously I'm missing something.

BTW, swap is the same than for my productive partition, which works absolutely reliable. So size should not be an issue.
Comment 3 Pavel Machek 2006-01-24 20:18:18 UTC
Try:

mount /proc
mount /sys
swapon -a
echo disk > /sys/power/state

instead.
Comment 4 Gerd Bavendiek 2006-01-24 21:05:27 UTC
Here I'm back. This is what I did:

loadkeys de

cat /proc/cmdline
root=/dev/hda11 vga=0x317 selinux=0 splash=silent  showopts init=/bin/bash

cat /proc/version
Linux version 2.6.15-git12-6-default (geeko@buildhost) (gcc version 4.1.0 20060109 (prerelease) (SUSE Linux)) #1 Tue Jan 17 14:22:14 UTC 2006

mount /proc
mount /sys

cat /proc/mounts
rootfs / rootfs rw 0 0
udev /dev tmpfs rw 0 0
/dev/hda11 / ext3 rw,data=ordered 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0

cat /proc/modules
ext3 116360 1 - Live 0xf8860000
jbd 54688 1 ext3, Live 0xf8e81000
fan 4740 0 - Live 0xf8822000
thermal 13832 0 - Live 0xf882e000
processor 23232 1 thermal, Live 0xf8859000
piix 9092 0 [permanent], Live 0xf882a000
ide_disk 14720 3 - Live 0xf8825000
ide_core 112688 2 piix,ide_disk, Live 0xf883c000

swapon -a
cat /proc/swaps
Filename				Type		Size	Used	Priority
/dev/hda8                               partition	2104472	0	-1

cat /proc/partitions
major minor  #blocks  name

   3     0   78150744 hda
   3     1    5124703 hda1
   3     2          1 hda2
   3     5    4096543 hda5
   3     6    1261071 hda6
   3     7    6297448 hda7
   3     8    2104483 hda8
   3     9    6297448 hda9
   3    10   10964331 hda10
   3    11    7823623 hda11
   3    12     987966 hda12
   3    13   33190258 hda13

echo disk > /sys/power/state
some messages are written
after a short time the previous screen is displayed again and:
bash: echo: write error: No such device

dmesg gives me:
Linux version 2.6.15-git12-6-default (geeko@buildhost) (gcc version 4.1.0 20060109 (prerelease) (SUSE Linux)) #1 Tue Jan 17 14:22:14 UTC 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000ce000 - 00000000000d0000 (reserved)
 BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003f6f0000 (usable)
 BIOS-e820: 000000003f6f0000 - 000000003f6f8000 (ACPI data)
 BIOS-e820: 000000003f6f8000 - 000000003f700000 (ACPI NVS)
 BIOS-e820: 000000003f700000 - 0000000040000000 (reserved)
 BIOS-e820: 00000000fec10000 - 00000000fec20000 (reserved)
 BIOS-e820: 00000000ffb00000 - 00000000ffc00000 (reserved)
 BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
118MB HIGHMEM available.
896MB LOWMEM available.
On node 0 totalpages: 259824
  DMA zone: 4096 pages, LIFO batch:0
  DMA32 zone: 0 pages, LIFO batch:0
  Normal zone: 225280 pages, LIFO batch:31
  HighMem zone: 30448 pages, LIFO batch:7
DMI 2.3 present.
ACPI: RSDP (v000 FUJ                                   ) @ 0x000f58b0
ACPI: RSDT (v001 FUJ    FJNB16F  0x01280000 FUJ  0x00001000) @ 0x3f6f1d37
ACPI: FADT (v001 FUJ    FJNB16F  0x01280000 FUJ  0x00001000) @ 0x3f6f78a2
ACPI: SSDT (v001 FUJ    FJNB16F  0x01280000 INTL 0x20030228) @ 0x3f6f7916
ACPI: SSDT (v001 FUJ    FJNB16F  0x01280000 MSFT 0x0100000e) @ 0x3f6f7d2a
ACPI: BOOT (v001 FUJ    FJNB16F  0x01280000 FUJ  0x00001000) @ 0x3f6f7fd8
ACPI: DSDT (v001 FUJ    FJNB16F  0x01280000 MSFT 0x0100000e) @ 0x00000000
ACPI: PM-Timer IO Port: 0xfc08
ACPI: local apic disabled
Allocating PCI resources starting at 50000000 (gap: 40000000:bec10000)
Built 1 zonelists
Kernel command line: root=/dev/hda11 vga=0x317 selinux=0 splash=silent  showopts init=/bin/bash
bootsplash: silent mode.
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 600.065 MHz processor.
Using pmtmr for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1024392k/1039296k available (1484k kernel code, 14048k reserved, 606k data, 184k init, 121792k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 1201.90 BogoMIPS (lpj=2403812)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: a7e9f9bf 00000000 00000000 00000000 00000180 00000000 00000000
CPU: After vendor identify, caps: a7e9f9bf 00000000 00000000 00000000 00000180 00000000 00000000
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 1024K
CPU: After all inits, caps: a7e9f9bf 00000000 00000000 00000040 00000180 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
mtrr: v2.0 (20020519)
CPU: Intel(R) Pentium(R) M processor 1600MHz stepping 05
Checking 'hlt' instruction... OK.
checking if image is initramfs... it is
Freeing initrd memory: 2396k freed
 not found!
ACPI: setting ELCR to 0200 (from 0800)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfd9b2, last bus=3
PCI: Using configuration type 1
ACPI: Subsystem revision 20050902
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:00:02.0
PCI quirk: region fc00-fc7f claimed by ICH4 ACPI/GPIO/TCO
PCI quirk: region fc80-fcbf claimed by ICH4 GPIO
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
PCI: Transparent bridge - 0000:00:1e.0
PCI: Bus #03 (-#06) may be hidden behind transparent bridge #01 (-#03) (try 'pci=assign-busses')
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 9 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 9 10 *11)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB_._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 11 devices
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
TC classifier action (bugs to netdev@vger.kernel.org cc hadi@cyberus.ca)
PCI: Ignore bogus resource 6 [0:0] of 0000:00:02.0
PCI: Bus 2, cardbus bridge: 0000:01:0a.0
  IO window: 00003400-000034ff
  IO window: 00003800-000038ff
  PREFETCH window: 50000000-51ffffff
  MEM window: 56000000-57ffffff
PCI: Bus 3, cardbus bridge: 0000:01:0a.1
  IO window: 00003c00-00003cff
  IO window: 00001000-000010ff
  PREFETCH window: 52000000-53ffffff
  MEM window: 58000000-59ffffff
PCI: Bridge: 0000:00:1e.0
  IO window: 3000-3fff
  MEM window: d0200000-d02fffff
  PREFETCH window: 50000000-53ffffff
PCI: Setting latency timer of device 0000:00:1e.0 to 64
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:01:0a.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
ACPI: PCI Interrupt 0000:01:0a.1[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
Simple Boot Flag at 0x7f set to 0x1
apm: BIOS not found.
audit: initializing netlink socket (disabled)
audit(1138139454.520:1): initialized
highmem bounce pool size: 64 pages
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
vesafb: framebuffer at 0xd8000000, mapped to 0xf8880000, using 6144k, total 8000k
vesafb: mode is 1024x768x16, linelength=2048, pages=4
vesafb: protected mode interface info at 00ff:44f0
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12ac
PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS3 at I/O 0x2e8 (irq = 3) is a 16550A
00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    ACPI-0201: *** Warning: Device is not power manageable
ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize
loop: loaded (max 8 devices)
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input0
input: PC Speaker as /class/input/input1
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
NET: Registered protocol family 1
Using IPI Shortcut mode
ACPI wakeup devices: 
UAR1  HUB A97M  LID 
ACPI: (supports S0 S3 S4 S5)
Freeing unused kernel memory: 184k freed
input: PS/2 Mouse as /class/input/input2
input: AlpsPS/2 ALPS GlidePoint as /class/input/input3
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 0000:00:1f.1
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
ICH4: chipset revision 3
ICH4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x2440-0x2447, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x2448-0x244f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: HTS548080M9AT00, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 512KiB
hda: 156301488 sectors (80026 MB) w/7877KiB Cache, CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
 hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 hda12 hda13 >
Probing IDE interface ide1...
hdc: UJDA760 DVD/CDRW, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda11, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 2104472k swap on /dev/hda8.  Priority:-1 extents:1 across:2104472k
Stopping tasks: =====|
Shrinking memory...  -done (0 pages freed)
pnp: Device 00:07 disabled.
..............................swsusp: Need to copy 5475 pages
swsusp: critical section/: done (5475 pages copied)
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
swsusp: Restoring Highmem
PCI: Setting latency timer of device 0000:00:1e.0 to 64
ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt 0000:01:0a.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt 0000:01:0a.1[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
pnp: Failed to activate device 00:05.
pnp: Failed to activate device 00:06.
pnp: Device 00:07 activated.
swsusp: Cannot find swap device, try swapon -a.
Restarting tasks... done

Hope it helps

Gerd

Comment 5 Forgotten User ZhJd0F0L3x 2006-01-24 21:12:16 UTC
you have no "resume=" boot option. Although it should not freeze hard as the subject suggests, it cannot work without it.

add "resume=/dev/hda8" to /boot/grub/menu.lst at the end of the "kernel" line and reboot. Afterwards it should work.

If it does, please close this bug as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=133993

If it does not, please attach /var/log/suspend2disk.log after the failed suspend so we can see what is going on (and which modules are loaded prior to suspend)
Comment 6 Gerd Bavendiek 2006-01-25 11:22:29 UTC
I added resume=/dev/hda8. It has been in menu.lst at least in 10.0 but after the update it was missing (which I wasn't aware of - thanks for the hint).

Now it works - kind of ...

I tested several times the minimal screnario as Pavel suggested. This always worked.

The real live powersave -U sometimes works, sometimes not (freezing hard).

Sometimes I'm thrown in the grub menu, sometimes not. If not, I of course
select 10.1 Beta kernel. Maybe this is important ...

First output (freezing hard after output: Restarting tasks...done)

suspend2disk initiated: 2006-01-25 11:50:37
Loaded modules:
Module                  Size  Used by
joydev                  9024  0 
sg                     30492  0 
st                     34076  0 
sd_mod                 16016  0 
sr_mod                 14500  0 
scsi_mod              120680  4 sg,st,sd_mod,sr_mod
ide_cd                 35360  0 
cdrom                  32288  2 sr_mod,ide_cd
af_packet              19336  2 
cpufreq_ondemand        6172  1 
cpufreq_userspace       4312  0 
cpufreq_powersave       1792  0 
speedstep_centrino      6868  1 
freq_table              4228  1 speedstep_centrino
autofs4                16644  1 
ipv6                  217088  10 
snd_pcm_oss            42624  0 
snd_mixer_oss          16256  1 snd_pcm_oss
snd_seq                46960  0 
snd_seq_device          7948  1 snd_seq
edd                     8516  0 
button                  6928  0 
battery                 9860  0 
ac                      5124  0 
irtty_sir               5888  2 
sir_dev                15660  1 irtty_sir
irda                  103224  1 sir_dev
crc_ccitt               2176  1 irda
snd_intel8x0           30108  0 
snd_ac97_codec         82976  1 snd_intel8x0
usbhid                 39520  0 
snd_ac97_bus            2176  1 snd_ac97_codec
snd_pcm                80008  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
pcmcia                 34236  0 
snd_timer              20868  2 snd_seq,snd_pcm
ipw2100                63024  0 
8139too                23424  0 
snd                    50180  8 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
ieee80211              28104  1 ipw2100
ieee80211_crypt         5248  1 ieee80211
mii                     5120  1 8139too
firmware_class          9728  2 pcmcia,ipw2100
soundcore               8672  1 snd
yenta_socket           23692  2 
rsrc_nonstatic         12160  1 yenta_socket
pcmcia_core            36624  3 pcmcia,yenta_socket,rsrc_nonstatic
snd_page_alloc          9864  2 snd_intel8x0,snd_pcm
ehci_hcd               27528  0 
uhci_hcd               27280  0 
hw_random               5400  0 
i8xx_tco                6804  0 
shpchp                 38336  0 
usbcore               108292  4 usbhid,ehci_hcd,uhci_hcd
pci_hotplug            23988  1 shpchp
i2c_i801                7948  0 
generic                 4356  0 [permanent]
intel_agp              20764  1 
i2c_core               19088  1 i2c_i801
agpgart                29256  2 intel_agp
dm_mod                 50920  0 
parport_pc             34916  1 
lp                     10692  0 
parport                31944  2 parport_pc,lp
ext3                  116360  3 
jbd                    54688  1 ext3
fan                     4740  0 
thermal                13832  0 
processor              23232  2 speedstep_centrino,thermal
piix                    9092  0 [permanent]
ide_disk               14720  5 
ide_core              112688  4 ide_cd,generic,piix,ide_disk

Memory info:
             total       used       free     shared    buffers     cached
Mem:       1027444     402616     624828          0      62948     232200
-/+ buffers/cache:     107468     919976
Swap:      2104472          0    2104472

------------------------------------------------------------------------------
========we are going to sleep, preparing.========
== Unmounting FAT/NTFS filesystems: ==
  none found in /etc/mtab
== FAT/NTFS filesystems unmounted ==
Stopping services: ('slmodemd irda' configured)
stopping irda:
##  Shutting down service IrDA..done

------------------------------------------------------------------------------
Unloading modules: ('usb_storage sbp2 ohci_hcd uhci_hcd stir4200 ohci1394 ipw2200 rt2500 prism54 lt_modem Intel536 Intel537' configured)
checking usb_storage
checking sbp2
checking ohci_hcd
checking uhci_hcd
# trying to unload: uhci_hcd
unloaded: uhci_hcd
checking stir4200
checking ohci1394
checking ipw2200
checking rt2500
checking prism54
checking lt_modem
checking Intel536
checking Intel537
------------------------------------------------------------------------------
prepare_sleep finished for suspend2disk
------------------------------------------------------------------------------
preparing boot-loader: selecting entry 0, kernel /boot/2.6.15-git12-6-default
  time needed for sync: 0.4 seconds, time needed for grub: 0.0 seconds.

Second out: System comes up fine:

suspend2disk initiated: 2006-01-25 11:56:31
Loaded modules:
Module                  Size  Used by
cpufreq_ondemand        6172  1 
cpufreq_userspace       4312  0 
cpufreq_powersave       1792  0 
speedstep_centrino      6868  1 
freq_table              4228  1 speedstep_centrino
autofs4                16644  1 
ipv6                  217088  10 
snd_pcm_oss            42624  0 
snd_mixer_oss          16256  1 snd_pcm_oss
snd_seq                46960  0 
snd_seq_device          7948  1 snd_seq
edd                     8516  0 
button                  6928  0 
battery                 9860  0 
ac                      5124  0 
pcmcia                 34236  0 
ipw2100                63024  0 
8139too                23424  0 
ieee80211              28104  1 ipw2100
mii                     5120  1 8139too
ieee80211_crypt         5248  1 ieee80211
usbhid                 39520  0 
firmware_class          9728  2 pcmcia,ipw2100
yenta_socket           23692  2 
rsrc_nonstatic         12160  1 yenta_socket
pcmcia_core            36624  3 pcmcia,yenta_socket,rsrc_nonstatic
snd_intel8x0           30108  0 
snd_ac97_codec         82976  1 snd_intel8x0
snd_ac97_bus            2176  1 snd_ac97_codec
snd_pcm                80008  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
hw_random               5400  0 
snd_timer              20868  2 snd_seq,snd_pcm
snd                    50180  8 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               8672  1 snd
snd_page_alloc          9864  2 snd_intel8x0,snd_pcm
shpchp                 38336  0 
pci_hotplug            23988  1 shpchp
intel_agp              20764  1 
i2c_i801                7948  0 
generic                 4356  0 [permanent]
i8xx_tco                6804  0 
agpgart                29256  2 intel_agp
i2c_core               19088  1 i2c_i801
uhci_hcd               27280  0 
ehci_hcd               27528  0 
usbcore               108292  4 usbhid,uhci_hcd,ehci_hcd
dm_mod                 50920  0 
parport_pc             34916  1 
lp                     10692  0 
parport                31944  2 parport_pc,lp
ext3                  116360  3 
jbd                    54688  1 ext3
fan                     4740  0 
thermal                13832  0 
processor              23232  2 speedstep_centrino,thermal
piix                    9092  0 [permanent]
ide_disk               14720  5 
ide_core              112688  3 generic,piix,ide_disk

Memory info:
             total       used       free     shared    buffers     cached
Mem:       1027444      91380     936064          0       7464      50328
-/+ buffers/cache:      33588     993856
Swap:      2104472          0    2104472

------------------------------------------------------------------------------
========we are going to sleep, preparing.========
== Unmounting FAT/NTFS filesystems: ==
  none found in /etc/mtab
== FAT/NTFS filesystems unmounted ==
Stopping services: ('slmodemd irda' configured)
none running.

------------------------------------------------------------------------------
Unloading modules: ('usb_storage sbp2 ohci_hcd uhci_hcd stir4200 ohci1394 ipw2200 rt2500 prism54 lt_modem Intel536 Intel537' configured)
checking usb_storage
checking sbp2
checking ohci_hcd
checking uhci_hcd
# trying to unload: uhci_hcd
unloaded: uhci_hcd
checking stir4200
checking ohci1394
checking ipw2200
checking rt2500
checking prism54
checking lt_modem
checking Intel536
checking Intel537
------------------------------------------------------------------------------
prepare_sleep finished for suspend2disk
------------------------------------------------------------------------------
preparing boot-loader: selecting entry 0, kernel /boot/2.6.15-git12-6-default
  time needed for sync: 0.0 seconds, time needed for grub: 0.3 seconds.
========we are back from suspend, cleaning up.========

== restore_after_sleep: restart and reload everything ==

Resuming:
---------

Reloading modules:
  uhci_hcd

Restarting services:

Remounting filesystems:
  not necessary.
=======================================
restore_after_suspend_to_disk: finished

Comment 7 Pavel Machek 2006-01-25 18:30:45 UTC
Well, try to narrow down the module that causes occassional hardlocks... Probably you can do binary search. Or maybe it is alergic to X running?
Comment 8 Gerd Bavendiek 2006-01-25 19:58:16 UTC
Pavel: I'm afraid, I do not understand what you mean with "binary search".

I just did four tests in a row. First three were fine. Nr 4 was hard freeze.
Nevertheless I found

lulu:/newroot/var/log>>> tail -3 suspend2disk.log-hard-freeze-4
  not necessary.
=======================================
restore_after_suspend_to_disk: finished

This time the system froze with screensaver on (which is a blank screen in my config).

So I will switch to run level 3 and do another couple of tests.

CU Gerd
Comment 9 Gerd Bavendiek 2006-01-25 21:37:41 UTC
So I did 10 tests without X, all were ok. Then I started X again, did 12 tests - all ok. So this time much more luck than last time (3 times ok, nr 4 hard freeze).

I'm unsure how to proceed ...

Gerd
Comment 10 Pavel Machek 2006-01-25 21:54:27 UTC
Try to somehow locate the part responsible for the lockup. It may not be easy :-(.

You may also want to try older kernels, perhaps it worked in one of them.
Comment 11 Gerd Bavendiek 2006-02-01 19:53:37 UTC
Yes, I tried older kernels.

10.0 freezes on resume. Same is true for 9.3 with 2.6.11.4-21.2-default. So the only working combination is my current 9.2 with 2.6.8-24-default.

It's always the same: Resuming works, the desktop seems ready to continue work - then the system freezes.

I'm giving up on this ...
Comment 12 Pavel Machek 2006-02-20 13:52:12 UTC
Okay, lets hope it is fixed in 10.1 or something.