LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-05-2004, 03:18 PM   #1
dklaming
LQ Newbie
 
Registered: Apr 2004
Posts: 4

Rep: Reputation: 0
loaded module is not listed - help


I have built an external module with the following flags, under kernel 2.6.5:

KCOMP = -I . -D__KERNEL__ -I$(KERNELDIR)/include \
-Wall -Werror -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common \
-fomit-frame-pointer -mpreferred-stack-boundary=2 \
-march=i686 -O2 -pipe \
-DMODULE -DMODVERSIONS -include \
(KERNELDIR)/include/config/modversions.h \
-DEXPORT_SYMTAB \
-DKBUILD_BASENAME -DKBUID_MODNAME

I can successfully load the module using 'insmod'. However, a 'lsmod' does not list my module and a 'rmmod' give me an error, stating that the file
does not exist in '/proc/modules'

Can anyone point out the errors in my ways?

Thanks,
dklaming
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql module not loaded Die Woud Linux - Networking 1 11-12-2005 02:30 AM
how to avoid a module of being loaded? maginotjr Slackware 2 08-11-2005 08:55 PM
why my module can not be loaded by Apache? iclinux Linux - Newbie 1 06-10-2005 05:35 PM
prism54 module loaded pyenos Linux - Software 1 03-03-2005 09:27 AM
paraport_pc module loaded with wrong options, st not loaded adrianmariano Debian 2 12-18-2004 09:37 PM


All times are GMT -5. The time now is 11:32 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