Skip to content

Instantly share code, notes, and snippets.

View NCommander's full-sized avatar
🏠
Working from home

NCommander (Michael Casadevall) NCommander

🏠
Working from home
View GitHub Profile
I was recently given remote access to a MicroVAX 3100 M40, and I've been spending the last week or so getting NetBSD 10/vax going. The good news is that I've thus been rewarded with the following:
soap$ dmesg | head -n20
[ 1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[ 1.000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[ 1.000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[ 1.000000] 2024
[ 1.000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.000000] The Regents of the University of California. All rights reserved.
diff --git a/sys/arch/vax/vsa/lcg.c b/sys/arch/vax/vsa/lcg.c
index 0178c069cb08..30f297c3e4e1 100644
--- a/sys/arch/vax/vsa/lcg.c
+++ b/sys/arch/vax/vsa/lcg.c
@@ -457,6 +457,8 @@ lcg_attach(struct device *parent, struct device *self, void *aux)
struct vsbus_attach_args *va = aux;
struct wsemuldisplaydev_attach_args aa;
+ return;
+
@NCommander
NCommander / gist:f2b5aa3789f9be7bd8fdb0de39898ff3
Created April 30, 2024 11:09
NetBSD/vax NetBSD-current dmesg MicroVAX M3100 M40
[ 1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[ 1.000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[ 1.000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[ 1.000000] 2024
[ 1.000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.000000] The Regents of the University of California. All rights reserved.
[ 1.000000] NetBSD 10.99.10 (GENERIC) #18: Tue Apr 30 01:57:43 UTC 2024
[ 1.000000] ncmdr@soapmaker.lan:/home/ncmdr/netbsd-src/sys/arch/vax/compile/obj/GENERIC
diff --git a/sys/arch/vax/vsa/lcg.c b/sys/arch/vax/vsa/lcg.c
index 8f1cacba7eed..844b40c38b4e 100644
--- a/sys/arch/vax/vsa/lcg.c
+++ b/sys/arch/vax/vsa/lcg.c
@@ -436,7 +436,10 @@ lcg_match(struct device *parent, struct cfdata *match, void *aux)
struct vsbus_attach_args *va = aux;
char *ch = (char *)va->va_addr;
- if ((vax_boardtype != VAX_BTYP_46) && (vax_boardtype != VAX_BTYP_48))
+ if ((vax_boardtype != VAX_BTYP_46) && \
@NCommander
NCommander / TESTCONFIG-1714298074
Last active April 28, 2024 10:28
Current working NetBSD-current config on the M3100 M40
# $NetBSD: GENERIC,v 1.219 2023/02/12 14:50:42 abs Exp $
#
# GENERIC machine description file
#
# This machine description file is used to generate the default NetBSD
# kernel. The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
@NCommander
NCommander / gist:8fa8cfe66afe015f02ec5c1870a511a7
Created April 27, 2024 13:43
GENERIC from 10 vs NetBSD 7.1
user@skywalker:~/src/NetBSD/sys/arch/vax/conf$ diff -u GENERIC7 GENERIC
--- GENERIC7 2024-04-27 09:42:04.572881798 -0400
+++ GENERIC 2024-04-27 07:53:38.299506303 -0400
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.189.6.2 2014/11/18 19:05:32 snj Exp $
+# $NetBSD: GENERIC,v 1.219 2023/02/12 14:50:42 abs Exp $
#
# GENERIC machine description file
#
@@ -18,11 +18,11 @@
user@skywalker:~/src/NetBSD/sys/arch/vax/conf$ diff -u INSTALL GENERIC
--- INSTALL 2024-04-27 08:39:55.956965465 -0400
+++ GENERIC 2024-04-27 07:53:38.299506303 -0400
@@ -1,17 +1,34 @@
-# $NetBSD: INSTALL,v 1.77 2023/02/11 06:02:56 tsutsui Exp $
+# $NetBSD: GENERIC,v 1.219 2023/02/12 14:50:42 abs Exp $
#
-# INSTALL kernel; all supported devices but nothing fancy.
+# GENERIC machine description file
+#
ncmdr@rosetta2:~$ pargs -e core
pargs: Couldn't determine locale of target process.
pargs: Some strings may not be displayed properly.
core 'core' of 1103: -bash
envp[0]: SHELL=/bin/bash
envp[1]: PWD=/home/ncmdr
envp[2]: LOGNAME=ncmdr
envp[3]: TZ=UTC
envp[4]: HOME=/home/ncmdr
envp[5]: SSH_CONNECTION=192.168.2.216 56248 192.168.0.106 22
ncmdr@rosetta2:~/bash-5.2.21$ gmake check
gmake[1]: Entering directory '/home/ncmdr/bash-5.2.21/builtins'
gmake[1]: 'pipesize.h' is up to date.
gmake[1]: Leaving directory '/home/ncmdr/bash-5.2.21/builtins'
***********************************************************
* *
* GNU bash, version 5.2.21(1)-release (x86_64-pc-solaris2.11)
* *
***********************************************************
@NCommander
NCommander / gist:fc053e5035489a1e6e792d55f8fdbdcf
Created April 4, 2024 03:35
OmniOS bloody bash make check
ncmdr@rosetta2:~/bash-5.2.21/tests$ /usr/bin/bash run-all
run-all: line 21: -c: command not found
declare -r SHELLOPTS="braceexpand:hashall:interactive-comments"
Testing ../bash
version: 5.2.21(1)-release
versinfo: 5 2 21 1 release x86_64-pc-solaris2.11
HOSTTYPE = x86_64
OSTYPE = solaris2.11
MACHTYPE = x86_64-pc-solaris2.11
Any output from any test, unless otherwise noted, indicates a possible anomaly