Tiny Core Extensions > TCE Bugs

hwmon-cpufreq-2.6.26

(1/2) > >>

Roberto A. Foglietta:
contains

/usr/local/lib/modules/2.6.26-tinycore

instead of

/lib/modules/2.6.26-tinycore

Jason W:
Tinycore has a particular depmod utility that maps and loads kernel modules from /usr/local/lib/modules/`uname -r` just like they are in /lib/modules.  It is by design so that kernel module extensions are PPI compatible.   In fact, /usr/local/lib/modules/`uname -r` is the standard place to install modules in TC.

Roberto A. Foglietta:
However at boot time there are a lots of messages like this:


--- Code: ---WARNING: Can't read module /lib/modules/2.6.26-tinycore/kernel.tclocal/drivers/char/hw_random/amd-rng.ko.gz: No such file or directory

tc@box:~$ ls -al /lib/modules/2.6.26-tinycore/
drwxrwxr-x    3 root     root            0 Apr  6 05:16 ./
drwxr-xr-x    3 root     root            0 Apr  6 05:16 ../
lrwxrwxrwx    1 root     root           35 Apr  6 05:16 build -> /usr/local/src/linux-headers-2.6.26/
drwxrwxr-x    7 root     root            0 Apr  6 05:16 kernel/
lrwxrwxrwx    1 root     root           45 Apr  6 05:16 kernel.tclocal -> /usr/local/lib/modules/2.6.26-tinycore/kernel/

tc@box:~$ find / -name amd-rng.ko.gz 2>/dev/null
/tmp/tcloop/hwmon-cpufreq-2.6.26/usr/local/lib/modules/2.6.26-tinycore/kernel/drivers/char/hw_random/amd-rng.ko.gz
/usr/local/lib/modules/2.6.26-tinycore/kernel/drivers/char/hw_random/amd-rng.ko.gz
/mnt/sda2/tclocal/lib/modules/2.6.26-tinycore/kernel/drivers/char/hw_random/amd-rng.ko.gz

--- End code ---

Jason W:
Ok, I will look into it.

Jason W:
I have that tce extension in my tce directory to load on boot and when I try to modprobe that particular module it simply says no such device.  But other modules from that extension load just fine.  Let me try the tcz version and see if that makes a difference.


EDIT: Modules seem to load ok here with the tcz extension.

Navigation

[0] Message Index

[#] Next page

Go to full version