LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-01-2004, 08:25 AM   #1
shogun1234
Member
 
Registered: May 2004
Posts: 226

Rep: Reputation: 15
rmmod kernel module problem


Lately I follow kernel module programming guide on tldp.org.
I'd successfully "insmod ./hello.ko" kernel modules; and could see it in /proc/modules.
However, when I want to unload the module with command "rmmod hello".
It issues error "FATAL: Kernel does not have unload support". But I cant see rmmod located in /sbin.
Further, if issued with command "/sbin/rmmod hello", it has error printed as "rmmod: QM_MODULES: Function not implemented".
Where did I do it worng? I appreciate any suggestion.
thank you very much.
p.s.: I use debian 3.0 r2 with knernel mannually updated to 2.6.9 [Additionally, I don't not find any default module stayed at /lib/modules/2.6.9/, except old one when installed 2.2 kernel version. Is that correct?]
Jason

Last edited by shogun1234; 11-01-2004 at 09:06 AM.
 
Old 11-01-2004, 09:50 AM   #2
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
You have to configure your kernel to unload modules in this section...

# Loadable module support
#
CONFIG_MODULES=y
# CONFIG_MODULE_UNLOAD is not set <-----here
CONFIG_OBSOLETE_MODPARM=y
CONFIG_KMOD=y
 
  


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
Problem installing module in Fedora Core 2 (2.6 kernel vs 2.4 problem?) Arodef Linux - Kernel 3 11-30-2007 02:55 PM
compile kernel module without 'make' whysyn Linux - Software 2 01-29-2006 12:56 AM
editing a kernel module make file shanenin Linux - Software 1 11-10-2005 09:00 AM
install after or before gcc,binutils,make,module-init when migrating kernel 2.6 eatmars Linux - Software 1 10-02-2005 12:52 PM
Make Module problem hardyvoje Red Hat 5 05-19-2005 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration