Bug 68708 - Intel+Radeon Hybrid laptop hang on boot while being on the battery
Summary: Intel+Radeon Hybrid laptop hang on boot while being on the battery
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-29 14:51 UTC by Hohahiu
Modified: 2013-09-01 17:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
messages | grep radeon (2.38 MB, text/plain)
2013-08-29 14:51 UTC, Hohahiu
no flags Details
possible fix (4.46 KB, patch)
2013-08-30 19:56 UTC, Alex Deucher
no flags Details | Splinter Review
possible fix (2.63 KB, patch)
2013-08-30 20:22 UTC, Alex Deucher
no flags Details | Splinter Review

Description Hohahiu 2013-08-29 14:51:14 UTC
Created attachment 84847 [details]
messages | grep radeon

I have a hybrid muxless laptop with intel+radeon:
#lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cape Verde [Radeon HD 7700M Series]

I use openSUSE 12.3 x86_64 with
kernel              3.11-rc7
Xorg-x11-server     1.14.2
Mesa                git20130827
libdrm2             git20130722
libdrm-radeon       git20130722
xf86-video-ati      git20130827

The laptop hangs on boot while being on the battery.
When I plug it to the charger and try to boot it boots fines.

The attached file is from messages: two hangs when I tried to boot on the battery and successful boot with power supply.
Comment 1 Hohahiu 2013-08-29 15:02:12 UTC
Update: disabling dpm allows me to boot. Presumably the problem is dpm related.
Comment 2 Hohahiu 2013-08-29 17:08:24 UTC
Comment on attachment 84847 [details]
messages | grep radeon

First time hang on booting while being on the battery

#cat messages | grep radeon

2013-08-29T10:19:17.168712-04:00 linux-78nz kernel: [    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.11.0-rc7-1.g99e1318-desktop root=UUID=8504bda5-3acf-42ca-8182-3b173e43d277 video=1920x1080 resume=/dev/disk/by-id/ata-ST9750420AS_6WS1LNPS-part7 splash=silent quiet showopts i915.i915_enable_rc6=7 i915.i915_enable_fbc=1 i915.lvds_downclock=1 drm.vblankoffdelay=1 radeon.dpm=1 modeset=1
2013-08-29T10:19:17.168967-04:00 linux-78nz kernel: [    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.11.0-rc7-1.g99e1318-desktop root=UUID=8504bda5-3acf-42ca-8182-3b173e43d277 video=1920x1080 resume=/dev/disk/by-id/ata-ST9750420AS_6WS1LNPS-part7 splash=silent quiet showopts i915.i915_enable_rc6=7 i915.i915_enable_fbc=1 i915.lvds_downclock=1 drm.vblankoffdelay=1 radeon.dpm=1 modeset=1
2013-08-29T10:19:17.170102-04:00 linux-78nz kernel: [   11.857461] [drm] radeon kernel modesetting enabled.
2013-08-29T10:19:17.170107-04:00 linux-78nz kernel: [   11.857517] radeon 0000:01:00.0: enabling device (0000 -> 0003)
2013-08-29T10:19:17.170151-04:00 linux-78nz kernel: [   12.853219] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
2013-08-29T10:19:17.170151-04:00 linux-78nz kernel: [   12.853221] radeon 0000:01:00.0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
2013-08-29T10:19:17.170159-04:00 linux-78nz kernel: [   12.853303] [drm] radeon: 1024M of VRAM memory ready
2013-08-29T10:19:17.170161-04:00 linux-78nz kernel: [   12.853305] [drm] radeon: 512M of GTT memory ready.
2013-08-29T10:19:17.170164-04:00 linux-78nz kernel: [   13.026975] [drm] enabling PCIE gen 3 link speeds, disable with radeon.pcie_gen2=0
2013-08-29T10:19:17.170167-04:00 linux-78nz kernel: [   15.012827] radeon 0000:01:00.0: WB enabled
2013-08-29T10:19:17.170167-04:00 linux-78nz kernel: [   15.012830] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff8801d2fdcc00
2013-08-29T10:19:17.170171-04:00 linux-78nz kernel: [   15.012831] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xffff8801d2fdcc04
2013-08-29T10:19:17.170172-04:00 linux-78nz kernel: [   15.012832] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xffff8801d2fdcc08
2013-08-29T10:19:17.170172-04:00 linux-78nz kernel: [   15.012833] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff8801d2fdcc0c
2013-08-29T10:19:17.170173-04:00 linux-78nz kernel: [   15.012835] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xffff8801d2fdcc10
2013-08-29T10:19:17.170174-04:00 linux-78nz kernel: [   15.013644] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc90011fb5a18
2013-08-29T10:19:17.170179-04:00 linux-78nz kernel: [   15.013661] radeon 0000:01:00.0: irq 47 for MSI/MSI-X
2013-08-29T10:19:17.170179-04:00 linux-78nz kernel: [   15.013671] radeon 0000:01:00.0: radeon: using MSI.
2013-08-29T10:19:17.170180-04:00 linux-78nz kernel: [   15.013692] [drm] radeon: irq initialized.
2013-08-29T10:19:17.170340-04:00 linux-78nz kernel: [   15.385497] [drm] radeon: dpm initialized
2013-08-29T10:19:17.170342-04:00 linux-78nz kernel: [   16.389918] radeon 0000:01:00.0: No connectors reported connected with modes
2013-08-29T10:19:17.170350-04:00 linux-78nz kernel: [   16.391508] radeon 0000:01:00.0: fb1: radeondrmfb frame buffer device
2013-08-29T10:19:17.170353-04:00 linux-78nz kernel: [   16.391510] radeon 0000:01:00.0: registered panic notifier
2013-08-29T10:19:17.170354-04:00 linux-78nz kernel: [   16.391521] [drm] Initialized radeon 2.34.0 20080528 for 0000:01:00.0 on minor 0
2013-08-29T10:19:21.979813-04:00 linux-78nz kernel: [   22.069711] radeon 0000:01:00.0: GPU fault detected: 147 0x00027002
2013-08-29T10:19:21.979821-04:00 linux-78nz kernel: [   22.069717] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00000100
2013-08-29T10:19:21.979822-04:00 linux-78nz kernel: [   22.069719] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x02070002
2013-08-29T10:19:39.197707-04:00 linux-78nz kernel: [   39.278019] radeon 0000:01:00.0: GPU lockup CP stall for more than 17217msec
2013-08-29T10:19:39.197734-04:00 linux-78nz kernel: [   39.278023] radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000000002)
2013-08-29T10:19:39.197736-04:00 linux-78nz kernel: [   39.278027] [drm:radeon_cs_ib_vm_chunk] *ERROR* Failed to get ib !
2013-08-29T10:19:39.198687-04:00 linux-78nz kernel: [   39.279688] radeon 0000:01:00.0: sa_manager is not empty, clearing anyway
2013-08-29T10:19:39.355678-04:00 linux-78nz kernel: [   39.436376] radeon 0000:01:00.0: Saved 196541 dwords of commands on ring 0.
2013-08-29T10:19:39.355683-04:00 linux-78nz kernel: [   39.436482] radeon 0000:01:00.0: GPU softreset: 0x00000048
2013-08-29T10:19:39.355684-04:00 linux-78nz kernel: [   39.436483] radeon 0000:01:00.0:   GRBM_STATUS               = 0xA0003028
2013-08-29T10:19:39.355685-04:00 linux-78nz kernel: [   39.436485] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000006
2013-08-29T10:19:39.355685-04:00 linux-78nz kernel: [   39.436486] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000006
2013-08-29T10:19:39.355686-04:00 linux-78nz kernel: [   39.436487] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
2013-08-29T10:19:39.355686-04:00 linux-78nz kernel: [   39.436543] radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
2013-08-29T10:19:39.355686-04:00 linux-78nz kernel: [   39.436545] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
2013-08-29T10:19:39.355687-04:00 linux-78nz kernel: [   39.436546] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000100
2013-08-29T10:19:39.355687-04:00 linux-78nz kernel: [   39.436548] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000082
2013-08-29T10:19:39.355688-04:00 linux-78nz kernel: [   39.436549] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x80008243
2013-08-29T10:19:39.355688-04:00 linux-78nz kernel: [   39.436550] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
2013-08-29T10:19:39.355688-04:00 linux-78nz kernel: [   39.436552] radeon 0000:01:00.0:   R_00D834_DMA_STATUS_REG   = 0x44C83D57
2013-08-29T10:19:39.355689-04:00 linux-78nz kernel: [   39.436554] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00000000
2013-08-29T10:19:39.355689-04:00 linux-78nz kernel: [   39.436555] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x00000000
2013-08-29T10:19:39.356692-04:00 linux-78nz kernel: [   39.436760] radeon 0000:01:00.0: GRBM_SOFT_RESET=0x0000DDFF
2013-08-29T10:19:39.356699-04:00 linux-78nz kernel: [   39.436812] radeon 0000:01:00.0: SRBM_SOFT_RESET=0x00000100
2013-08-29T10:19:39.357701-04:00 linux-78nz kernel: [   39.437966] radeon 0000:01:00.0:   GRBM_STATUS               = 0x00003028
2013-08-29T10:19:39.357708-04:00 linux-78nz kernel: [   39.437968] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000006
2013-08-29T10:19:39.357709-04:00 linux-78nz kernel: [   39.437969] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000006
2013-08-29T10:19:39.357710-04:00 linux-78nz kernel: [   39.437970] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
2013-08-29T10:19:39.357710-04:00 linux-78nz kernel: [   39.438026] radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
2013-08-29T10:19:39.357711-04:00 linux-78nz kernel: [   39.438027] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
2013-08-29T10:19:39.357711-04:00 linux-78nz kernel: [   39.438029] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
2013-08-29T10:19:39.357711-04:00 linux-78nz kernel: [   39.438030] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
2013-08-29T10:19:39.357712-04:00 linux-78nz kernel: [   39.438032] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x00000000
2013-08-29T10:19:39.357712-04:00 linux-78nz kernel: [   39.438033] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
2013-08-29T10:19:39.357713-04:00 linux-78nz kernel: [   39.438035] radeon 0000:01:00.0:   R_00D834_DMA_STATUS_REG   = 0x44C83D57
2013-08-29T10:19:39.357713-04:00 linux-78nz kernel: [   39.438098] radeon 0000:01:00.0: GPU reset succeeded, trying to resume
2013-08-29T10:19:39.361675-04:00 linux-78nz kernel: [   39.441784] [drm] enabling PCIE gen 3 link speeds, disable with radeon.pcie_gen2=0
2013-08-29T10:19:40.602713-04:00 linux-78nz kernel: [   40.682391] radeon 0000:01:00.0: WB enabled
2013-08-29T10:19:40.602714-04:00 linux-78nz kernel: [   40.682394] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff8801d2fdcc00
2013-08-29T10:19:40.602715-04:00 linux-78nz kernel: [   40.682396] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xffff8801d2fdcc04
2013-08-29T10:19:40.602716-04:00 linux-78nz kernel: [   40.682397] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xffff8801d2fdcc08
2013-08-29T10:19:40.602717-04:00 linux-78nz kernel: [   40.682399] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff8801d2fdcc0c
2013-08-29T10:19:40.602717-04:00 linux-78nz kernel: [   40.682400] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xffff8801d2fdcc10
2013-08-29T10:19:40.603695-04:00 linux-78nz kernel: [   40.683196] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc90011fb5a18
2013-08-29T10:19:40.811514-04:00 linux-78nz kernel: [   40.891753] radeon 0000:01:00.0: GPU fault detected: 147 0x00227002
2013-08-29T10:19:40.811520-04:00 linux-78nz kernel: [   40.891755] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00000101
2013-08-29T10:19:40.811522-04:00 linux-78nz kernel: [   40.891756] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x02070002

Second time hang on booting while being on the battery

#cat messages | grep radeon

2013-08-29T10:21:23.263210-04:00 linux-78nz kernel: [    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.11.0-rc7-1.g99e1318-desktop root=UUID=8504bda5-3acf-42ca-8182-3b173e43d277 video=1920x1080 resume=/dev/disk/by-id/ata-ST9750420AS_6WS1LNPS-part7 splash=silent quiet showopts i915.i915_enable_rc6=7 i915.i915_enable_fbc=1 i915.lvds_downclock=1 drm.vblankoffdelay=1 radeon.dpm=1 modeset=1
2013-08-29T10:21:23.263359-04:00 linux-78nz kernel: [    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.11.0-rc7-1.g99e1318-desktop root=UUID=8504bda5-3acf-42ca-8182-3b173e43d277 video=1920x1080 resume=/dev/disk/by-id/ata-ST9750420AS_6WS1LNPS-part7 splash=silent quiet showopts i915.i915_enable_rc6=7 i915.i915_enable_fbc=1 i915.lvds_downclock=1 drm.vblankoffdelay=1 radeon.dpm=1 modeset=1
2013-08-29T10:21:23.264014-04:00 linux-78nz kernel: [   14.690450] [drm] radeon kernel modesetting enabled.
2013-08-29T10:21:23.264016-04:00 linux-78nz kernel: [   14.690489] radeon 0000:01:00.0: enabling device (0000 -> 0003)
2013-08-29T10:21:23.264033-04:00 linux-78nz kernel: [   15.973563] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
2013-08-29T10:21:23.264034-04:00 linux-78nz kernel: [   15.973566] radeon 0000:01:00.0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
2013-08-29T10:21:23.264038-04:00 linux-78nz kernel: [   15.973631] [drm] radeon: 1024M of VRAM memory ready
2013-08-29T10:21:23.264040-04:00 linux-78nz kernel: [   15.973632] [drm] radeon: 512M of GTT memory ready.
2013-08-29T10:21:23.264041-04:00 linux-78nz kernel: [   16.080152] [drm] enabling PCIE gen 3 link speeds, disable with radeon.pcie_gen2=0
2013-08-29T10:21:23.264042-04:00 linux-78nz kernel: [   18.603508] radeon 0000:01:00.0: WB enabled
2013-08-29T10:21:23.264044-04:00 linux-78nz kernel: [   18.603510] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff8801d39d6c00
2013-08-29T10:21:23.264045-04:00 linux-78nz kernel: [   18.603512] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xffff8801d39d6c04
2013-08-29T10:21:23.264045-04:00 linux-78nz kernel: [   18.603513] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xffff8801d39d6c08
2013-08-29T10:21:23.264046-04:00 linux-78nz kernel: [   18.603516] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff8801d39d6c0c
2013-08-29T10:21:23.264046-04:00 linux-78nz kernel: [   18.603517] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xffff8801d39d6c10
2013-08-29T10:21:23.264047-04:00 linux-78nz kernel: [   18.604307] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc90011e35a18
2013-08-29T10:21:23.264049-04:00 linux-78nz kernel: [   18.604324] radeon 0000:01:00.0: irq 47 for MSI/MSI-X
2013-08-29T10:21:23.264050-04:00 linux-78nz kernel: [   18.604333] radeon 0000:01:00.0: radeon: using MSI.
2013-08-29T10:21:23.264050-04:00 linux-78nz kernel: [   18.604356] [drm] radeon: irq initialized.
2013-08-29T10:21:23.264139-04:00 linux-78nz kernel: [   18.975986] [drm] radeon: dpm initialized
2013-08-29T10:21:23.264140-04:00 linux-78nz kernel: [   19.484566] radeon 0000:01:00.0: No connectors reported connected with modes
2013-08-29T10:21:23.264146-04:00 linux-78nz kernel: [   19.485983] radeon 0000:01:00.0: fb1: radeondrmfb frame buffer device
2013-08-29T10:21:23.264146-04:00 linux-78nz kernel: [   19.485985] radeon 0000:01:00.0: registered panic notifier
2013-08-29T10:21:23.264147-04:00 linux-78nz kernel: [   19.485994] [drm] Initialized radeon 2.34.0 20080528 for 0000:01:00.0 on minor 0
2013-08-29T10:21:29.483278-04:00 linux-78nz kernel: [   26.372504] radeon 0000:01:00.0: GPU fault detected: 147 0x00027002
2013-08-29T10:21:29.483282-04:00 linux-78nz kernel: [   26.372508] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00000100
2013-08-29T10:21:29.483283-04:00 linux-78nz kernel: [   26.372509] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x02070002
2013-08-29T10:21:44.152449-04:00 linux-78nz kernel: [   41.033377] radeon 0000:01:00.0: GPU lockup CP stall for more than 14669msec
2013-08-29T10:21:44.152478-04:00 linux-78nz kernel: [   41.033382] radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000000002)
2013-08-29T10:21:44.152480-04:00 linux-78nz kernel: [   41.033386] [drm:radeon_cs_ib_vm_chunk] *ERROR* Failed to get ib !
2013-08-29T10:21:44.153426-04:00 linux-78nz kernel: [   41.035063] radeon 0000:01:00.0: sa_manager is not empty, clearing anyway
2013-08-29T10:21:44.311442-04:00 linux-78nz kernel: [   41.192420] radeon 0000:01:00.0: Saved 196541 dwords of commands on ring 0.
2013-08-29T10:21:44.311449-04:00 linux-78nz kernel: [   41.192531] radeon 0000:01:00.0: GPU softreset: 0x00000048
2013-08-29T10:21:44.311450-04:00 linux-78nz kernel: [   41.192532] radeon 0000:01:00.0:   GRBM_STATUS               = 0xA0003028
2013-08-29T10:21:44.311451-04:00 linux-78nz kernel: [   41.192534] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000006
2013-08-29T10:21:44.311451-04:00 linux-78nz kernel: [   41.192535] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000006
2013-08-29T10:21:44.311452-04:00 linux-78nz kernel: [   41.192536] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
2013-08-29T10:21:44.311452-04:00 linux-78nz kernel: [   41.192592] radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
2013-08-29T10:21:44.311453-04:00 linux-78nz kernel: [   41.192594] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
2013-08-29T10:21:44.311453-04:00 linux-78nz kernel: [   41.192595] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00010100
2013-08-29T10:21:44.311454-04:00 linux-78nz kernel: [   41.192597] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00020182
2013-08-29T10:21:44.311454-04:00 linux-78nz kernel: [   41.192598] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x80038243
2013-08-29T10:21:44.311454-04:00 linux-78nz kernel: [   41.192599] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
2013-08-29T10:21:44.311455-04:00 linux-78nz kernel: [   41.192601] radeon 0000:01:00.0:   R_00D834_DMA_STATUS_REG   = 0x44C83D57
2013-08-29T10:21:44.311455-04:00 linux-78nz kernel: [   41.192602] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00000000
2013-08-29T10:21:44.311456-04:00 linux-78nz kernel: [   41.192604] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x00000000
2013-08-29T10:21:44.311456-04:00 linux-78nz kernel: [   41.192763] radeon 0000:01:00.0: GRBM_SOFT_RESET=0x0000DDFF
2013-08-29T10:21:44.311457-04:00 linux-78nz kernel: [   41.192815] radeon 0000:01:00.0: SRBM_SOFT_RESET=0x00000100
2013-08-29T10:21:44.312492-04:00 linux-78nz kernel: [   41.193969] radeon 0000:01:00.0:   GRBM_STATUS               = 0x00003028
2013-08-29T10:21:44.312499-04:00 linux-78nz kernel: [   41.193970] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000006
2013-08-29T10:21:44.312500-04:00 linux-78nz kernel: [   41.193971] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000006
2013-08-29T10:21:44.312500-04:00 linux-78nz kernel: [   41.193973] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
2013-08-29T10:21:44.312501-04:00 linux-78nz kernel: [   41.194029] radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
2013-08-29T10:21:44.312501-04:00 linux-78nz kernel: [   41.194030] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
2013-08-29T10:21:44.312502-04:00 linux-78nz kernel: [   41.194031] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
2013-08-29T10:21:44.312502-04:00 linux-78nz kernel: [   41.194033] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
2013-08-29T10:21:44.312502-04:00 linux-78nz kernel: [   41.194034] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x00000000
2013-08-29T10:21:44.312503-04:00 linux-78nz kernel: [   41.194036] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
2013-08-29T10:21:44.312503-04:00 linux-78nz kernel: [   41.194037] radeon 0000:01:00.0:   R_00D834_DMA_STATUS_REG   = 0x44C83D57
2013-08-29T10:21:44.312504-04:00 linux-78nz kernel: [   41.194104] radeon 0000:01:00.0: GPU reset succeeded, trying to resume
2013-08-29T10:21:44.316444-04:00 linux-78nz kernel: [   41.197525] [drm] enabling PCIE gen 3 link speeds, disable with radeon.pcie_gen2=0
2013-08-29T10:21:45.552452-04:00 linux-78nz kernel: [   42.433364] radeon 0000:01:00.0: WB enabled
2013-08-29T10:21:45.552453-04:00 linux-78nz kernel: [   42.433366] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff8801d39d6c00
2013-08-29T10:21:45.552454-04:00 linux-78nz kernel: [   42.433368] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xffff8801d39d6c04
2013-08-29T10:21:45.552455-04:00 linux-78nz kernel: [   42.433369] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xffff8801d39d6c08
2013-08-29T10:21:45.552455-04:00 linux-78nz kernel: [   42.433370] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff8801d39d6c0c
2013-08-29T10:21:45.552455-04:00 linux-78nz kernel: [   42.433371] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xffff8801d39d6c10
2013-08-29T10:21:45.553437-04:00 linux-78nz kernel: [   42.434189] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc90011e35a18
2013-08-29T10:21:45.761786-04:00 linux-78nz kernel: [   42.642672] radeon 0000:01:00.0: GPU fault detected: 147 0x00227002
2013-08-29T10:21:45.761800-04:00 linux-78nz kernel: [   42.642674] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00000101
2013-08-29T10:21:45.761801-04:00 linux-78nz kernel: [   42.642676] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x02070002
2013-08-29T10:21:55.761432-04:00 linux-78nz kernel: [   52.636352] radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec
2013-08-29T10:21:55.761464-04:00 linux-78nz kernel: [   52.636358] radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000001001 last fence id 0x0000000000000002)
2013-08-29T10:21:55.761468-04:00 linux-78nz kernel: [   52.636362] [drm:r600_ib_test] *ERROR* radeon: fence wait failed (-35).
2013-08-29T10:21:55.761469-04:00 linux-78nz kernel: [   52.636366] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on GFX ring (-35).
2013-08-29T10:21:55.761471-04:00 linux-78nz kernel: [   52.636368] radeon 0000:01:00.0: ib ring test failed (-35).
2013-08-29T10:21:55.919427-04:00 linux-78nz kernel: [   52.795044] radeon 0000:01:00.0: GPU softreset: 0x00000048
2013-08-29T10:21:55.919446-04:00 linux-78nz kernel: [   52.795047] radeon 0000:01:00.0:   GRBM_STATUS               = 0xA0003028
2013-08-29T10:21:55.919448-04:00 linux-78nz kernel: [   52.795049] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000006
2013-08-29T10:21:55.919449-04:00 linux-78nz kernel: [   52.795050] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000006
2013-08-29T10:21:55.919449-04:00 linux-78nz kernel: [   52.795052] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
2013-08-29T10:21:55.919450-04:00 linux-78nz kernel: [   52.795114] radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
2013-08-29T10:21:55.919461-04:00 linux-78nz kernel: [   52.795119] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
2013-08-29T10:21:55.919462-04:00 linux-78nz kernel: [   52.795121] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00010100
2013-08-29T10:21:55.919471-04:00 linux-78nz kernel: [   52.795122] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00420182
2013-08-29T10:21:55.919472-04:00 linux-78nz kernel: [   52.795133] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x84038243
2013-08-29T10:21:55.919472-04:00 linux-78nz kernel: [   52.795135] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
2013-08-29T10:21:55.919473-04:00 linux-78nz kernel: [   52.795136] radeon 0000:01:00.0:   R_00D834_DMA_STATUS_REG   = 0x44C83D57
2013-08-29T10:21:55.919474-04:00 linux-78nz kernel: [   52.795139] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00000000
2013-08-29T10:21:55.919475-04:00 linux-78nz kernel: [   52.795141] radeon 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x00000000
2013-08-29T10:21:55.920404-04:00 linux-78nz kernel: [   52.795301] radeon 0000:01:00.0: GRBM_SOFT_RESET=0x0000DDFF
2013-08-29T10:21:55.920407-04:00 linux-78nz kernel: [   52.795354] radeon 0000:01:00.0: SRBM_SOFT_RESET=0x00000100
2013-08-29T10:21:55.921410-04:00 linux-78nz kernel: [   52.796508] radeon 0000:01:00.0:   GRBM_STATUS               = 0x00003028
2013-08-29T10:21:55.921414-04:00 linux-78nz kernel: [   52.796509] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000006
2013-08-29T10:21:55.921415-04:00 linux-78nz kernel: [   52.796511] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000006
2013-08-29T10:21:55.921415-04:00 linux-78nz kernel: [   52.796512] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
2013-08-29T10:21:55.921416-04:00 linux-78nz kernel: [   52.796568] radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
2013-08-29T10:21:55.921417-04:00 linux-78nz kernel: [   52.796569] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
2013-08-29T10:21:55.921418-04:00 linux-78nz kernel: [   52.796571] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
2013-08-29T10:21:55.921419-04:00 linux-78nz kernel: [   52.796572] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
2013-08-29T10:21:55.921419-04:00 linux-78nz kernel: [   52.796573] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x00000000
2013-08-29T10:21:55.921420-04:00 linux-78nz kernel: [   52.796575] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
2013-08-29T10:21:55.921421-04:00 linux-78nz kernel: [   52.796576] radeon 0000:01:00.0:   R_00D834_DMA_STATUS_REG   = 0x44C83D57
2013-08-29T10:21:55.921421-04:00 linux-78nz kernel: [   52.796640] radeon 0000:01:00.0: GPU reset succeeded, trying to resume
2013-08-29T10:21:55.925416-04:00 linux-78nz kernel: [   52.800336] [drm] enabling PCIE gen 3 link speeds, disable with radeon.pcie_gen2=0
2013-08-29T10:21:57.161433-04:00 linux-78nz kernel: [   54.036185] radeon 0000:01:00.0: WB enabled
2013-08-29T10:21:57.161434-04:00 linux-78nz kernel: [   54.036187] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff8801d39d6c00
2013-08-29T10:21:57.161436-04:00 linux-78nz kernel: [   54.036188] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xffff8801d39d6c04
2013-08-29T10:21:57.161438-04:00 linux-78nz kernel: [   54.036190] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xffff8801d39d6c08
2013-08-29T10:21:57.161439-04:00 linux-78nz kernel: [   54.036191] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff8801d39d6c0c
2013-08-29T10:21:57.161440-04:00 linux-78nz kernel: [   54.036192] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xffff8801d39d6c10
2013-08-29T10:21:57.162404-04:00 linux-78nz kernel: [   54.037002] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc90011e35a18

Succesfull booting when the laptop is plugged to the charger.

#cat messages | grep radeon

2013-08-29T10:23:44.162957-04:00 linux-78nz kernel: [    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.11.0-rc7-1.g99e1318-desktop root=UUID=8504bda5-3acf-42ca-8182-3b173e43d277 video=1920x1080 resume=/dev/disk/by-id/ata-ST9750420AS_6WS1LNPS-part7 splash=silent quiet showopts i915.i915_enable_rc6=7 i915.i915_enable_fbc=1 i915.lvds_downclock=1 drm.vblankoffdelay=1 radeon.dpm=1 modeset=1
2013-08-29T10:23:44.163132-04:00 linux-78nz kernel: [    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.11.0-rc7-1.g99e1318-desktop root=UUID=8504bda5-3acf-42ca-8182-3b173e43d277 video=1920x1080 resume=/dev/disk/by-id/ata-ST9750420AS_6WS1LNPS-part7 splash=silent quiet showopts i915.i915_enable_rc6=7 i915.i915_enable_fbc=1 i915.lvds_downclock=1 drm.vblankoffdelay=1 radeon.dpm=1 modeset=1
2013-08-29T10:23:44.163779-04:00 linux-78nz kernel: [   13.363706] [drm] radeon kernel modesetting enabled.
2013-08-29T10:23:44.163781-04:00 linux-78nz kernel: [   13.363750] radeon 0000:01:00.0: enabling device (0000 -> 0003)
2013-08-29T10:23:44.163815-04:00 linux-78nz kernel: [   14.760766] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
2013-08-29T10:23:44.163816-04:00 linux-78nz kernel: [   14.760769] radeon 0000:01:00.0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
2013-08-29T10:23:44.163820-04:00 linux-78nz kernel: [   14.760861] [drm] radeon: 1024M of VRAM memory ready
2013-08-29T10:23:44.163822-04:00 linux-78nz kernel: [   14.760862] [drm] radeon: 512M of GTT memory ready.
2013-08-29T10:23:44.163824-04:00 linux-78nz kernel: [   14.829988] [drm] enabling PCIE gen 3 link speeds, disable with radeon.pcie_gen2=0
2013-08-29T10:23:44.163825-04:00 linux-78nz kernel: [   17.311848] radeon 0000:01:00.0: WB enabled
2013-08-29T10:23:44.163828-04:00 linux-78nz kernel: [   17.311851] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff8801d57a1c00
2013-08-29T10:23:44.163828-04:00 linux-78nz kernel: [   17.311852] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xffff8801d57a1c04
2013-08-29T10:23:44.163829-04:00 linux-78nz kernel: [   17.311853] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xffff8801d57a1c08
2013-08-29T10:23:44.163829-04:00 linux-78nz kernel: [   17.311855] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff8801d57a1c0c
2013-08-29T10:23:44.163830-04:00 linux-78nz kernel: [   17.311856] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xffff8801d57a1c10
2013-08-29T10:23:44.163830-04:00 linux-78nz kernel: [   17.312629] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc90011eb5a18
2013-08-29T10:23:44.163833-04:00 linux-78nz kernel: [   17.312647] radeon 0000:01:00.0: irq 47 for MSI/MSI-X
2013-08-29T10:23:44.163833-04:00 linux-78nz kernel: [   17.312655] radeon 0000:01:00.0: radeon: using MSI.
2013-08-29T10:23:44.163834-04:00 linux-78nz kernel: [   17.312677] [drm] radeon: irq initialized.
2013-08-29T10:23:44.282451-04:00 linux-78nz kernel: [   18.183022] [drm] radeon: dpm initialized
2013-08-29T10:23:44.302594-04:00 linux-78nz kernel: [   18.186883] radeon 0000:01:00.0: No connectors reported connected with modes
2013-08-29T10:23:44.302610-04:00 linux-78nz kernel: [   18.204002] radeon 0000:01:00.0: fb1: radeondrmfb frame buffer device
2013-08-29T10:23:44.302611-04:00 linux-78nz kernel: [   18.204002] radeon 0000:01:00.0: registered panic notifier
2013-08-29T10:23:44.302611-04:00 linux-78nz kernel: [   18.204014] [drm] Initialized radeon 2.34.0 20080528 for 0000:01:00.0 on minor 0
Comment 3 Alex Deucher 2013-08-30 19:56:53 UTC
Created attachment 84931 [details] [review]
possible fix

Does this patch fix the issue?
Comment 4 Alex Deucher 2013-08-30 20:22:33 UTC
Created attachment 84933 [details] [review]
possible fix

Functionally the same as the previous one, but cleaner.
Comment 5 Hohahiu 2013-08-31 14:56:06 UTC
Thank you, Alex. I've tested this patch (booted on battery, plugged in and disconnected charger, suspended and resumed) and it works nicely.
Will this patch come to the stable branch of 3.11?
Comment 6 Alex Deucher 2013-09-01 16:40:47 UTC
(In reply to comment #5)
> Thank you, Alex. I've tested this patch (booted on battery, plugged in and
> disconnected charger, suspended and resumed) and it works nicely.
> Will this patch come to the stable branch of 3.11?

Yes.  It should show up in the 3.11 tree eventually.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.