NetBSD Problem Report #57183

From mrg@eterna.com.au  Thu Jan 12 08:12:03 2023
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 5A01B1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 12 Jan 2023 08:12:03 +0000 (UTC)
Message-Id: <20230112081157.568CB1590C6@splode.eterna.com.au>
Date: Thu, 12 Jan 2023 19:11:57 +1100 (AEDT)
From: mrg@eterna.com.au
Reply-To: mrg@eterna.com.au
To: gnats-bugs@NetBSD.org
Subject: X crashed when nouveau drm fifo crashed nvidia geforce gt 1030
X-Send-Pr-Version: 3.95

>Number:         57183
>Category:       kern
>Synopsis:       X crashed when nouveau drm fifo crashed nvidia geforce gt 1030
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 12 08:15:00 +0000 2023
>Originator:     matthew green
>Release:        NetBSD 10.99.1
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:
Architecture: amd64
Machine: amd64
>Description:

	after a couple of weeks usage, my X crashed with this error,
	as seen in Xorg log file:

	[2047799.482] (EE) Backtrace:
	[2047799.512] (EE) 0: /usr/X11R7/bin/X (xorg_backtrace+0x44) [0x115bb26c5]
	[2047799.512] (EE) 1: /usr/X11R7/bin/X (os_move_fd+0x79) [0x115bae465]
	[2047799.512] (EE) 2: /usr/lib/libc.so.12 (__sigtramp_siginfo_2+0x0) [0x6fa90d535a30]
	[2047799.512] (EE) Caught signal 6 (Abort trap). Server aborting

	the kernel dmesg shows:

	nouveau0: autoconfiguration error: error: fifo: fault 01 [WRITE] at 0000000000058000 engine 06 [HOST0] client 07 [HUB/HOST_CPU] reason 02 [PTE] on channel 2 [007fb21000 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 7: scheduled for recovery
	nouveau0: autoconfiguration error: error: fifo: PBDMA0: 01000000 [] ch 9 [007f798000 user] subc 0 mthd 17c8 data 00000000
	nouveau0: autoconfiguration error: error: fifo: PBDMA0: 01000000 [] ch 9 [007f798000 user] subc 0 mthd 17cc data 134b8000
	nouveau0: autoconfiguration error: error: gr: intr 00000040

	the code shows this was almost certainly gp100_fifo_intr_fault()
	calling nvkm_fifo_fault() for the first message, as the card is
	a GP108:

	nouveau0 at pci10 dev 0 function 0: NVIDIA GeForce GT 1030 (rev. 0xa1)
	nouveau0: NVIDIA GP108 (138000a1)

>How-To-Repeat:

	mpv, multiple firefox, were active., as well as dozens of xterms,
	were active when it crashed, but that's a normal usage.

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.