Re: Reproducable kernel crash

Ken Wellsch <[email protected]>
Newsgroups gmane.os.netbsd.ports.vax
Message-ID <[email protected]>
On Sat, Feb 24, 2024 at 12:09:11PM -0500, Ken Wellsch wrote:
> On Sat, Feb 24, 2024 at 11:46:10AM +0100, Martin Husemann wrote:
> > On Sat, Feb 24, 2024 at 11:23:17AM +0100, Anders Magnusson wrote:
> > > GENERIC do not have DIAGNOSTIC turned on, so this check will never be done
> > > if the distributed kernel is used.
> > 
> > Oh indeed I do have "options DIAGNOSTIC" in my kernel config.
> > Sorry, forgot about that, I'll ammend the PR.
> > 
> > I think it should be enabled in GENERIC (but I know this makes things a lot
> > worse for VAX).
> > 
> > However, the bug probably is real (and might cause other issues w/o DIAGNOSTIC).
> > 
> > Martin

Now trying this on a 4000/60 with -current source
(as in NetBSD-daily/HEAD/202402232140Z).

I just copied the 4G disk image I used with SIMH to a SCSI emulator...


[     1.000000] NetBSD 10.99.10 (GENERIC) #1: Sat Feb 24 11:13:32 EST 2024
[     1.000000]         netbsd@z440d:/home/netbsd/obj.vax/sys/arch/vax/compile/GENERIC
[     1.000000] VAXstation 4000/60
[     1.000000] total memory = 103 MB
[     1.000000] avail memory = 97900 KB
	...
[     3.029677] sd0 at scsibus0 target 0 lun 0: <ZULUSCSI, HARDDRIVE, 2.0> disk fixed
[     3.069669] sd0: 4095 MB, 522 cyl, 255 head, 63 sec, 512 bytes/sect x 8388607 sectors
[     3.099631] sd0: sync (160.00ns offset 15), 8-bit (6.250MB/s) transfers
	...

vax# uname -a
NetBSD vax.localhost 10.99.10 NetBSD 10.99.10 (GENERIC) #1: Sat Feb 24 11:13:32 EST 2024  netbsd@z440d:/home/netbsd/obj.vax/sys/arch/vax/compile/GENERIC vax

vax# cd /usr/tests/lib/libc/sys && atf-run t_lwp_create 
Content-Type: application/X-atf-tps; version="3"

info: atf.version, Automated Testing Framework 0.20 (atf-0.20)
info: tests.root, /usr/tests/lib/libc/sys
info: time.start, Sat Feb 24 12:46:15 EST 2024
info: uname.sysname, NetBSD
info: uname.nodename, vax.localhost
info: uname.release, 10.99.10
info: uname.version, NetBSD 10.99.10 (GENERIC) #1: Sat Feb 24 11:13:32 EST 2024 netbsd@z440d:/home/netbsd/obj.vax/sys/arch/vax/compile/GENERIC
info: uname.machine, vax
info: env, ENV=/root/.shrc
info: env, BLOCKSIZE=1k
info: env, PWD=/usr/tests/lib/libc/sys
info: env, HOME=/root
info: env, PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/games:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin
info: env, HOST=vax.localhost
info: env, TERM=xterm
info: env, OLDPWD=/root
info: env, USER=root
info: env, LINES=58
info: env, LOGNAME=root
info: env, SHELL=/bin/sh
info: env, COLUMNS=172
tps-count: 1
tp-start: 1708796784.291743, t_lwp_create, 6
tc-start: 1708796784.293931, lwp_create_bad_lid_ptr
tc-end: 1708796786.931595, lwp_create_bad_lid_ptr, passed
tc-start: 1708796786.961629, lwp_create_generic_fail_no_uc_cpu
tc-end: 1708796787.597164, lwp_create_generic_fail_no_uc_cpu, passed
tc-start: 1708796787.627140, lwp_create_vax_fail_psl_0
tc-end: 1708796787.983396, lwp_create_vax_fail_psl_0, passed
tc-start: 1708796788.17503, lwp_create_vax_fail_psl_1
tc-end: 1708796788.480768, lwp_create_vax_fail_psl_1, passed
tc-start: 1708796788.508830, lwp_create_vax_fail_psl_cm
tc-end: 1708796789.398167, lwp_create_vax_fail_psl_cm, passed
tc-start: 1708796789.430113, lwp_create_works
tc-end: 1708796789.873325, lwp_create_works, passed
tp-end: 1708796789.902142, t_lwp_create
info: time.end, Sat Feb 24 12:46:32 EST 2024
vax#
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.