NetBSD Problem Report #55295

From www@netbsd.org  Sun May 24 13:05:52 2020
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 C90F01A9227
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 24 May 2020 13:05:52 +0000 (UTC)
Message-Id: <20200524130550.02D491A9244@mollari.NetBSD.org>
Date: Sun, 24 May 2020 13:05:49 +0000 (UTC)
From: coypu@sdf.org
Reply-To: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Subject: LOCKDEBUG: Kernel lock error: _kernel_lock,244: spinout
X-Send-Pr-Version: www-1.0

>Number:         55295
>Category:       kern
>Synopsis:       LOCKDEBUG: Kernel lock error: _kernel_lock,244: spinout
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 24 13:10:00 +0000 2020
>Originator:     coypu
>Release:        NetBSD 9.99.63
>Organization:
>Environment:
NetBSD planets 9.99.63 NetBSD 9.99.63 (GENERIC) #3: Sat May 23 00:23:48 IDT 2020  fly@planets:/home/fly/obj/sys/arch/amd64/compile/GENERIC amd64

>Description:
(When killing X, or shutting down from X... this is with nouveau that takes forever to switch modes)

#0  0xffffffff80226875 in cpu_reboot (howto=howto@entry=260, bootstr=bootstr@entry=0x0) at /cvs/hg/src/sys/arch/amd64/amd64/machdep.c:713
#1  0xffffffff80ca3d7f in kern_reboot (howto=howto@entry=260, bootstr=bootstr@entry=0x0) at /cvs/hg/src/sys/kern/kern_reboot.c:73
#2  0xffffffff80ce4cfe in vpanic (fmt=fmt@entry=0xffffffff8143b088 "LOCKDEBUG: %s error: %s,%zu: %s", ap=ap@entry=0xffffc5013e0aeeb8)
    at /cvs/hg/src/sys/kern/subr_prf.c:290
#3  0xffffffff80ce4dc2 in panic (fmt=fmt@entry=0xffffffff8143b088 "LOCKDEBUG: %s error: %s,%zu: %s") at /cvs/hg/src/sys/kern/subr_prf.c:209
#4  0xffffffff80cda31a in lockdebug_abort1 (s=2, dopanic=true, msg=0xffffffff8143243e "spinout", ld=0xffffffff817734f8 <ld_prime+1080>, line=244, 
    func=0xffffffff8130f890 <__func__.7218> "_kernel_lock") at /cvs/hg/src/sys/kern/subr_lockdebug.c:794
#5  lockdebug_abort1 (func=0xffffffff8130f890 <__func__.7218> "_kernel_lock", line=244, ld=0xffffffff817734f8 <ld_prime+1080>, s=2, 
    msg=0xffffffff8143243e "spinout", dopanic=<optimized out>) at /cvs/hg/src/sys/kern/subr_lockdebug.c:772
#6  0xffffffff80c8f8b2 in _kernel_lock (nlocks=1) at /cvs/hg/src/sys/kern/kern_lock.c:244
#7  0xffffffff809dff07 in ip_slowtimo () at /cvs/hg/src/sys/netinet/ip_input.c:832
#8  0xffffffff80d120af in pfslowtimo (arg=<optimized out>) at /cvs/hg/src/sys/kern/uipc_domain.c:741
#9  0xffffffff80cc15d1 in callout_softclock (v=<optimized out>) at /cvs/hg/src/sys/kern/kern_timeout.c:782
#10 0xffffffff80cb21ae in softint_execute (s=2, l=0xffffad61dba00140) at /cvs/hg/src/sys/kern/kern_softint.c:565
#11 softint_dispatch (pinned=<optimized out>, s=2) at /cvs/hg/src/sys/kern/kern_softint.c:814
#12 0xffffffff80220eef in Xsoftintr ()




Machine:
[     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[     1.000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[     1.000000]     2018, 2019, 2020 The NetBSD Foundation, Inc.  All rights reserved.
[     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[     1.000000]     The Regents of the University of California.  All rights reserved.

[     1.000000] NetBSD 9.99.63 (GENERIC) #3: Sat May 23 00:23:48 IDT 2020
[     1.000000] 	fly@planets:/home/fly/obj/sys/arch/amd64/compile/GENERIC
[     1.000000] total memory = 16318 MB
[     1.000000] avail memory = 15789 MB
[     1.000000] entropy: entering seed from bootloader with 256 bits of entropy
[     1.000000] pool redzone disabled for 'buf4k'
[     1.000000] pool redzone disabled for 'buf64k'
[     1.000000] timecounter: Timecounters tick every 10.000 msec
[     1.000000] Kernelized RAIDframe activated
[     1.000000] running cgd selftest aes-xts-256 aes-xts-512 done
[     1.000000] timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
[     1.000003] System manufacturer System Product Name (System Version)
[     1.000003] mainbus0 (root)
[     1.000003] ACPI: RSDP 0x00000000000F05B0 000024 (v02 ALASKA)
[     1.000003] ACPI: XSDT 0x00000000D54D3098 0000A4 (v01 ALASKA A M I    01072009 AMI  00010013)
[     1.000003] ACPI: FACP 0x00000000D54DE490 000114 (v06 ALASKA A M I    01072009 AMI  00010013)
[     1.000003] Firmware Warning (ACPI): Optional FADT field Pm2ControlBlock has valid Length but zero Address: 0x0000000000000000/0x1 (20200326/tbfadt-693)
[     1.000003] ACPI: DSDT 0x00000000D54D31D0 00B2BB (v02 ALASKA A M I    01072009 INTL 20120913)
[     1.000003] ACPI: FACS 0x00000000DADC3D80 000040
[     1.000003] ACPI: APIC 0x00000000D54DE5A8 0000DE (v03 ALASKA A M I    01072009 AMI  00010013)
[     1.000003] ACPI: FPDT 0x00000000D54DE688 000044 (v01 ALASKA A M I    01072009 AMI  00010013)
[     1.000003] ACPI: FIDT 0x00000000D54DE6D0 00009C (v01 ALASKA A M I    01072009 AMI  00010013)
[     1.000003] ACPI: SSDT 0x00000000D54EF1A8 0000BF (v01 AMD    AMD PT   00001000 INTL 20120913)
[     1.000003] ACPI: SSDT 0x00000000D54DE7C8 008C98 (v02 AMD    AMD ALIB 00000002 MSFT 04000000)
[     1.000003] ACPI: SSDT 0x00000000D54E7460 002314 (v01 AMD    AMD CPU  00000001 AMD  00000001)
[     1.000003] ACPI: CRAT 0x00000000D54E9778 000F50 (v01 AMD    AMD CRAT 00000001 AMD  00000001)
[     1.000003] ACPI: CDIT 0x00000000D54EA6C8 000029 (v01 AMD    AMD CDIT 00000001 AMD  00000001)
[     1.000003] ACPI: SSDT 0x00000000D54EA6F8 002DA8 (v01 AMD    AMD AOD  00000001 INTL 20120913)
[     1.000003] ACPI: MCFG 0x00000000D54ED4A0 00003C (v01 ALASKA A M I    01072009 MSFT 00010013)
[     1.000003] ACPI: HPET 0x00000000D54ED4E0 000038 (v01 ALASKA A M I    01072009 AMI  00000005)
[     1.000003] ACPI: SSDT 0x00000000D54ED518 000024 (v01 AMDFCH FCHZP    00001000 INTL 20120913)
[     1.000003] ACPI: UEFI 0x00000000D54ED540 000042 (v01                 00000000      00000000)
[     1.000003] ACPI: IVRS 0x00000000D54ED588 0000D0 (v02 AMD    AMD IVRS 00000001 AMD  00000000)
[     1.000003] ACPI: SSDT 0x00000000D54ED658 001B4E (v01 AMD    AmdTable 00000001 INTL 20120913)
[     1.000003] ACPI: 7 ACPI AML tables successfully acquired and loaded
[     1.000003] ioapic0 at mainbus0 apid 17: pa 0xfec00000, version 0x21, 24 pins
[     1.000003] ioapic0: autoconfiguration error: can't remap to apid 17
[     1.000003] ioapic1 at mainbus0 apid 18: pa 0xfec01000, version 0x21, 32 pins
[     1.000003] ioapic1: autoconfiguration error: can't remap to apid 18
[     1.000003] cpu0 at mainbus0 apid 0
[     1.000003] cpu0: AMD Ryzen 7 2700X Eight-Core Processor         , id 0x800f82
[     1.000003] cpu0: node 0, package 0, core 0, smt 0
[     1.000003] cpu1 at mainbus0 apid 1
[     1.000003] cpu1: AMD Ryzen 7 2700X Eight-Core Processor         , id 0x800f82
[     1.000003] cpu1: node 0, package 0, core 0, smt 1
[     1.000003] cpu2 at mainbus0 apid 2
[     1.000003] cpu2: AMD Ryzen 7 2700X Eight-Core Processor         , id 0x800f82
[     1.000003] cpu2: node 0, package 0, core 1, smt 0
[     1.000003] cpu3 at mainbus0 apid 3
[     1.000003] cpu3: AMD Ryzen 7 2700X Eight-Core Processor         , id 0x800f82
[     1.000003] cpu3: node 0, package 0, core 1, smt 1
[     1.000003] cpu4 at mainbus0 apid 4
[     1.000003] cpu4: AMD Ryzen 7 2700X Eight-Core Processor         , id 0x800f82
[     1.000003] cpu4: node 0, package 0, core 2, smt 0
[     1.000003] cpu5 at mainbus0 apid 5
[     1.000003] cpu5: AMD Ryzen 7 2700X Eight-Core Processor         , id 0x800f82
[     1.000003] cpu5: node 0, package 0, core 2, smt 1
[     1.000003] cpu6 at mainbus0 apid 6
[     1.000003] cpu6: AMD Ryzen 7 2700X Eight-Core Processor         , id 0x800f82
[     1.000003] cpu6: node 0, package 0, core 3, smt 0
[     1.000003] cpu7 at mainbus0 apid 7
[     1.000003] cpu7: AMD Ryzen 7 2700X Eight-Core Processor         , id 0x800f82
[     1.000003] cpu7: node 0, package 0, core 3, smt 1
[     1.000003] cpu8 at mainbus0 apid 8
[     1.000003] cpu8: AMD Ryzen 7 2700X Eight-Core Processor         , id 0x800f82
[     1.000003] cpu8: node 0, package 0, core 4, smt 0
[     1.000003] cpu9 at mainbus0 apid 9
[     1.000003] cpu9: AMD Ryzen 7 2700X Eight-Core Processor         , id 0x800f82
[     1.000003] cpu9: node 0, package 0, core 4, smt 1
[     1.000003] cpu10 at mainbus0 apid 10
[     1.000003] cpu10: AMD Ryzen 7 2700X Eight-Core Processor         , id 0x800f82
[     1.000003] cpu10: node 0, package 0, core 5, smt 0
[     1.000003] cpu11 at mainbus0 apid 11
[     1.000003] cpu11: AMD Ryzen 7 2700X Eight-Core Processor         , id 0x800f82
[     1.000003] cpu11: node 0, package 0, core 5, smt 1
[     1.000003] cpu12 at mainbus0 apid 12
[     1.000003] cpu12: AMD Ryzen 7 2700X Eight-Core Processor         , id 0x800f82
[     1.000003] cpu12: node 0, package 0, core 6, smt 0
[     1.000003] cpu13 at mainbus0 apid 13
[     1.000003] cpu13: AMD Ryzen 7 2700X Eight-Core Processor         , id 0x800f82
[     1.000003] cpu13: node 0, package 0, core 6, smt 1
[     1.000003] cpu14 at mainbus0 apid 14
[     1.000003] cpu14: AMD Ryzen 7 2700X Eight-Core Processor         , id 0x800f82
[     1.000003] cpu14: node 0, package 0, core 7, smt 0
[     1.000003] cpu15 at mainbus0 apid 15
[     1.000003] cpu15: AMD Ryzen 7 2700X Eight-Core Processor         , id 0x800f82
[     1.000003] cpu15: node 0, package 0, core 7, smt 1
[     1.000003] acpi0 at mainbus0: Intel ACPICA 20200326
[     1.000003] acpi0: X/RSDT: OemId <ALASKA,  A M I ,01072009>, AslId <AMI ,00010013>
[     1.000003] acpi0: MCFG: segment 0, bus 0-63, address 0x00000000f8000000
[     1.000003] acpi0: SCI interrupting at int 9
[     1.000003] acpi0: fixed power button present
[     1.000003] timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
[     1.034682] hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
[     1.034682] timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
[     1.034970] AMDN (PNP0C01) at acpi0 not configured
[     1.034970] IOMA (PNP0C02) at acpi0 not configured
[     1.034970] APSP (PNP0C02) at acpi0 not configured
[     1.034970] attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
[     1.034970] pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
[     1.034970] spkr0 at pcppi1: PC Speaker
[     1.034970] wsbell at spkr0 not configured
[     1.034970] midi0 at pcppi1: PC speaker
[     1.034970] sysbeep0 at pcppi1
[     1.034970] SIO1 (PNP0C02) at acpi0 not configured
[     1.034970] UAR1 (PNP0501) at acpi0 not configured
[     1.034970] S900 (PNP0C02) at acpi0 not configured
[     1.034970] acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
[     1.034970] GPIO (AMDI0030) at acpi0 not configured
[     1.034970] PTIO (AMDIF030) at acpi0 not configured
[     1.034970] AWR0 (PNP0C02) at acpi0 not configured
[     1.034970] ABR0 (PNP0C02) at acpi0 not configured
[     1.034970] ABR1 (PNP0C02) at acpi0 not configured
[     1.034970] ABR2 (PNP0C02) at acpi0 not configured
[     1.034970] ABR3 (PNP0C02) at acpi0 not configured
[     1.034970] ABR4 (PNP0C02) at acpi0 not configured
[     1.034970] ABR5 (PNP0C02) at acpi0 not configured
[     1.034970] ABR6 (PNP0C02) at acpi0 not configured
[     1.034970] ABR7 (PNP0C02) at acpi0 not configured
[     1.034970] AWR1 (PNP0C02) at acpi0 not configured
[     1.034970] ABR8 (PNP0C02) at acpi0 not configured
[     1.034970] ABR9 (PNP0C02) at acpi0 not configured
[     1.034970] ABRA (PNP0C02) at acpi0 not configured
[     1.034970] ABRB (PNP0C02) at acpi0 not configured
[     1.034970] ABRC (PNP0C02) at acpi0 not configured
[     1.034970] ABRD (PNP0C02) at acpi0 not configured
[     1.034970] ABRE (PNP0C02) at acpi0 not configured
[     1.034970] ABRF (PNP0C02) at acpi0 not configured
[     1.034970] acpiwmi0 at acpi0 (AMW0, PNP0C14-ASUSWMI): ACPI WMI Interface
[     1.034970] wmieeepc0 at acpiwmi0: Asus Eee PC WMI mappings
[     1.034970] acpiwmi1 at acpi0 (AOD, PNP0C14-AOD): ACPI WMI Interface
[     1.034970] acpiwmibus at acpiwmi1 not configured
[     1.034970] attimer1: attached to pcppi1
[     1.034970] pci0 at mainbus0 bus 0: configuration mode 1
[     1.034970] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
[     1.034970] amdsmn0 at pci0 dev 0 function 0: AMD System Management Network
[     1.034970] amdzentemp0 at amdsmn0: AMD CPU Temperature Sensors (Family17h)
[     1.034970] AMD Family17h IOMMU (IOMMU system) at pci0 dev 0 function 2 not configured
[     1.034970] pchb0 at pci0 dev 1 function 0: AMD Family17h PCIe (rev. 0x00)
[     1.034970] ppb0 at pci0 dev 1 function 1: AMD Family17h PCIe (rev. 0x00)
[     1.034970] ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x4 @ 8.0GT/s
[     1.034970] pci1 at ppb0 bus 1
[     1.034970] pci1: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.034970] nvme0 at pci1 dev 0 function 0: Samsung Electronics (3rd vendor ID) product a808 (rev. 0x00)
[     1.034970] nvme0: NVMe 1.3
[     1.034970] nvme0: for admin queue interrupting at msix0 vec 0
[     1.034970] nvme0: Samsung SSD 970 EVO 250GB, firmware 2B2QEXE7, serial S465NX0KB19070D
[     1.034970] nvme0: for io queue 1 interrupting at msix0 vec 1 affinity to cpu0
[     1.034970] nvme0: for io queue 2 interrupting at msix0 vec 2 affinity to cpu1
[     1.034970] nvme0: for io queue 3 interrupting at msix0 vec 3 affinity to cpu2
[     1.034970] nvme0: for io queue 4 interrupting at msix0 vec 4 affinity to cpu3
[     1.034970] nvme0: for io queue 5 interrupting at msix0 vec 5 affinity to cpu4
[     1.034970] nvme0: for io queue 6 interrupting at msix0 vec 6 affinity to cpu5
[     1.034970] nvme0: for io queue 7 interrupting at msix0 vec 7 affinity to cpu6
[     1.034970] nvme0: for io queue 8 interrupting at msix0 vec 8 affinity to cpu7
[     1.034970] nvme0: for io queue 9 interrupting at msix0 vec 9 affinity to cpu8
[     1.034970] nvme0: for io queue 10 interrupting at msix0 vec 10 affinity to cpu9
[     1.034970] nvme0: for io queue 11 interrupting at msix0 vec 11 affinity to cpu10
[     1.034970] nvme0: for io queue 12 interrupting at msix0 vec 12 affinity to cpu11
[     1.034970] nvme0: for io queue 13 interrupting at msix0 vec 13 affinity to cpu12
[     1.034970] nvme0: for io queue 14 interrupting at msix0 vec 14 affinity to cpu13
[     1.034970] nvme0: for io queue 15 interrupting at msix0 vec 15 affinity to cpu14
[     1.034970] nvme0: for io queue 16 interrupting at msix0 vec 16 affinity to cpu15
[     1.034970] ld0 at nvme0 nsid 1
[     1.034970] ld0: 232 GB, 30401 cyl, 255 head, 63 sec, 512 bytes/sect x 488397168 sectors
[     1.034970] ppb1 at pci0 dev 1 function 3: AMD Family17h PCIe (rev. 0x00)
[     1.034970] ppb1: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x4 @ 8.0GT/s
[     1.034970] pci2 at ppb1 bus 2
[     1.034970] pci2: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.034970] xhci0 at pci2 dev 0 function 0: AMD product 43d5 (rev. 0x01)
[     1.034970] xhci0: interrupting at msix1 vec 0
[     1.034970] xhci0: xHCI version 1.10
[     1.034970] usb0 at xhci0: USB revision 3.1
[     1.034970] usb1 at xhci0: USB revision 2.0
[     1.034970] ahcisata0 at pci2 dev 0 function 1: AMD 400 Series AHCI (rev. 0x01)
[     1.034970] ahcisata0: 64-bit DMA
[     1.034970] ahcisata0: AHCI revision 1.31, 8 ports, 32 slots, CAP 0xef36ff27<SXS,PSC,SSC,PMD,SPM,SAM,ISS=0x3=Gen3,SCLO,SAL,SALP,SSS,SSNTF,SNCQ,S64A>
[     1.034970] ahcisata0: interrupting at msi2 vec 0
[     1.034970] atabus0 at ahcisata0 channel 0
[     1.034970] atabus1 at ahcisata0 channel 1
[     1.034970] atabus2 at ahcisata0 channel 4
[     1.034970] atabus3 at ahcisata0 channel 5
[     1.034970] ppb2 at pci2 dev 0 function 2: AMD 400 Series PCIe (rev. 0x01)
[     1.034970] ppb2: PCI Express capability version 2 <Upstream Port of PCI-E Switch>
[     1.034970] pci3 at ppb2 bus 3
[     1.034970] pci3: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.034970] ppb3 at pci3 dev 0 function 0: AMD 400 Series PCIe (rev. 0x01)
[     1.034970] ppb3: PCI Express capability version 2 <Downstream Port of PCI-E Switch> x2 @ 5.0GT/s
[     1.034970] pci4 at ppb3 bus 4
[     1.034970] pci4: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.034970] ppb4 at pci3 dev 4 function 0: AMD 400 Series PCIe (rev. 0x01)
[     1.034970] ppb4: PCI Express capability version 2 <Downstream Port of PCI-E Switch> x1 @ 5.0GT/s
[     1.034970] pci5 at ppb4 bus 5
[     1.034970] pci5: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.034970] ppb5 at pci3 dev 5 function 0: AMD 400 Series PCIe (rev. 0x01)
[     1.034970] ppb5: PCI Express capability version 2 <Downstream Port of PCI-E Switch> x1 @ 5.0GT/s
[     1.034970] pci6 at ppb5 bus 6
[     1.034970] pci6: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.034970] ppb6 at pci3 dev 6 function 0: AMD 400 Series PCIe (rev. 0x01)
[     1.034970] ppb6: PCI Express capability version 2 <Downstream Port of PCI-E Switch> x1 @ 5.0GT/s
[     1.034970] ppb6: link is x1 @ 2.5GT/s
[     1.034970] pci7 at ppb6 bus 7
[     1.034970] pci7: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.034970] iwm0 at pci7 dev 0 function 0: Intel Dual Band Wireless AC 7260 (rev. 0xbb)
[     1.034970] iwm0: interrupting at msi3 vec 0
[     1.034970] ppb7 at pci3 dev 7 function 0: AMD 400 Series PCIe (rev. 0x01)
[     1.034970] ppb7: PCI Express capability version 2 <Downstream Port of PCI-E Switch> x1 @ 5.0GT/s
[     1.034970] ppb7: link is x1 @ 2.5GT/s
[     1.034970] pci8 at ppb7 bus 8
[     1.034970] pci8: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.034970] re0 at pci8 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x15)
[     1.034970] re0: interrupting at msix4 vec 0
[     1.034970] re0: Ethernet address 40:b0:76:0c:7d:c7
[     1.034970] re0: using 256 tx descriptors
[     1.034970] rgephy0 at re0 phy 7: RTL8251 1000BASE-T media interface, rev. 0
[     1.034970] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
[     1.034970] pchb1 at pci0 dev 2 function 0: AMD Family17h PCIe (rev. 0x00)
[     1.034970] pchb2 at pci0 dev 3 function 0: AMD Family17h PCIe (rev. 0x00)
[     1.034970] ppb8 at pci0 dev 3 function 1: AMD Family17h PCIe (rev. 0x00)
[     1.034970] ppb8: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x16 @ 8.0GT/s
[     1.034970] ppb8: link is x16 @ 2.5GT/s
[     1.034970] pci9 at ppb8 bus 9
[     1.034970] pci9: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.034970] nouveau0 at pci9 dev 0 function 0: NVIDIA product 1184 (rev. 0xa1)
[     1.034970] hdaudio0 at pci9 dev 0 function 1: HD Audio Controller
[     1.034970] hdaudio0: interrupting at msi5 vec 0
[     1.034970] hdaudio0: HDA ver. 1.0, OSS 4, ISS 4, BSS 0, SDO 4, 64-bit
[     1.034970] hdafg0 at hdaudio0: vendor 10de product 0040
[     1.034970] hdafg0: DP00 8ch: Digital Out [Jack]
[     1.034970] hdafg0: DP01 8ch: Digital Out [Jack]
[     1.034970] hdafg0: DP02 8ch: Digital Out [Jack]
[     1.034970] hdafg0: DP03 8ch: Digital Out [Jack]
[     1.034970] hdafg0: 8ch/0ch 48000Hz PCM16*
[     1.034970] pchb3 at pci0 dev 4 function 0: AMD Family17h PCIe (rev. 0x00)
[     1.034970] pchb4 at pci0 dev 7 function 0: AMD Family17h PCIe (rev. 0x00)
[     1.034970] ppb9 at pci0 dev 7 function 1: AMD Family17h PCIe (rev. 0x00)
[     1.034970] ppb9: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x16 @ 8.0GT/s
[     1.034970] pci10 at ppb9 bus 10
[     1.034970] pci10: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.034970] AMD Family17h PCIe Dummy Function (non-essential instrumentation, subclass 0x00) at pci10 dev 0 function 0 not configured
[     1.034970] AMD Family17h Crypto (miscellaneous crypto) at pci10 dev 0 function 2 not configured
[     1.034970] xhci1 at pci10 dev 0 function 3: AMD Family17h xHCI (rev. 0x00)
[     1.034970] xhci1: interrupting at msix6 vec 0
[     1.034970] xhci1: xHCI version 1.0
[     1.034970] usb2 at xhci1: USB revision 3.0
[     1.034970] usb3 at xhci1: USB revision 2.0
[     1.034970] pchb5 at pci0 dev 8 function 0: AMD Family17h PCIe (rev. 0x00)
[     1.034970] ppb10 at pci0 dev 8 function 1: AMD Family17h PCIe (rev. 0x00)
[     1.034970] ppb10: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x16 @ 8.0GT/s
[     1.034970] pci11 at ppb10 bus 11
[     1.034970] pci11: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.034970] AMD product 1455 (non-essential instrumentation, subclass 0x00) at pci11 dev 0 function 0 not configured
[     1.034970] ahcisata1 at pci11 dev 0 function 2: AMD FCH AHCI (rev. 0x51)
[     1.034970] ahcisata1: 64-bit DMA
[     1.034970] ahcisata1: AHCI revision 1.31, 1 port, 32 slots, CAP 0xf737ff00<PSC,SSC,PMD,FBSS,SPM,SAM,ISS=0x3=Gen3,SCLO,SAL,SALP,SMPS,SSNTF,SNCQ,S64A>
[     1.034970] ahcisata1: interrupting at msi7 vec 0
[     1.034970] atabus4 at ahcisata1 channel 0
[     1.034970] hdaudio1 at pci11 dev 0 function 3: HD Audio Controller
[     1.034970] allocated pic msi8 type edge pin 0 level 7 to cpu1 slot 1 idt entry 121
[     1.034970] hdaudio1: interrupting at msi8 vec 0
[     1.034970] hdaudio1: HDA ver. 1.0, OSS 4, ISS 4, BSS 0, SDO 1, 64-bit
[     1.034970] hdafg1 at hdaudio1: vendor 10ec product 0887
[     1.034970] hdafg1: DAC00 2ch: Speaker [Jack]
[     1.034970] hdafg1: DAC01 2ch: HP Out [Jack]
[     1.034970] hdafg1: DIG02 2ch: SPDIF Out [Built-In]
[     1.034970] hdafg1: ADC03 2ch: Line In [Jack], Mic In [Jack]
[     1.034970] hdafg1: ADC04 2ch: Mic In [Jack]
[     1.034970] hdafg1: 2ch/2ch 32000Hz 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
[     1.034970] audio0 at hdafg1: playback, capture, full duplex, independent
[     1.034970] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
[     1.034970] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
[     1.034970] spkr1 at audio0: PC Speaker (synthesized)
[     1.034970] wsbell at spkr1 not configured
[     1.034970] piixpm0 at pci0 dev 20 function 0: AMD X370/X399 SMBus Controller (rev. 0x59)
[     1.034970] piixpm0: interrupting at SMI, 
[     1.034970] iic0 at piixpm0 port 0: I2C bus
[     1.034970] iic1 at piixpm0 port 1: I2C bus
[     1.034970] pcib0 at pci0 dev 20 function 3: AMD FCH LPC (rev. 0x51)
[     1.034970] pchb6 at pci0 dev 24 function 0: AMD Family17h Data Fabric (rev. 0x00)
[     1.034970] pchb7 at pci0 dev 24 function 1: AMD Family17h Data Fabric (rev. 0x00)
[     1.034970] pchb8 at pci0 dev 24 function 2: AMD Family17h Data Fabric (rev. 0x00)
[     1.034970] pchb9 at pci0 dev 24 function 3: AMD Family17h Data Fabric (rev. 0x00)
[     1.034970] pchb10 at pci0 dev 24 function 4: AMD Family17h Data Fabric (rev. 0x00)
[     1.034970] pchb11 at pci0 dev 24 function 5: AMD Family17h Data Fabric (rev. 0x00)
[     1.034970] pchb12 at pci0 dev 24 function 6: AMD Family17h Data Fabric (rev. 0x00)
[     1.034970] pchb13 at pci0 dev 24 function 7: AMD Family17h Data Fabric (rev. 0x00)
[     1.034970] isa0 at pcib0
[     1.034970] com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
[     1.034970] pckbc0 at isa0 port 0x60-0x64
[     1.034970] acpicpu0 at cpu0: ACPI CPU
[     1.034970] acpicpu0: C1: FFH, lat   1 us, pow     0 mW
[     1.034970] acpicpu0: C2: I/O, lat 400 us, pow     0 mW
[     1.034970] acpicpu0: P0: FFH, lat   1 us, pow  4486 mW, 3700 MHz
[     1.034970] acpicpu0: P1: FFH, lat   1 us, pow  3180 mW, 3200 MHz
[     1.034970] acpicpu0: P2: FFH, lat   1 us, pow  1787 mW, 2200 MHz
[     1.034970] acpicpu0: T0: I/O, lat   1 us, pow     0 mW, 100 %
[     1.034970] acpicpu0: T1: I/O, lat   1 us, pow     0 mW,  88 %
[     1.034970] acpicpu0: T2: I/O, lat   1 us, pow     0 mW,  76 %
[     1.034970] acpicpu0: T3: I/O, lat   1 us, pow     0 mW,  64 %
[     1.034970] acpicpu0: T4: I/O, lat   1 us, pow     0 mW,  52 %
[     1.034970] acpicpu0: T5: I/O, lat   1 us, pow     0 mW,  40 %
[     1.034970] acpicpu0: T6: I/O, lat   1 us, pow     0 mW,  28 %
[     1.034970] acpicpu0: T7: I/O, lat   1 us, pow     0 mW,  16 %
[     1.034970] acpicpu1 at cpu1: ACPI CPU
[     1.034970] acpicpu2 at cpu2: ACPI CPU
[     1.034970] acpicpu3 at cpu3: ACPI CPU
[     1.034970] acpicpu4 at cpu4: ACPI CPU
[     1.034970] acpicpu5 at cpu5: ACPI CPU
[     1.034970] acpicpu6 at cpu6: ACPI CPU
[     1.034970] acpicpu7 at cpu7: ACPI CPU
[     1.034970] acpicpu8 at cpu8: ACPI CPU
[     1.034970] acpicpu9 at cpu9: ACPI CPU
[     1.034970] acpicpu10 at cpu10: ACPI CPU
[     1.034970] acpicpu11 at cpu11: ACPI CPU
[     1.034970] acpicpu12 at cpu12: ACPI CPU
[     1.034970] acpicpu13 at cpu13: ACPI CPU
[     1.034970] acpicpu14 at cpu14: ACPI CPU
[     1.034970] acpicpu15 at cpu15: ACPI CPU
[     1.034970] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
[     1.034970] timecounter: Timecounter "TSC" frequency 3693066000 Hz quality 3000
[     1.318398] uhub0 at usb0: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0
[     1.318398] uhub0: 4 ports with 4 removable, self powered
[     1.318398] uhub1 at usb1: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0
[     1.318398] uhub1: 10 ports with 10 removable, self powered
[     1.318398] uhub2 at usb2: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0
[     1.323549] uhub2: 4 ports with 4 removable, self powered
[     1.323549] uhub3 at usb3: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0
[     1.323549] uhub3: 4 ports with 4 removable, self powered
[     1.323549] ld0: GPT GUID: 98fbdcac-1575-4477-be1c-49816ce19a11
[     1.323549] dk0 at ld0: "EFI system", 262144 blocks at 4096, type: msdos
[     1.323549] dk1 at ld0: "NetBSD", 419430400 blocks at 266240, type: ffs
[     1.323549] dk2 at ld0: "swap", 68698112 blocks at 419696640, type: swap
[     1.333548] IPsec: Initialized Security Association Processing.
[     1.413546] ahcisata0 port 1: device present, speed: 6.0Gb/s
[     2.943531] wd0 at atabus1 drive 0
[     2.943531] wd0: <TOSHIBA Q300>
[     2.943531] wd0: drive supports 16-sector PIO transfers, LBA48 addressing
[     2.943531] wd0: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
[     2.943531] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags)
[     2.943531] wd0(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)
[     2.983530] uhidev0 at uhub3 port 3 configuration 1 interface 0
[     2.983530] uhidev0: Logitech (0x046d) USB-PS/2 Optical Mouse (0xc051), rev 2.00/30.00, addr 1, iclass 3/1
[     2.993530] ubt0 at uhub1 port 9
[     2.993530] ubt0: vendor 8087 (0x8087) product 07dc (0x07dc), rev 2.00/0.01, addr 1
[     3.003530] ums0 at uhidev0: 8 buttons and Z dir
[     3.003530] wsmouse0 at ums0 mux 0
[     3.993520] uhidev1 at uhub3 port 4 configuration 1 interface 0
[     3.993520] uhidev1: KINESIS FREESTYLE KB800 (0x058f) KB800 Kinesis Freestyle (0x9410), rev 1.10/1.22, addr 2, iclass 3/1
[     4.013521] ukbd0 at uhidev1: 8 Variable keys, 6 Array codes
[     4.433516] wskbd0 at ukbd0: console keyboard
[     4.433516] uhidev2 at uhub3 port 4 configuration 1 interface 1
[     4.433516] uhidev2: KINESIS FREESTYLE KB800 (0x058f) KB800 Kinesis Freestyle (0x9410), rev 1.10/1.22, addr 2, iclass 3/0
[     4.453516] uhidev2: 3 report ids
[     4.453516] uhid0 at uhidev2 reportid 2: input=1, output=0, feature=0
[     4.453516] uhid1 at uhidev2 reportid 3: input=2, output=0, feature=0
[     4.463516] WARNING: 2 errors while detecting hardware; check system log.
[     4.463516] boot device: wd0
[     4.463516] root on wd0a dumps on wd0b
[     4.473516] /: replaying log to memory
[     4.473516] root file system type: ffs
[     4.473516] kern.module.path=/stand/amd64/9.99.63/modules
[     4.476758] nouveau0: info: NVIDIA GK104 (0e4040a2)
[     4.533515] nouveau0: info: bios: version 80.04.b4.00.10
[     4.533515] allocated pic msi9 type edge pin 0 level 6 to cpu1 slot 2 idt entry 122
[     4.533515] nouveau0: interrupting at msi9 vec 0 (nouveau0)
[     4.533515] nouveau0: info: fb: 2048 MiB GDDR5
[     4.563515] Zone  kernel: Available graphics memory: 5329018 kiB
[     4.563515] Zone   dma32: Available graphics memory: 2097152 kiB
[     4.563515] nouveau0: info: DRM: VRAM: 2048 MiB
[     4.563515] nouveau0: info: DRM: GART: 1048576 MiB
[     4.563515] nouveau0: info: DRM: TMDS table version 2.0
[     4.563515] nouveau0: info: DRM: DCB version 4.0
[     4.563515] nouveau0: info: DRM: DCB outp 00: 01000f02 00020030
[     4.563515] nouveau0: info: DRM: DCB outp 01: 02000f00 00000000
[     4.563515] nouveau0: info: DRM: DCB outp 02: 08011f82 00020030
[     4.563515] nouveau0: info: DRM: DCB outp 03: 02022f62 00020010
[     4.563515] nouveau0: info: DRM: DCB outp 04: 04833fb6 0f420010
[     4.563515] nouveau0: info: DRM: DCB outp 05: 04033f72 00020010
[     4.563515] nouveau0: info: DRM: DCB conn 00: 00001030
[     4.563515] nouveau0: info: DRM: DCB conn 01: 01000131
[     4.563515] nouveau0: info: DRM: DCB conn 02: 00010261
[     4.563515] nouveau0: info: DRM: DCB conn 03: 00020346
[     4.573514] kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[     4.573514] kern info: [drm] Driver supports precise vblank timestamp query.
[     4.673513] nouveau0: info: DRM: MM: using COPY for buffer copies
[    12.753433] nouveaufb0 at nouveau0
[    12.753433] nouveaufb0: framebuffer at 0xffffc50151150000, size 1440x900, depth 32, stride 5888


<--- note the length of time it takes to switch modes with nouveau, and that it is interrupting at msi. ---->

[    56.832994] no data for est. mode 640x480x67
[    56.892993] wsdisplay0 at nouveaufb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
[    56.952992] wsmux1: connecting to wsdisplay0
[    56.952992] nouveau0: autoconfiguration error: error: disp: chid 1 mthd 0080 data 00000000 00005080 0000000d
[    56.952992] nouveau0: info: disp: Base 1:
[    56.952992] nouveau0: info: disp: 	0080: 00000000              
[    56.952992] nouveau0: info: disp: 	0084: 00000000 -> 00000010
[    56.952992] nouveau0: info: disp: 	0088: 00000000 -> 00000100
[    56.952992] nouveau0: info: disp: 	008c: 00000000              
[    56.952992] nouveau0: info: disp: 	0090: 00000000 -> 00000001
[    56.952992] nouveau0: info: disp: 	0094: 00000000 -> f0000000
[    56.952992] nouveau0: info: disp: 	00a0: 00000000              
[    56.952992] nouveau0: info: disp: 	00a4: 00000000              
[    56.952992] nouveau0: info: disp: 	00c0: 00000000 -> ffff0000
[    56.952992] nouveau0: info: disp: 	00c4: 00000000              
[    56.952992] nouveau0: info: disp: 	00c8: 00000000              
[    56.952992] nouveau0: info: disp: 	00cc: 00000000              
[    56.952992] nouveau0: info: disp: 	00e0: 00000000 -> 40000000
[    56.952992] nouveau0: info: disp: 	00e4: 00000000              
[    56.952992] nouveau0: info: disp: 	00e8: 00000000              
[    56.952992] nouveau0: info: disp: 	00ec: 00000000              
[    56.952992] nouveau0: info: disp: 	00fc: 00000000              
[    56.952992] nouveau0: info: disp: 	0100: fffe0000              
[    56.952992] nouveau0: info: disp: 	0104: 00000000              
[    56.952992] nouveau0: info: disp: 	0108: 18131813              
[    56.952992] nouveau0: info: disp: 	010c: f0000000              
[    56.952992] nouveau0: info: disp: 	0110: 00000000              
[    56.952992] nouveau0: info: disp: 	0114: 00000000              
[    56.952992] nouveau0: info: disp: 	0118: 00000000              
[    56.952992] nouveau0: info: disp: 	011c: 00000000              
[    56.952992] nouveau0: info: disp: 	0130: 00000000              
[    56.952992] nouveau0: info: disp: 	0134: 00000000              
[    56.952992] nouveau0: info: disp: 	0138: 00000000              
[    56.952992] nouveau0: info: disp: 	013c: 00000000              
[    56.952992] nouveau0: info: disp: 	0140: 00010000              
[    56.952992] nouveau0: info: disp: 	0144: 00000000              
[    56.952992] nouveau0: info: disp: 	0148: 00000000              
[    56.952992] nouveau0: info: disp: 	014c: 00000000              
[    56.952992] nouveau0: info: disp: 	0150: 00000000              
[    56.952992] nouveau0: info: disp: 	0154: 00010000              
[    56.952992] nouveau0: info: disp: 	0158: 00000000              
[    56.952992] nouveau0: info: disp: 	015c: 00000000              
[    56.952992] nouveau0: info: disp: 	0160: 00000000              
[    56.952992] nouveau0: info: disp: 	0164: 00000000              
[    56.952992] nouveau0: info: disp: 	0168: 00010000              
[    56.952992] nouveau0: info: disp: 	016c: 00000000              
[    56.952992] nouveau0: info: disp: Base 1 - Image 0:
[    56.952992] nouveau0: info: disp: 	0400: 00000000 -> 00000600
[    56.952992] nouveau0: info: disp: 	0404: 00000000              
[    56.952992] nouveau0: info: disp: 	0408: 00000000 -> 038405a0
[    56.952992] nouveau0: info: disp: 	040c: 00000000 -> 01001700
[    56.952992] nouveau0: info: disp: 	0410: 0000e900 -> 0000cf00
[    56.952992] nouveau0: info: disp: Base 1 - Image 1:
[    56.952992] nouveau0: info: disp: 	0420: 00000000              
[    56.952992] nouveau0: info: disp: 	0424: 00000000              
[    56.952992] nouveau0: info: disp: 	0428: 00000000              
[    56.952992] nouveau0: info: disp: 	042c: 00000000              
[    56.952992] nouveau0: info: disp: 	0430: 0000e900              
[    56.972992] iwm0: hw rev 0x140, fw ver 17.352738.0, address 7c:5c:f8:d8:17:38
[    57.152991] /: replaying log to disk
[    58.652976] no data for est. mode 640x480x67
[    58.652976] wsdisplay0: screen 1 added (default, vt100 emulation)
[    58.652976] no data for est. mode 640x480x67
[    58.652976] wsdisplay0: screen 2 added (default, vt100 emulation)
[    58.652976] no data for est. mode 640x480x67
[    58.652976] wsdisplay0: screen 3 added (default, vt100 emulation)
[    58.652976] no data for est. mode 640x480x67
[    58.652976] wsdisplay0: screen 4 added (default, vt100 emulation)
[    58.812975] /cvs: replaying log to disk
[  2117.053550] audio0: device timeout
[ 16522.628401] panic: LOCKDEBUG: Kernel lock error: _kernel_lock,244: spinout
[ 16522.628401] cpu6: Begin traceback...
[ 16522.628401] vpanic() at netbsd:vpanic+0x152
[ 16522.638399] snprintf() at netbsd:snprintf
[ 16522.638399] lockdebug_more() at netbsd:lockdebug_more
[ 16522.638399] _kernel_lock() at netbsd:_kernel_lock+0x244
[ 16522.638399] ip_slowtimo() at netbsd:ip_slowtimo+0x1a
[ 16522.638399] pfslowtimo() at netbsd:pfslowtimo+0x34
[ 16522.638399] callout_softclock() at netbsd:callout_softclock+0x111
[ 16522.638399] softint_dispatch() at netbsd:softint_dispatch+0x108
[ 16522.638399] DDB lost frame for netbsd:Xsoftintr+0x4f, trying 0xffffc5013e0af0f0
[ 16522.638399] Xsoftintr() at netbsd:Xsoftintr+0x4f
[ 16522.638399] --- interrupt ---
[ 16522.638399] 9309caf69fc9c0f2:
[ 16522.638399] cpu6: End traceback...
>How-To-Repeat:

>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.