NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/56561: cv_is_valid assertion failure in intel drm



The following reply was made to PR kern/56561; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%consolidated.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/56561: cv_is_valid assertion failure in intel drm
Date: Sun, 10 Jul 2022 16:15:30 -0500 (CDT)

 Just tried running a 9.99.98/amd64 system with i915drmkms on an
 82G41-based system and the panic still occurs:
 
 [...]
 [  8794.379988] heartbeat rcs0 heartbeat {prio:-2147483645} not ticking
 [  8794.379988] heartbeat 	Awake? 6
 [  8794.379988] heartbeat 	Barriers?: no
 [  8794.379988] heartbeat 	Latency: 18us
 [  8794.379988] heartbeat 	Heartbeat: 3000 ms ago
 [  8794.379988] heartbeat 	Reset count: 0 (global 0)
 [  8794.379988] heartbeat 	Requests:
 [  8794.379988] heartbeat 		active  2:b16a9*-  @ 6000ms: xlock[4402]
 [  8794.379988] heartbeat 		ring->start:  0x00004000
 [  8794.379988] heartbeat 		ring->head:   0x00001ca0
 [  8794.379988] heartbeat 		ring->tail:   0x00001e30
 [  8794.379988] heartbeat 		ring->emit:   0x00001e30
 [  8794.379988] heartbeat 		ring->space:  0x00003e30
 [  8794.379988] heartbeat 		ring->hwsp:   0x00002100
 [  8794.379988] heartbeat [head 1ca0, postfix 1d10, tail 1d28, batch 0x00000000_00d3c000]:
 [  8794.379988] warning: /x/current/src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_engine_cs.c:1234: WARN_ON_ONCE(hex_dump_to_buffer(buf + pos, len - pos, rowsize, sizeof(u32), line, sizeof(line), 0) >= sizeof(line))
 [  8794.379988] heartbeat [0000] 22000002 0240007a 04e0ff1f 00000000 00000000 00000002 00000002 00000002
 [  8794.379988] 00000002 00000002 00000002 00000002 00000002 00000002 0
 [  8794.379988] heartbeat [0020] 00000002 00000002 00000002 00000002 00000002 00000002 00000002 00000002
 [  8794.379988] 00000002 0240007a 04e0ff1f 00000000 00000000 22000002 0
 [  8794.379988] heartbeat [0040] 00000002 0240007a 04e0ff1f 00000000 00000000 22000002 00000000 0000000c
 [  8794.379988] 0c31dc00 00000000 80018018 00c0d300 00000002 01008010 0
 [  8794.379988] heartbeat [0060] 0c31dc00 00000000 80018018 00c0d300 00000002 01008010 00010000 a9160b00
 [  8794.379988] 00000001 00000000
 
 [  8794.379988] heartbeat [0080] 00000001 00000000
 
 [  8794.379988] heartbeat 	On hold?: 0
 [  8794.379988] heartbeat 	MMIO base:  0x00002000
 [  8794.379988] heartbeat 	CCID: 0x00dc310d
 [  8794.379988] heartbeat 	RING_START: 0x00004000
 [  8794.379988] heartbeat 	RING_HEAD:  0x00001d10
 [  8794.379988] heartbeat 	RING_TAIL:  0x00001e30
 [  8794.379988] heartbeat 	RING_CTL:   0x00003001
 [  8794.379988] heartbeat 	RING_MODE:  0x00000040
 [  8794.379988] heartbeat 	ACTHD:  0x00000000_00d3c1bc
 [  8794.379988] heartbeat 	BBADDR: 0x00000000_00d3c1bb
 [  8794.379988] heartbeat 	DMA_FADDR: 0x00000000_00d3c380
 [  8794.379988] heartbeat 	IPEIR: 0x00000000
 [  8794.379988] heartbeat 	IPEHR: 0x60020100
 [  8794.379988] heartbeat 		E  2:b16a9*-  @ 6000ms: xlock[4402]
 [  8794.379988] heartbeat 		E  2:b16aa-  @ 5840ms: X[19491]
 [  8794.379988] heartbeat 		E  2:b16ab  @ 3000ms: [i915]
 [  8794.379988] heartbeat HWSP:
 [  8794.379988] heartbeat [0000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 [  8794.379988] 00000000 00000000 00000000 00000000 00000000 00000000 0
 [  8794.379988] heartbeat *
 [  8794.379988] heartbeat [0100] a8160b00 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 [  8794.379988] 00000000 00000000 00000000 00000000 00000000 00000000 0
 [  8794.379988] heartbeat [0120] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 [  8794.379988] 00000000 00000000 00000000 00000000 00000000 00000000 0
 [  8794.379988] heartbeat *
 [  8794.379988] heartbeat Idle? no
 [  8794.379988] heartbeat Signals:
 [  8794.379988] heartbeat 	[2:b16a9*] @ 6000ms
 [  8794.379988] heartbeat 	[2:b16aa] @ 5840ms
 [  8794.379988] i915drmkms0: notice: Resetting chip for stopped heartbeat on rcs0
 [  8794.379988] i915drmkms0: notice: xlock[4402] context reset due to GPU hang
 [...]
 [ 15477.672336] panic: kernel diagnostic assertion "cv_is_valid(cv)" failed: file "/x/current/src/sys/kern/kern_condvar.c", line 511 
 [ 15477.672336] cpu0: Begin traceback...
 [ 15477.672336] vpanic() at netbsd:vpanic+0x183
 [ 15477.672336] kern_assert() at netbsd:kern_assert+0x4b
 [ 15477.672336] cv_broadcast() at netbsd:cv_broadcast+0x56
 [ 15477.672336] linux___dma_fence_signal_wake() at netbsd:linux___dma_fence_signal_wake+0x13e
 [ 15477.672336] signal_irq_work() at netbsd:signal_irq_work+0x2ca
 [ 15477.672336] irq_work_intr() at netbsd:irq_work_intr+0x87
 [ 15477.672336] softint_dispatch() at netbsd:softint_dispatch+0xf9
 [ 15477.672336] DDB lost frame for netbsd:Xsoftintr+0x4f, trying 0xffffb300aed490f0
 [ 15477.672336] Xsoftintr() at netbsd:Xsoftintr+0x4f
 [ 15477.672336] --- interrupt ---
 [ 15477.672336] ff9dffe7fafbfeff:
 [ 15477.672336] cpu0: End traceback...
 
 [ 15477.672336] dumping to dev 0,1 (offset=16867127, size=2086023):
 [ 15477.672336] dump {subsequent boot dmesg begins here}
 
 Was playing a YouTube video through Firefox 101.0.1 (pkgsrc-2022Q2)
 at the time, but I've seen it before while the system was essentially
 idle (or as idle as it can be with Firefox running).
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index