LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 01-12-2007, 07:29 AM   #1
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 322

Rep: Reputation: 31
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
 
Old 01-13-2007, 03:59 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr/include/rpm: No such file or directory powah Red Hat 3 10-31-2006 10:27 AM
Error comnpiling XSP server Drunkalot Linux - Software 0 08-31-2004 06:38 AM
modules problem after upgrading redhat 8.0 kernel with rpm aircom Red Hat 4 09-22-2003 08:20 AM
modules problem after upgrading redhat 8.0 kernel with rpm aircom LinuxQuestions.org Member Success Stories 3 09-16-2003 05:23 PM
modules problem after upgrading redhat 8.0 kernel with rpm aircom Linux - Newbie 1 09-16-2003 04:58 PM


All times are GMT -5. The time now is 02:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration