comnpiling new kernel as rpm will this include modules?
i have compiled a new kernel for fedora core 6 and installed it, i have tried to load modules i compiles into the kernels as modules i.e toshiba_acpi and i get the following errors
[root@localhost ~]# insmod /lib/modules/2.6.18.6-custom/kernel/net/ieee80211/ieee80211.ko insmod: error inserting '/lib/modules/2.6.18.6-custom/kernel/net/ieee80211/ieee80211.ko': -1 Invalid module format [root@localhost ~]# modprobe /lib/modules/2.6.18.6-custom/kernel/net/ieee80211/ieee80211.ko FATAL: Module /lib/modules/2.6.18.6_custom/kernel/net/ieee80211/ieee80211.ko not found. [root@localhost Desktop]# insmod /lib/modules/2.6.18.6-custom/kernel/drivers/acpi/toshiba_acpi.ko insmod: error inserting '/lib/modules/2.6.18.6-custom/kernel/drivers/acpi/toshiba_acpi.ko': -1 No such device [root@localhost Desktop]# modprobe /lib/modules/2.6.18.6-custom/kernel/drivers/acpi/toshiba_acpi.ko FATAL: Module /lib/modules/2.6.18.6_custom/kernel/drivers/acpi/toshiba_acpi.ko not found I built the kernel as an rpm make rpm, am i getting the error messages because i have not make modules??? or is that just for making the kernel and installing it straight away, really confused. Thanks in advance |
Does this exist. /lib/modules/2.6.18.6-custom
Also exactly how did you do it? Extract the kernel source to /usr/src/linux-2.6.18.6-custom based on your info. Have you modified the versions file to reflect this name linux-2.6.18.6-custom? Also usage of modprobe is modprobe module_name. Not modprobe module_name.ko. That is only used with insmod. Also if the system.map exist for the newly installed kernel then no path is required to the module with modprobe. Brian |
All times are GMT -5. The time now is 01:25 AM. |