Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] exfat-nofuse: fix compile error on kernel 4.18+ #7702

Closed
wants to merge 1 commit into from

Conversation

dengqf6
Copy link
Contributor

@dengqf6 dengqf6 commented Dec 17, 2018

Switched to https://github.com/AndyLavr/exfat-nofuse

Maintainer: @yousong @diizzyy
Compile tested: mvebu kernel 4.19.10; ramip kernel 4.14.88
Run tested: mvebu kernel 4.19.10

@yousong
Copy link
Member

yousong commented Dec 18, 2018

please just bump the version and do some basic rw test there as well. for master branch, picking patches for out of tree modules is not necessary.

@diizzyy
Copy link
Contributor

diizzyy commented Dec 18, 2018

Perhaps it's time for another look at sdfat which is more "active" in that regard?
https://github.com/cryptomilk/kernel-sdfat
I'd also think we should do a runtime test just to be safe.

@dengqf6
Copy link
Contributor Author

dengqf6 commented Dec 18, 2018

@diizzyy The sdfat driver doesn't support 4.18+, either.
I found a more recent fork which supports 4.18+, https://github.com/AndyLavr/exfat-nofuse, but it doesn't have backward compatibility.

And of course I did some rw test, I already have an exFAT USB flash drive attached to it

@dengqf6 dengqf6 force-pushed the exfat branch 2 times, most recently from 22f8c4f to fda1433 Compare December 18, 2018 05:22
@diizzyy
Copy link
Contributor

diizzyy commented Dec 18, 2018

@dengqf6
My "concern" is that sdfat seems to follow upstream much more closely compared the current repo. Having said that I don't have enough knowledge to evalutate the quality between the two repos so my concern might be unjustified.

@dengqf6
Copy link
Contributor Author

dengqf6 commented Dec 18, 2018

@AndyLavr @cryptomilk

@cryptomilk
Copy link

cryptomilk commented Dec 18, 2018

The sdfat kernel driver is the successor of exfat. You should use sdfat and it shouldn't be that hard to get it working on a newer kernel.

@dengqf6 dengqf6 changed the title exfat-nofuse: fix compile error on kernel 4.18+ [RFC] exfat-nofuse: fix compile error on kernel 4.18+ Dec 18, 2018
@dengqf6
Copy link
Contributor Author

dengqf6 commented Dec 18, 2018

Switched to https://github.com/AndyLavr/exfat-nofuse
Added a patch to fix backward compatibility.

@yousong yousong self-assigned this Dec 18, 2018
@yousong
Copy link
Member

yousong commented Dec 19, 2018

Looks like the dorimanx/exfat-nofuse repo hasn't been updated for a few months. It will take me a while to evaluate switching to another fork.

the maintenance work of building out of tree module against different kernel versions is very big. If this package goes in that direction too far, I may propose to drop it from OpenWrt. Right now a few dozen patches should be fine.

As for the cryptomilk/kernel-sdfat repo, if you really need it, open a pull request for review. It can exist as a separate package with dependency on LINUX_4_4.

@diizzyy
Copy link
Contributor

diizzyy commented Dec 22, 2018

#6238 ?
I'm not sure if we need to modify the defaults and/or set anything regarding the kernel config.

@yousong
Copy link
Member

yousong commented Dec 25, 2018

Sorry, it seems to me the AndyLavr/exfat-nofuse fork has its own goal of fitting with its own forked dragon kernel, not geared/maintained for use in OpenWrt or other distro.

I cannot find any targets in OpenWrt trunk switched to 4.19 yet, as such I tend to close this pull request for now.

The plan would be keep picking minor patches from dorimanx/exfat-nofuse so that the package at least compiles and works out of box in the near future. Then at some point when it's clear that the module is really abandoned upstream, I will propose to just drop it here.

@yousong yousong closed this Dec 25, 2018
@dengqf6
Copy link
Contributor Author

dengqf6 commented Dec 25, 2018

OK, let's carry a patch like Arch Linux did..

@dengqf6
Copy link
Contributor Author

dengqf6 commented Dec 25, 2018

As @diizzyy mentioned here dorimanx/exfat-nofuse#102 (comment), https://github.com/coolshou/exfat seems like another option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants