Page 1 of 4

NTFS3 Kernel Module

Posted: 14 Sep 2020, 08:56
by babam
Does anyone can build NTFS3 kernel module for Porteus 5.0 RC2 https://aur.archlinux.org/packages/ntfs3-dkms/
I have tried but always failed.

Thanks.

NTFS3 Kernel Module

Posted: 15 Sep 2020, 15:56
by beny
hi babam, the ntfs-3g is part of slackware,/slackware64-current/slackware64/a/ntfs-3g-2017.3.23-x86_64-2.txz so you have the basic package,the arch package build do not match the same directories of slackware and porteus,only if you have the neko system you can do this: Aporteus or nemesis of course.

NTFS3 Kernel Module

Posted: 15 Sep 2020, 17:05
by babam

NTFS3 Kernel Module

Posted: 15 Sep 2020, 19:46
by beny
hi babam sorry,but into the paragon main page i have a bit lost i have found this Paragon_NTFS_for_Linux_driver_Retail_Express_lke_9.7.0.tar.gzthe kernel module build without issue on porteus or you have a better link let me know.
make[1]: Leaving directory '/usr/src/linux-5.4.57'
/usr/bin/objcopy --only-keep-debug ufsd.ko ufsd.ko.dbg
/usr/bin/strip -g --strip-unneeded ufsd.ko
/usr/bin/strip -g --strip-unneeded ufsd.ko
/usr/bin/objcopy --add-gnu-debuglink=ufsd.ko.dbg ufsd.ko

NTFS3 Kernel Module

Posted: 15 Sep 2020, 20:37
by beny
i have done the package in arch via yaourt and is different from the one i have build /var/lib/dkms/ntfs3/kernel-5.8.8-zen1-1-zen-x86_64/module/ntfs3.ko.xz

NTFS3 Kernel Module

Posted: 16 Sep 2020, 03:37
by babam
beny wrote:
15 Sep 2020, 20:37
i have done the package in arch via yaourt and is different from the one i have build /var/lib/dkms/ntfs3/kernel-5.8.8-zen1-1-zen-x86_64/module/ntfs3.ko.xz
Can you build it for Porteus 5.0 RC2

NTFS3 Kernel Module

Posted: 16 Sep 2020, 08:26
by beny
hi, dkms isn't a problem but i need a source code for the paragon ntfs driver seem that arch have a privileged link to it.

NTFS3 Kernel Module

Posted: 16 Sep 2020, 11:39
by babam
beny wrote:
16 Sep 2020, 08:26
I need a source code for the paragon ntfs driver seem that arch have a privileged link to it.
Here https://dropmefiles.com/qouGh

NTFS3 Kernel Module

Posted: 16 Sep 2020, 13:54
by beny
root@porteus:/home/guest/Downloads/Paragon_NTFS3-v5/ntfs3# make
make -C /lib/modules/5.4.57-porteus/build M=/home/guest/Downloads/Paragon_NTFS3-v5/ntfs3 modules
make[1]: Entering directory '/usr/src/linux-5.4.57'
CC [M] /home/guest/Downloads/Paragon_NTFS3-v5/ntfs3/bitfunc.o
CC [M] /home/guest/Downloads/Paragon_NTFS3-v5/ntfs3/bitmap.o
/home/guest/Downloads/Paragon_NTFS3-v5/ntfs3/bitmap.c: In function ‘wnd_rescan’:
/home/guest/Downloads/Paragon_NTFS3-v5/ntfs3/bitmap.c:556:4: error: implicit declaration of function ‘page_cache_readahead_unbounded’ [-Werror=implicit-function-declaration]
556 | page_cache_readahead_unbounded(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:266: /home/guest/Downloads/Paragon_NTFS3-v5/ntfs3/bitmap.o] Error 1
make[1]: *** [Makefile:1706: /home/guest/Downloads/Paragon_NTFS3-v5/ntfs3] Error 2
make[1]: Leaving directory '/usr/src/linux-5.4.57'
make: *** [Makefile:14: all] Error 2
i have this issue or the kernel is too stripped or the kernel header fail, i have to try with another kernel,

NTFS3 Kernel Module

Posted: 16 Sep 2020, 14:13
by beny
hi babam with my kernel on current:
bash-5.0# make
make -C /lib/modules/5.8.9-zen/build M=/root/ntfs3 modules
make[1]: ingresso nella directory "/usr/src/zen-kernel-5.8-master"
CC [M] /root/ntfs3/bitfunc.o
CC [M] /root/ntfs3/bitmap.o
CC [M] /root/ntfs3/inode.o
CC [M] /root/ntfs3/fsntfs.o
CC [M] /root/ntfs3/frecord.o
CC [M] /root/ntfs3/index.o
CC [M] /root/ntfs3/attrlist.o
CC [M] /root/ntfs3/record.o
CC [M] /root/ntfs3/attrib.o
CC [M] /root/ntfs3/run.o
CC [M] /root/ntfs3/xattr.o
CC [M] /root/ntfs3/upcase.o
CC [M] /root/ntfs3/super.o
CC [M] /root/ntfs3/file.o
CC [M] /root/ntfs3/dir.o
CC [M] /root/ntfs3/namei.o
CC [M] /root/ntfs3/lznt.o
CC [M] /root/ntfs3/fslog.o
LD [M] /root/ntfs3/ntfs3.o
MODPOST /root/ntfs3/Module.symvers
CC [M] /root/ntfs3/ntfs3.mod.o
LD [M] /root/ntfs3/ntfs3.ko
make[1]: uscita dalla directory "/usr/src/zen-kernel-5.8-master"
bash-5.0#
seem all done so we need a whole kernel source or the kernel header....

NTFS3 Kernel Module

Posted: 16 Sep 2020, 14:25
by babam
beny wrote:
16 Sep 2020, 14:13
seem all done so we need a whole kernel source or the kernel header....
Probably requires complete Kernel headers.
Can you do it, thanks.

NTFS3 Kernel Module

Posted: 16 Sep 2020, 14:38
by beny
we have to ask to blaze the whole kernel if he have it.

NTFS3 Kernel Module

Posted: 17 Sep 2020, 05:45
by Blaze
Need to port Arch Linux script for Slackware - https://aur.archlinux.org/cgit/aur.git/ ... ntfs3-dkms

Code: Select all

Dependencies (1)

dkms

Code: Select all

Sources (10)

    1.patch
    2.patch
    3.patch
    4.patch
    5.patch
    6.patch
    7.patch
    8.patch
    dkms.conf
    Makefile.patch
Now I don't have time. - brought a lot of PCs and phones for repair.

NTFS3 Kernel Module

Posted: 17 Sep 2020, 18:38
by beny
hi babam when you build the ntfs3 on 5.4.57-porteus can you use the make -d debug seem that file kernel are too old for the ntfs3 build,it is a bit strange,but with 5.8.9 build fine..

NTFS3 Kernel Module

Posted: 17 Sep 2020, 19:13
by babam
beny,
Well now it's clear, ntfs3 can only be built for the latest Kernel.

Thanks.