tech-kern archive

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

Re: Can version bump up to 9.99.100?



Hi,

Thank you for your comment.

On 2022/09/16 15:46, Paul Goyette wrote:
On Fri, 16 Sep 2022, Robert Elz wrote:

   Date:        Fri, 16 Sep 2022 11:10:30 +0900
   From:        Kengo NAKAHARA <k-nakahara%iij.ad.jp@localhost>
   Message-ID:  <90c3c46e-6668-9644-70c3-0eab2cf1c04f%iij.ad.jp@localhost>


 | Hmm, I will test kernel module building before commit.

Sorry, I wasn't clear - I build everything (modules included) - I just
never actually load any modules, so I haven't tested them (my kernels have
the MODULAR option disabled).   I cannot imagine an issue, as internally
everything just uses __NetBSD_Version__ as a 32 bit (ordered) blob - the
breakdown into 9.99.100 type strings is just for us humans (and pkgsrc).

Not entirely true.

The human-oriented version is used as part of the path to modules
directory.  Need to make sure that the modules set is properly
populated, and that module loads find them in the directory.

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
====================


Thanks,

--
//////////////////////////////////////////////////////////////////////
Internet Initiative Japan Inc.

Device Engineering Section,
Product Division,
Technology Unit

Kengo NAKAHARA <k-nakahara%iij.ad.jp@localhost>




Home | Main Index | Thread Index | Old Index