-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cas_disk.ko missing? #1414
Comments
Tied to initialize a new disk as cache using casadm and everything went to hell. My server started to kill processes such as ssh server and dbus! root@NAS:/usr/src/open-cas-linux# casadm -S -d /dev/disk/by-id/nvme-WD_Red_SN700_2000GB_22026C801363 Successfully added cache instance 1 Nov 30 00:21:07 NAS kernel: [377410.983193] BUG: using smp_processor_id() in preemptible [00000000] code: cas_cl_cache1/378543 |
Hi, The cas_disk module was removed as a part of a larger code cleanup and it is not used any more. It seems the package description was not updated in the process. The other problem you reported is that it seems you are running preemptive kernel. OpenCAS does not support preemptive kernel. You are welcome to file this issue as an improvement request using "enhancement" tag. Best regards! |
Hi! Thanks for the answer Regarding the kernel I see that it's not the rt flavoured one but the generic one. Seems like in newer kernels PREEMPT_DYNAMIC is enabled although I don't know what the default policy is in debian. |
Hi,
Standard Debian 11.5 Bullseye kernel has only CONFIG_PREEMPT_VOLUNTARY=y (and PREEMP_VOLUNTARY_BUILD in effect) set, but a 5.19 from bullseye-backports has additional preemption options enabled together with CONFIG_PREEMPT_DYNAMIC, making it incompatible with Open CAS Linux. |
Thank you very much. Bulleye's kernel is 5.10 AFAIR and PREEMTP_DYNAMIC was mainlined in kernel version 5.12 Thanks again. |
Question
Hi. I compiled source and also tried creating packages but I cannot start opencas service.
I see that cas_cache exists but cas_disk is not present in the kernel modules. Nor I can see it compiled or can find it in the modules folder of the source code.
What am I missing? Why I can find cas_cache but not cas_disk?
The text was updated successfully, but these errors were encountered: