Comment 13 for bug 1906131

Revision history for this message
Nguyen Khanh Long (longengie) wrote :

Got this issue when update Ubuntu kernel to 5.10.7-051007 and got this problem when install rtl8821ce driver.
Seem like new Debian kernel including 5.10 > 5.11 trying to change module.lsb to module.lsb.S but the dkms cannot read the S file extension and trying to grab the lsb file and that where the problem occur.

So here the solution that I use to fix this issue. Go to usr/src/linux-headers-[KERNEL-VERSION]-generic/scripts and copy module.lsb.S, remove the include line, and save it as module.lsb then run dkms again. These file will change for kernel version so you have to do it yourself.

The file that I attached here is for 5.10 kernel, if you're in 5.10, you can use this module. Maybe I will create the issue in DKMS.