Giter Club home page Giter Club logo

Comments (2)

jeromesun14 avatar jeromesun14 commented on July 19, 2024

I found that vxlan codes changed a lot during Linux kernel 4.x

from p4factory.

jeromesun14 avatar jeromesun14 commented on July 19, 2024

Steps to compile vxlan kernel module with ubuntu 16.04: (e.g. degrade kernel 4.4.x to 3.19.8)

  1. Download Kernel/MainlineBuilds with kernel 3.19.8
  1. install module-init-tools, sudo apt-get install module-init-tools
  2. install linux-headers and linux-image, sudo dpkg -i linux-headers-3.19.8-031908_3.19.8-031908.201505110938_all.deb, sudo dpkg -i linux-image-3.19.8-031908-generic_3.19.8-031908.201505110938_amd64.deb
  3. modify /usr/src/linux-headers-3.19.8-031908-generic/include/generated/utsrelease.h macro #define UTS_UBUNTU_RELEASE_ABI 031908 to #define UTS_UBUNTU_RELEASE_ABI 31908, as dkms use the macro as octal data.
  4. remove old docker images, as we don't have aufs module for 3.19.8 now. sudo mv /var/lib/docker /var/lib/docker.old
  5. reboot, and select grub menu "Advanced options for Ubuntu", then select "Ubuntu, with Linux 3.19.8-031908-generic"
  6. check kernel has been degraded to 3.19.8, uname -a
  7. compile and run apps/int/vxlan-gpe

You may have a look at my blog: startup_with_old_kernel and docker_failed_after_update_kernel.

After degrade linux kernel, I can now compile run vxlan.ko but I encountered into some other issues, and still worked hard to run apps/int.

from p4factory.

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.