Re: DRM nouveau crash with 3.2.0-rc5

From: Berck E. Nash
Date: Sun Dec 11 2011 - 21:20:09 EST


On 12/11/2011 12:56 AM, Ben Skeggs wrote:
> If you can manage to reproduce it, hopefully in some reliable way, it'll
> be a huge help.

Well, I can confirm it's a real regression. It's happened again, and
I've never seen anything like it before. Unfortunately, I can't offer
any reasonable steps to reproduce it for testing. It's only happened
when watching video with mplayer, but it seems to happen at a rate of
about once per hour while watching video. Enough to be seriously
annoying, but not enough to be seriously useful when testing.
Definitely enough to keep me from upgrading.

I'm open to whatever else might be helpful if you have any ideas. Log
of the last occurrence attached.

Berck Nash
[ 3620.232071] [drm] nouveau 0000:01:00.0: PFIFO_DMA_PUSHER - Ch 2 Get 0x002002a0ec Put 0x002002cc5c IbGet 0x00000e95 IbPut 0x00000e98 State 0x80002054 (err: INVALID_CMD) Push 0x00406040
[ 4264.392357] [drm] nouveau 0000:01:00.0: PFIFO_DMA_PUSHER - Ch 2 Get 0x00200226f4 Put 0x00200229cc IbGet 0x00000383 IbPut 0x00000396 State 0x40000004 (err: INVALID_MTHD) Push 0x00406040
[ 4264.414454] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_2D - TP 0 - Unknown fault at address 0021a60000
[ 4264.424345] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_2D - TP 0 - e0c: 00000000, e18: 00000000, e1c: 00000000, e20: 00000011, e24: 0c030000
[ 4264.437629] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP
[ 4264.442908] [drm] nouveau 0000:01:00.0: PGRAPH - ch 2 (0x0000d03000) subc 2 class 0x502d mthd 0x060c data 0x00000008
[ 4264.453789] [drm] nouveau 0000:01:00.0: VM: trapped write at 0x0021a60000 on ch 2 [0x00000d03] PGRAPH/PROP/DST2D reason: PAGE_NOT_PRESENT
[ 4264.466722] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_2D - TP 0 - Unknown fault at address 0023051000
[ 4264.476610] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_2D - TP 0 - e0c: 00000000, e18: 00000000, e1c: 00000000, e20: 00000011, e24: 0c030000
[ 4264.489877] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP
[ 4264.495138] [drm] nouveau 0000:01:00.0: PGRAPH - ch 2 (0x0000d03000) subc 2 class 0x502d mthd 0x060c data 0x0000000b
[ 4264.506047] [drm] nouveau 0000:01:00.0: VM: trapped write at 0x0023051000 on ch 2 [0x00000d03] PGRAPH/PROP/RT0 reason: PAGE_NOT_PRESENT
[ 4264.518737] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_RT - TP 0 - Unknown fault at address 0023051000
[ 4264.528601] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_RT - TP 0 - e0c: 00000000, e18: 00000000, e1c: 00020000, e20: 00001100, e24: 00030000
[ 4264.541868] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_RT - TP 1 - Unknown fault at address 0023051400
[ 4264.551743] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_RT - TP 1 - e0c: 00000000, e18: 00000000, e1c: 00000010, e20: 00001100, e24: 00030000
[ 4264.565041] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP
[ 4264.570289] [drm] nouveau 0000:01:00.0: PGRAPH - ch 2 (0x0000d03000) subc 5 class 0x8297 mthd 0x15e0 data 0x00000000
[ 4264.581154] [drm] nouveau 0000:01:00.0: VM: trapped read at 0x0023051100 on ch 2 [0x00000d03] PGRAPH/TEXTURE/00 reason: PAGE_NOT_PRESENT
[ 4264.593928] [drm] nouveau 0000:01:00.0: magic set 0:
[ 4264.599041] [drm] nouveau 0000:01:00.0: 0x00408904: 0x20083d05
[ 4264.605124] [drm] nouveau 0000:01:00.0: 0x00408908: 0x00230511
[ 4264.611243] [drm] nouveau 0000:01:00.0: 0x0040890c: 0x40000e04
[ 4264.617362] [drm] nouveau 0000:01:00.0: 0x00408910: 0x05100000
[ 4264.623470] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP_TEXTURE - TP0: Unhandled ustatus 0x00000003
[ 4264.632633] [drm] nouveau 0000:01:00.0: magic set 1:
[ 4264.637765] [drm] nouveau 0000:01:00.0: 0x00409904: 0x20083c0a
[ 4264.643875] [drm] nouveau 0000:01:00.0: 0x00409908: 0x00230510
[ 4264.650009] [drm] nouveau 0000:01:00.0: 0x0040990c: 0x40000e04
[ 4264.656128] [drm] nouveau 0000:01:00.0: 0x00409910: 0x05100000
[ 4264.662236] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP_TEXTURE - TP1: Unhandled ustatus 0x00000003
[ 4264.671389] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP
[ 4264.676662] [drm] nouveau 0000:01:00.0: PGRAPH - ch 2 (0x0000d03000) subc 5 class 0x8297 mthd 0x15e0 data 0x00000000
[ 4264.687509] [drm] nouveau 0000:01:00.0: VM: trapped read at 0x0023051000 on ch 2 [0x00000d03] PGRAPH/TEXTURE/00 reason: PAGE_NOT_PRESENT
[ 4264.700249] [drm] nouveau 0000:01:00.0: magic set 0:
[ 4264.705398] [drm] nouveau 0000:01:00.0: 0x00408904: 0x20085a05
[ 4264.711524] [drm] nouveau 0000:01:00.0: 0x00408908: 0x00230510
[ 4264.717624] [drm] nouveau 0000:01:00.0: 0x0040890c: 0x40000e04
[ 4264.723700] [drm] nouveau 0000:01:00.0: 0x00408910: 0x05100000
[ 4264.729809] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP_TEXTURE - TP0: Unhandled ustatus 0x00000003
[ 4264.738962] [drm] nouveau 0000:01:00.0: magic set 1:
[ 4264.744094] [drm] nouveau 0000:01:00.0: 0x00409904: 0x20085805
[ 4264.750212] [drm] nouveau 0000:01:00.0: 0x00409908: 0x00230519
[ 4264.756308] [drm] nouveau 0000:01:00.0: 0x0040990c: 0x40000e04
[ 4264.762397] [drm] nouveau 0000:01:00.0: 0x00409910: 0x05100000
[ 4264.768506] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP_TEXTURE - TP1: Unhandled ustatus 0x00000003
[ 4264.777676] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP
[ 4264.782931] [drm] nouveau 0000:01:00.0: PGRAPH - ch 2 (0x0000d03000) subc 5 class 0x8297 mthd 0x15e0 data 0x00000000
[ 4453.829075] [drm] nouveau 0000:01:00.0: PFIFO_DMA_PUSHER - Ch 2 Get 0x00200285dc Put 0x0020028974 IbGet 0x00000ec5 IbPut 0x00000ed8 State 0x80002054 (err: INVALID_CMD) Push 0x00406040
[ 4630.665457] [drm] nouveau 0000:01:00.0: PFIFO_DMA_PUSHER - Ch 2 Get 0x002001e0ec Put 0x0020020c5c IbGet 0x00000569 IbPut 0x0000056c State 0x8000b45c (err: INVALID_CMD) Push 0x00700031
[ 4630.705866] [drm] nouveau 0000:01:00.0: PFIFO_DMA_PUSHER - Ch 2 Get 0x002002afb8 Put 0x0020020c5c IbGet 0x00000569 IbPut 0x000005a0 State 0x80002054 (err: INVALID_CMD) Push 0x00406040
[ 4630.723233] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_2D - TP 0 - Unknown fault at address 002300a000
[ 4630.732868] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_2D - TP 0 - e0c: 00000000, e18: 00000000, e1c: 00000000, e20: 00000011, e24: 0c030000
[ 4630.745766] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP
[ 4630.750861] [drm] nouveau 0000:01:00.0: PGRAPH - ch 2 (0x0000d03000) subc 2 class 0x502d mthd 0x060c data 0x00000008
[ 4630.761416] [drm] nouveau 0000:01:00.0: VM: trapped write at 0x002300a000 on ch 2 [0x00000d03] PGRAPH/PROP/DST2D reason: PAGE_NOT_PRESENT
[ 4630.773878] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_2D - TP 0 - Unknown fault at address 002305b000
[ 4630.783460] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_2D - TP 0 - e0c: 00000000, e18: 00000000, e1c: 00000000, e20: 00000011, e24: 0c030000
[ 4630.796372] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP
[ 4630.801494] [drm] nouveau 0000:01:00.0: PGRAPH - ch 2 (0x0000d03000) subc 2 class 0x502d mthd 0x060c data 0x0000000b
[ 4630.812064] [drm] nouveau 0000:01:00.0: VM: trapped write at 0x002305b000 on ch 2 [0x00000d03] PGRAPH/PROP/RT0 reason: PAGE_NOT_PRESENT
[ 4630.824382] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_RT - TP 0 - Unknown fault at address 002305b000
[ 4630.833961] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_RT - TP 0 - e0c: 00000000, e18: 00000000, e1c: 00020000, e20: 00001100, e24: 00030000
[ 4630.846900] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_RT - TP 1 - Unknown fault at address 002305b400
[ 4630.856448] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_RT - TP 1 - e0c: 00000000, e18: 00000000, e1c: 00000010, e20: 00001100, e24: 00030000
[ 4630.869307] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP
[ 4630.874389] [drm] nouveau 0000:01:00.0: PGRAPH - ch 2 (0x0000d03000) subc 5 class 0x8297 mthd 0x15e0 data 0x00000000
[ 4630.884943] [drm] nouveau 0000:01:00.0: VM: trapped read at 0x002305b100 on ch 2 [0x00000d03] PGRAPH/TEXTURE/00 reason: PAGE_NOT_PRESENT
[ 4630.897334] [drm] nouveau 0000:01:00.0: magic set 0:
[ 4630.902313] [drm] nouveau 0000:01:00.0: 0x00408904: 0x20082605
[ 4630.908257] [drm] nouveau 0000:01:00.0: 0x00408908: 0x002305b1
[ 4630.914194] [drm] nouveau 0000:01:00.0: 0x0040890c: 0x40000e04
[ 4630.920130] [drm] nouveau 0000:01:00.0: 0x00408910: 0x05b00000
[ 4630.926067] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP_TEXTURE - TP0: Unhandled ustatus 0x00000003
[ 4630.934936] [drm] nouveau 0000:01:00.0: magic set 1:
[ 4630.939923] [drm] nouveau 0000:01:00.0: 0x00409904: 0x20083a05
[ 4630.945883] [drm] nouveau 0000:01:00.0: 0x00409908: 0x002305ba
[ 4630.951811] [drm] nouveau 0000:01:00.0: 0x0040990c: 0x40000e04
[ 4630.957775] [drm] nouveau 0000:01:00.0: 0x00409910: 0x05b00000
[ 4630.963684] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP_TEXTURE - TP1: Unhandled ustatus 0x00000003
[ 4630.972553] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP
[ 4630.976986] [drm] nouveau 0000:01:00.0: PGRAPH - ch 2 (0x0000d03000) subc 5 class 0x8297 mthd 0x15e0 data 0x00000000
[ 4630.976998] [drm] nouveau 0000:01:00.0: VM: trapped read at 0x002305b000 on ch 2 [0x00000d03] PGRAPH/TEXTURE/00 reason: PAGE_NOT_PRESENT
[ 4630.977020] [drm] nouveau 0000:01:00.0: magic set 0:
[ 4630.977023] [drm] nouveau 0000:01:00.0: 0x00408904: 0x20080f05
[ 4630.977025] [drm] nouveau 0000:01:00.0: 0x00408908: 0x002305b0
[ 4630.977028] [drm] nouveau 0000:01:00.0: 0x0040890c: 0x40000e04
[ 4630.977031] [drm] nouveau 0000:01:00.0: 0x00408910: 0x05b00000
[ 4630.977032] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP_TEXTURE - TP0: Unhandled ustatus 0x00000003
[ 4630.977035] [drm] nouveau 0000:01:00.0: magic set 1:
[ 4630.977037] [drm] nouveau 0000:01:00.0: 0x00409904: 0x20082805
[ 4630.977040] [drm] nouveau 0000:01:00.0: 0x00409908: 0x002305b9
[ 4630.977043] [drm] nouveau 0000:01:00.0: 0x0040990c: 0x40000e04
[ 4630.977045] [drm] nouveau 0000:01:00.0: 0x00409910: 0x05b00000
[ 4630.977046] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP_TEXTURE - TP1: Unhandled ustatus 0x00000003
[ 4630.977047] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP
[ 4630.977049] [drm] nouveau 0000:01:00.0: PGRAPH - ch 2 (0x0000d03000) subc 5 class 0x8297 mthd 0x15e0 data 0x00000000
[ 4630.993175] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_2D - TP 0 - Unknown fault at address 002300a000
[ 4630.993180] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_2D - TP 0 - e0c: 00000000, e18: 00000000, e1c: 00000000, e20: 00000011, e24: 0c030000
[ 4630.993185] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP
[ 4630.993189] [drm] nouveau 0000:01:00.0: PGRAPH - ch 2 (0x0000d03000) subc 2 class 0x502d mthd 0x060c data 0x00000008
[ 4630.993217] [drm] nouveau 0000:01:00.0: VM: trapped write at 0x002300a000 on ch 2 [0x00000d03] PGRAPH/PROP/DST2D reason: PAGE_NOT_PRESENT
[ 4630.993261] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_RT - TP 0 - Unknown fault at address 002300a000
[ 4630.993262] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_RT - TP 0 - e0c: 00000000, e18: 00000000, e1c: 00000000, e20: 00001100, e24: 00030000
[ 4630.993266] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP
[ 4630.993268] [drm] nouveau 0000:01:00.0: PGRAPH - ch 2 (0x0000d03000) subc 5 class 0x8297 mthd 0x15e0 data 0x00000000
[ 4630.993309] [drm] nouveau 0000:01:00.0: magic set 0:
[ 4630.993312] [drm] nouveau 0000:01:00.0: 0x00408904: 0x20082f05
[ 4630.993315] [drm] nouveau 0000:01:00.0: 0x00408908: 0x002300a0
[ 4630.993318] [drm] nouveau 0000:01:00.0: 0x0040890c: 0x40000e04
[ 4630.993320] [drm] nouveau 0000:01:00.0: 0x00408910: 0x00a00000TEXTURE - TP0: Unhandled ustatus 0x00000003
[ 4630.993324] [drm] nouveau 0000:01:00.0: magic set 1:
[ 4630.993327] [drm] nouvouveau 0000:01:00.0: 0x00409910: 0x00a00000
[ 4630.993336] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP_TEXTURE - TP1: Unhandlednouveau 0000:01:00.0: 0x00408904: 0x20093005
[ 4630.993402] [drm] nouveau 0000:01:00.0: 0x00408908: 0x002300a0
[ 4630.99340dled ustatus 0x00000003
[ 4630.993411] [drm] nouveau 0000:01:00.0: magic set 1:
[ 4630.993414] [drm] nouveau 0000:01:00.0: 0tatus 0x00000003
[ 4630.993424] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP
[ 4630.993425] [drm] nouveau 0000:01:00.0: PGRAPH -veau 0000:01:00.0: PGRAPH_TRAP_TPDMA_2D - TP 0 - e0c: 00000000, e18: 00000000, e1c: 00000000, e20: 00000011, e24: 0c030000
[ 4:00.0: PGRAPH - ch 2 (0x0000d03000) subc 2 class 0x502d mthd 0x060c data 0x0000000b
[ 4630.993544] [drm] nouveau 0000:01:00.0:PRESENT
[ 4630.993586] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_RT - TP 0 - Unknown fault at address 002305b000
[ 4630.90, e1c: 00020000, e20: 00001100, e24: 00030000
[ 4630.993611] [drm] nouveau 0000:01:00.0: PGRAPH_TRAP_TPDMA_RT - TP 1 - UnknowT - TP 1 - e0c: 00000000, e18: 00000000, e1c: 00000010, e20: 00001100, e24: 00030000
[ 4630.993614] [drm] nouveau 0000:01:00.0 5 class 0x8297 mthd 0x15e0 data 0x00000000
[ 4630.993634] [drm] nouveau 0000:01:00.0: VM: trapped write at 0x002305f100 on ch] nouveau 0000:01:00.0: 0x00408908: 0x002305b1
[ 4630.993665] [drm] nouveau 0000:01:00.0: 0x0040890c: 0x40000e04
[ 4630.993668] [drm] nouveau 0000:01:00.0: 0x00408910: 0x05b00000
[ 4630.993669] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP_TEXTURE - TP 4630.993683] [drm] nouveau 0000:01:00.0: 0x00409910: 0x05b00000
[ 4630.993684] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP_TEX 4630.993731] [drm] nouveau 0000:01:00.0: 0x00408904: 0x20083405
[ 4630.993734] [drm] nouveau 0000:01:00.0: 0x00408908: 0x00drm] nouveau 0000:01:00.0: 0x00408910: 0x05b00000
[ 4630.993740] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP_TEXTURE - TP0: Unhandled ustatus 0x00000003
[ 4630.993743] [drm] nouveau 0000:01:00.0: magic set 1:
[ 4630.993746] [drm] nouveau 0000:01:00.0: nouveau 0000:01:00.0: 0x00409910: 0x05b00000
[ 4630.993755] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP_TEXTURE - TP1: Unhandl57] [drm] nouveau 0000:01:00.0: PGRAPH - ch 2 (0x0000d03000) subc 5 class 0x8297 mthd 0x15e0 data 0x00000000
[ 4630.993785] [drm] nouveau 0000:01:00.0: VM: trapped read at 0x002305e600 on ch 2 [0x00000d03] PGRAPH/TEXTURE/00 reason: PAGE_NOT_PRESENT
[ 40d564 Put 0x002000d568 IbGet 0x000005d0 IbPut 0x00000624 State 0x8000b228 (err: INVALID_CMD) Push 0x00406040
[ 4631.092776] [dsubc 5 class 0x8297 mthd 0x1224 data 0x00042050
[ 4631.107487] [drm] nouveau 0000:01:00.0: PFIFO_DMA_PUSHER - Ch 2 Get 0x0020000d598 IbGet 0x000005dc IbPut 0x00000664 State 0x8000b580 (err: INVALID_CMD) Push 0x00406040