OpenVZ Forum


Home » General » Support » *SOLVED* Fuse
*SOLVED* Fuse [message #6330] Thu, 14 September 2006 09:30 Go to next message
youp is currently offline  youp
Messages: 82
Registered: September 2005
Location: Belgium
Member

i can't make fuse ?

make
Making all in kernel
make[1]: Entering directory `/usr/src/fuse-2.5.3/kernel'
make -C /lib/modules/2.6.8-022stab078.14/build SUBDIRS=/usr/src/fuse-2.5.3/kernel modules
make[2]: Entering directory `/lib/modules/2.6.8-022stab078.14/build'
CC [M] /usr/src/fuse-2.5.3/kernel/dev.o
CC [M] /usr/src/fuse-2.5.3/kernel/dir.o
/usr/src/fuse-2.5.3/kernel/dir.c: In function `fuse_permission':
/usr/src/fuse-2.5.3/kernel/dir.c:767: error: too few arguments to function `vfs_permission'
/usr/src/fuse-2.5.3/kernel/dir.c:779: error: too few arguments to function `vfs_permission'
/usr/src/fuse-2.5.3/kernel/dir.c: At top level:
/usr/src/fuse-2.5.3/kernel/dir.c:1318: warning: initialization from incompatible pointer type
/usr/src/fuse-2.5.3/kernel/dir.c:1346: warning: initialization from incompatible pointer type
make[3]: *** [/usr/src/fuse-2.5.3/kernel/dir.o] Error 1
make[2]: *** [_module_/usr/src/fuse-2.5.3/kernel] Error 2
make[2]: Leaving directory `/lib/modules/2.6.8-022stab078.14/build'
make[1]: *** [all-spec] Error 2
make[1]: Leaving directory `/usr/src/fuse-2.5.3/kernel'
make: *** [all-recursive] Error 1

[Updated on: Mon, 18 September 2006 07:39] by Moderator

Report message to a moderator

Re: Fuse [message #6331 is a reply to message #6330] Thu, 14 September 2006 09:39 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Number of arguments for function vfs_permission is different for
original Linux kernel and for OpenVZ kernel. You should fix FUSE sources appropriately.

HTH,
vass.
Re: Fuse [message #6332 is a reply to message #6331] Thu, 14 September 2006 09:44 Go to previous messageGo to next message
youp is currently offline  youp
Messages: 82
Registered: September 2005
Location: Belgium
Member

the function :

int err = vfs_permission(inode, mask);

for vz kernel , where i can find the structure of vfs_permission ?
Re: Fuse [message #6335 is a reply to message #6332] Thu, 14 September 2006 09:54 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
In sources of OpenVZ kernel we can see:
int vfs_permission(struct inode * inode, int mask, struct exec_perm * exec_perm)
Last argument, probably, should be NULL in your case.

HTH,
vass.
Re: Fuse [message #6336 is a reply to message #6335] Thu, 14 September 2006 09:58 Go to previous messageGo to next message
youp is currently offline  youp
Messages: 82
Registered: September 2005
Location: Belgium
Member

yes i remplace the exec_perm by NULL , and the make work now

thank Wink
icon3.gif  what about using /dev/fuse in VE? [message #6963 is a reply to message #6330] Thu, 28 September 2006 18:15 Go to previous message
mike is currently offline  mike
Messages: 7
Registered: September 2006
Location: Kiev, Ukraine
Junior Member

Hm, we had module build issue already solved by openvz developers and ALT Linux kernel maintainers (2.6.16-ovz-smp-alt4/x86_64); but fuse is not present in VE's /proc/filesystems being not FS_VIRTUALIZED.

Hence a suggestion: what if there was some hackery tool to bypass this check for a given VE and filesystem combination to facilitate with quick'n'dirty testing of more and less problematic FSes? For example with fuse, there are no kernel threads but userspace helper processes indeed. We'll have to hand-build kernel and reboot terminal server just to check whether a silly idea fails right from the start...

(the final goal on this particular route is getting ltspfs, which is the current LTSP's fuse-based rdesktop-borrowed way to work with remote devices, to work under OVZ)

PS: just in case, the module's loaded and working perfectly on HN and we've both created /dev/fuse (c 10 229), set perms and run vzctl set 102 --devnodes fuse:rw --save


--
Michael Shigorin
OSDN.Org.UA / ALT Linux Team
Previous Topic: *SOLVED*anyone can access VE gnome via vnc?
Next Topic: problems when assigning ram to the VPS
Goto Forum:
  


Current Time: Sun May 05 03:12:31 GMT 2024

Total time taken to generate the page: 0.01960 seconds