Debian on PR2100 - Fan control issue

Hi all,

I followed carefully @tfl article: Debian Linux on the My Cloud PR4100 / PR2100

but I just can’t control the fan :frowning:
I get stuck here and I searched for hours how to resolve this, but didn’t find anything.
This is the error I receive:

hostname:~/kbuild/linux-source-4.19# sudo make M=drivers/tty/serial modules_install
  INSTALL drivers/tty/serial/8250/8250_exar.ko
  INSTALL drivers/tty/serial/8250/8250_lpss.ko
  INSTALL drivers/tty/serial/8250/8250_moxa.ko
  INSTALL drivers/tty/serial/8250/serial_cs.ko
  INSTALL drivers/tty/serial/jsm/jsm.ko
  INSTALL drivers/tty/serial/rp2.ko
  DEPMOD  4.19.152
Warning: modules_install: missing 'System.map' file. Skipping depmod.
hostname:~/kbuild/linux-source-4.19# sudo modprobe 8250_lpss
modprobe: FATAL: Module 8250_lpss not found in directory /lib/modules/4.19.0-12-amd64

Thanks

Try insmod with the lpss.ko … you already have the module, now just load it.

Your kernel Makefile is building for 4.19.152, but you uname -r current kernel is 4.19.0-12-amd64.
So you need to build the module for the current kernel or build the whole 4.19.152 kernel and boot into that one via your grub cfg.