NetBSD-Bugs archive

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

port-vax/60290: GENERIC with DIAGNOSTIC NetBSD/vax 10.1 enabled fails to boot



>Number:         60290
>Category:       port-vax
>Synopsis:       GENERIC with DIAGNOSTIC NetBSD/vax 10.1 enabled fails to boot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-vax-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 23 20:30:00 +0000 2026
>Originator:     Alexander Schreiber
>Release:        10.1
>Organization:
not much
>Environment:
NetBSD isengart.xyz 10.1 NetBSD 10.1 (GENERIC) #0: Sat Jan 18 15:19:12 UTC 2025  root@isengart:/usr/obj/sys/arch/vax/compile/GENERIC vax

>Description:
I'm currently chasing a diffent issue on NetBSD/vax 10.1 so I took GENERIC and enabled DIAGNOSTIC. The resulting kernel fails to boot on a SIMH MicroVAX 3900 and drops into the debugger due to a kassert firing.

console snapshot:

> boot netbsd
4435672+186336 [254000+238892]=0x4e1024
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[   1.0000000]     2024
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 10.1 (ISENGART) #0: Fri May 22 08:21:38 UTC 2026
[   1.0000000]  root%isengart.angband.thangorodrim.de@localhost:/usr/src/sys/arch/vax/compile/ISENGART
[   1.0000000] MicroVAX 3800/3900
[   1.0000000] total memory = 65468 KB
[   1.0000000] avail memory = 57860 KB
[   1.0000000] mainbus0 (root)
[   1.0000000] cpu0 at mainbus0: KA655, CVAX microcode rev 6 Firmware rev 83
[   1.0000000] lance at mainbus0 not configured
[   1.0000000] uba0 at mainbus0: Q22
[   1.0000000] dz1 at uba0 csr 160100 vec 304 ipl 17
[   1.0000000] uda0 at uba0 csr 172150 vec 774 ipl 17
[   1.0000000] mscpbus0 at uda0: version 3 model 3
[   1.0000000] mscpbus0: DMA burst size set to 4
[   1.0000000] qt0 at uba0 csr 174440 vec 770 ipl 17
[   1.0000000] qt0: delqa-plus in Turbo mode, hardware address aa:00:04:00:23:42
[   1.0000000] WARNING: system needs entropy for security; see entropy(7)
[   1.6400030] ra0 at mscpbus0 drive 0: RA82
[   1.6400030] racd0 at mscpbus0 drive 1: RRD40
[   1.6400030] ra1 at mscpbus0 drive 2: RD54
[   1.6400030] rx0 at mscpbus0 drive 3: RX50
[   1.7000030] swwdog0: software watchdog initialized
[   1.7100030] panic: kernel diagnostic assertion "(!(cpu_intr_p() || cpu_softintr_p()) || pp->pr_ipl != IPL_NONE || cold || panicstr != NULL)" failed: file "../../../../kern/subr_pool.c", line 1095 pool_get: [propdict] is IPL_NONE, but called from interrupt context
[   1.7100030] cpu0: Begin traceback...
[   1.7100030] panic: kernel diagnostic assertion "(!(cpu_intr_p() || cpu_softintr_p()) || pp->pr_ipl != IPL_NONE || cold || panicstr != NULL)" failed: file "../../../../kern/subr_pool.c", line 1095 pool_get: [propdict] is IPL_NONE, but called from interrupt context
[   1.7100030] Stack traceback : 
[   1.7100030]   Process is executing in user space.
[   1.7100030] cpu0: End traceback...
Stopped in pid 0.54 (system) at netbsd:vpanic+0x179:    pushl   $0
db> bt
panic: kernel diagnostic assertion "(!(cpu_intr_p() || cpu_softintr_p()) || pp->
pr_ipl != IPL_NONE || cold || panicstr != NULL)" failed: file "../../../../kern/
subr_pool.c", line 1095 pool_get: [propdict] is IPL_NONE, but called from interr
upt context
Stack traceback :
0x806581f4: vpanic+0x179(0x803a623a,0x8065825c)
0x80658214: kern_assert+0x1b(0x803a623a,0x80351aa8,0x803a61de,0x803a5894,0x447,0
x803a6ad1,0x803bda8e)
0x80658240: pool_get+0x3af(0x80468134,0x1)
0x80658284: prop_dictionary_create+0x14(void)
0x806582c0: disk_set_info+0x10d(0x83ee4000,0x83ee5004,0)
0x806582e0: rronline+0xa7(0x83ee4000,0x80761288)

>How-To-Repeat:
Take SIMH, built the VAX simulator, configure as:

set cpu simhalt
; real hardware limit for MV3900: 64m
set cpu 64m
set cpu idle=netbsd
attach nvr nvram.bin
; metric bytes ...
set rq0 rauser=17179
attach rq0 isengart.disk
set rq1 cdrom
attach rq1 NetBSD-10.0-vax.iso
set xq mac=AA-00-04-00-23-42
attach xq0 eno1

Take GENERIC, enable DIAGNOSTIC, try to boot the new kernel.

Due to lack of actual VAX hardware, I'm running SIMH.
>Fix:




Home | Main Index | Thread Index | Old Index