Re: module not loaded at runtime

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hai, 

        I am trying to write a file system module to kernel version 2.6.5. It requires no specific device interface. when I insert the module and mount the filesystem by command

            mount -t myfs none /mnt 

it fails (which is expected). Then when i try to unload the module it says module is in use and lsmod shows a use count of 2. I want to know how the count is incremented for a file system driver after mount command and how it can be disabled if possible for debugging purpsoses.



any help is appreciated.



Thanks in advance

Dinesh K B









 --- On Tue 05/31, William J Beksi < wjbeksi@xxxxxxxxxxx > wrote:

From: William J Beksi [mailto: wjbeksi@xxxxxxxxxxx]

To: pavan@xxxxxxxxxxxxxx

     Cc: kernelnewbies@xxxxxxxxxxxx

Date: Tue, 31 May 2005 17:49:30 +0800

Subject: Re: module not loaded at runtime



pavan wrote:<br>> hi!!<br>> <br>> I have created a module and added an entry for that module in<br>> /etc/modules.conf file.<br>> <br>> but when i reboot the machine the module is not loaded.I have to add it<br>> explicitely by insmod module_name.<br><br>You should:<br>1. Check that your new module is somewhere in /lib/modules<br>2. Check with your Linux distribution that you added the module name to<br>the correct configuration file.<br><br>-- <br>William J Beksi                          <wjbeksi@xxxxxxxxxxxxxxxxxxxxx><br>GPG Key Fingerprint = ED4B 32C3 69E6 C2B7 705C  263F CB2F 3253 E7E1 DB3B<br><br>--<br>Kernelnewbies: Help each other learn about the Linux kernel.<br>Archive:       http://mail.nl.linux.org/kernelnewbies/<br>FAQ:           http://kernelnewbies.org/faq/<br><br>

_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way  your home on the Web - http://www.myway.com



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux