The kernel doesn't support cifs filetype in 24.04

Bug #2066093 reported by Bartłomiej

This bug report will be marked for expiration in 24 days if no further activity occurs. (find out why)

8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-images
Incomplete
Undecided
Unassigned

Bug Description

I downloaded cloud-init image from this site
https://cloud-images.ubuntu.com/noble/

But the version 24.04 doesn't support cifs

```
$ sudo mount -t cifs //truenas.home/Git /media/Git
Password for root@//truenas.home/Git:
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)
mount: (hint) your fstab has been modified, but systemd still uses
       the old version; use 'systemctl daemon-reload' to reload.

```
I don't have kernel cifs

```
 $ find /lib/modules/ -name cifs.ko
returns nothing
```

```
uname -r
6.8.0-31-generic
```

What should I do to use and mount the smb share
I already installed cifs-utils, smbclient and rebooted my Machine

Revision history for this message
Bartłomiej (cloufisz) wrote :

I've run the same commands on my 23.04 VM, and it seems like I don't have there the newest kernel

```
find /lib/modules/ -name cifs
/lib/modules/6.2.0-26-generic/kernel/fs/cifs
/lib/modules/6.2.0-25-generic/kernel/fs/cifs
```

```
swarm@swarm-lite:~$ uname -r
6.2.0-39-generic
```

And because of that cifs mounting works

Bartłomiej (cloufisz)
summary: - The kernel doesn't support cifs filetype
+ The kernel doesn't support cifs filetype in 24.04
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Check if you have the linux-modules-extra-6.8.0-31-generic package installed, or the one for your kernel version.

sudo apt install linux-modules-extra-$(uname -r)-generic

That's there the cifs.ko module is.

Changed in cloud-images:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.