Article 6DWN2 [SOLVED] kernel does not install, complaining that some modules fail to install

[SOLVED] kernel does not install, complaining that some modules fail to install

by
kaz2100
from LinuxQuestions.org on (#6DWN2)
Hya

System Debian amd64 trixie

situation As title reads, kernel does not install.

How it happened After dist upgrade, make oldconfig, kernel compiles, modules installed, it happened. Error message says that some modules do not install.

Troubleshooting Tracing error messages, trouble starts with SUBDIRS, then it turned out that rts_pstor.ko is to blame.
It is not under kernel source, it is RealTek card reader driver, several years old.

Solution Remove rts_pstor/* under /var/lib/dkms/ . Also enable kernel option under Device driver -> staging driver -> RealTek...

So far, good.

I have no idea why I did not run into this with previous kernel, 5.18.14, where SUBDIRS is removed.

cheers
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments