On Wed, Mar 28, 2018 at 03:39:46PM +0200, Gregory Byshenk wrote:> On Wed, Mar 28, 2018 at 04:09:04PM +0300, Slawa Olhovchenkov wrote: > > I am upgrade system to latest -STABLE and now see kernel crash: > > > > - loading virtualbox modules build on 11.1-RELEASE-p6 > > - loading nvidia module build on 11.1-RELEASE-p6 and start xdm > > > > Is this expected? I am mean about loading modules builded on > > 11.1-RELEASE on any 11.1-STABLE. > > Did you rebuild your virtualbox and nvidia modules for your new > kernel? If you build a new kernel, then you need to rebuild any > modules that were installed from ports for the new version.Only for -CURRENT, not for -STABLE: https://lists.freebsd.org/pipermail/svn-src-all/2018-March/159649.html John Baldwin: "In theory we try to not break existing kernel modules on a stable branch. That is, one should be able to kldload an if_iwn.ko built on 11.0 on a 11-stable kernel."
On Wed, Mar 28, 2018 at 05:35:51PM +0300, Slawa Olhovchenkov wrote:> On Wed, Mar 28, 2018 at 03:39:46PM +0200, Gregory Byshenk wrote: > > > > Did you rebuild your virtualbox and nvidia modules for your new > > kernel? If you build a new kernel, then you need to rebuild any > > modules that were installed from ports for the new version. > > Only for -CURRENT, not for -STABLE: > > https://lists.freebsd.org/pipermail/svn-src-all/2018-March/159649.html > > John Baldwin: "In theory we try to not break existing kernel > modules on a stable branch. That is, one should be able to kldload an > if_iwn.ko built on 11.0 on a 11-stable kernel."I understand that this is true for standard kernel modules, but I have frequently run into problems loading _ports_ modules on a new kernel - including in STABLE. -- gregory byshenk - gbyshenk at byshenk.net - Leiden, NL