You are not logged in.

#1 2005-02-01 17:31:55

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Fuse filesystem and kernel 2.6.10

http://sourceforge.net/project/showfile … _id=121684

Here'a another thing that worked with the previous kernel. It seems to compile without problems, but when I try to mount my Siemens S55 mobile phone on COM 2 it says:

FATAL: Error inserting fuse (/lib/modules/2.6.10-ARCH/kernel/fs/fuse/fuse.ko): Unknown symbol in module, or unknown parameter (see dmesg)
fusermount: unable to open fuse device /proc/fs/fuse/dev: No such file or directory

When I type 'dmesg' here's what comes out:

fuse: Unknown symbol vfs_permission

Dunno if anyone can help me with this(should send it to bugtracker?), but I believe it can be fixed. Cheers.[/code]

Offline

#2 2005-02-01 17:42:02

z4ziggy
Member
From: Israel
Registered: 2004-03-29
Posts: 573
Website

Re: Fuse filesystem and kernel 2.6.10

i dont speak russian, but seems this is the solution : http://www.zlug.pp.ru/node/198#english

Offline

#3 2005-02-01 19:10:58

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Re: Fuse filesystem and kernel 2.6.10

Indeed, it is the solution. At the bottom of the page it says(in english) to compile the 'cvs_permission.c' file with the provided source and Makefile. I haven't succeded though, it does nothing after I type 'make' in the directory with those 2 files.. maybe you try. :?

Offline

#4 2005-02-01 19:33:00

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Fuse filesystem and kernel 2.6.10

here's what you do, according to the link:

file: vfs_permission.c

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/fs.h>

int vfs_permission(struct inode * inode, int mask)
{
  int rc;
  rc = generic_permission(inode,mask,NULL);
  return rc;
}
EXPORT_SYMBOL(vfs_permission);
MODULE_LICENSE("GPL");

file: Makefile

ifneq ($(KERNELRELEASE),)
obj-m   := vfs_permission.o
else
        KDIR    := /lib/modules/$(shell uname -r)/build
        PWD             := $(shell pwd)
default:
        $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
endif

put these in a directory, run make
it will create a vfs_permission.ko module... put that somewhere you want and insmod it.

then you should be able to modprobe fuse

Offline

#5 2005-02-01 20:27:35

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Re: Fuse filesystem and kernel 2.6.10

No, nein, niet, nie działa. wink

When I run 'make' it spits out:

Nothing to do in default

(translation from polish 'Nie nic do roboty w default'

Ja nie panimaju jush nicjewo. lol

Offline

#6 2005-02-01 20:47:32

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Fuse filesystem and kernel 2.6.10

hmmmm

# make -C /lib/modules/$(shell uname -r)/build SUBDIRS=$(shell pwd) modules

try just that?

Offline

#7 2005-02-01 20:58:06

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Fuse filesystem and kernel 2.6.10

or actually... change "default" to "all" in the original Makefile.... though that shouldn't matter

Offline

#8 2005-02-01 22:26:03

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Re: Fuse filesystem and kernel 2.6.10

phrakture wrote:

hmmmm

# make -C /lib/modules/$(shell uname -r)/build SUBDIRS=$(shell pwd) modules

try just that?

That did it. Thanks Russians. Thanks Phrakture. Thanks z4ziggy. smile)

Offline

Board footer

Powered by FluxBB