Package Details: ncpfs-module-dkms 1-10

Git Clone URL: https://aur.archlinux.org/ncpfs-module-dkms.git (read-only)
Package Base: ncpfs-module-dkms
Description: The NCPFS kernel module (DKMS)
Upstream URL: https://www.kernel.org/
Keywords: ncpfs
Licenses: GPL2
Submitter: Kubax
Maintainer: Kubax
Last Packager: Kubax
Votes: 0
Popularity: 0.000000
First Submitted: 2017-02-24 12:29
Last Updated: 2017-06-21 08:11

Dependencies (1)

Required by (0)

Sources (2)

Latest Comments

Kubax commented on 2017-07-06 09:42

I couldn't find a way to realy get it working... the compilation seems to fail again, but because of missing kernel parts.

Here is a manual walkthrough to compile it manually:

# cd/mkdir to compile directory (e.g. ~/src/archlinux-svn/)
# svn checkout --depth=empty svn://svn.archlinux.org/packages
# cd packages
# svn update linux
# cd linux/repos/core-x86_64
# makepkg -o
# cd src/linux-?.??/
# sed -i -- 's/# CONFIG_NCP_FS is not set/CONFIG_NCP_FS=m\nCONFIG_NCPFS_PACKET_SIGNING=y\n# CONFIG_NCPFS_IOCTL_LOCKING is not set\nCONFIG_NCPFS_STRONG=y\nCONFIG_NCPFS_NFS_NS=y\nCONFIG_NCPFS_OS2_NS=y\nCONFIG_NCPFS_SMALLDOS=y\nCONFIG_NCPFS_NLS=y\nCONFIG_NCPFS_EXTRAS=y/g' .config
# cp /usr/lib/modules/`uname -r`/build/Module.symvers .
# make scripts
# make fs/ncpfs
# make modules SUBDIRS=fs/ncpfs
# sudo make modules_install SUBDIRS=fs/ncpfs
# sudo insmod fs/ncpfs/ncpfs.ko
# sudo depmod
# sudo modprobe ncpfs

Kubax commented on 2017-06-20 15:30

good and bad news.

the ncpfs-module is compiling again.

BUT i seem to have forgot that i made changes to the source to fix the compilation with options. I'll have to look at this tomorrow. But that should be no big deal.

birkskov commented on 2017-06-14 09:43

Hi,
thank you for the idea with the kernel! I switched to the lts version and now it is working again. I they don't ditch the these functions in the lts-kernel as well.

Kubax commented on 2017-06-12 12:16

Hi,

almost forgot that i am at a course the next 2 days, so i'll investigate into it (hopefully) wednesday.

Regarding the vm: i couldn't find another way, besides using an old kernel or forcing your novell admin to enable samba or nfs support.

Sadly mine doesn't care...

birkskov commented on 2017-06-12 11:42

Hi,
I highly appreciate your work here and really hope you will find a way to fix the present problem.

P.s. Are there any other alternatives than a VM?

bockig commented on 2017-06-06 12:21

Thank you. And yes, who uses ncpfs these days ... errr wait. It would be nice mounting the shares on my notebook at work. In the meantime I have to stick to my VM.

Kubax commented on 2017-06-06 11:33

I got the same error some days ago on my notebook.

seems like the kernel ditched to functions "kill_pid" and "recalc_sigpending" some time ago. But that's only a quick guess, have to figure out if there is a patch anywhere for ncpfs. But i honestly doesn't have much hope, because ncpfs is abandoned.

Will repost back as soon as i've got time to investigate into it. Hopefully next week when i'm back at work.

Feel free to remind me then, i will surely forget it untill then ;)

bockig commented on 2017-06-06 10:22

Hi,
getting build errors. Do you have any advices?

Kernel 4.11.3-1-ARCH (x86_64)

/var/lib/dkms/ncpfs/1/build/mmap.c:108:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.fault = ncp_file_mmap_fault,
^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/ncpfs/1/build/mmap.c:108:11: note: (near initialization for 'ncp_file_mmap.fault')
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:294: /var/lib/dkms/ncpfs/1/build/mmap.o] Error 1
make[1]: *** Waiting for unfinished jobs....
/var/lib/dkms/ncpfs/1/build/inode.c: In function 'ncp_put_super':
/var/lib/dkms/ncpfs/1/build/inode.c:796:2: error: implicit declaration of function 'kill_pid'; did you mean 'si_pid'? [-Werror=implicit-function-declaration]
kill_pid(server->m.wdog_pid, SIGTERM, 1);
^~~~~~~~
si_pid
In file included from ./include/linux/seqlock.h:35:0,
from ./include/linux/time.h:5,
from /var/lib/dkms/ncpfs/1/build/sock.c:22:
/var/lib/dkms/ncpfs/1/build/sock.c: In function 'ncp_do_request':
/var/lib/dkms/ncpfs/1/build/sock.c:765:38: error: dereferencing pointer to incomplete type 'struct sighand_struct'
spin_lock_irqsave(&current->sighand->siglock, flags);
^
./include/linux/spinlock.h:205:34: note: in definition of macro 'raw_spin_lock_irqsave'
flags = _raw_spin_lock_irqsave(lock); \
^~~~
/var/lib/dkms/ncpfs/1/build/sock.c:765:3: note: in expansion of macro 'spin_lock_irqsave'
spin_lock_irqsave(&current->sighand->siglock, flags);
^~~~~~~~~~~~~~~~~
/var/lib/dkms/ncpfs/1/build/sock.c:783:3: error: implicit declaration of function 'recalc_sigpending'; did you mean 'init_sigpending'? [-Werror=implicit-function-declaration]
recalc_sigpending();
^~~~~~~~~~~~~~~~~
init_sigpending
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:294: /var/lib/dkms/ncpfs/1/build/sock.o] Error 1
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:294: /var/lib/dkms/ncpfs/1/build/inode.o] Error 1
make: *** [Makefile:1492: _module_/var/lib/dkms/ncpfs/1/build] Error 2
make: Leaving directory '/usr/lib/modules/4.11.3-1-ARCH/build'