Bug 219961 - [regression][nullfs] Nullfs ko won't load _and_ options NULLFS doesn't work, either.
Summary: [regression][nullfs] Nullfs ko won't load _and_ options NULLFS doesn't work, ...
Status: Closed Not A Bug
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.0-STABLE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-fs (Nobody)
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2017-06-13 19:50 UTC by David Gilbert
Modified: 2017-06-13 22:57 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Gilbert 2017-06-13 19:50:59 UTC
I found this bug because my jails use a jailname.fstab to use nullfs to mount some things (ports, home directories, etc) inside the jail.

From the 11.0 to new copy of stable, this brakes.  To test, I did "cd /usr/src/sys/modeules/nullfs" followed by "make all && make install".  Then:

after "kldload /boot/modules/nullfs.ko", dmesg had:

KLD nullfs.ko: depends on kernel - not available or version mismatch
linker_load_file: Unsupported file type

Then, just to be sure:

[1:11:311]root@vr:/usr/src/sys/modules/nullfs> file /boot/modules/nullfs.ko
/boot/modules/nullfs.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (FreeBSD), not stripped
Comment 1 Rodney W. Grimes freebsd_committer freebsd_triage 2017-06-13 22:13:30 UTC
Your expecting to be able to load an 11.1 kernel module on 11.0 kernel?

This is expected behavior as far as I can see, you need to build, install
and reboot to a new kernel in order to be able to run new modules.
Comment 2 David Gilbert 2017-06-13 22:16:52 UTC
(In reply to Rodney W. Grimes from comment #1)

No.  To be specific.  Without changing sources, I tried rebuilding a module in case it was bad/corrupt.

But the kernel won't load nullfs.  I've remade the whole kernel with make buildkernel/installkernel.
Comment 3 David Gilbert 2017-06-13 22:57:57 UTC
Urgh.  Bitten by boot environments.