4.1-rc7: Xorg broken after resume on thinkpad T40p, radeon problem?

From: Pavel Machek
Date: Wed Jun 17 2015 - 08:44:01 EST


Hi!

Video is broken on thinkpad T40p after resume from suspend. (In X
only, text console still works.)

Maybe this is related?

[ 5430.193071] radeon 0000:01:00.0: putting AGP V2 device into 4x mode
[ 5430.193107] radeon 0000:01:00.0: GTT: 256M 0xD0000000 - 0xDFFFFFFF
[ 5430.214670] radeon 0000:01:00.0: WB disabled
[ 5430.214675] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x00000000d0000000 and cpu addr 0xf841a000
[ 5430.214721] [drm] radeon: ring at 0x00000000D0001000
[ 5430.370867] [drm:r100_ring_test] *ERROR* radeon: ring test failed (scratch(0x15E8)=0xCAFEDEAD)
[ 5430.370869] [drm:r100_cp_init] *ERROR* radeon: cp isn't working (-22).
[ 5430.370872] radeon 0000:01:00.0: failed initializing CP (-22).

Hibernation works well here, including X. (Which has small glitch with
mouse cursor being corrupted until it is changed by application).

Any ideas?

Pavel


[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 4.1.0-rc7+ (pavel@amd) (gcc version 4.9.2 (Debian 4.9.2-10) ) #89 SMP Wed Jun 17 10:27:56 CEST 2015
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009f000-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000d2000-0x00000000000d3fff]
reserved
...
[ 5427.867556] PM: Syncing filesystems ... done.
[ 5428.043929] PM: Preparing system for mem sleep
[ 5428.044503] Freezing user space processes ... (elapsed 0.219 seconds) done.
[ 5428.264427] Freezing remaining freezable tasks ... (elapsed 0.007 seconds) done.
[ 5428.272397] PM: Entering mem sleep
[ 5428.272445] Suspending console(s) (use no_console_suspend to debug)
[ 5428.468800] wlan1: deauthenticating from 00:11:95:05:30:d7 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 5428.529996] parport_pc 00:07: disabled
[ 5428.530278] serial 00:06: disabled
[ 5428.530637] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 5428.530909] sd 0:0:0:0: [sda] Stopping disk
[ 5428.530986] cfg80211: Calling CRDA to update world regulatory domain
[ 5428.531296] serial 00:06: System wakeup disabled by ACPI
[ 5428.585816] pci 0000:00:1e.0: System wakeup enabled by ACPI
[ 5428.588374] radeon 0000:01:00.0: Refused to change power state, currently in D0
[ 5428.960707] PM: suspend of devices complete after 687.029 msecs
[ 5428.960711] PM: suspend devices took 0.688 seconds
[ 5428.963240] PM: late suspend of devices complete after 2.522 msecs
[ 5428.965743] pci0000:00: System wakeup enabled by ACPI
[ 5428.965965] uhci_hcd 0000:00:1d.1: System wakeup enabled by ACPI
[ 5429.044103] uhci_hcd 0000:00:1d.0: System wakeup enabled by ACPI
[ 5429.044148] PM: noirq suspend of devices complete after 80.904 msecs
[ 5429.044391] ACPI: Preparing to enter system sleep state S3
[ 5429.428156] ACPI : EC: EC stopped
[ 5429.428158] PM: Saving platform NVS memory
[ 5429.428203] Disabling non-boot CPUs ...
[ 5429.428203] ACPI: Low-level resume complete
[ 5429.428203] ACPI : EC: EC started
[ 5429.428203] PM: Restoring platform NVS memory
[ 5429.428357] ACPI: Waking up from system sleep state S3
[ 5430.188112] uhci_hcd 0000:00:1d.0: System wakeup disabled by ACPI
[ 5430.188223] uhci_hcd 0000:00:1d.1: System wakeup disabled by ACPI
[ 5430.188273] pci0000:00: System wakeup disabled by ACPI
[ 5430.188675] PM: noirq resume of devices complete after 80.536 msecs
[ 5430.192180] PM: early resume of devices complete after 2.138 msecs
[ 5430.192754] usb usb2: root hub lost power or was reset
[ 5430.192796] usb usb3: root hub lost power or was reset
[ 5430.192835] usb usb4: root hub lost power or was reset
[ 5430.192986] [drm] AGP mode requested: 4
[ 5430.192990] agpgart-intel 0000:00:00.0: AGP 2.0 bridge
[ 5430.193015] agpgart-intel 0000:00:00.0: putting AGP V2 device into 4x mode
[ 5430.193071] radeon 0000:01:00.0: putting AGP V2 device into 4x mode
[ 5430.193107] radeon 0000:01:00.0: GTT: 256M 0xD0000000 - 0xDFFFFFFF
[ 5430.214670] radeon 0000:01:00.0: WB disabled
[ 5430.214675] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x00000000d0000000 and cpu addr 0xf841a000
[ 5430.214721] [drm] radeon: ring at 0x00000000D0001000
[ 5430.370867] [drm:r100_ring_test] *ERROR* radeon: ring test failed (scratch(0x15E8)=0xCAFEDEAD)
[ 5430.370869] [drm:r100_cp_init] *ERROR* radeon: cp isn't working (-22).
[ 5430.370872] radeon 0000:01:00.0: failed initializing CP (-22).
[ 5430.858899] pci 0000:00:1e.0: System wakeup disabled by ACPI
[ 5430.865104] rtc_cmos 00:02: System wakeup disabled by ACPI
[ 5430.866275] serial 00:06: activated
[ 5430.867674] parport_pc 00:07: activated
[ 5430.871577] sd 0:0:0:0: [sda] Starting disk
[ 5431.032503] ata2.00: ACPI cmd ef/03:42:00:00:00:a0 (SET FEATURES) filtered out
[ 5431.032507] ata2.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
[ 5431.032712] ata2.00: ACPI cmd e3/00:1f:00:00:00:a0 (IDLE) succeeded
[ 5431.032913] ata2.00: ACPI cmd e3/00:02:00:00:00:a0 (IDLE) succeeded
[ 5431.056386] ata2.00: configured for UDMA/33
[ 5431.200097] usb 4-1: reset full-speed USB device number 2 using uhci_hcd
[ 5431.808764] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[ 5431.808768] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 5431.808772] ata1.00: ACPI cmd ef/03:45:00:00:00:a0 (SET FEATURES) filtered out
[ 5431.808775] ata1.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
[ 5431.824335] ata1.00: configured for UDMA/100
[ 5432.197993] PM: resume of devices complete after 2005.805 msecs
[ 5432.200591] PM: resume devices took 2.008 seconds
[ 5432.200718] PM: Finishing wakeup.
[ 5432.200722] Restarting tasks ... done.
[ 5434.742039] cfg80211: World regulatory domain updated:
[ 5434.742049] cfg80211: DFS Master region: unset
[ 5434.742053] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 5434.742061] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 5434.742066] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 5434.742071] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 5434.742076] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 5434.742082] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 5434.742087] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 5434.742092] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 5434.742096] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 5437.929693] wlan1: authenticate with 00:11:95:05:30:d7
[ 5438.016901] wlan1: send auth to 00:11:95:05:30:d7 (try 1/3)
[ 5438.018898] wlan1: authenticated
[ 5438.025830] ath5k 0000:02:02.0 wlan1: disabling HT as WMM/QoS is not supported by the AP
[ 5438.025842] ath5k 0000:02:02.0 wlan1: disabling VHT as WMM/QoS is not supported by the AP
[ 5438.025863] wlan1: associating with AP with corrupt beacon
[ 5438.028549] wlan1: associate with 00:11:95:05:30:d7 (try 1/3)
[ 5438.030604] wlan1: RX AssocResp from 00:11:95:05:30:d7 (capab=0x401 status=0 aid=9)
[ 5438.030759] wlan1: associated


--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/