linuxdeepin / developer-center

Deepin developer center, provide developer wiki and community forum.
445 stars 71 forks source link

[Arch] Failed to insert module 'vfs_monitor' with Kernel 5.9.1 #2401

Open taolin96 opened 3 years ago

taolin96 commented 3 years ago

I am on Arch Linux with DDE, after recent kernel upgrade from 5.8.14 to 5.9.1. the deepin-anything module 'vfs_monitor' loaded failed

systemd-modules-load service failed image

image

image

image

Salan54 commented 3 years ago

Same here... systemd-modules-load[632]: Failed to insert module 'vfs_monitor': Invalid argument since update to 5.9.1

n3oney commented 3 years ago

Same here. Managed to get it to work by switching to linux-lts, installing deepin-kwin and uninstalling deepin-wm

ItachiSan commented 3 years ago

I hacked a bit the module to see what was failing and it seems the ksys_umount function screws up. This might be due to: torvalds/linux@41525f56e2564c2feff4fb2824823900efb3a39f I found it out using this search: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/log/?h=v5.9&qt=grep&q=ksys_umount So it is something around that area, I believe.

I can post a screenshot & my debug code if required (I just call a for loop with extra warnings when running register_kretprobe).

hfh1999 commented 3 years ago

the problem is still exist,it could be the package not update to the latest.

mwaqasaziz commented 3 years ago

facing the same issue image

raulvasquez commented 3 years ago

Can confirm the same issue.

serial02 commented 3 years ago

sudo systemctl status systemd-modules-load.service [sudo] senha para edson: ● systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static) Active: active (exited) since Sat 2021-01-02 08:13:04 -03; 1h 28min ago Docs: man:systemd-modules-load.service(8) man:modules-load.d(5) Main PID: 224 (code=exited, status=0/SUCCESS) Tasks: 0 (limit: 9204) Memory: 0B CGroup: /system.slice/systemd-modules-load.service

jan 02 08:13:03 edson-pc6540br systemd-modules-load[224]: Failed to find module 'vfs_monitor' jan 02 08:13:03 edson-pc6540br systemd-modules-load[224]: Inserted module 'crypto_user' jan 02 08:13:04 edson-pc6540br systemd-modules-load[224]: Inserted module 'sg' jan 02 08:13:04 edson-pc6540br systemd-modules-load[224]: Inserted module 'i2c_dev' jan 02 08:13:04 edson-pc6540br systemd-modules-load[224]: Inserted module 'pkcs8_key_parser' jan 02 08:13:04 edson-pc6540br systemd[1]: Finished Load Kernel Modules. Warning: journal has been rotated since unit was started, output may be incomplete.

ArchLinux Rolling V20.1

uname -a Linux edson-pc6540br 5.10.4-arch2-1 linuxdeepin/deepin-anything#1 SMP PREEMPT Fri, 01 Jan 2021 05:29:53 +0000 x86_64 GNU/Linux

sudo modinfo vfs_monitor modinfo: ERROR: Module vfs_monitor not found.

@felixonmars @juteman

juteman commented 3 years ago

@justforlxz

serial02 commented 3 years ago

@justforlxz

After updating deepin-anything-arch-5.0.1-133 the error message "Failed to start Load Kernel Modules" returned again.

https://github.com/linuxdeepin/developer-center/issues/2012

wangrong1069 commented 2 years ago

It should be that the installation of deepin-anything-dkms_VERSION_all.deb failed. resulting in not generating vfs_monitor.ko.