NetBSD Problem Report #56868

From mrg@eterna.com.au  Tue Jun  7 05:54:55 2022
Return-Path: <mrg@eterna.com.au>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 3F29E1A921F
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  7 Jun 2022 05:54:55 +0000 (UTC)
Message-Id: <20220607055452.623121590C0@splode.eterna.com.au>
Date: Tue,  7 Jun 2022 15:54:52 +1000 (AEST)
From: mrg@eterna.com.au
Reply-To: mrg@eterna.com.au
To: gnats-bugs@NetBSD.org
Subject: nouveau kills fifo channel, X server crashes
X-Send-Pr-Version: 3.95

>Number:         56868
>Category:       kern
>Synopsis:       nouveau kills fifo channel, X server crashes
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 07 05:55:01 +0000 2022
>Originator:     matthew green
>Release:        NetBSD 9.99.97
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:
Machine: amd64
>Description:

	twice with a nvidia geforce 730 i've had X server crash after some
	uptime (several days).

	the kernel messages from this time:

   nouveau0: autoconfiguration error: error: gr: TRAP ch 2 [007fb82000 user]
   nouveau0: autoconfiguration error: error: gr: GPC0/TPC0/MP trap: global 00000004 [MULTIPLE_WARP_ERRORS] warp 2000e [OOR_ADDR]
   nouveau0: autoconfiguration error: error: gr: TRAP ch 2 [007fb82000 user]
   nouveau0: autoconfiguration error: error: gr: GPC0/TPC0/MP trap: global 00000000 [] warp 3f0009 [ILLEGAL_INSTR_ENCODING]
   nouveau0: autoconfiguration error: error: gr: TRAP ch 2 [007fb82000 user]
   nouveau0: autoconfiguration error: error: gr: GPC0/TPC0/MP trap: global 00000004 [MULTIPLE_WARP_ERRORS] warp 000e [OOR_ADDR]
   nouveau0: autoconfiguration error: error: fifo: fault 00 [READ] at 0000000005392000 engine 00 [GR] client 01 [GPC0/T1_0] reason 02 [PTE] on channel 2 [007fb82000 user]
   nouveau0: notice: fifo: channel 2: killed
   nouveau0: warn: user: channel 2 killed!
   nouveau0: notice: fifo: runlist 0: scheduled for recovery
   nouveau0: notice: fifo: engine 0: scheduled for recovery
   nouveau0: autoconfiguration error: error: gr: TRAP ch 2 [007fb82000 user]
   nouveau0: autoconfiguration error: error: gr: GPC0/TPC0/TEX: 80000041

the Xorg log file has nothing useful from the crash moment, but the
console has some messages not in the log:

   nouveau: kernel rejected pushbuf: Operation not supported by device
   nouveau: ch2: kref 0 pushes 1 bufs 10 relocs 0
   [ ... larger log here i have pictures of is necessary .. ]
   assertion "kref" failed: file ".../libdrm/dist/nouveau/pushbuf.c", line 730, ...

>How-To-Repeat:

	use nouveau in -current with a GT 730.

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.