CIFS kernel module lost after upgrade to linux-image-6.2.0-1015-aws

0

A Systems manager patch was applied on an Ubuntu 22.04 instance. One of the patches upgraded the kernel from linux-image-6.2.0-1014-aws to linux-image-6.2.0-1015-aws and now we do not have the cifs kernel module available anymore. We are unable to mount a previously mounted CIFS filesystem.

How can we restore the CIFS module in order to mount the filesystem?

Some commands we ran to try and shed light:

> cat /etc/fstab 
LABEL=cloudimg-rootfs	/	 ext4	defaults,discard	0 0
//172.31.111.111/Export /mnt/export cifs credentials=/root/.smbcredentials,users,iocharset=utf8,ro 0 0

> mount /mnt/export/
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)

> find /usr/lib/modules -type f | grep cifs
/usr/lib/modules/6.2.0-1014-aws/kernel/fs/smbfs_common/cifs_arc4.ko
/usr/lib/modules/6.2.0-1014-aws/kernel/fs/smbfs_common/cifs_md4.ko
/usr/lib/modules/6.2.0-1014-aws/kernel/fs/cifs/cifs.ko

> dpkg -l "*cifs*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version           Architecture Description
+++-==============-=================-============-=====================================
ii  cifs-utils     2:6.14-1ubuntu0.1 amd64        Common Internet File System utilities
dawie
gefragt vor 6 Monaten589 Aufrufe
1 Antwort
1
Akzeptierte Antwort

After quite some digging we found similar issues on azure: https://learn.microsoft.com/en-us/answers/questions/1410701/linux-image-6-2-0-1016-azure-cifs-is-not-supported

The fix was similar:

apt install -y linux-modules-extra-aws

Hope this helps!

beantwortet vor 6 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen