Skip to contentSkip to conversation

New: frequent DMA queue hangs on NV34 on powerpc

Bug 14284 [email protected] 1 participant 6 messages Jan 29, 2008 – Feb 20, 2008 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=14284

Summary: frequent DMA queue hangs on NV34 on powerpc
Product: xorg
Version: git
Platform: PowerPC
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

When stressing the machine a bit (scrolling large amounts of icons, or running gtkperf usually does the trick) but also after some time of normal use, I inevitably get X to reset because of a hang in the DMA queue.

Drm messages:

Jan 27 01:23:23 legolas kernel: [  205.234985] [drm] PFIFO_DMA_PUSHER - Ch 1
put: 32, get:948 mthd 0x0a2c status 0x00001000
Jan 27 01:23:23 legolas kernel: [  205.235011] [drm] PGRAPH_ERROR - nSource:
ILLEGAL_MTHD, nStatus: PROTECTION_FAULT
Jan 27 01:23:23 legolas kernel: [  205.235021] [drm] PGRAPH_ERROR - Ch 1/6
Class 0x009f Mthd 0x0a00 Data 0x00030303:0x00011229
Jan 27 01:23:23 legolas kernel: [  205.235032] [drm] PGRAPH_ERROR - nSource:
ILLEGAL_MTHD, nStatus: PROTECTION_FAULT
Jan 27 01:23:23 legolas kernel: [  205.235040] [drm] PGRAPH_ERROR - Ch 1/6

Class 0x009f Mthd 0x0a04 Data 0x00030303
:0x00030303

This then continues until method 0a2c. The PGRAPH_ERROR are not always there. The pusher interrupt is always happening. Sometimes, I also get [drm] PFIFO_CACHE_ERROR - Ch 1/0 Mthd 0x0000 Data 0x6f000000 status 0x00000001

Xorg log attached.

Danny

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 14284] frequent DMA queue hangs on NV34 on powerpc

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=14284

--- Comment #1 from Danny <[email protected]> 2008-01-28 22:46:30 PST --- Created an attachment (id=13998)
--> (http://bugs.freedesktop.org/attachment.cgi?id=13998)
xorg log

fifo dump of crash. I have many similar ones. I could not find a connection between them. But please ask if more are needed.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 14284] frequent DMA queue hangs on NV34 on powerpc

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=14284

--- Comment #2 from Danny <[email protected]> 2008-01-28 23:44:33 PST --- Created an attachment (id=14002)
--> (http://bugs.freedesktop.org/attachment.cgi?id=14002)
list of methods before the dma lockup

This is a list of methods called by the X driver before it locked up. In this particular case I didn't have any output on whether BEGIN_RING==OUT_RING but in a previous crash log I outputted this info and it seemed to be ok (the only cases in which we have 1 out_ring more is when we hit nouveau_dma_wait)

d.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 14284] frequent DMA queue hangs on NV34 on powerpc

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=14284

--- Comment #4 from Danny <[email protected]> 2008-02-08 01:51:22 PST --- Created an attachment (id=14214)
--> (http://bugs.freedesktop.org/attachment.cgi?id=14214)
patch enabling pcigart and making sure cmdbuf goes there

DMA queue hangs only happen when the command buffer is in FB. Turning on AGP on powerpc leads to lockups with DFS, even when using a PCI gart. Therefore, current drm has agp_init disabled. This patch enables PCI gart in the DDX, and makes sure the cmd buffer goes there.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 14284] frequent DMA queue hangs on NV34 on powerpc

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=14284

Danny <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Danny <[email protected]> 2008-02-20 02:51:36 PST --- patch was applied, fixed.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.