Git Product home page Git Product logo

Comments (9)

fabianishere avatar fabianishere commented on June 20, 2024

I suggest downgrading to 5.11.15-1 for now. In the meantime, I’ll fix this issue.

from pve-edge-kernel.

 avatar commented on June 20, 2024

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.

fabianishere avatar fabianishere commented on June 20, 2024

@thalix1337 See #59 (comment).

from pve-edge-kernel.

fabianishere avatar fabianishere commented on June 20, 2024

This should be fixed from v5.10.34-1 and v5.11.18-1 onwards (since 888e5a6)

from pve-edge-kernel.

amoiseiev avatar amoiseiev commented on June 20, 2024

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.

amoiseiev avatar amoiseiev commented on June 20, 2024

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.

fabianishere avatar fabianishere commented on June 20, 2024

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.

amoiseiev avatar amoiseiev commented on June 20, 2024

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:

  1. It builds fine on stock 10.9 buster "as-is" with stock kernel
  2. 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.

fabianishere avatar fabianishere commented on June 20, 2024

Thanks for the investigation! This should be now fixed with e1a0974. New releases will include the fix.

from pve-edge-kernel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.