WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: modprobe: can't load module (kernel/drivers/....ko): No such device  (Read 6728 times)

Offline halma

  • Full Member
  • ***
  • Posts: 164
Hi

i try to get hwmon sensors working under the latest TC/64bit with a custom kernel.
if i try to load a module , in this example coretemp.ko, it says :


$ sudo modprobe coretemp
modprobe: can't load module coretemp (kernel/drivers/hwmon/coretemp.ko): No such device

the files is under :
/lib/modules/3.15.5-tinycore64/kernel/drivers/hwmon/coretemp.ko

tc@box:~$ ls -hal /lib/modules/3.15.5-tinycore64/kernel/drivers/hwmon/coretemp.ko
-rw-r--r--    1 root     root       14.8K Aug 19 11:53 /lib/modules/3.15.5-tinycore64/kernel/drivers/hwmon/coretemp.ko

i remaster the corepure64.gz on the sameway as the remaster-tool it does
and i also do after running:
sudo make modules_install INSTALL_MOD_PATH=$builddir
i do again
sudo /sbin/depmod -a -b $builddir $kernelversion-tinycore64

but if i try to this with the battery.ko module, i can load the battery.ko module ...

thanks
best regards
1 + 2 = 6  cause  10 - 6 = 78 ;-) lol

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: modprobe: can't load module (kernel/drivers/....ko): No such device
« Reply #1 on: August 19, 2014, 07:27:28 AM »
Hi halma
Quote
$ sudo modprobe coretemp
modprobe: can't load module coretemp (kernel/drivers/hwmon/coretemp.ko): No such device
You do realize it is not saying that it can't find the driver, in fact it even shows the path to the driver even though you did not specify
it. I think it's telling you that no temperature sensing device was found in your computer.