We are still seeing this issue on 6.2.0-1016-azure kernel

adminuser@ubuntu:~$ uname -a
Linux ubuntu 6.2.0-1016-azure #16~22.04.1-Ubuntu SMP Tue Oct 10 17:11:51 UTC 
2023 x86_64 x86_64 x86_64 GNU/Linux

adminuser@ubuntu:~$ modprobe cifs
modprobe: FATAL: Module cifs not found in directory 
/lib/modules/6.2.0-1016-azure

adminuser@ubuntu:~$ ls -lh /lib/modules/6.2.0-1016-azure/kernel/fs/
total 120K
drwxr-xr-x 2 root root 4.0K Nov  1 02:12 9p
drwxr-xr-x 2 root root 4.0K Nov  1 02:12 autofs
-rw-r--r-- 1 root root  38K Oct 10 16:03 binfmt_misc.ko
drwxr-xr-x 2 root root 4.0K Nov  1 02:12 btrfs
drwxr-xr-x 2 root root 4.0K Nov  1 02:12 cachefiles
drwxr-xr-x 2 root root 4.0K Nov  1 02:12 ceph
drwxr-xr-x 2 root root 4.0K Nov  1 02:12 dlm
drwxr-xr-x 2 root root 4.0K Nov  1 02:12 fat
drwxr-xr-x 2 root root 4.0K Nov  1 02:12 fscache
drwxr-xr-x 2 root root 4.0K Nov  1 02:12 fuse
drwxr-xr-x 2 root root 4.0K Nov  1 02:12 isofs
drwxr-xr-x 2 root root 4.0K Nov  1 02:12 lockd
drwxr-xr-x 2 root root 4.0K Nov  1 02:12 netfs
drwxr-xr-x 5 root root 4.0K Nov  1 02:12 nfs
drwxr-xr-x 2 root root 4.0K Nov  1 02:12 nfs_common
drwxr-xr-x 2 root root 4.0K Nov  1 02:12 nfsd
drwxr-xr-x 2 root root 4.0K Nov  1 02:12 nls
drwxr-xr-x 2 root root 4.0K Nov  1 02:12 overlayfs
drwxr-xr-x 2 root root 4.0K Nov  1 02:12 udf
drwxr-xr-x 2 root root 4.0K Nov  1 02:12 ufs
drwxr-xr-x 2 root root 4.0K Nov  1 02:12 xfs

adminuser@ubuntu:~$ apt list --installed 2>/dev/null | grep -i cifs
cifs-utils/jammy-updates,jammy-security,now 2:6.14-1ubuntu0.1 amd64 [installed]

adminuser@ubuntu:~$ sudo mount -t cifs //<mount>/<path>/ /mnt/<mount_point> -o 
username=<mount_user>
Password for <mount_user>@//<mount>/<point>/<path>:
mount error: cifs filesystem not supported by the system
mount error(19): No such device
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log 
messages (dmesg)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2042546

Title:
  Include cifs.ko in linux-modules package

Status in linux package in Ubuntu:
  Invalid
Status in linux source package in Lunar:
  Fix Committed

Bug description:
  SRU Justification:

  [Impact]

  Commit: "smb: move client and server files to common directory fs/smb" 
introduced in 2023.09.04 moved the fs/cifs directory to fs/sb/client. The 
inclusion list for linux-modules was not updated, it still contains the old 
path. This means that the cifs.ko module cannot be loaded if only linux-modules 
package is installed, now being part of linux-modules-extra.
  For lunar:main this is not a problem because linux-modules-extra is always 
installed, but for derivatives like aws, azure etc, this module cannot be 
loaded without explicitly installing linux-modules-extra.

  [How to reproduce it]:
  1. Install the latest azure kernel 6.2.0-1016.16
  2. Load cifs module
  $ modprobe cifs
  modprobe: FATAL: Module cifs not found in directory 
/lib/modules/6.2.0-1016-azure
  If modules-extra is installed, this works.

  [Fix]

  Replace fs/cifs/* with fs/smb/client/* in 
debian.<derivative>/control.d/<derivative>.inclusiojn-list
  This is going to be done in s2023.10.02 cycle for derivatives.

  [Test Plan]

  1. Apply the fix to one of the derivative (azure), build a new kernel and 
install it
  2. Load cifs module
  $ modprobe cifs
  It should work without installing modules-extra.

  [Regression potential]

  Very low, it's a straightforward fix.

  [Other Info]
  Sending a patch for every derivative takes time and each derivative will be 
fixed once this proposal is acked.
  There is also the possibility to do it via cranky fix, but owners may omit it 
during security updates and it's hard to enforce it. Plus, it is a one-time 
change.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2042546/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to