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

402-ath_regd_optional.patch no longer compatible with kernel since 4.7 #146

Open
lockheed opened this issue Sep 17, 2016 · 2 comments
Open

Comments

@lockheed
Copy link

The patch worked fine in 4.6 linux kernel, but with 4.7 it stops compilation process with the following:

Hunk #1 succeeded at 39 (offset 2 lines).
patching file drivers/net/wireless/ath/regd.c
Hunk #1 FAILED at 341.
Hunk #2 FAILED at 374.
Hunk #3 FAILED at 402.
3 out of 4 hunks FAILED -- saving rejects to file drivers/net/wireless/ath/regd.c.rej
patching file drivers/net/wireless/ath/Kconfig
Hunk #1 succeeded at 22 (offset -1 lines).
can't find file to patch at input line 62
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/.local-symbols
|+++ b/.local-symbols
--------------------------
File to patch: 

@abhijit-mahajani-imgtec
Copy link
Contributor

Hello @lockheed , can you please expand more on the issue ? how do you reproduce it? which version you are using? because currently MIPS pistachio is supporting linux 4.4.7 which is there on default branch.
Are you building for Ci40 using https://github.com/CreatorDev/openwrt build instructions or trying a new kernel with it?

@lockheed
Copy link
Author

lockheed commented Oct 7, 2016

The issue can be reproduced simply by trying to patch any kernel above 4.6 branch (4.8 is also affected just as 4.7 is).
I am using this patch to patch a x64 kernel on regular server/desktop linux, not OpenWRT.

I understand your focus here is OpenWRT and 4.7+ kernels are not in it yet, but since the patch was compatible with general linux kernel before, perhaps you could update it for newer kernels, or at least give me some pointers on how can I modify the patch myself?

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

No branches or pull requests

2 participants