Hello,

The bcachefs DKMS packages from apt.bcachefs.org have a non-standard directory 
hierarchy that can cause problems. Instead of putting the source files directly 
in the DKMS source directory the packages use a "src/fs/bcachefs" subdirectory. 
This causes an issue when the module is installed using the standard kernel 
method like this:

     INSTALL_MOD_PATH=$(realpath "$WORK") INSTALL_MOD_DIR="dkms" \
          make -C "$hdir/" M="$sdir/" MO="$mdir/" modules_install
     
This causes the module to be installed at a nonstandard and unexpected path 
like this:

     /lib/modules/6.16.9-0-stable/dkms/src/fs/bcachefs/bcachefs.ko.gz

But it is expected that the module would be installed here:

     /lib/modules/6.16.9-0-stable/dkms/bcachefs.ko.gz

The problematic path may still work in some circumstances particularly when 
"modprobe" is used but may fail if "insmod" is used directly with the expected 
path.

I'm using the 1.31.3 version from apt.bcachefs.org. I downloaded the Arch DKMS 
package too and it has the same problem too.

Thanks,
Carl

Reply via email to