NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-evbmips/60779: Kernel complains about unexpected mips insn on boot when full diags are turned on
>Number: 60779
>Category: port-evbmips
>Synopsis: Kernel complains about unexpected mips insn on boot when full diags are turned on
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-evbmips-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 23 20:45:00 +0000 2026
>Originator: Alexander Schreiber
>Release: NetBSD 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 grabbed the HEAD/20260919024529Z src snapshot from https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD
and configured it for multiprocessor, also turned on all debugging/diag options I could find that
would actually build.
Upon boot, I got a massive spew (easily 100+ lines) of:
[ 1.0000000] mips_fixup_addr: unexpected mips insn 0x67bdffe0 at 0xffffffff813c0118
[ 1.0000000] mips_fixup_addr: unexpected mips insn 0x67bdfff0 at 0xffffffff813c05f8
Diff to the shipped OCTEON config:
----------------------- cut here -----------------------
--- OCTEON 2026-07-07 08:14:15.000000000 +0000
+++ ERLITE3 2026-09-21 20:42:03.269928587 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: OCTEON,v 1.19 2026/07/07 08:14:15 kbowling Exp $
+# $NetBSD: OCTEON,v 1.14 2024/01/29 18:27:11 christos Exp $
include "arch/mips/conf/std.octeon"
include "arch/evbmips/conf/files.octeon"
@@ -12,6 +12,31 @@
options FDT
options FDT_DEFAULT_STDOUT_PATH="\"uart0:115200n8\""
+
+
+# MP
+options MULTIPROCESSOR
+
+# Kernel Undefined Behavior Sanitizer (kUBSan).
+options KUBSAN # mandatory
+#options UBSAN_ALWAYS_FATAL # optional: panic on all kUBSan reports
+
+# Kernel Code Coverage Driver.
+makeoptions KCOV=1
+options KCOV
+
+# Heartbeat checks
+options HEARTBEAT
+options HEARTBEAT_MAX_PERIOD_DEFAULT=15
+
+
+
+
+
+
+# config
+options INCLUDE_CONFIG_FILE
+
# Options for necessary to use MD
#options MEMORY_DISK_HOOKS
#options MEMORY_DISK_IS_ROOT # force root on memory disk
@@ -34,10 +59,10 @@
# Debugging options
options DIAGNOSTIC # extra kernel sanity checking
-#options DEBUG # extra kernel debugging support
+options DEBUG # extra kernel debugging support
+options LOCKDEBUG # expensive locking checks/support
#options USERCONF # userconf(4) support
-#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
-#options PMAP_DEBUG
+options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
options DDB # kernel dynamic debugger
options DDB_HISTORY_SIZE=100 # enable history editing in DDB
makeoptions DEBUG="-g" # compile full symbol table
----------------------- cut here -----------------------
>How-To-Repeat:
Grab HEAD/20260919024529Z src snapshot from https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD, configure it for multiprocessor, also turn on all debugging/diag options available.
Machine in question: Ubiquiti EdgeRouter Lite (Erlite3).
>Fix:
Home |
Main Index |
Thread Index |
Old Index