Re: DRM nouveau crash with 3.2.0-rc5

From: Berck E. Nash
Date: Sun Feb 05 2012 - 12:02:21 EST


On 12/12/2011 10:18 PM, Ben Skeggs wrote:
> Are you able to bisect this back to a commit? I've attempted on a few
> different cards to cause this and I'm not seeing it.

Okay, after one of the most time-consuming git bisects ever, I think
I've found it:

0b1076c4b2a06e517fafbb2b4704f23e69b05386 is the first bad commit
commit 0b1076c4b2a06e517fafbb2b4704f23e69b05386
Author: Julian Andres Klode <jak@xxxxxxxxxxxxx>
Date: Tue Sep 27 19:00:48 2011 +0200

staging: nvec: Introduce new internal API for msg alloc/free

Introduce two new functions nvec_msg_alloc() and nvec_msg_free()
that allocate and free message buffers from the internal pool
of messages.

Signed-off-by: Julian Andres Klode <jak@xxxxxxxxxxxxx>
Acked-by: Marc Dietrich <marvin24@xxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

Since you guys have probably forgotten about this since it took so long,
I'll recap:

While watching video with mplayer, the nouveau driver crashes rendering
X totally non-responsive, though the system still behaves normally via
ssh or serial console. Dmesg attached, and I've cc'ed the author of the
first bad commit.

Berck
[ 3349.160013] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP_VFETCH FAULT
[ 3349.166606] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP_VFETCH 00f00000 0000fe0c 00000000 00000000
[ 3349.175978] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP
[ 3349.181217] [drm] nouveau 0000:01:00.0: PGRAPH - ch 5 (0x000c2d3000) subc 5 class 0x8297 mthd 0x0f04 data 0x00000000
[ 3349.192084] [drm] nouveau 0000:01:00.0: VM: trapped read at 0x0000000000 on ch 2 [0x00000d03] PGRAPH/VFETCH/00 reason: PT_NOT_PRESENT
[ 5764.751389] [drm] nouveau 0000:01:00.0: PFIFO_DMA_PUSHER - Ch 2 Get 0x00200273f0 Put 0x002002743c IbGet 0x00000071 IbPut 0x0000007e State 0x80004290 (err: INVALID_CMD) Push 0x00406040
[ 5764.768325] [drm] nouveau 0000:01:00.0: PGRAPH - DATA_ERROR INVALID_VALUE
[ 5764.775360] [drm] nouveau 0000:01:00.0: PGRAPH - DATA_ERROR
[ 5764.781169] [drm] nouveau 0000:01:00.0: PGRAPH - ch 2 (0x0000d03000) subc 2 class 0x502d mthd 0x0288 data 0x000cb574
[ 6808.165838] [drm] nouveau 0000:01:00.0: PGRAPH - DATA_ERROR INVALID_VALUE
[ 6808.172672] [drm] nouveau 0000:01:00.0: PGRAPH - DATA_ERROR
[ 6808.178308] [drm] nouveau 0000:01:00.0: PGRAPH - ch 2 (0x0000d03000) subc 2 class 0x502d mthd 0x0284 data 0x0004af00
[10938.360854] [drm] nouveau 0000:01:00.0: PGRAPH - DATA_ERROR INVALID_VALUE
[10938.367947] [drm] nouveau 0000:01:00.0: PGRAPH - DATA_ERROR
[10938.373740] [drm] nouveau 0000:01:00.0: PGRAPH - ch 2 (0x0000d03000) subc 2 class 0x502d mthd 0x028c data 0x20031000