Comments (9)
I suggest downgrading to 5.11.15-1 for now. In the meantime, I’ll fix this issue.
from pve-edge-kernel.
Is this the reason why there is no Zen2 version of the 5.11-16? I only see "Edge" versions, whatever that is.
And thanks for this repository!
from pve-edge-kernel.
@thalix1337 See #59 (comment).
from pve-edge-kernel.
This should be fixed from v5.10.34-1 and v5.11.18-1 onwards (since 888e5a6)
from pve-edge-kernel.
Hi Fabian,
thank you for updating it.
It's now failing on missing Kconfig under Documentation folder. May have something to do with your "prune" for said directory.
lib/Kconfig.debug:2494: can't open file "Documentation/Kconfig"
make[3]: *** [scripts/kconfig/Makefile:71: syncconfig] Error 1
make[2]: *** [Makefile:602: syncconfig] Error 2
make[1]: *** [Makefile:710: include/config/auto.conf.cmd] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.11.18-1-edge'
make: *** [Makefile:26: default] Error 2
from pve-edge-kernel.
If I switch the driver to use "M" instead of "SUBDIRS", it complains:
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
make[1]: *** [Makefile:718: include/config/auto.conf] Error 1
make[1]: Leaving directory '/usr/src/linux-headers-5.11.18-1-edge'
make: *** [Makefile:26: default] Error 2
If I run make oldconfig in /usr/src/linux-headers-5.11.18-1-edge# , I'm getting the same Documentation/Kconfig issue:
/usr/src/linux-headers-5.11.18-1-edge# make oldconfig
lib/Kconfig.debug:2494: can't open file "Documentation/Kconfig"
make[1]: *** [scripts/kconfig/Makefile:71: oldconfig] Error 1
make: *** [Makefile:602: oldconfig] Error 2
Hope it helps
from pve-edge-kernel.
Could you share the sources of the module you are trying to build? That would help with me reproducing the issue.
from pve-edge-kernel.
Sure, the driver is: https://www.marvell.com/content/dam/marvell/en/drivers/AQ_USBDongle_LinuxDriver_1.3.3.0.zip . It has private flags that are missing from stock driver bundled with the kernel.
A couple of things to note:
- It builds fine on stock 10.9 buster "as-is" with stock kernel
- On 5.4/5.11 PVE kernels it complains about Kconfigs
One of the issues with the driver is using "SUBDIRS", which I tried to changed to "M" but it wouldn't get past "Kernel Configuration is invalid" as I described in my post above. So, I rebuilt headers package to not exclude "Documentation" directory and in "M" mode, the driver started to build.
Then, I patched the driver source and changed "usbnet_get_stats64" to "dev_get_tstats64" to make it 5.11 compatible,
So, all in all, I believe the only thing that needs to change to make kernel config "valid" is to remove that Documentation directory from the prune in find command. The simple way to validate it is to make sure "make oldconfig" runs fine in the headers directory and not fails on Kconfig.
from pve-edge-kernel.
Thanks for the investigation! This should be now fixed with e1a0974. New releases will include the fix.
from pve-edge-kernel.
Related Issues (20)
- Build error 6.0.x HOT 2
- Unexpected prompt during build, 6.0.x
- Is a meta package for the repository possible? HOT 3
- VMs not booting on new kernel 6.0 HOT 4
- debian 11 VM crashed after 4 days: Bad RIP value HOT 3
- Support for T2 Macs HOT 2
- Bpfilter read fail 0 HOT 5
- workflows/release: Submodule checkout needed? HOT 2
- PVE 6 compatibility? HOT 1
- No valid OpenPGP data found HOT 9
- Builds on Debian 11 are failing HOT 6
- Missing Firmware HOT 1
- Arm64 build support HOT 1
- No AUFS module? HOT 1
- 6.0.19 No push
- About upgrading to Linux kernel 6.3 HOT 7
- Linux 6.1.22 LTS released HOT 2
- [Not an issue] Will there be any updates? HOT 1
- Сan't build after adding the patch HOT 2
- Continued support for 5.15 and 6.1 ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pve-edge-kernel.