Skip to contentSkip to conversation

Radeon Hawaii crash on a 32-bit kernel

Bug 88786 [email protected] 1 participant 17 messages Jan 25, 2015 – Feb 11, 2015

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 88786
Summary: Radeon Hawaii crash on a 32-bit kernel
Product: DRI
Version: unspecified
Hardware: x86 (IA32)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: DRM/Radeon
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 112799
--> https://bugs.freedesktop.org/attachment.cgi?id=112799&action=edit
dmesg booted with drm.debug

The new MSI Hawaii board, used single or 2-headed. The crash in

[    5.654006] kernel BUG at drivers/gpu/drm/radeon/radeon_sa.c:321!
[    5.654008] invalid opcode: 0000 [#1] PREEMPT SMP 

The crash is 100% repeatable. The system will boot OK to X with radeon.modeset=0.
The kernel has added trace to verify the firmware requested.

Unclear about 64-bit behavior, since I am booting a live USB distro. Distro based on Debian Jessie, with
X.Org X Server 1.16.2.901 (1.16.3 RC 1)
Release Date: 2014-12-09

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

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

--- Comment #1 from Woody Suwalski <[email protected]> --- Created attachment 112800
--> https://bugs.freedesktop.org/attachment.cgi?id=112800&action=edit
Xorg log - uneventfull - stops at DRM

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
In reply to [email protected]

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

--- Comment #2 from Woody Suwalski <[email protected]> --- Created attachment 112801
--> https://bugs.freedesktop.org/attachment.cgi?id=112801&action=edit
Kernel config 32-bit, all DRM built in

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
In reply to [email protected]

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

Woody Suwalski <[email protected]> changed:

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

 Attachment #112800|0                           |1

is obsolete| |

--- Comment #3 from Woody Suwalski <[email protected]> --- Created attachment 112802
--> https://bugs.freedesktop.org/attachment.cgi?id=112802&action=edit
Xorg log - uneventfull - stops at DRM

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
In reply to [email protected]

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

--- Comment #4 from Woody Suwalski <[email protected]> --- Created attachment 112805
--> https://bugs.freedesktop.org/attachment.cgi?id=112805&action=edit
lspci -vvnn

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

#5 lore raw
In reply to [email protected]

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

--- Comment #5 from Woody Suwalski <[email protected]> --- Created attachment 112895
--> https://bugs.freedesktop.org/attachment.cgi?id=112895&action=edit
dmesg for 64bit kernel, no Radeon crash

dmesg Ubuntu 14.10 AMD64

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

#6 lore raw
In reply to [email protected]

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

--- Comment #6 from Woody Suwalski <[email protected]> --- Created attachment 112898
--> https://bugs.freedesktop.org/attachment.cgi?id=112898&action=edit
Xorg log 64bit

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

#8 lore raw
In reply to [email protected]

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

--- Comment #8 from Alex Deucher <[email protected]> --- Created attachment 112919
--> https://bugs.freedesktop.org/attachment.cgi?id=112919&action=edit
possible fix

This patch will fix the crash you are seeing on 32 bit. However it won't fix the fact the that acceleration does not seem to initialized properly.

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

#9 lore raw
In reply to [email protected]

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

--- Comment #9 from Woody Suwalski <[email protected]> --- Created attachment 112924
--> https://bugs.freedesktop.org/attachment.cgi?id=112924&action=edit
dmesg with new crash on a patched kernel

With the patch, the original crash is not happening anymore. However Radeon still crashes, now in radeon_driver_postclose_kms.

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

#10 lore raw
In reply to [email protected]

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

Alex Deucher <[email protected]> changed:

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

 Attachment #112919|0                           |1

is obsolete| |

--- Comment #10 from Alex Deucher <[email protected]> --- Created attachment 112951
--> https://bugs.freedesktop.org/attachment.cgi?id=112951&action=edit
possible fix

This updated patch should take care of it.

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

#11 lore raw
In reply to [email protected]

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

--- Comment #11 from Woody Suwalski <[email protected]> --- Created attachment 112957
--> https://bugs.freedesktop.org/attachment.cgi?id=112957&action=edit
Yet another radeon crash with the new patch

The new patch is causing black screen and no VTs.

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

#12 lore raw
In reply to [email protected]

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

Alex Deucher <[email protected]> changed:

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

 Attachment #112951|0                           |1

is obsolete| |

--- Comment #12 from Alex Deucher <[email protected]> --- Created attachment 112975
--> https://bugs.freedesktop.org/attachment.cgi?id=112975&action=edit
possible fix

One more try...

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

#13 lore raw
In reply to [email protected]

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

--- Comment #13 from Woody Suwalski <[email protected]> --- Created attachment 112997
--> https://bugs.freedesktop.org/attachment.cgi?id=112997&action=edit
dmesg with the latest patch, system is functional now

With the V3 patch system boots and is functional.
A secondary problem could be investigated:
radeon 0000:01:00.0: disabling GPU acceleration

This problem was expected, and probably deserves a separate bug...

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

#14 lore raw
In reply to [email protected]

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

Woody Suwalski <[email protected]> changed:

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

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

--- Comment #14 from Woody Suwalski <[email protected]> --- The V3 patch permits to boot to X (albait with acceleration turned off)

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

#16 lore raw
In reply to [email protected]

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

Woody Suwalski <[email protected]> changed:

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

             Blocks|                            |89072
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