Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


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

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/
insmod: error inserting '/lib/modules/': -1 Invalid module format
[root@localhost ~]# modprobe /lib/modules/
FATAL: Module /lib/modules/ not found.

[root@localhost Desktop]# insmod /lib/modules/
insmod: error inserting '/lib/modules/': -1 No such device
[root@localhost Desktop]# modprobe /lib/modules/
FATAL: Module /lib/modules/ 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
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Does this exist. /lib/modules/
Also exactly how did you do it?

Extract the kernel source to /usr/src/linux- based on your info. Have you modified the versions file to reflect this name linux-
Also usage of modprobe is modprobe module_name. Not modprobe module_name.ko. That is only used with insmod. Also if the exist for the newly installed kernel then no path is required to the module with modprobe.



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 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 > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:35 AM.

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