Skip to contentSkip to conversation

New: Radeon HD6950: Failed to parse relocation -35 (Linux 3.11-rc regression)

Bug 68125 [email protected] 1 participant 5 messages Aug 14, 2013 – Aug 17, 2013

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=68125

Priority: medium
Bug ID: 68125
Assignee: [email protected]
Summary: Radeon HD6950: Failed to parse relocation -35 (Linux
3.11-rc regression)
Severity: major
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: XOrg CVS
Component: DRM/Radeon
Product: DRI

Created attachment 84074
--> https://bugs.freedesktop.org/attachment.cgi?id=84074&action=edit
Linux 3.11-rc5 dmesg

After running in X for a while, I get a monitor signal dropout for a few seconds and find the follow messages in the kernel log:

[drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -35! radeon 0000:01:00.0: GPU reset succeeded, trying to resume

Messages about the reset procedure, ring test etc. follow, with different possible more or less successful recovery scenarios and messages playing out on different occurences. Usually the second occurence kills X and further attempts at logging in either end up in GNOME fallback mode or simply die immediately, leaving only a reboot to solve the problem. With one run in 3.11-rc5 at least it always recovered, reducing the impact of the bug to the occasional annoying black screen for a few seconds.

This never happened before and never happens in Linux 3.10. The first kernel in the 3.11 development cycle was 3.10.0-08918-g8133633, which already showed this problem.

I'm running Debian unstable, xorg is 7.7, xserver-xorg-video-radeon 6.14.4, libdrm-radeon1 2.4.46, mesa 9.1.6.

I have attached the log of the 3.11-rc5 which has plenty of these occurences thanks to always recovering successfully.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 68125] Radeon HD6950: Failed to parse relocation -35 (Linux 3.11-rc regression)

https://bugs.freedesktop.org/show_bug.cgi?id=68125

--- Comment #1 from Alex Deucher <[email protected]> --- Can you bisect?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 68125] Radeon HD6950: Failed to parse relocation -35 (Linux 3.11-rc regression)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=68125

--- Comment #2 from Andreas Bombe <[email protected]> --- Created attachment 84076
--> https://bugs.freedesktop.org/attachment.cgi?id=84076&action=edit
associated Xorg.log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 68125] Radeon HD6950: Failed to parse relocation -35 (Linux 3.11-rc regression)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=68125

--- Comment #3 from Andreas Bombe <[email protected]> --- (In reply to comment #1)

Quoted 1 line

Can you bisect?

I will have a go at it tomorrow then. That is going to be very time consuming, I expect, what with the bug only showing itself after quite some time.

What I also meant to mention is that the complexity of whatever it is doing does not seem to affect the likelihood of the bug occuring. For example, I played Team Fortress 2 for quite some time on the 3.11-rc5 run, and that resulted only in one reset and successful recovery. They don't appear to occur when the system is really idle though, often they happen just as I start to move the mouse or scroll in gvim.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 68125] Radeon HD6950: Failed to parse relocation -35 (Linux 3.11-rc regression)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=68125

Andreas Bombe <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Andreas Bombe <[email protected]> ---
While bisecting I noticed that CONFIG_DEBUG_WW_MUTEX_SLOWPATH was introduced and that I had it enabled. Since that potentially introduces additional -EDEADLK I suspected that check.

Turns out that check was buggy, the fix 85f489612 "mutex: Fix w/w mutex deadlock injection" was merged since I posted this bug and the commit even mentions explicitly that the bug caused spurious GPU lockups on radeon. The problem appears to be gone with this fix.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel