Bug 129377
Summary: | kernel-2.6.7-1.494.2.2 breaks ntfs | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Lowe <lowe> | ||||
Component: | kernel | Assignee: | Arjan van de Ven <arjanv> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 2 | CC: | wtogami | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2004-08-09 11:45:05 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
David Lowe
2004-08-07 07:38:33 UTC
how did you compile ntfs? The instructions on the ntfs sourceforge page do not lead to a correct module! cd /usr/src/linux-2.6.7-1.494.2.2 make mrproper cp configs/kernel-2.6.7-i686.config .config echo "CONFIG_NTFS_FS=m" >> .config Remove the custom tag from the Makefile make oldconfig make However the build-2.6 script from the ntfs sourceforge page also produced a module that inserted without error message (not sure if thats what you meant by "a correct module"). this is not the correct way to build a module, and in fact it will generate an incorrect module! You need to 1) copy the fs/ntfs directory somewhere 2) Edit the makefile such that obj-$(CONFIG_NTFS_FS) += ntfs.o becomes obj-m += ntfs.o 3) make -C /lib/modules/`uname -r`/build SUBDIRS=$PWD modules Thanks, that works. Created attachment 102502 [details] fixed rpm build script It seems part of the problem was a nontrivial diff between the config files in the kernel binaries and the sourcecode in the new update kernel, resulting in the ntfs sourceforge script breaking. I have attached a modified version of the script as per comment #3 to avoid such problems. Syntax is the same as on http://linux-ntfs.sourceforge.net/rpm/build.html but you need the kernel rpm, in addition to the kernel-sourcecode rpm. Thank you David. The script works on a custom desktop and a HP zd7000 Notebook. Markus |