LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-01-2007, 02:08 PM   #1
MALDATA
Member
 
Registered: Mar 2005
Posts: 116

Rep: Reputation: 17
fuse module not found, but is present?


I've never been able to get modules working for me... This time I'm trying to make ntfs-3g to work, so I need the fuse module. I recompiled my kernel to include it, since I can never get the modules to compile by themselves. If I do

lsmod | grep fuse

nothing comes up. I tried "modprobe fuse", and that just gave me

FATAL: Module fuse not found.

So, I downloaded the fuse source, and when I tried to do the ./configure, it gave me this:

Detected that FUSE is already present in the kernel, so building of kernel module is disabled. To force building of kernel module use the '--enable-kernel-module' option.

How could the module be present in the kernel but not listed with lsmod and not recognized by modprobe? Obviously I have no idea how modules are supposed to work, so what am I missing?

Thanks.
 
Old 04-01-2007, 02:45 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Modules that are built in to the kernel are not listed by lsmod. Only modules loadable with modprobe are listed.
--- rod.
 
Old 04-01-2007, 02:57 PM   #3
MALDATA
Member
 
Registered: Mar 2005
Posts: 116

Original Poster
Rep: Reputation: 17
Fair enough.

But when I try to mount a partition with ntfs-3g, it still throws this:

fusermount: fuse device not found, try 'modprobe fuse' first
Retrying mount ...
FATAL: Module fuse not found.
fusermount: fuse device not found, try 'modprobe fuse' first
Failed to mount NTFS
Unmounting /dev/hda1 ()

If I compiled the module with the kernel, why can't it find the module?

Thanks
 
Old 04-01-2007, 03:21 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,997

Rep: Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219
Did you also "make modules_install" ???
 
Old 04-01-2007, 03:31 PM   #5
MALDATA
Member
 
Registered: Mar 2005
Posts: 116

Original Poster
Rep: Reputation: 17
Nope. I used make-kpkg and it pops out a .deb file. I've never seen make modules_install before.

All the other modules (e.g., IPW2200) I've done this for have worked without doing anything like that... I just add the module in menuconfig and do make-kpkg to get the new kernel image.
 
Old 04-01-2007, 03:35 PM   #6
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
When you say you 'added the module in menuconfig', do you mean that you specified to build a loadlable module, or build the module into the kernel? If a loadable module, you need to do as syg00 says, and followup with
Code:
make modules_install
Then you should have a loadable module.
--- rod.
 
Old 04-01-2007, 07:47 PM   #7
MALDATA
Member
 
Registered: Mar 2005
Posts: 116

Original Poster
Rep: Reputation: 17
OK, I did

make modules_install

and then

modprobe fuse

and then the fuse module is listed in lsmod, as expected. So I guess the question now is, why haven't I had to do that for the IPW2200 module or anything else? The IPW2200 module is loadable. The NTFS module has two sub-options in menuconfig

NTFS file system support (loadable)
- NTFS debugging support (not selected)
- NTFS write support (built-in... loadable isn't an option)

So, does that mean that I need to do make modules_install for built-in modules? There are a lot of built-in modules in there I don't touch... how have I been getting away this?

Thanks for the help everyone, I appreciate it.
 
Old 04-01-2007, 08:32 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,997

Rep: Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219
Different puppy - that NTFS support is the in-kernel support, *NOT* 3g.

As for the module issue, can't say as I don't do Debian, and always compile my kernels by hand. No knowledge of make-kpkg, but I'd be mighty surprised if it didn't have an (at least) option to rebuild the modules.
 
Old 04-03-2007, 11:39 AM   #9
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Quote:
Originally Posted by MALDATA
So, does that mean that I need to do make modules_install for built-in modules? There are a lot of built-in modules in there I don't touch... how have I been getting away this?
I think that the modules_install target causes the kernel modules to be copied to an 'install' location, where modprobe can find them. It may also do something to change them into installable modules, rather than ordinary object modules that simply get linked into the new kernel. So, I believe, you only need to do the make modules_install step to update loadable modules and not builtin modules.
Someone correct me if I'm wrong.

--- rod.
 
  


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
curlftpfs - fuse not found, but installed... jon23d Linux - Software 2 09-28-2011 09:40 AM
fuse-module gone DaveQB Debian 13 02-27-2007 08:09 PM
how to make initrd load the correct fuse module? tramni1980 Slackware 2 02-25-2007 07:21 AM
Installing FUSE on Debian 3.1r2 - module goes to wrong /lib/modules subdirectory corkypa Debian 1 08-21-2006 04:56 PM
Problem compiling FUSE module Jason_Bassett Linux - Software 1 04-12-2006 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration