Fails to build with module-assistent against 2.6.20

Bug #94942 reported by Egon Willighagen
6
Affects Status Importance Assigned to Milestone
shfs (Debian)
Fix Released
Unknown
shfs (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: shfs-source

I ran module-assistent, and selected the shfs module, but the compile fails with this trace:

/usr/src/modules/shfs/Linux-2.6/shfs_debug.h:35: warning: ‘kmem_cache_t’ s deprecated
/usr/src/modules/shfs/Linux-2.6/dir.c: In function ‘shfs_create’:
/usr/src/modules/shfs/Linux-2.6/dir.c:305: error: ‘struct inode’ has no member named ‘u’
/usr/src/modules/shfs/Linux-2.6/dir.c:306: error: ‘struct inode’ has no member named ‘u’
make[4]: *** [/usr/src/modules/shfs/Linux-2.6/dir.o] Error 1
make[3]: *** [_module_/usr/src/modules/shfs/Linux-2.6] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.20-12-386'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/usr/src/modules/shfs/Linux-2.6'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/shfs'
make: *** [kdist_build] Error 2

Revision history for this message
Thorsten B (thorsten-osev) wrote :

Same here....the module-assistant fails to built the kernel module. Worked fine on older kernel, however.

Revision history for this message
Marc Messing (launchpad-mxxxa) wrote :

I have the same Error.

Revision history for this message
da1l6 (da1l6) wrote :

Same thing here.

I investigated a little bit and the shfs kernel module seems to unmaintained since 2004.
There are at least 2 kernel changes that make 2.6.20 incompatible with the module.

However, there is a package sshfs which provides equivalent functionality using fuse.
Install it and add your user to the fuse group, then do
sshfs <Host>:<RemotePath> <LocalMountPoint>

Unfortunately mount -t sshfs ... does not seem to be supported.

Conclusion: Use sshfs, shfs-source is unmaintained, broken and should be removed.

da1l6

Revision history for this message
DJP (djp-launchpad) wrote :

A patch is available at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420770 which compiles, installs and works on Edgy.

Revision history for this message
DJP (djp-launchpad) wrote :

Sorry, meant to say Feisty.

Changed in shfs:
status: Unknown → Fix Released
Daniel T Chen (crimsun)
Changed in shfs:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.