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

ath11k patch failure stops build in it's tracks #24

Closed
1 task done
ascendbeing opened this issue Dec 27, 2024 · 6 comments
Closed
1 task done

ath11k patch failure stops build in it's tracks #24

ascendbeing opened this issue Dec 27, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@ascendbeing
Copy link

ascendbeing commented Dec 27, 2024

Describe the bug

069-ath11k-add-HE... fails to apply.hunk 4, 1/6 patches in that patch file. Build stops. I tried j1. didn't help

I'll try to update this report later but I'm for now chronicling this is an actual occurring issue, at least for me.

OpenWrt version

Yours. nss-main-mx4300 or whatever. I'm going to try the 24.10 build next.

OpenWrt release

Yours

OpenWrt target/subtarget

mx4300

Device

mx4300

Image kind

Self-built image

Steps to reproduce

No response

Actual behaviour

No response

Expected behaviour

No response

Additional info

No response

Diffconfig

No response

Terms

  • I am reporting an issue for OpenWrt, not an unsupported fork.
@ascendbeing ascendbeing added the bug Something isn't working label Dec 27, 2024
@ascendbeing
Copy link
Author

ascendbeing commented Dec 27, 2024

For anyone who's following this, use the 24.xx branch ie 24.10-nss-mx4300. below poster correctly shows what I was saying in brief compact non copying and pasting, thank you for that! I can confirm also that I was able to flash to 24.10 but sysupgrade wouldn't do it without factory image
sys upgrade image it would complain about a non-existent etc opkg cert file being not there (nor was the dir). I had both opkg and apk installed.

@sppmasterspp
Copy link

sppmasterspp commented Dec 27, 2024

For anyone who's following this, use the 24.xx branches the main one is on an older kernel if I'm not mistaken. main is I think on 63 vs 67 on the 2xx, which built fine

Main branch is on 6.6.67 too but building fails with

Applying /home/debian/openwrt-ipq-QNAP/package/kernel/mac80211/patches/nss/ath11k/069-ath11k-add-HE-stats-in-peer-stats.patch using plaintext: 
patching file drivers/net/wireless/ath/ath11k/core.h
Hunk #2 succeeded at 519 (offset 6 lines).
Hunk #3 succeeded at 528 (offset 6 lines).
Hunk #4 succeeded at 647 (offset 6 lines).
patching file drivers/net/wireless/ath/ath11k/debugfs_sta.c
patching file drivers/net/wireless/ath/ath11k/dp.h
Hunk #4 FAILED at 1422.
Hunk #5 succeeded at 1412 (offset -23 lines).
Hunk #6 succeeded at 1430 (offset -23 lines).
1 out of 6 hunks FAILED -- saving rejects to file drivers/net/wireless/ath/ath11k/dp.h.rej
patching file drivers/net/wireless/ath/ath11k/dp_rx.c
patching file drivers/net/wireless/ath/ath11k/rx_desc.h
patching file drivers/net/wireless/ath/ath11k/peer.h
Patch failed!  Please fix /home/debian/openwrt-ipq-QNAP/package/kernel/mac80211/patches/nss/ath11k/069-ath11k-add-HE-stats-in-peer-stats.patch!
make[3]: *** [Makefile:481: /home/debian/openwrt-ipq-QNAP/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/mac80211-regular/backports-6.12.6/.prepared_7686daf8eb00761a8a140532131424f0_6664517399ebbbc92a37c5bb081b5c53] Error 1
make[3]: Leaving directory '/home/debian/openwrt-ipq-QNAP/package/kernel/mac80211'
time: package/kernel/mac80211/regular/compile#1.25#1.88#2.80
    ERROR: package/kernel/mac80211 failed to build (build variant: regular).
make[2]: *** [package/Makefile:185: package/kernel/mac80211/compile] Error 1
make[2]: Leaving directory '/home/debian/openwrt-ipq-QNAP'
make[1]: *** [package/Makefile:179: /home/debian/openwrt-ipq-QNAP/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/debian/openwrt-ipq-QNAP'
make: *** [/home/debian/openwrt-ipq-QNAP/include/toplevel.mk:233: world] Error 2

@hingbong
Copy link

same here with main-nss

2024-12-28T02:30:44.7524734Z Applying /home/runner/work/ax3600-builder/ax3600-builder/openwrt/package/kernel/mac80211/patches/nss/ath11k/069-ath11k-add-HE-stats-in-peer-stats.patch using plaintext: 
2024-12-28T02:30:44.7534872Z patching file drivers/net/wireless/ath/ath11k/core.h
2024-12-28T02:30:44.7535429Z Hunk #2 succeeded at 519 (offset 6 lines).
2024-12-28T02:30:44.7535887Z Hunk #3 succeeded at 528 (offset 6 lines).
2024-12-28T02:30:44.7536317Z Hunk #4 succeeded at 647 (offset 6 lines).
2024-12-28T02:30:44.7538806Z patching file drivers/net/wireless/ath/ath11k/debugfs_sta.c
2024-12-28T02:30:44.7542735Z patching file drivers/net/wireless/ath/ath11k/dp.h
2024-12-28T02:30:44.7544855Z Hunk #4 FAILED at 1422.
2024-12-28T02:30:44.7545272Z Hunk #5 succeeded at 1412 (offset -23 lines).
2024-12-28T02:30:44.7545740Z Hunk #6 succeeded at 1430 (offset -23 lines).
2024-12-28T02:30:44.7547052Z 1 out of 6 hunks FAILED -- saving rejects to file drivers/net/wireless/ath/ath11k/dp.h.rej
2024-12-28T02:30:44.7551057Z patching file drivers/net/wireless/ath/ath11k/dp_rx.c
2024-12-28T02:30:44.7557661Z patching file drivers/net/wireless/ath/ath11k/rx_desc.h
2024-12-28T02:30:44.7559803Z patching file drivers/net/wireless/ath/ath11k/peer.h
2024-12-28T02:30:44.7562979Z Patch failed!  Please fix /home/runner/work/ax3600-builder/ax3600-builder/openwrt/package/kernel/mac80211/patches/nss/ath11k/069-ath11k-add-HE-stats-in-peer-stats.patch!
2024-12-28T02:30:44.7567327Z make[3]: *** [Makefile:481: /home/runner/work/ax3600-builder/ax3600-builder/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/mac80211-regular/backports-6.12.6/.prepared_451a822778208012e7bc5676d6cd3492_6664517399ebbbc92a37c5bb081b5c53] Error 1

@arix00
Copy link

arix00 commented Dec 28, 2024

edit:
mx4300
rebuild today, all good now.

@vochong
Copy link

vochong commented Dec 29, 2024

ath11k_nss: Refresh patches for backports 6.12.6

https://forum.openwrt.org/t/qualcommax-nss-build/148529/4296

@ascendbeing
Copy link
Author

I think it's fixed now. Haven't tried latest push, but previous from a day or two ago built fine with main-nss-mx4300

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants