Rolf Neugebauer
94613a3cd6
kernel: Update to 4.9.18/4.10.6/4.4.57
...
For 4.9.18 and 4.10.6 cherry-picked the VMBus leak fix
from Linus' tree instead of char-misc.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-03-28 13:43:21 +01:00
Justin Cormack
8847edb288
Remove syslinux from kernel build deps
...
Unused. This should not affect anything, and I didnt actually bump
the kernel version; am working on te build in CI for this...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-03-27 12:17:09 +01:00
Rolf Neugebauer
16da19b74d
kernel: Update kernel to 4.4.45/4.9.17/4.10.5
...
In 4.10.5 and 4.9.17 include a fix for the VMBus memory leak,
cherry-picked from char-misc: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/commit/?h=char-misc-linus&id=5e030d5ce9d99a899b648413139ff65bab12b038
This patch was tested with the 4.10.5 kernel and the Hyper-V
Socket stress test. It was forwarded to stable@vger to be
included in one of the next stable releases.
Also remove the CPU ACCT revert as 17.03.1-rc1 is out and has a fix
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-03-23 17:20:30 +01:00
Rolf Neugebauer
15336d9db6
kernel: Add initial support for 4.10.x kernels
...
Note, this also removes the LTS4.4 build options and replaces
it with a KERNEL= build option to select the kernel to build.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-03-20 13:50:27 +00:00
Rolf Neugebauer
b78ce6c7d4
kernel: Update kernel to 4.9.16/4.4.55
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-03-20 10:36:26 +00:00
Rolf Neugebauer
7caf193e70
kernel: Remove remaining AUFS bits
...
Commit c3fc6faa35 removed AUFS support bit missed the kernel
config and a mentioned in the main Makefile.
This commit removes these also.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-03-19 08:53:40 +00:00
Anil Madhavapeddy
6938a0cf02
kernel: activate the Mellanox network driver suite
...
This builds a family of drivers for various Mellonox
cards, sufficient to get a DHCP lease on packet.net
Type2/3 machines (see #1245 ).
Signed-off-by: Anil Madhavapeddy <anil@docker.com >
2017-03-17 16:10:30 +00:00
Justin Cormack
133f259da2
Merge pull request #1314 from avsm/kernel-docs
...
Update Kernel README
2017-03-15 18:49:58 +00:00
Anil Madhavapeddy
980a4efaed
docs: More updates to the kernel README
...
Signed-off-by: Anil Madhavapeddy <anil@docker.com >
2017-03-15 17:26:47 +00:00
Anil Madhavapeddy
63c48df86a
docs: Update kernel/README to point to ../docs
...
Signed-off-by: Anil Madhavapeddy <anil@docker.com >
2017-03-15 15:24:57 +00:00
Rolf Neugebauer
9a6fddfc78
kernel: Make 'tag' the default target
...
This is a stop-gap to prevent accidental push of kernel
images to hub until we sort out doing this from CI.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-03-15 14:31:27 +00:00
Anil Madhavapeddy
a3c8c3ce3b
kernel: add igb and ixgb drivers, with vf variants
...
This lets us boot on packet.net machines and successfully gives
a DHCP lease when installed via iPXE. See #1245
Signed-off-by: Anil Madhavapeddy <anil@docker.com >
2017-03-15 14:13:54 +00:00
Rolf Neugebauer
c7c893c883
kernel: Update kernels to 4.9.15/4.4.54
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-03-15 10:32:24 +00:00
Rolf Neugebauer
78da52e8fd
kernel: Add the kernel version to the hub image
...
A given image is pushed to hub twice, once as
kernel:<kernel version>.<major version>.x and once as
kernel:<kernel version>.<major version>.<minor version>-<n>.
The latter is used to decide if a new kernel image is pushed to hub.
Most users should use the former to pick up the latest kernel.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-03-14 10:54:01 +00:00
Rolf Neugebauer
c3fc6faa35
kernel: Remove AUFS kernel
...
We default to overlay, so no need to carry AUFS patches and kernel.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-03-14 10:51:52 +00:00
Rolf Neugebauer
f1f329db5b
kernel: Pass kernel version as build-arg to docker
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-03-13 20:15:13 +00:00
Rolf Neugebauer
9d322e355f
kernel: Add Makefile to kernel build dependencies
...
This will also include it in the sha1 calculation
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-03-13 20:15:13 +00:00
Rolf Neugebauer
139c48db9a
kernel: Update to 4.9.14/4.4.53
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-03-13 10:26:28 +00:00
Justin Cormack
d26769b219
Add back code to push kernel to hub
...
- Accidentally removed from top level Makefile, now in kernel Makefile.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-03-07 23:48:46 +00:00
Rolf Neugebauer
2982c59c53
kernel: Update 4.9.x patches
...
- Remove patch to prevent non-host network namespace to use VSOCK
This is now handled by SECOMP profiles by docker
- rebase the VMBUS version cherry-picks to Linus' tree.
This will make it easier to get them into stable
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-03-07 14:04:53 +00:00
Riyaz Faizullabhoy
cc1dcb3b36
kernel: Update kernel to 4.9.13 and 4.4.52
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2017-02-28 08:11:07 -08:00
Rolf Neugebauer
c93c7cf433
kernel: Update kernel to 4.4.51
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-02-27 13:55:53 -08:00
Rolf Neugebauer
5e9890adbc
kernel: Update kernel to 4.9.12
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-02-27 13:49:47 -08:00
Justin Cormack
7fa748810d
Change kernel upload for new tooling
...
The mobylinux/kernel image now has the bzImage (no longer named vmlinuz64)
and a tarball of the files needed for the initrd, ie modules etc.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-02-20 15:54:02 +00:00
Justin Cormack
602630a9c6
Kernel 4.9.11, 4.4.50 and AUFS update
...
Security update, importance low.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-02-20 12:15:39 +00:00
Justin Cormack
032d7fb60b
Clean up kernel Makefile so it has no repetition
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-02-17 17:43:35 +00:00
Ian Campbell
d4697b22ab
Revert "sched/cpuacct: Show all possible CPUs in cpuacct output" in 4.9 kernel
...
This change (5ca3726 added in v4.7-rc1) exposed issues described in
https://github.com/docker/docker/issues/28941 , since we don't support CPU
hotplug anyway revert the change while we decide on a proper fix.
Signed-off-by: Ian Campbell <ian.campbell@docker.com >
2017-02-17 13:19:18 +00:00
Justin Cormack
10e63b176a
Update Linux 4.4 to 4.4.49
...
Security update, low importance.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-02-16 08:47:52 +00:00
Rolf Neugebauer
49ceee18d7
kernel: Update to 4.9.10
...
4.9.10 included several of the VMBus patches we no longer
need to carry.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-02-15 16:50:31 +00:00
Riyaz Faizullabhoy
5a5c58c29f
Bump kernel config test and revert IA32_EMULATION
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2017-02-13 11:38:14 -08:00
Riyaz Faizullabhoy
8fdc58e867
Harden kernel config with page poisoning, randomized mem, disabling ia32 and ldt syscall modification
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2017-02-13 10:13:48 -08:00
Riyaz Faizullabhoy
c77b192a39
Bump kernel config to 4.9.8
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2017-02-13 10:13:48 -08:00
Justin Cormack
5112209050
alpine-build-c is only used for kernel builds so rename
...
Also remove some unecessary packages.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-02-13 16:59:38 +00:00
Justin Cormack
734fb236c3
Update kernel to 4.9.9, 4.4.48
...
Security update, severity low.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-02-13 11:13:34 +00:00
Rolf Neugebauer
82c454a794
kernel: Rebase kernel patches proper
...
Regenerate the kernel patches from
https://github.com/rneugeba/linux-stable/
Note, the last two 4.9 patches are no properly
cherry-picked from linux-next. We previously had
0011-Drivers-hv-vmbus-Use-all... from an email.
0012-Drivers-hv-Log-the... is new, but may further aid
debugging version mismatch issues.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-02-06 17:57:26 +00:00
Riyaz Faizullabhoy
83a8b220b1
Update kernel to 4.9.8 and 4.4.47
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2017-02-06 09:14:35 -08:00
Justin Cormack
9a72b30756
Update aufs to 20170206
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-02-06 11:57:30 +00:00
Justin Cormack
2fdf0918b3
Move kernel directory to top level
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-02-04 09:17:16 +01:00
Justin Cormack
fca32a3b72
move kernel under rest of build and pull through aufs tools
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-17 15:26:42 +00:00
Justin Cormack
8a880a89e8
Build aufs support
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-17 13:51:43 +00:00
Justin Cormack
7a77576ca0
tweak kernel config
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-11 17:44:22 +00:00
Justin Cormack
ddcb740994
slim down kernel config some more; make it support modules, but not ship with any
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-11 15:43:14 +00:00
Justin Cormack
4f899dde0d
fix kernel make clean
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2015-12-10 23:49:18 +00:00
Justin Cormack
995e611357
remove -i option since pinata fixed
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-09 15:48:09 +00:00
Justin Cormack
5072dddb8c
more gitignore files
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-09 15:35:59 +00:00
Justin Cormack
e2188acbbb
Add a (non modular) upstream kernel build, for pinata alpha and general testing
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2015-12-02 10:17:51 +00:00