NetBSD Problem Report #54600
From www@netbsd.org Fri Oct 4 17:56:24 2019
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-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 8C9997A1E9
for <gnats-bugs@gnats.NetBSD.org>; Fri, 4 Oct 2019 17:56:24 +0000 (UTC)
Message-Id: <20191004175623.B27D37A243@mollari.NetBSD.org>
Date: Fri, 4 Oct 2019 17:56:23 +0000 (UTC)
From: code@boerschig.net
Reply-To: code@boerschig.net
To: gnats-bugs@NetBSD.org
Subject: nouveau drm driver panics at boot with nvidia turing gpu
X-Send-Pr-Version: www-1.0
>Number: 54600
>Category: kern
>Synopsis: nouveau drm driver panics at boot with nvidia turing gpu
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: mrg
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 04 18:00:01 +0000 2019
>Closed-Date: Tue Mar 24 04:28:55 +0000 2020
>Last-Modified: Tue Mar 24 04:28:55 +0000 2020
>Originator: MB
>Release: NetBSD 9.0-BETA
>Organization:
>Environment:
NetBSD 9 amd64
>Description:
Booting NetBSD 9.0 daily build (201910020230Z) on AMD64 with a Geforce GTX 1650 (turing chipset), using either UEFI or MBR, gives kernel panic (transcript):
nouveau0: error: unknown chipset (167000a1)
uvm_fault(0xffffffff819852e0, 0x0, 1) -> e
(...)
db{0}> bt
nvkm_udevice_mthd() at netbsd:nvkm_udevice_mthd+0x188
nvkm_ioctl() ... +0x21f
nvif_object_mthd() ... +0x92
nouveau_drm_load() ... +0xeb
drm_dev_register() ... +0xa5
drm_pci_attach() ... +0x1a7
nouvea_pci_attach_real() ... +0xad
config_mountroot_thread ... +0x70
Boot works with nouveau disabled in userconf. But then startx freezes.
>How-To-Repeat:
Just boot 9.0 BETA (2019/10/02) with a geforce gtx 1650.
I verified that current 9.99.15 behaves the same (similar backtrace).
>Fix:
>Release-Note:
>Audit-Trail:
From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: re: kern/54600: nouveau drm driver panics at boot with nvidia turing gpu
Date: Sun, 06 Oct 2019 06:27:01 +1100
we probably need to add the even more new PCI IDs to the hack
in sys/external/bsd/drm2/nouveau/nouveau_pci.c.
... or find the set of all-old PCI IDs and only match those.
.mrg.
Responsible-Changed-From-To: kern-bug-people->mrg
Responsible-Changed-By: mrg@NetBSD.org
Responsible-Changed-When: Sat, 05 Oct 2019 22:34:01 +0000
Responsible-Changed-Why:
i'll fix this.
From: "matthew green" <mrg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/54600 CVS commit: src/sys/external/bsd/drm2/nouveau
Date: Sat, 5 Oct 2019 22:37:50 +0000
Module Name: src
Committed By: mrg
Date: Sat Oct 5 22:37:50 UTC 2019
Modified Files:
src/sys/external/bsd/drm2/nouveau: nouveau_pci.c
Log Message:
list the PCI ID range for new nvidia TU117 and TU116.
adjust the check to simply be >= 0x1580, which is the
first pciid not support.
should fix PR#54600.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/external/bsd/drm2/nouveau/nouveau_pci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/54600 CVS commit: [netbsd-9] src/sys/external/bsd/drm2/nouveau
Date: Sun, 1 Mar 2020 12:50:42 +0000
Module Name: src
Committed By: martin
Date: Sun Mar 1 12:50:42 UTC 2020
Modified Files:
src/sys/external/bsd/drm2/nouveau [netbsd-9]: nouveau_pci.c
Log Message:
Pull up following revision(s) (requested by mrg in ticket #749):
sys/external/bsd/drm2/nouveau/nouveau_pci.c: revision 1.25
list the PCI ID range for new nvidia TU117 and TU116.
adjust the check to simply be >= 0x1580, which is the
first pciid not support.
should fix PR#54600.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.24.2.1 \
src/sys/external/bsd/drm2/nouveau/nouveau_pci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/54600 CVS commit: [netbsd-8] src/sys/external/bsd/drm2/nouveau
Date: Sun, 8 Mar 2020 09:28:04 +0000
Module Name: src
Committed By: martin
Date: Sun Mar 8 09:28:04 UTC 2020
Modified Files:
src/sys/external/bsd/drm2/nouveau [netbsd-8]: nouveau_pci.c
Log Message:
Pull up following revision(s) (requested by mrg in ticket #1512):
sys/external/bsd/drm2/nouveau/nouveau_pci.c: revision 1.24,1.25
(via patch)
Improve nouveau pci attachment code so it waits for the availability of /
before trying to load firmware.
Fixes my PR 54274.
LGTM mrg
list the PCI ID range for new nvidia TU117 and TU116.
adjust the check to simply be >= 0x1580, which is the
first pciid not support.
should fix PR#54600.
To generate a diff of this commit:
cvs rdiff -u -r1.8.10.2 -r1.8.10.3 \
src/sys/external/bsd/drm2/nouveau/nouveau_pci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Tue, 24 Mar 2020 04:28:55 +0000
State-Changed-Why:
this is fixed on all active branches. thanks!
>Unformatted:
(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.