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
질문됨 6달 전593회 조회
1개 답변
1
수락된 답변

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!

답변함 6달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠