I test module loading with just bumped up src. After build.sh modules &&
build.sh installmodules, that works fine.
====================
# uname -r
9.99.100
# ls -dl /stand/amd64/9.99.100/modules/tprof*
drwxr-xr-x 2 root wheel 512 Sep 16 17:45
/stand/amd64/9.99.100/modules/tprof
drwxr-xr-x 2 root wheel 512 Sep 16 17:46
/stand/amd64/9.99.100/modules/tprof_x86
# modstat | grep tprof
# modload tprof_x86
# echo $?
0
# modstat | grep tprof
tprof driver filesys a 1 4957 -
tprof_x86 driver filesys - 0 2010 tprof
====================
Excellent - looks good.
+--------------------+--------------------------+----------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org |
| & Network Engineer | | pgoyett...@gmail.com |
+--------------------+--------------------------+----------------------+