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

最新源码编译5.4内核x86固件报错 #10142

Closed
bi4tms opened this issue Sep 17, 2022 · 1 comment
Closed

最新源码编译5.4内核x86固件报错 #10142

bi4tms opened this issue Sep 17, 2022 · 1 comment

Comments

@bi4tms
Copy link

bi4tms commented Sep 17, 2022

拉取最新源码,编译5.4内核x86固件报错,具体日志如下:
Applying /home/x86.504/lede/target/linux/x86/patches-5.4/500-backport-igc-5.15-driver.patch using plaintext:
patching file drivers/net/ethernet/intel/igc/igc_base.c
Hunk #5 FAILED at 182.
Hunk #6 succeeded at 199 (offset -8 lines).
Hunk #7 succeeded at 361 (offset -8 lines).
1 out of 7 hunks FAILED -- saving rejects to file drivers/net/ethernet/intel/igc/igc_base.c.rej
patching file drivers/net/ethernet/intel/igc/igc_defines.h
patching file drivers/net/ethernet/intel/igc/igc_diag.c
patching file drivers/net/ethernet/intel/igc/igc_diag.h
patching file drivers/net/ethernet/intel/igc/igc_dump.c
patching file drivers/net/ethernet/intel/igc/igc_ethtool.c
patching file drivers/net/ethernet/intel/igc/igc.h
patching file drivers/net/ethernet/intel/igc/igc_hw.h
patching file drivers/net/ethernet/intel/igc/igc_i225.c
patching file drivers/net/ethernet/intel/igc/igc_i225.h
patching file drivers/net/ethernet/intel/igc/igc_mac.c
patching file drivers/net/ethernet/intel/igc/igc_mac.h
patching file drivers/net/ethernet/intel/igc/igc_main.c
Hunk #52 FAILED at 4185.
Hunk #53 succeeded at 4211 (offset -1 lines).
Hunk #54 succeeded at 4229 (offset -1 lines).
Hunk #55 succeeded at 4241 (offset -1 lines).
Hunk #56 succeeded at 4255 (offset -1 lines).
Hunk #57 succeeded at 4264 (offset -1 lines).
Hunk #58 succeeded at 4285 (offset -1 lines).
Hunk #59 succeeded at 4304 (offset -1 lines).
Hunk #60 succeeded at 4323 (offset -1 lines).
Hunk #61 succeeded at 4339 (offset -1 lines).
Hunk #62 succeeded at 4389 (offset -1 lines).
Hunk #63 succeeded at 4403 (offset -1 lines).
Hunk #64 succeeded at 4431 (offset -1 lines).
Hunk #65 succeeded at 4477 (offset -1 lines).
Hunk #66 succeeded at 4501 (offset -1 lines).
Hunk #67 succeeded at 4547 (offset -1 lines).
Hunk #68 succeeded at 4569 (offset -1 lines).
Hunk #69 succeeded at 4581 (offset -1 lines).
Hunk #70 succeeded at 4622 (offset -1 lines).
Hunk #71 succeeded at 4637 (offset -1 lines).
Hunk #72 succeeded at 4669 (offset -1 lines).
Hunk #73 succeeded at 4685 (offset -1 lines).
Hunk #74 succeeded at 4949 (offset -1 lines).
Hunk #75 succeeded at 4967 (offset -1 lines).
Hunk #76 succeeded at 5011 (offset -1 lines).
Hunk #77 succeeded at 5033 (offset -1 lines).
Hunk #78 succeeded at 5092 (offset -1 lines).
Hunk #79 succeeded at 5115 (offset -1 lines).
Hunk #80 succeeded at 5143 (offset -1 lines).
Hunk #81 succeeded at 5157 (offset -1 lines).
Hunk #82 succeeded at 5195 (offset -1 lines).
Hunk #83 succeeded at 5230 (offset -1 lines).
Hunk #84 succeeded at 5273 (offset -1 lines).
Hunk #85 succeeded at 5297 (offset -1 lines).
Hunk #86 succeeded at 5304 (offset -1 lines).
Hunk #87 succeeded at 5624 (offset -1 lines).
Hunk #88 succeeded at 5632 (offset -1 lines).
Hunk #89 succeeded at 5665 (offset -1 lines).
1 out of 89 hunks FAILED -- saving rejects to file drivers/net/ethernet/intel/igc/igc_main.c.rej
patching file drivers/net/ethernet/intel/igc/igc_phy.c
Hunk #4 FAILED at 249.
Hunk #5 FAILED at 390.
2 out of 5 hunks FAILED -- saving rejects to file drivers/net/ethernet/intel/igc/igc_phy.c.rej
patching file drivers/net/ethernet/intel/igc/igc_ptp.c
patching file drivers/net/ethernet/intel/igc/igc_regs.h
patching file drivers/net/ethernet/intel/igc/igc_tsn.c
patching file drivers/net/ethernet/intel/igc/igc_tsn.h
patching file drivers/net/ethernet/intel/igc/Makefile
Patch failed! Please fix /home/x86.504/lede/target/linux/x86/patches-5.4/500-backport-igc-5.15-driver.patch!
Makefile:27: recipe for target '/home/x86.504/lede/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.211/.prepared_cd9d8ddf912bce53e3069a168f448b34' failed
make[4]: *** [/home/x86.504/lede/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.211/.prepared_cd9d8ddf912bce53e3069a168f448b34] Error 1
make[4]: Leaving directory '/home/x86.504/lede/target/linux/x86'
Makefile:11: recipe for target 'compile' failed
make[3]: *** [compile] Error 2
make[3]: Leaving directory '/home/x86.504/lede/target/linux'
time: target/linux/compile#18.07#80.01#83.25
ERROR: target/linux failed to build.
target/Makefile:28: recipe for target 'target/linux/compile' failed
make[2]: *** [target/linux/compile] Error 1
make[2]: Leaving directory '/home/x86.504/lede'
target/Makefile:23: recipe for target '/home/x86.504/lede/staging_dir/target-x86_64_musl/stamp/.target_compile' failed
make[1]: *** [/home/x86.504/lede/staging_dir/target-x86_64_musl/stamp/.target_compile] Error 2
make[1]: Leaving directory '/home/x86.504/lede'
/home/x86.504/lede/include/toplevel.mk:228: recipe for target 'world' failed
make: *** [world] Error 2

@hcym
Copy link

hcym commented Sep 17, 2022

默认的没问题

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

3 participants