Comment 85 for bug 197209

DaveAbrahams (boostpro) wrote :

The current status of this bug for me in Intrepid is that without my scripts, resume works the first time and then fails the second time. The failure manifests itself by showing me a blank screen. If I wait long enough, X is restarted automatically; it appears to be on vt8 instead of vt7.

Unfortunately, I've been unable to get my scripts to fix the problem.

Suspend and resume under metacity work just fine.

I'm attaching Xorg.1.log and Xorg.0.log, which cover the suspend cycle in question (seems to be right on the boundary between them?). Also, I'm seeing this in my syslog, for what that's worth:

Dec 21 14:34:24 mcbain kernel: [ 2457.812276] PM: suspend devices took 31.904 seconds
Dec 21 14:34:24 mcbain kernel: [ 2457.812289] ------------[ cut here ]------------
Dec 21 14:34:24 mcbain kernel: [ 2457.812293] WARNING: at /build/buildd/linux-2.6.27/kernel/power/main.c:176 suspend_test_finish+0x74/0x80()
Dec 21 14:34:24 mcbain kernel: [ 2457.812298] Modules linked in: aes_i586 aes_generic af_packet binfmt_misc rfcomm bnep sco l2cap ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp bridge stp kvm_intel kvm ppdev ipv6 acpi_cpufreq cpufreq_userspace cpufreq_stats cpufreq_powersave cpufreq_ondemand freq_table cpufreq_conservative wmi sbs sbshc pci_slot container rpcsec_gss_krb5 auth_rpcgss nfs lockd nfs_acl sunrpc iptable_filter ip_tables x_tables ext3 jbd mbcache parport_pc lp parport loop joydev pcmcia snd_hda_intel snd_pcm_oss snd_mixer_oss arc4 snd_pcm ecb crypto_blkcipher thinkpad_acpi nvram snd_seq_dummy btusb iwl3945 evdev rfkill mac80211 bluetooth battery snd_seq_oss snd_seq_midi led_class ac snd_rawmidi psmouse snd_seq_midi_event cfg80211 serio_raw snd_seq yenta_socket fglrx(P) video rsrc_nonstatic bay output pcmcia_core snd_timer snd_seq_device intel_agp button pcspkr snd soundcore agpgart iTCO_wdt iTCO_vendor_support shpchp pci_hotplug snd_page_alloc jfs sr_mo
Dec 21 14:34:24 mcbain kernel: cdrom sd_mod crc_t10dif sg pata_acpi ata_piix ata_generic libata uhci_hcd scsi_mod ehci_hcd dock usbcore e1000e dm_mirror dm_log dm_snapshot dm_mod thermal processor fan fuse vesafb fbcon tileblit font bitblit softcursor
Dec 21 14:34:24 mcbain kernel: [ 2457.812446] Pid: 10335, comm: pm-suspend Tainted: P W 2.6.27-10-generic #1
Dec 21 14:34:24 mcbain kernel: [ 2457.812451] [<c037c9f6>] ? printk+0x1d/0x1f
Dec 21 14:34:24 mcbain kernel: [ 2457.812461] [<c0131dd9>] warn_on_slowpath+0x59/0x90
Dec 21 14:34:24 mcbain kernel: [ 2457.812480] [<c014d285>] ? sched_clock_cpu+0xd5/0x170
Dec 21 14:34:24 mcbain kernel: [ 2457.812485] [<c014c09f>] ? down_trylock+0x2f/0x40
Dec 21 14:34:24 mcbain kernel: [ 2457.812488] [<c01324b2>] ? try_acquire_console_sem+0x12/0x40
Dec 21 14:34:24 mcbain kernel: [ 2457.812492] [<c024e920>] ? kobject_put+0x20/0x50
Dec 21 14:34:24 mcbain kernel: [ 2457.812496] [<c02c7df6>] ? suspend_device+0x96/0x140
Dec 21 14:34:24 mcbain kernel: [ 2457.812501] [<c015d234>] suspend_test_finish+0x74/0x80
Dec 21 14:34:24 mcbain kernel: [ 2457.812504] [<c015d2bd>] suspend_devices_and_enter+0x7d/0x190
Dec 21 14:34:24 mcbain kernel: [ 2457.812507] [<c015d5a1>] enter_state+0xd1/0x100
Dec 21 14:34:24 mcbain kernel: [ 2457.812510] [<c015d655>] state_store+0x85/0xd0
Dec 21 14:34:24 mcbain kernel: [ 2457.812512] [<c015d5d0>] ? state_store+0x0/0xd0
Dec 21 14:34:24 mcbain kernel: [ 2457.812515] [<c024e7e4>] kobj_attr_store+0x24/0x30
Dec 21 14:34:24 mcbain kernel: [ 2457.812517] [<c01ff797>] sysfs_write_file+0x97/0x100
Dec 21 14:34:24 mcbain kernel: [ 2457.812521] [<c01b2710>] vfs_write+0xa0/0x110
Dec 21 14:34:24 mcbain kernel: [ 2457.812524] [<c01ff700>] ? sysfs_write_file+0x0/0x100
Dec 21 14:34:24 mcbain kernel: [ 2457.812526] [<c01b2852>] sys_write+0x42/0x70
Dec 21 14:34:24 mcbain kernel: [ 2457.812529] [<c0103f7b>] sysenter_do_call+0x12/0x2f
Dec 21 14:34:24 mcbain kernel: [ 2457.812532] [<c0370000>] ? pci_bus_assign_resources+0x80/0x190
Dec 21 14:34:24 mcbain kernel: [ 2457.812536] =======================
Dec 21 14:34:24 mcbain kernel: [ 2457.812538] ---[ end trace dc73fa31f11f5c64 ]---