Register FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Sat Oct 25, 2014 01:05



Post new topic Reply to topic  [ 8 posts ] 
CONFIG_FUSE_FS 
Author Message

Joined: Tue Nov 15, 2011 23:11
Posts: 4
Post CONFIG_FUSE_FS
Hi,

I have compiled my 2.6.34 kernel with the CONFIG_FUSE_FS=y option. So, FUSE should be integrated into the kernel binary, and not installed as a module.

Should ntfs-3g work in this situation, or does it require FUSE to be installed as a module?

When I try to mount a disk I get the following:

Code:
~ # ./ntfs-3g /dev/sda1 /mnt/disk
modprobe: chdir(/lib/modules): No such file or directory
ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root


modprobe doesn't help because I'm on an embedded system with no modules installed:

Code:
~ # modprobe fuse
modprobe: chdir(/lib/modules): No such file or directory


Here's my output of ntfs-3g --help:

Code:
~ # ./ntfs-3g /dev/sda1 /mnt/disk
modprobe: chdir(/lib/modules): No such file or directory
ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root
~ #
~ #
~ # ./ntfs-3g --help

ntfs-3g 2011.4.12 integrated FUSE 27 - Third Generation NTFS Driver
                Configuration type 1, XATTRS are on, POSIX ACLS are off

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2011 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage:    ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options:  ro (read-only mount), remove_hiberfile, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=.
          Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

News, support and information:  http://tuxera.com


Thanks!
-Dan


Tue Nov 15, 2011 23:34
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1153
Post Re: CONFIG_FUSE_FS
Hi,

Quote:
I have compiled my 2.6.34 kernel with the CONFIG_FUSE_FS=y option. So, FUSE should be integrated into the kernel binary, and not installed as a module.

Should ntfs-3g work in this situation, or does it require FUSE to be installed as a module?

Currently, it tries to load a fuse kernel module, which of course fails with your configuration.

Attached is an attempted (and untested) patch to avoid loading it, provided you define BUILTIN_FUSE somewhere (to be optionally generated in config.h later if successful). If the patch fails, try to skip more code. Feedback welcome.

Regards

Jean-Pierre


Attachments:
builtin_fuse.patch.gz [292 Bytes]
Downloaded 367 times
Wed Nov 16, 2011 09:57
Profile

Joined: Tue Nov 15, 2011 23:11
Posts: 4
Post Re: CONFIG_FUSE_FS
Thanks!...the patch worked to keep it from trying to load the module, but it's still failing.

Code:
./ntfs-3g /dev/sda1 /mnt/disk
ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root


It is successfully creating the /dev/fuse device, but open(/dev/fuse) in fusermount.c is failing with errno=ENODEV (no such device). /proc/devices doesn't show fuse either.

Is this a problem with my fuse configuration?


Wed Nov 16, 2011 21:44
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1153
Post Re: CONFIG_FUSE_FS
Hi,

Quote:
It is successfully creating the /dev/fuse device, but open(/dev/fuse) in fusermount.c is failing with errno=ENODE

Probably something not initialized in the fuse kernel part... Something must be done to start it, but I do not know what. Maybe you try the fuse-devel list ?

Regards

Jean-Pierre


Wed Nov 16, 2011 22:46
Profile

Joined: Tue Nov 15, 2011 23:11
Posts: 4
Post Re: CONFIG_FUSE_FS
Thanks Jean-Pierre,

I'll try to track down what's going on with fuse.

In the meantime...I am also interested the embedded NTFS alternative you sell. I have sent a couple of inquiries to your sales dept. but have yet to receive any response. Can you help with this? :-)

Thanks,
Dan


Wed Nov 16, 2011 23:02
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1153
Post Re: CONFIG_FUSE_FS
Hi Dan,

Quote:
Can you help with this?

Request forwarded to Tuxera.

Regards

Jean-Pierre


Thu Nov 17, 2011 09:31
Profile

Joined: Tue Nov 15, 2011 23:11
Posts: 4
Post Re: CONFIG_FUSE_FS
Hi Jean-Pierre,

I just wanted to let you know I was able to get FUSE configured. With your patch to skip the modprobe step, ntfs-3g seems to be working well.

Thanks!
-Dan


Mon Nov 28, 2011 20:44
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1153
Post Re: CONFIG_FUSE_FS
Hi Dan

Quote:
I just wanted to let you know I was able to get FUSE configured. With your patch to skip the modprobe step, ntfs-3g seems to be working well.

Good news !

What do you get now with an unpatched ntfs-3g ? The presence of fuse is checked before starting the modprobe, I would expect this to be enough to avoid the modprobe call, as you got fuse to start independently.

Regards

Jean-Pierre


Tue Nov 29, 2011 16:06
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


Who is online

Users browsing this forum: Google [Bot] and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.