Comment 4 for bug 1960170

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

1) launched focal lxd container
2) enabled proposed
3) installed the v5.15 based kernel
apt install linux-generic-hwe-20.04-edge
4) disabled proposed

5) observed that it fails to install

Setting up rtl8821ce-dkms (5.5.2.1-0ubuntu4~20.04.4) ...
Loading new rtl8821ce-5.5.2.1 DKMS files...
It is likely that 5.13.0-40-generic belongs to a chroot's host
Building for 5.15.0-25-generic
Building initial module for 5.15.0-25-generic
Error! Bad return status for module build on kernel: 5.15.0-25-generic (x86_64)
Consult /var/lib/dkms/rtl8821ce/5.5.2.1/build/make.log for more information.
dpkg: error processing package rtl8821ce-dkms (--configure):
 installed rtl8821ce-dkms package post-installation script subprocess returned error exit s
tatus 10
Errors were encountered while processing:
 rtl8821ce-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

6) enabled proposed once again

7) observed that from proposed installs & builds fine

Unpacking rtl8821ce-dkms (5.5.2.1-0ubuntu4~20.04.5) over (5.5.2.1-0ubuntu4~20.04.4) ...
Setting up rtl8821ce-dkms (5.5.2.1-0ubuntu4~20.04.5) ...
Loading new rtl8821ce-5.5.2.1 DKMS files...
It is likely that 5.13.0-40-generic belongs to a chroot's host
Building for 5.15.0-25-generic
Building initial module for 5.15.0-25-generic
Done.

rtl8821ce.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.15.0-25-generic/updates/dkms/

/etc/modprobe.d/dkms.conf: added 'blacklist rtw88_8821ce'
depmod...

DKMS: install completed.