NetBSD Problem Report #60778
From www@netbsd.org Wed Sep 23 20:26:48 2026
Return-Path: <www@netbsd.org>
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)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.netbsd.org", Issuer "YR1" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 815921A923B
for <gnats-bugs@gnats.NetBSD.org>; Wed, 23 Sep 2026 20:26:48 +0000 (UTC)
Message-Id: <20260923202647.0C6D91A923C@mollari.NetBSD.org>
Date: Wed, 23 Sep 2026 20:26:46 +0000 (UTC)
From: als@thangorodrim.ch
Reply-To: als@thangorodrim.ch
To: gnats-bugs@NetBSD.org
Subject: 11.0 release on Erlite3 (evbmips) crashes on boot with NFS fix patch when built for MP
X-Send-Pr-Version: www-1.0
X-From4GNATS: "als@thangorodrim.ch via gnats" <gnats-admin@NetBSD.org>
>Number: 60778
>Category: port-evbmips
>Synopsis: 11.0 release on Erlite3 (evbmips) crashes on boot with NFS fix patch when built for MP
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-evbmips-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 23 20:30:00 +0000 2026
>Originator: Alexander Schreiber
>Release: 11.0
>Organization:
Not Much
>Environment:
NetBSD erlite3 11.0 NetBSD 11.0 (ERLITE3) #3: Sat Sep 5 17:07:05 UTC 2026 root@erlite3:/usr/obj/sys/arch/evbmips/compile/ERLITE3 evbmips
>Description:
I applied the patch from https://releng.netbsd.org/cgi-bin/req-11.cgi?show=472 to 11.0 source, added the following entries to the kernel config not present in the OCTEON config:
# MP
options MULTIPROCESSOR
# config
options INCLUDE_CONFIG_FILE
options DEBUG
built and booted the kernel. On boot, the kernel crashed when it touched
cpu1:
-------------- cut here -----------------
[ 1.0000030] cpu1: Cavium CN5020-500 (0xd0601) Rev. 1 with software emulated floating point
[ 1.0000030] cpu1: 64 TLB entriesReader / writer lock error: rw_vector_enter,298: assertion failed: !cpu_intr_p()
[ 1.0200030] lock address : netbsd:kernel_map_store+0x8
[ 1.0200030] current cpu : 1
[ 1.0200030] current lwp : 0x980000041fd68080
[ 1.0300030] owner/count : 000000000000000000 flags : 000000000000000000
[ 1.0400030] panic: lock error: Reader / writer lock: rw_vector_enter,298: assertion failed: !cpu_intr_p(): lock 0xffffffff808b03f0 cpu 1 lwp 0x980000041fd68080
[ 1.0500030] cpu1: Begin traceback...
[ 1.0500030] pid 268678176 not found
[ 1.0600030] cpu1: End traceback...
[ 1.0600030] kernel: breakpoint trap
Stopped in pid 0.16 (system) at netbsd:cpu_Debugger+0x4: jr ra
bdslot: nop
db{1}> bt
0x980000041003b440: cpu_Debugger+0x4 (0x4,0x7000,0x10,0xffffffff80001580) ra 0xf
fffffff804fc0c0 sz 0
0x980000041003b440: vpanic+0x1e8 (0x4,0x7000,0x10,0xffffffff80001580) ra 0xfffff
fff804fc158 sz 64
0x980000041003b480: panic+0x30 (0x4,0x980000041003b4a8,0xffffffff8066f140,0x12a)
ra 0xffffffff804ef0f4 sz 96
0x980000041003b4e0: lockdebug_abort+0xf4 (0x4,0x980000041003b4a8,0xffffffff8066f
140,0x12a) ra 0xffffffff804b48cc sz 176
0x980000041003b590: rw_enter+0x3c4 (0x4,0x980000041003b4a8,0xffffffff8066f140,0x
12a) ra 0xffffffff8043e20c sz 112
0x980000041003b600: uvm_fault_internal+0x14c (0,0x980000041003b4a8,0x1,0x12a) ra
0xffffffff802572e4 sz 576
0x980000041003b840: trap+0x954 (0,0x980000041003b4a8,0x1,0xffffffff804d050c) ra
0xffffffff80245af4 sz 528
0x980000041003ba50: mips64r2_kern_gen_exception+0xd8 (0x70a3,0xffffffff80000008,
0x6,0xffffffff804d050c) ra 0xffffffff804d0514 sz 352
0x980000041003bbb0: callout_hardclock+0x24 (0x70a3,0xffffffff80000008,0x6,0xffff
ffff804d050c) ra 0xffffffff80201324 sz 32
0x980000041003bbd0: cpu_intr+0xfc (0x70a3,0xffffffff80000008,0x6,0xffffffff804d0
50c) ra 0xffffffff80245d40 sz 112
0x980000041003bc40: mips64r2_kern_intr+0xc0 (0,0xff00,0,0xffffffff80001580) ra 0
xffffffff804fb72c sz 352
0x980000041003bda0: aprint_normal_internal+0xa4 (0,0xff00,0,0xffffffff80001580)
ra 0xffffffff804fb81c sz 48
0x980000041003bdd0: aprint_normal_dev+0x54 (0,0xff00,0x40,0xffffffff80001580) ra
0xffffffff8025a360 sz 96
0x980000041003be30: cpu_identify+0x288 (0,0xff00,0x40,0xffffffff80001580) ra 0xf
fffffff80248cb0 sz 80
0x980000041003be80: cpu_hatch+0x128 (0,0xff00,0x40,0xffffffff80001580) ra 0 sz 6
4
User-level: pid 0.16
db{1}>
-------------- cut here -----------------
Comment from Nick Hudson <nick.hudson@gmx.co.uk> in
https://mail-index.netbsd.org/port-mips/2026/09/22/msg001669.html
"This exception shouldn’t happen. I think interrupts should be really be disabled at this point to prevent this."
>How-To-Repeat:
Take 11.0 source, apply patch from https://releng.netbsd.org/cgi-bin/req-11.cgi?show=472 to 11.0 source, add the following entries to the kernel config not present in the OCTEON config:
# MP
options MULTIPROCESSOR
# config
options INCLUDE_CONFIG_FILE
options DEBUG
build and boot this kernel on a Ubiquite EdgeRouter Lite (Erlite3).
>Fix:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.