NTFS3 Kernel Module
Technical issues/questions of an intermediate or advanced nature.
- babam
- Warlord
- Posts: 528
- Joined: 16 Nov 2016, 10:30
- Distribution: Porteus 5.0rc3 Xfce K6.1.1
- Location: Rainy city
NTFS3 Kernel Module
Post#1 by babam » 14 Sep 2020, 08:56
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.
I have tried but always failed.
Thanks.
Sorry, my English is bad.
babam
NTFS3 Kernel Module
Post#2 by beny » 15 Sep 2020, 15:56
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.
beny
- babam
- Warlord
- Posts: 528
- Joined: 16 Nov 2016, 10:30
- Distribution: Porteus 5.0rc3 Xfce K6.1.1
- Location: Rainy city
babam
NTFS3 Kernel Module
Post#4 by beny » 15 Sep 2020, 19:46
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
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
beny
NTFS3 Kernel Module
Post#5 by beny » 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
beny
- babam
- Warlord
- Posts: 528
- Joined: 16 Nov 2016, 10:30
- Distribution: Porteus 5.0rc3 Xfce K6.1.1
- Location: Rainy city
NTFS3 Kernel Module
Post#6 by babam » 16 Sep 2020, 03:37
Can you build it for Porteus 5.0 RC2
Sorry, my English is bad.
babam
beny
- babam
- Warlord
- Posts: 528
- Joined: 16 Nov 2016, 10:30
- Distribution: Porteus 5.0rc3 Xfce K6.1.1
- Location: Rainy city
NTFS3 Kernel Module
Post#8 by babam » 16 Sep 2020, 11:39
Sorry, my English is bad.
babam
NTFS3 Kernel Module
Post#9 by beny » 16 Sep 2020, 13:54
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,
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,
beny
NTFS3 Kernel Module
Post#10 by beny » 16 Sep 2020, 14:13
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....
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....
beny
babam
beny
- Blaze
- DEV Team
- Posts: 3998
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
NTFS3 Kernel Module
Post#13 by Blaze » 17 Sep 2020, 05:45
Need to port Arch Linux script for Slackware - https://aur.archlinux.org/cgit/aur.git/ ... ntfs3-dkms
Now I don't have time. - brought a lot of PCs and phones for repair.
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
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
Blaze
NTFS3 Kernel Module
Post#14 by beny » 17 Sep 2020, 18:38
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..
beny
babam