Bug 626560

Summary: Suspend to RAM failes
Product: [openSUSE] openSUSE 11.3 Reporter: Robert Gartler <robert_gartler>
Component: BasesystemAssignee: Holger Macht <hmacht>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: squan
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Robert Gartler 2010-07-29 07:32:09 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.6) Gecko/20100626 SUSE/3.6.6-1.2 Firefox/3.6.6

Suspend to RAM fails. Sometimes it shows me the GDM Login again, sometimes it justs freezes and shows the console login and sometimes - but rarely -  it works.

Here is the machine info:

ucl02564:~ # s2ram --test
Machine matched entry 243:
    sys_vendor   = 'Dell Inc.'
    sys_product  = 'Latitude D830 *'
    sys_version  = ''
    bios_version = ''
Fixes: 0x88  VBE_POST VBE_MODE 
This machine can be identified by:
    sys_vendor   = "Dell Inc."
    sys_product  = "Latitude D830                   "
    sys_version  = ""
    bios_version = "A05"
See http://en.opensuse.org/S2ram for details.

Here is the output in /var/log/message:

Jul 28 17:08:57 ucl02564 kernel: [33489.265588] PM: Syncing filesystems ... done.
Jul 28 17:08:57 ucl02564 kernel: [33490.403745] PM: Preparing system for mem sleep
Jul 28 17:08:57 ucl02564 kernel: [33490.404009] Freezing user space processes ... (elapsed 0.05 seconds) done.
Jul 28 17:08:57 ucl02564 kernel: [33490.459242] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Jul 28 17:08:57 ucl02564 kernel: [33490.470242] PM: Entering mem sleep
Jul 28 17:08:57 ucl02564 kernel: [33490.470260] Suspending console(s) (use no_console_suspend to debug)
Jul 28 17:08:57 ucl02564 kernel: [33490.470901] sd 2:0:0:0: [sda] Synchronizing SCSI cache
Jul 28 17:08:57 ucl02564 kernel: [33490.473815] btusb_intr_complete: hci0 urb ffff88007d0e1980 failed to resubmit (1)
Jul 28 17:08:57 ucl02564 kernel: [33490.474818] btusb_bulk_complete: hci0 urb ffff880037d77e40 failed to resubmit (1)
Jul 28 17:08:57 ucl02564 kernel: [33490.459242] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Jul 28 17:08:57 ucl02564 kernel: [33490.470242] PM: Entering mem sleep
Jul 28 17:08:57 ucl02564 kernel: [33490.470260] Suspending console(s) (use no_console_suspend to debug)
Jul 28 17:08:57 ucl02564 kernel: [33490.470901] sd 2:0:0:0: [sda] Synchronizing SCSI cache
Jul 28 17:08:57 ucl02564 kernel: [33490.473815] btusb_intr_complete: hci0 urb ffff88007d0e1980 failed to resubmit (1)
Jul 28 17:08:57 ucl02564 kernel: [33490.474818] btusb_bulk_complete: hci0 urb ffff880037d77e40 failed to resubmit (1)
Jul 28 17:08:57 ucl02564 kernel: [33490.475818] btusb_bulk_complete: hci0 urb ffff88007d65fec0 failed to resubmit (1)
Jul 28 17:08:57 ucl02564 kernel: [33490.487738] serial 00:09: disable failed
Jul 28 17:08:57 ucl02564 kernel: [33490.487745] legacy_suspend(): pnp_bus_suspend+0x0/0xa0 returns -5
Jul 28 17:08:57 ucl02564 kernel: [33490.487747] PM: Device 00:09 failed to suspend: error -5
Jul 28 17:08:57 ucl02564 kernel: [33490.545075] sd 2:0:0:0: [sda] Stopping disk
Jul 28 17:08:57 ucl02564 kernel: [33490.937308] PM: Some devices failed to suspend
Jul 28 17:08:57 ucl02564 kernel: [33490.938130] sd 2:0:0:0: [sda] Starting disk
Jul 28 17:08:57 ucl02564 kernel: [33492.061280] PM: resume of devices complete after 1123.964 msecs
Jul 28 17:08:57 ucl02564 kernel: [33492.061505] PM: Finishing wakeup.
Jul 28 17:08:57 ucl02564 kernel: [33492.061506] Restarting tasks ... done.
Jul 28 17:08:57 ucl02564 kernel: [33492.067928] video LNXVIDEO:00: Restoring backlight state
Jul 28 17:08:57 ucl02564 acpid: 1 client rule loaded
Jul 28 17:08:59 ucl02564 acpid: 1 client rule loaded
Jul 28 17:09:01 ucl02564 kernel: [33496.110034] CE: hpet increased min_delta_ns to 16875 nsec
Jul 28 17:09:01 ucl02564 kernel: [33496.110034] CE: hpet increased min_delta_ns to 25312 nsec
Jul 28 17:09:01 ucl02564 kernel: [33496.177041] ADDRCONF(NETDEV_UP): wlan1: link is not ready
Jul 28 17:09:01 ucl02564 kernel: [33496.177923] pcieport 0000:00:1c.5: wake-up capability disabled by ACPI
Jul 28 17:09:01 ucl02564 kernel: [33496.177969] tg3 0000:09:00.0: PME# disabled
Jul 28 17:09:01 ucl02564 kernel: [33496.189128] tg3 0000:09:00.0: irq 31 for MSI/MSI-X
Jul 28 17:09:01 ucl02564 kernel: [33496.224491] ADDRCONF(NETDEV_UP): eth1: link is not ready

Reproducible: Sometimes

Steps to Reproduce:
1. Hit suspend via the shutdown menu.
2.
3.
Actual Results:  
Most of the time it doesn't work and the system freezes.

Expected Results:  
Suspend the machine.

Please let me know if you need more informations. I am able to reproduce that.
Comment 1 Holger Macht 2010-08-02 11:08:01 UTC
Can you please try to set /usr/lib/pm-utils/defaults:SUSPEND_MODULES="btusb" and suspend again? Does it work now?
Comment 2 Robert Gartler 2010-08-03 07:10:31 UTC
Sorry... same thing:

Aug  2 18:09:09 ucl02564 kernel: [51012.711247] PM: Syncing filesystems ... done.
Aug  2 18:09:09 ucl02564 kernel: [51013.206054] PM: Preparing system for mem sleep
Aug  2 18:09:11 ucl02564 kernel: [51013.206687] Freezing user space processes ... (elapsed 0.01 seconds) done.
Aug  2 18:09:11 ucl02564 kernel: [51013.219391] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Aug  2 18:09:11 ucl02564 kernel: [51013.230152] PM: Entering mem sleep
Aug  2 18:09:11 ucl02564 kernel: [51013.230179] Suspending console(s) (use no_console_suspend to debug)
Aug  2 18:09:11 ucl02564 kernel: [51013.234742] sd 2:0:0:0: [sda] Synchronizing SCSI cache
Aug  2 18:09:11 ucl02564 kernel: [51013.236303] sd 2:0:0:0: [sda] Stopping disk
Aug  2 18:09:11 ucl02564 kernel: [51013.236860] btusb_intr_complete: hci0 urb ffff880079d536c0 failed to resubmit (1)
Aug  2 18:09:11 ucl02564 kernel: [51013.237944] btusb_bulk_complete: hci0 urb ffff88007d81dcc0 failed to resubmit (1)
Aug  2 18:09:11 ucl02564 kernel: [51013.238868] btusb_bulk_complete: hci0 urb ffff880037e51540 failed to resubmit (1)
Aug  2 18:09:11 ucl02564 kernel: [51013.249060] serial 00:09: disable failed
Aug  2 18:09:11 ucl02564 kernel: [51013.249076] legacy_suspend(): pnp_bus_suspend+0x0/0xa0 returns -5
Aug  2 18:09:11 ucl02564 kernel: [51013.249082] PM: Device 00:09 failed to suspend: error -5
Aug  2 18:09:11 ucl02564 kernel: [51013.642533] PM: Some devices failed to suspend
Aug  2 18:09:11 ucl02564 kernel: [51013.644717] sd 2:0:0:0: [sda] Starting disk
Aug  2 18:09:11 ucl02564 kernel: [51014.755314] PM: resume of devices complete after 1112.769 msecs
Aug  2 18:09:11 ucl02564 kernel: [51014.755957] PM: Finishing wakeup.
Aug  2 18:09:11 ucl02564 kernel: [51014.755962] Restarting tasks ... done.
Aug  2 18:09:11 ucl02564 kernel: [51014.778948] video LNXVIDEO:00: Restoring backlight state
Aug  2 18:09:11 ucl02564 acpid: 1 client rule loaded
Aug  2 18:09:12 ucl02564 kernel: [51015.388202] ADDRCONF(NETDEV_UP): wlan1: link is not ready
Aug  2 18:09:12 ucl02564 kernel: [51015.388989] pcieport 0000:00:1c.5: wake-up capability disabled by ACPI
Aug  2 18:09:12 ucl02564 kernel: [51015.389036] tg3 0000:09:00.0: PME# disabled
Aug  2 18:09:12 ucl02564 kernel: [51015.400452] tg3 0000:09:00.0: irq 31 for MSI/MSI-X
Aug  2 18:09:12 ucl02564 kernel: [51015.438887] ADDRCONF(NETDEV_UP): eth1: link is not ready
Comment 3 Robert Gartler 2010-08-03 07:12:56 UTC
But it looks like it only happens, in case the laptop was in the docking station before. If I start it outside of the dock and suspend, it works. If I put it in the docking station, (work the whole day), take it out of the dock and suspend, it fails.
Comment 4 Holger Macht 2010-08-03 10:26:55 UTC
Please also try to unload uhci_hcd and ehci_hcd before trying to suspend.
Comment 5 Robert Gartler 2010-08-11 07:51:44 UTC
It is still the same. It works when it never was in the dock, but it fails if it was. Nevertheless I can't post any trace anymore. It seems to print the trace to /var/log/messages when it comes up again.

That is all I have for the failed memsleep (including the first two lines of the next system start) - btw. I don't have a pcmcia card in my laptop:
Aug 10 17:48:50 ucl02564 kernel: [32301.307824] pcmcia_socket pcmcia_socket0: pccard: card ejected from slot 0
Aug 10 17:48:51 ucl02564 kernel: [32301.619658] tg3 0000:09:00.0: PME# enabled
Aug 10 17:48:51 ucl02564 kernel: [32301.619677] pcieport 0000:00:1c.5: wake-up capability enabled by ACPI
Aug 10 17:48:51 ucl02564 avahi-daemon[1979]: Withdrawing address record for fe80::21d:9ff:feae:c1c6 on eth1.
Aug 10 17:48:56 ucl02564 polkitd(authority=local): Unregistered Authentication Agent for session /org/freedesktop/ConsoleKit/Session1 (system bus name :1.33, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8) (disco
Aug 10 19:40:05 ucl02564 kernel: imklog 5.4.0, log source = /proc/kmsg started.
Aug 10 19:40:05 ucl02564 rsyslogd: [origin software="rsyslogd" swVersion="5.4.0" x-pid="1496" x-info="http://www.rsyslog.com"] start


Here is the trace of a successful memsleep (look at the timestamps):
Aug 10 22:41:44 ucl02564 kernel: [10919.673503] pcmcia_socket pcmcia_socket0: pccard: card ejected from slot 0
Aug 10 22:41:49 ucl02564 kernel: [10924.452131] PM: Syncing filesystems ... done.
Aug 10 22:41:49 ucl02564 kernel: [10924.653545] PM: Preparing system for mem sleep
Aug 11 08:50:59 ucl02564 bluetoothd[1996]: HCI dev 0 down
Aug 11 08:50:59 ucl02564 kernel: [10924.654509] Freezing user space processes ... (elapsed 0.03 seconds) done.
Aug 11 08:50:59 ucl02564 kernel: [10924.687101] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Aug 11 08:50:59 ucl02564 kernel: [10924.698067] PM: Entering mem sleep
Aug 11 08:50:59 ucl02564 kernel: [10924.698085] Suspending console(s) (use no_console_suspend to debug)
Aug 11 08:50:59 ucl02564 kernel: [10924.702540] sd 2:0:0:0: [sda] Synchronizing SCSI cache
Aug 11 08:50:59 ucl02564 kernel: [10924.704047] btusb_intr_complete: hci0 urb ffff88007d3c1600 failed to resubmit (1)
Aug 11 08:50:59 ucl02564 kernel: [10924.704148] btusb_bulk_complete: hci0 urb ffff88007d3c1480 failed to resubmit (1)
Aug 11 08:50:59 ucl02564 kernel: [10924.705150] btusb_bulk_complete: hci0 urb ffff88007d3c1540 failed to resubmit (1)
Aug 11 08:50:59 ucl02564 kernel: [10924.706920] sd 2:0:0:0: [sda] Stopping disk
Aug 11 08:50:59 ucl02564 kernel: [10924.718404] serial 00:09: disabled
Aug 11 08:50:59 ucl02564 kernel: [10924.720534] ACPI handle has no context!
Aug 11 08:50:59 ucl02564 kernel: [10924.720768] ehci_hcd 0000:00:1d.7: PCI INT A disabled
Aug 11 08:50:59 ucl02564 kernel: [10924.720801] uhci_hcd 0000:00:1d.1: PCI INT B disabled
Aug 11 08:50:59 ucl02564 kernel: [10924.720814] uhci_hcd 0000:00:1d.0: PCI INT A disabled
Aug 11 08:50:59 ucl02564 kernel: [10924.720821] ata2: port disabled. ignoring.
Aug 11 08:50:59 ucl02564 kernel: [10924.720866] ata_piix 0000:00:1f.1: PCI INT A disabled
Aug 11 08:50:59 ucl02564 kernel: [10924.720875] ehci_hcd 0000:00:1a.7: PCI INT C disabled
Aug 11 08:50:59 ucl02564 kernel: [10924.720882] uhci_hcd 0000:00:1a.1: PCI INT B disabled
Aug 11 08:50:59 ucl02564 kernel: [10924.720890] uhci_hcd 0000:00:1a.0: PCI INT A disabled
Aug 11 08:50:59 ucl02564 kernel: [10924.728292] uhci_hcd 0000:00:1d.2: PCI INT C disabled
Aug 11 08:50:59 ucl02564 kernel: [10924.925096] HDA Intel 0000:00:1b.0: PCI INT A disabled
Aug 11 08:50:59 ucl02564 kernel: [10925.290994] ata_piix 0000:00:1f.2: PCI INT B disabled
Aug 11 08:50:59 ucl02564 kernel: [10925.301033] PM: suspend of devices complete after 602.531 msecs
Aug 11 08:50:59 ucl02564 kernel: [10925.323095] PM: late suspend of devices complete after 22.056 msecs
Aug 11 08:50:59 ucl02564 kernel: [10925.327454] ACPI: Preparing to enter system sleep state S3
Aug 11 08:50:59 ucl02564 kernel: [10925.329380] Disabling non-boot CPUs ...
Aug 11 08:50:59 ucl02564 kernel: [10925.330680] CPU 1 is now offline
Aug 11 08:50:59 ucl02564 kernel: [10925.330683] SMP alternatives: switching to UP code
Aug 11 08:50:59 ucl02564 kernel: [10925.337072] Extended CMOS year: 2000
Aug 11 08:50:59 ucl02564 kernel: [10925.337072] Back to C!
Aug 11 08:50:59 ucl02564 kernel: [10925.337072] Extended CMOS year: 2000
Aug 11 08:50:59 ucl02564 kernel: [10925.337072] Enabling non-boot CPUs ...
Aug 11 08:50:59 ucl02564 kernel: [10925.340109] SMP alternatives: switching to SMP code
Aug 11 08:50:59 ucl02564 kernel: [10925.345390] Booting Node 0 Processor 1 APIC 0x1
Aug 11 08:50:59 ucl02564 kernel: [10925.421273] CPU1 is up
Aug 11 08:50:59 ucl02564 kernel: [10925.421763] ACPI: Waking up from system sleep state S3
Comment 6 Robert Gartler 2010-08-12 07:16:04 UTC
Yesterday evening it came up again after the suspend and I have some more trace for you:

Aug 11 17:37:56 ucl02564 polkitd(authority=local): Unregistered Authentication Agent for session /org/freedesktop/ConsoleKit/Session3 (system bus name :1.131, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8) (disc
Aug 11 17:37:57 ucl02564 kernel: [42545.478508] PM: Syncing filesystems ... done.
Aug 11 17:37:57 ucl02564 kernel: [42546.431720] PM: Preparing system for mem sleep
Aug 11 17:37:59 ucl02564 kernel: [42546.432205] Freezing user space processes ... (elapsed 0.05 seconds) done.
Aug 11 17:37:59 ucl02564 kernel: [42546.487068] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Aug 11 17:37:59 ucl02564 kernel: [42546.498071] PM: Entering mem sleep
Aug 11 17:37:59 ucl02564 kernel: [42546.498091] Suspending console(s) (use no_console_suspend to debug)
Aug 11 17:37:59 ucl02564 kernel: [42546.499281] sd 2:0:0:0: [sda] Synchronizing SCSI cache
Aug 11 17:37:59 ucl02564 kernel: [42546.500856] btusb_intr_complete: hci0 urb ffff88007f0bb140 failed to resubmit (1)
Aug 11 17:37:59 ucl02564 kernel: [42546.501849] btusb_bulk_complete: hci0 urb ffff88007f0bb680 failed to resubmit (1)
Aug 11 17:37:59 ucl02564 kernel: [42546.502850] btusb_bulk_complete: hci0 urb ffff88007f0bb200 failed to resubmit (1)
Aug 11 17:37:59 ucl02564 kernel: [42546.513033] serial 00:09: disable failed
Aug 11 17:37:59 ucl02564 kernel: [42546.513040] legacy_suspend(): pnp_bus_suspend+0x0/0xa0 returns -5
Aug 11 17:37:59 ucl02564 kernel: [42546.513042] PM: Device 00:09 failed to suspend: error -5
Aug 11 17:37:59 ucl02564 kernel: [42546.577225] sd 2:0:0:0: [sda] Stopping disk
Aug 11 17:37:59 ucl02564 kernel: [42547.164831] PM: Some devices failed to suspend
Aug 11 17:37:59 ucl02564 kernel: [42547.165519] sd 2:0:0:0: [sda] Starting disk
Aug 11 17:37:59 ucl02564 kernel: [42548.194309] CE: hpet increased min_delta_ns to 37968 nsec
Aug 11 17:37:59 ucl02564 kernel: [42548.328148] PM: resume of devices complete after 1163.310 msecs
Aug 11 17:37:59 ucl02564 kernel: [42548.328382] PM: Finishing wakeup.
Aug 11 17:37:59 ucl02564 kernel: [42548.328383] Restarting tasks ... done.
Aug 11 17:37:59 ucl02564 kernel: [42548.332619] video LNXVIDEO:00: Restoring backlight state
Comment 7 Holger Macht 2010-09-15 11:28:04 UTC
Please attach lspci -v
Comment 8 Robert Gartler 2010-09-22 10:11:08 UTC
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
        Subsystem: Dell Device 01fe
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0a <?>

00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: f2000000-f6efffff
        Prefetchable memory behind bridge: 00000000e0000000-00000000efffffff
        Capabilities: [88] Subsystem: Dell Device 01fe
        Capabilities: [80] Power Management version 3
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [a0] Express Root Port (Slot+), MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [140] Root Complex Link
        Kernel driver in use: pcieport

00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Dell Device 01fe
        Flags: bus master, medium devsel, latency 0, IRQ 20
        I/O ports at 6f20 [size=32]
        Kernel driver in use: uhci_hcd

00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Dell Device 01fe
        Flags: bus master, medium devsel, latency 0, IRQ 21
        I/O ports at 6f00 [size=32]
        Kernel driver in use: uhci_hcd

00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02) (prog-if 20 [EHCI])
        Subsystem: Dell Device 01fe
        Flags: bus master, medium devsel, latency 0, IRQ 22
        Memory at fed1c400 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
        Subsystem: Dell Device 01fe
        Flags: bus master, fast devsel, latency 0, IRQ 30
        Memory at f6ffc000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Root Complex Link
        Kernel driver in use: HDA Intel

00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=0b, subordinate=0b, sec-latency=0
        I/O behind bridge: 00002000-00002fff
        Memory behind bridge: f0200000-f03fffff
        Prefetchable memory behind bridge: 00000000f0400000-00000000f05fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Dell Device 01fe
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Root Complex Link
        Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=0c, subordinate=0c, sec-latency=0
        I/O behind bridge: 00003000-00003fff
        Memory behind bridge: f1f00000-f1ffffff
        Prefetchable memory behind bridge: 00000000f0600000-00000000f07fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Dell Device 01fe
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Root Complex Link
        Kernel driver in use: pcieport

00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=0d, subordinate=0e, sec-latency=0
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: f1c00000-f1efffff
        Prefetchable memory behind bridge: 00000000f0000000-00000000f01fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Dell Device 01fe
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Root Complex Link
        Kernel driver in use: pcieport

00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=09, subordinate=09, sec-latency=0
        I/O behind bridge: 00004000-00004fff
        Memory behind bridge: f1b00000-f1bfffff
        Prefetchable memory behind bridge: 00000000f0800000-00000000f09fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Dell Device 01fe
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Root Complex Link
        Kernel driver in use: pcieport

00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Dell Device 01fe
        Flags: bus master, medium devsel, latency 0, IRQ 20
        I/O ports at 6f80 [size=32]
        Kernel driver in use: uhci_hcd

00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Dell Device 01fe
        Flags: bus master, medium devsel, latency 0, IRQ 21
        I/O ports at 6f60 [size=32]
        Kernel driver in use: uhci_hcd

00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Dell Device 01fe
        Flags: bus master, medium devsel, latency 0, IRQ 22
        I/O ports at 6f40 [size=32]
        Kernel driver in use: uhci_hcd

00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02) (prog-if 20 [EHCI])
        Subsystem: Dell Device 01fe
        Flags: bus master, medium devsel, latency 0, IRQ 20
        Memory at fed1c000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2) (prog-if 01 [Subtractive decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=07, sec-latency=32
        I/O behind bridge: 00005000-00005fff
        Memory behind bridge: f1a00000-f1afffff
        Capabilities: [50] Subsystem: Dell Device 01fe

00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 02)
        Subsystem: Dell Device 01fe
        Flags: bus master, medium devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
        Subsystem: Dell Device 01fe
        Flags: bus master, medium devsel, latency 0, IRQ 16
        I/O ports at 01f0 [size=8]
        I/O ports at 03f4 [size=1]
        I/O ports at 0170 [size=8]
        I/O ports at 0374 [size=1]
        I/O ports at 6fa0 [size=16]
        Kernel driver in use: ata_piix

00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 02) (prog-if 8f [Master SecP SecO PriP PriO])
        Subsystem: Dell Device 01fe
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 18
        I/O ports at 6eb0 [size=8]
        I/O ports at 6eb8 [size=4]
        I/O ports at 6ec0 [size=8]
        I/O ports at 6ec8 [size=4]
        I/O ports at 6ee0 [size=16]
        I/O ports at eff0 [size=16]
        Capabilities: [70] Power Management version 3
        Kernel driver in use: ata_piix

00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
        Subsystem: Dell Device 01fe
        Flags: medium devsel, IRQ 17
        Memory at f6ffbf00 (32-bit, non-prefetchable) [size=256]
        I/O ports at 10c0 [size=32]
        Kernel driver in use: i801_smbus

01:00.0 VGA compatible controller: nVidia Corporation G84M [Quadro NVS 140M] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Dell Device 01fe
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at f5000000 (32-bit, non-prefetchable) [size=16M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Memory at f2000000 (64-bit, non-prefetchable) [size=32M]
        I/O ports at df00 [size=128]
        [virtual] Expansion ROM at f4000000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Kernel driver in use: nvidia

03:01.0 CardBus bridge: O2 Micro, Inc. Cardbus bridge (rev 21)
        Subsystem: Dell Device 01fe
        Flags: bus master, stepping, slow devsel, latency 168, IRQ 19
        Memory at f1a00000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=03, secondary=04, subordinate=07, sec-latency=176
        Memory window 0: f0c00000-f0fff000 (prefetchable)
        Memory window 1: f1000000-f13ff000
        I/O window 0: 00005000-000050ff
        I/O window 1: 00005400-000054ff
        16-bit legacy interface ports at 0001
        Kernel driver in use: yenta_cardbus

03:01.4 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02) (prog-if 10 [OHCI])
        Subsystem: Dell Device 01fe
        Flags: bus master, medium devsel, latency 64, IRQ 19
        Memory at f1aff000 (32-bit, non-prefetchable) [size=4K]
        Memory at f1afe800 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [60] Power Management version 2
        Kernel driver in use: ohci1394

09:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5755M Gigabit Ethernet PCI Express (rev 02)
        Subsystem: Dell Device 01fe
        Flags: bus master, fast devsel, latency 0, IRQ 31
        Memory at f1bf0000 (64-bit, non-prefetchable) [size=64K]
        Expansion ROM at <ignored> [disabled]
        Capabilities: [48] Power Management version 3
        Capabilities: [50] Vital Product Data
        Capabilities: [58] Vendor Specific Information: Len=78 <?>
        Capabilities: [e8] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [d0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [13c] Virtual Channel
        Capabilities: [160] Device Serial Number 00-1d-09-ff-fe-ae-c1-c6
        Capabilities: [16c] Power Budgeting <?>
        Kernel driver in use: tg3

0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
        Subsystem: Intel Corporation Device 1021
        Flags: bus master, fast devsel, latency 0, IRQ 29
        Memory at f1fff000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [c8] Power Management version 2
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [e0] Express Legacy Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number 00-1c-bf-ff-ff-7b-f0-1d
        Kernel driver in use: iwl3945
Comment 9 Holger Macht 2010-10-19 08:13:07 UTC
Ok,please set /usr/lib/pm-utils/defaults:SUSPEND_MODULES="tg3" and try again. Also please to to add 'nomodeset' to the grub boot command line. Thanks.
Comment 10 Robert Gartler 2010-10-19 15:57:43 UTC
I set the SUSPEND_MODULES to "tg3". This means that the previous suggestions to add btusb, uhci_hcd and ehci_hcd were removed again.
I also added the nomodeset to the grub config but didn't restart yet.

It failed again. Here is the trace: (I will post the outcome of the test with nomodeset either later today or tomorrow).

Oct 19 17:52:40 ucl02564 kernel: [34010.536397] PM: Syncing filesystems ... done.
Oct 19 17:52:40 ucl02564 kernel: [34010.848048] PM: Preparing system for mem sleep
Oct 19 17:52:40 ucl02564 kernel: [34010.848370] Freezing user space processes ... (elapsed 0.01 seconds) done.
Oct 19 17:52:40 ucl02564 kernel: [34010.860095] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Oct 19 17:52:40 ucl02564 kernel: [34010.871074] PM: Entering mem sleep
Oct 19 17:52:40 ucl02564 kernel: [34010.871094] Suspending console(s) (use no_console_suspend to debug)
Oct 19 17:52:40 ucl02564 kernel: [34010.876219] sd 2:0:0:0: [sda] Synchronizing SCSI cache
Oct 19 17:52:40 ucl02564 kernel: [34010.877938] btusb_intr_complete: hci0 urb ffff8800deba3cc0 failed to resubmit (1)
Oct 19 17:52:40 ucl02564 kernel: [34010.878955] btusb_bulk_complete: hci0 urb ffff88011ece9c80 failed to resubmit (1)
Oct 19 17:52:40 ucl02564 kernel: [34010.879958] btusb_bulk_complete: hci0 urb ffff88005e0be480 failed to resubmit (1)
Oct 19 17:52:40 ucl02564 kernel: [34010.890404] serial 00:09: disable failed
Oct 19 17:52:40 ucl02564 kernel: [34010.890410] legacy_suspend(): pnp_bus_suspend+0x0/0xa0 returns -5
Oct 19 17:52:40 ucl02564 kernel: [34010.890413] PM: Device 00:09 failed to suspend: error -5
Oct 19 17:52:40 ucl02564 kernel: [34010.922013] sd 2:0:0:0: [sda] Stopping disk
Oct 19 17:52:40 ucl02564 kernel: [34011.506237] PM: Some devices failed to suspend
Oct 19 17:52:40 ucl02564 kernel: [34011.507044] sd 2:0:0:0: [sda] Starting disk
Oct 19 17:52:40 ucl02564 kernel: [34012.618132] PM: resume of devices complete after 1111.888 msecs
Oct 19 17:52:40 ucl02564 kernel: [34012.618395] PM: Finishing wakeup.
Oct 19 17:52:40 ucl02564 kernel: [34012.618396] Restarting tasks ... done.
Oct 19 17:52:40 ucl02564 kernel: [34012.633499] video LNXVIDEO:00: Restoring backlight state
Oct 19 17:52:40 ucl02564 kernel: [34012.690112] usb 1-3.1: new full speed USB device using ehci_hcd and address 17
Comment 11 Robert Gartler 2010-10-20 05:55:31 UTC
YES! It looks like the nomodeset fixed it. The notebook is in the dock now and I was able to suspend/wake up two times now.
Perfect, thanks a lot!
Comment 12 Robert Gartler 2010-10-20 05:59:20 UTC
Here is the trace now that it works. Could someone please explain why the nomodeset changes the behavior of serial 00:09?

Oct 20 07:53:11 ucl02564 kernel: [  605.624991] PM: Syncing filesystems ... done.
Oct 20 07:53:11 ucl02564 kernel: [  605.798297] PM: Preparing system for mem sleep
Oct 20 07:53:11 ucl02564 kernel: [  605.798648] Freezing user space processes ... (elapsed 0.01 seconds) done.
Oct 20 07:53:11 ucl02564 kernel: [  605.810072] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Oct 20 07:53:11 ucl02564 kernel: [  605.821102] PM: Entering mem sleep
Oct 20 07:53:11 ucl02564 kernel: [  605.821124] Suspending console(s) (use no_console_suspend to debug)
Oct 20 07:53:11 ucl02564 kernel: [  605.825571] sd 2:0:0:0: [sda] Synchronizing SCSI cache
Oct 20 07:53:11 ucl02564 kernel: [  605.827255] btusb_intr_complete: hci0 urb ffff88011f2f0200 failed to resubmit (1)
Oct 20 07:53:11 ucl02564 kernel: [  605.828256] btusb_bulk_complete: hci0 urb ffff88011dd1f3c0 failed to resubmit (1)
Oct 20 07:53:11 ucl02564 kernel: [  605.829256] btusb_bulk_complete: hci0 urb ffff88011dd1f540 failed to resubmit (1)
Oct 20 07:53:11 ucl02564 kernel: [  605.840884] parport_pc 00:0a: disabled
Oct 20 07:53:11 ucl02564 kernel: [  605.841622] sd 2:0:0:0: [sda] Stopping disk
Oct 20 07:53:11 ucl02564 kernel: [  605.842619] serial 00:09: disabled
Oct 20 07:53:11 ucl02564 kernel: [  605.845345] ACPI handle has no context!
Oct 20 07:53:11 ucl02564 kernel: [  605.845967] ata2: port disabled. ignoring.
Oct 20 07:53:11 ucl02564 kernel: [  605.846017] ata_piix 0000:00:1f.1: PCI INT A disabled
Oct 20 07:53:11 ucl02564 kernel: [  605.846096] ehci_hcd 0000:00:1d.7: PCI INT A disabled
Oct 20 07:53:11 ucl02564 kernel: [  605.846125] uhci_hcd 0000:00:1d.1: PCI INT B disabled
Oct 20 07:53:11 ucl02564 kernel: [  605.846138] uhci_hcd 0000:00:1d.0: PCI INT A disabled
Oct 20 07:53:11 ucl02564 kernel: [  605.846208] HDA Intel 0000:00:1b.0: PCI INT A disabled
Oct 20 07:53:11 ucl02564 kernel: [  605.846383] uhci_hcd 0000:00:1a.1: PCI INT B disabled
Oct 20 07:53:11 ucl02564 kernel: [  605.846400] uhci_hcd 0000:00:1a.0: PCI INT A disabled
Oct 20 07:53:11 ucl02564 kernel: [  605.849302] uhci_hcd 0000:00:1d.2: PCI INT C disabled
Oct 20 07:53:11 ucl02564 kernel: [  605.859280] ehci_hcd 0000:00:1a.7: PCI INT C disabled
Oct 20 07:53:11 ucl02564 kernel: [  606.428439] ata_piix 0000:00:1f.2: PCI INT C disabled
Oct 20 07:53:11 ucl02564 kernel: [  606.439029] PM: suspend of devices complete after 617.423 msecs
Oct 20 07:53:11 ucl02564 kernel: [  606.461111] PM: late suspend of devices complete after 22.078 msecs
Oct 20 07:53:11 ucl02564 kernel: [  606.465609] ACPI: Preparing to enter system sleep state S3
Oct 20 07:53:11 ucl02564 kernel: [  606.467531] Disabling non-boot CPUs ...
Oct 20 07:53:11 ucl02564 kernel: [  606.469558] CPU 1 is now offline
Oct 20 07:53:11 ucl02564 kernel: [  606.469560] SMP alternatives: switching to UP code
Oct 20 07:53:11 ucl02564 kernel: [  606.476132] Extended CMOS year: 2000
Oct 20 07:53:11 ucl02564 kernel: [  606.476132] Back to C!
Comment 13 Robert Gartler 2010-10-20 15:32:51 UTC
Ok... failed again. Same thing. Took it out of the docking station and tried to suspend:

Oct 20 17:30:15 ucl02564 kernel: [23647.097849] PM: Syncing filesystems ... done.
Oct 20 17:30:15 ucl02564 kernel: [23647.241692] PM: Preparing system for mem sleep
Oct 20 17:30:15 ucl02564 kernel: [23647.241934] Freezing user space processes ... (elapsed 0.01 seconds) done.
Oct 20 17:30:15 ucl02564 kernel: [23647.253083] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Oct 20 17:30:15 ucl02564 kernel: [23647.264239] PM: Entering mem sleep
Oct 20 17:30:15 ucl02564 kernel: [23647.264258] Suspending console(s) (use no_console_suspend to debug)
Oct 20 17:30:15 ucl02564 kernel: [23647.264933] sd 2:0:0:0: [sda] Synchronizing SCSI cache
Oct 20 17:30:15 ucl02564 kernel: [23647.265190] sd 2:0:0:0: [sda] Stopping disk
Oct 20 17:30:15 ucl02564 kernel: [23647.266791] btusb_intr_complete: hci0 urb ffff880037b10e40 failed to resubmit (1)
Oct 20 17:30:15 ucl02564 kernel: [23647.267802] btusb_bulk_complete: hci0 urb ffff880115217300 failed to resubmit (1)
Oct 20 17:30:15 ucl02564 kernel: [23647.268805] btusb_bulk_complete: hci0 urb ffff880037b10d80 failed to resubmit (1)
Oct 20 17:30:15 ucl02564 kernel: [23647.279270] serial 00:09: disable failed
Oct 20 17:30:15 ucl02564 kernel: [23647.279277] legacy_suspend(): pnp_bus_suspend+0x0/0xa0 returns -5
Oct 20 17:30:15 ucl02564 kernel: [23647.279280] PM: Device 00:09 failed to suspend: error -5
Oct 20 17:30:15 ucl02564 kernel: [23647.892111] PM: Some devices failed to suspend
Oct 20 17:30:15 ucl02564 kernel: [23647.892775] sd 2:0:0:0: [sda] Starting disk
Oct 20 17:30:15 ucl02564 kernel: [23649.009164] PM: resume of devices complete after 1117.046 msecs
Oct 20 17:30:15 ucl02564 kernel: [23649.009391] PM: Finishing wakeup.
Oct 20 17:30:15 ucl02564 kernel: [23649.009393] Restarting tasks ... done.
Comment 14 Stefan Quandt 2010-12-13 07:55:18 UTC
Same problem here with dell latitude X300 and opsenSUSE-11.4-beta4:
If I remove docking station during suspend then after resuming suspending is no longer possible due to the kernel failing on disabling some device ("kernel: serial 00:06: disable failed).

The workaround for me is to boot with radio (wifi, bluetooth) disabled.

Shall "product" on this bug be changed to opensSUSE-11.4?
Comment 15 Stefan Quandt 2010-12-14 22:34:35 UTC
@comment #14:
> The workaround for me is to boot with radio (wifi, bluetooth) disabled.
Correction:
The suspend failure started to show up after enabling wifi for the first time in a few weeks. But this must have been just a coincidence because the problem persists even if wifi/bt is always disabled (=> radio kill switch is unrelated to the problem).
Initially I did not have this problem with 11.4 beta 4 and also not immediately after last kernel update.
Latest package updates seem unsuspicous/unrelated (libpolkit, pulseaudio,...).

Related bugs: bug 434742,
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/682262
Comment 16 Holger Macht 2011-02-08 12:25:58 UTC
So, both of you, please confirm that is is only happening in conjunction with the dock station?

Robert, when using nomodeset, you still have the SUSPEND_MODULES="tg3" set?

Stefan, if you like, please open a new bug for 11.4, because I'm not sure if you're seeing the same problem here because you have a workaround (booting without radio). Thanks.
Comment 17 Stefan Quandt 2011-02-09 08:20:48 UTC
> please confirm that is is only happening in conjunction with
> the dock station?
Yes, that's true fro my Latitude X300.

> I'm not sure if you're seeing the same problem
Aloose freezes are very rare in my case (usually I'm just back into X after 30s), so my problem _may_ be a different issue.
The common thing (which is also appears in the related bugs mentioned in comment #15) is the kernel message containing "disable failed" for a serial device.

> because you have a workaround (booting without radio)
Radio turned out to be unrelated.
The real workaround for me was to disable the inbuilt serial port in the BIOS (while interestingly the LIRC port is left enabled and does not cause this problem).
Comment 18 Robert Gartler 2011-02-09 09:18:15 UTC
(In reply to comment #17)
> > please confirm that is is only happening in conjunction with
> > the dock station?
> Yes, that's true fro my Latitude X300.

Yes that is true for my Latitude D830.

> 
> > I'm not sure if you're seeing the same problem
> Aloose freezes are very rare in my case (usually I'm just back into X after
> 30s), so my problem _may_ be a different issue.
> The common thing (which is also appears in the related bugs mentioned in
> comment #15) is the kernel message containing "disable failed" for a serial
> device.

Nope, same thing here. A kernel update removed the nomodeset and I didn't see it. Now my system is running without the nomodeset. SUSPEND_MODULES="tg3" is still in. I would say suspend works 8 out of 10 times now. Of the remaining two, one would bring me back to X (this is reproduceable then - in this case suspending it again would bring it back to X again) and one would freeze the system.
Comment 19 Holger Macht 2011-05-24 10:18:23 UTC
Ok, I'm out of ideas debuggin this from remote, so I have to close this bug because we won't fix it for 11.3 anymore. If the problem still persists with 11.4 final, or even Factory, please open a new bug for it. Thanks.