Bug 2007406 - ntfs kernel module not enabled for 5.15
Summary: ntfs kernel module not enabled for 5.15
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-23 19:00 UTC by Ganapathi Kamath
Modified: 2021-10-04 19:20 UTC (History)
20 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-23 19:08:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ganapathi Kamath 2021-09-23 19:00:15 UTC
1. Please describe the problem:
The new ntfs kernel module not enabled
One of the features of the new kernel 5.15 that will arrive along with fedora35 is the internal kernel module driver for ntfs.
I downloaded and installed the rawhide version of the kernel to try out the ntfs support.   

2. What is the Version-Release number of the kernel:
[root@sirius gana]# uname -a
Linux sirius 5.15.0-0.rc2.18.fc36.x86_64 #1 SMP Mon Sep 20 19:20:51 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[root@sirius gana]# cat /etc/system-release
Fedora release 34 (Thirty Four)
[root@sirius gana]#

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :
NA, ntfs kernel is supposed to be a new feature in kernel-5.15

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:
yes
* install and update fedora34
* then download kernel packages from https://archive.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/k/
* rpm -i *.rpm 
* reboot into new kernel

5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:
This bug is filed against rawhide

6. Are you running any modules that not shipped with directly Fedora's kernel?:
Just akmod compiled vbox, but that is not relevant, haven't yet EFI signed them so they don't load yet.

7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.
NA


[root@sirius gana]# grep -Ei ntfs /boot/config-5.15.0-0.rc2.18.fc36.x86_64
# CONFIG_NTFS_FS is not set
# CONFIG_NTFS3_FS is not set
[root@sirius gana]# cat /proc/filesystems | grep ntfs
[root@sirius gana]#

[root@sirius gana]# rpm -qa | sort | egrep -i 5.15.0
kernel-5.15.0-0.rc2.18.fc36.x86_64
kernel-core-5.15.0-0.rc2.18.fc36.x86_64
kernel-devel-5.15.0-0.rc2.18.fc36.x86_64
kernel-modules-5.15.0-0.rc2.18.fc36.x86_64
kernel-modules-extra-5.15.0-0.rc2.18.fc36.x86_64
kernel-modules-internal-5.15.0-0.rc2.18.fc36.x86_64
kmod-VirtualBox-5.15.0-0.rc2.18.fc36.x86_64-6.1.26-1.fc34.x86_64

[root@sirius gana]# cat /etc/mtab | grep NTFS
/dev/sdc1 /vol/H01_D1NTFS fuseblk rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0

[root@sirius gana]# modprobe ntfs
modprobe: FATAL: Module ntfs not found in directory /lib/modules/5.15.0-0.rc2.18.fc36.x86_64
[root@sirius gana]# modprobe ntfs3
modprobe: FATAL: Module ntfs3 not found in directory /lib/modules/5.15.0-0.rc2.18.fc36.x86_64

no module seems to be built
[root@sirius gana]# find /usr/lib/modules/5.15.0-0.rc2.18.fc36.x86_64/ | grep -i ntfs
[root@sirius gana]#

Elsewise, kernel seems stable, no unusual dmesg kernel messages spotted

Conclusion
5.15 still using fuse driver

Perhaps if the internal ntfs driver is enabled, it will get some testing while in rawhide before release

Comment 1 Justin M. Forbes 2021-09-23 19:08:10 UTC
Calm down, config options are all (with the exception of a couple that conflicted with what we already set) set at their default. Typically the options all come in during the merge window, after the merge window is test week, and then I might have time to go evaluate and set the config options which come in around rc3 or rc4.  This week is also Plumbers, which is taking up a bit over half of my days, so it will be next week.  There are 81 new config items to set with 5.15, so it takes some time. The ntfs driver will be enabled.

Comment 2 Ganapathi Kamath 2021-10-03 16:42:57 UTC
Thx.
some updates,
I rpmbuild-compiled the rc3 kernel on my haswell-era local-machine laptop, I had enabled ntfs3. It worked.
but there are freezes.

I had a lot of spurious freezes with the 5.14. The latest 5.14.9-300 seemed to be stable.
I strongly feel that the following is responsible
https://bugzilla.kernel.org/show_bug.cgi?id=214503  

Revert "block, bfq: honor already-setup queue merges" (Jens Axboe)

[root@sirius gana]# rpm -qa | egrep -i kernel-5
kernel-5.13.19-200.fc34.x86_64
kernel-5.14.9-300.fc35.x86_64
kernel-5.15.0-0.rc3.20211001git4de593fb965f.30.fc35.x86_64

I will attempt to do a manual revert and rpmbuild kernel-5.15 rc3 again, and check to see if freezes will go away.
I am guessing the patch-file to do the revert is the in the kernel src for the 5.14.9.

Comment 3 Ganapathi Kamath 2021-10-04 04:36:56 UTC
Yes, 
Revert "block, bfq: honor already-setup queue merges" (Jens Axboe)
stops the freezes in 5.15 as well and makes it stable, usable, and hence, necessary.
Presently, I am happy with my 5.15 build. akmod-virtualbox 6.1.26 us barfing a kernel trace on load, but that may go away when vbox releases their next version.

Comment 4 Sergio Basto 2021-10-04 19:18:53 UTC
https://pagure.io/rtl88x2bu-kmod and I already did akmods , I  haven't time 

[1]
https://github.com/sergiomb2/rtl8821ce/tree/master/contrib

Comment 5 Sergio Basto 2021-10-04 19:20:48 UTC
sorry wrong bug comment is for https://bugzilla.redhat.com/show_bug.cgi?id=2010093


Note You need to log in before you can comment on or make changes to this bug.