1
0
mirror of https://github.com/rancher/os-kernel.git synced 2025-07-12 21:07:59 +00:00
github mirror
Go to file
niusmallnan dafd46bbb2 Fix mtu issue in Xen
Something has broken MTU functionality in Xen: specifically,
setting MTUs larger than 1500 fails. This prevents Jumbo Frames and other
features which require larger than 1500 byte MTUs from being used. This can
lead to a failure to sync/connect to other components in the cluster/cloud
which expect higher MTUs and result in unavailable services.

The issue is caused by the following commit to the xen-netfront driver:
"xen-netfront: Fix race between device setup and open"
commit f599c64fdf7d9c108e8717fb04bc41c680120da4

The following commits fix this issue in the mainline kernel:

"xen-netfront: Fix mismatched rtnl_unlock"
commit cb257783c2927b73614b20f915a91ff78aa6f3e8
"xen-netfront: Update features after registering netdev"
commit 45c8184c1bed1ca8a7f02918552063a00b909bf5
2018-09-13 23:18:31 +08:00
config Bump kernel-config to 4.14.67 2018-08-28 15:21:44 +00:00
images Build an rancher/os-kernel image in the form that moby wants it 2017-05-04 02:34:10 +00:00
patches Fix mtu issue in Xen 2018-09-13 23:18:31 +08:00
scripts Add make kernel-config command 2018-08-22 12:03:06 +08:00
.dockerignore os-extras and os-headers images are built for release/ci 2016-11-14 21:48:51 +10:00
.gitignore Make source dir based on git tag 2016-07-10 05:07:19 +00:00
.no-chown hello world 2015-08-05 21:53:05 +05:00
.wrap-docker-args hello world 2015-08-05 21:53:05 +05:00
Dockerfile.dapper Add libelf-dev to make sure we can build 4.15 kernel 2018-02-09 15:36:21 +08:00
LICENSE hello world 2015-08-05 21:53:05 +05:00
Makefile Add make kernel-config command 2018-08-22 12:03:06 +08:00
modules-extra.list Update config to 4.14.32 2018-04-02 12:44:48 +00:00
modules.list adds smartpqi driver 2018-04-09 12:03:12 +02:00
README.md KERNEL_TAG=4.9.10 make release ; dist/publish.sh 2017-02-15 23:36:59 +00:00

Build kernel release archives for use in building RancherOS

To build the tgz's and the kernel header & extras images, run:

KERNEL_TAG=4.9.10 make release

and if you're uploading them, set your GITHUB_TOKEN and login to docker hub, then run

(this requires https://github.com/aktau/github-release to be installed in your path)

dist/publish.sh

packaging your own kernel builds

Assuming you have some kernel source you have built in /usr/src/linux-4.8, you can package up the result by running

./scripts/package-kernel --srcdir /usr/src/linux-4.8

You may need to adjust the expected module list files.