Commit Graph

58 Commits

Author SHA1 Message Date
Rolf Neugebauer
2c98dd61c5 kernel: Update Hyper-V socket patch to v10
This required pulling in the Qualcom IPC patches as those changed
the socket family enumeration.

All other patches should be the same.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-05-13 16:14:19 +01:00
Justin Cormack
01e4366f7a add Intel 10g VF for AWS, other useful network options
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-05-10 11:01:48 +01:00
Justin Cormack
8657c8a7b3 update to kernel 4.4.9, aufs 20160509
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-05-10 10:54:01 +01:00
Justin Cormack
138f79c35b add Xen net device
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-05-07 10:15:10 +01:00
Justin Cormack
44e0a0c956 add xen blockdev support
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-05-06 17:45:17 +01:00
Ian Campbell
e3fdcc1435 Update vsock patch to version accepted upstream
No practical change, but adds the "cherry-picked from" to aid tracking. This
has also been queued for stable so will eventually show up in a 4.4.x and can
be dropped from here.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2016-05-06 10:57:50 +01:00
Justin Cormack
2d809c24fc add framebuffer console support
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-05-04 18:28:06 +01:00
Justin Cormack
c7dbdf1dfc add nfs client and server support, fix #117
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-05-04 13:24:48 +01:00
Ian Campbell
aed7f798b0 Add bugfix patch for partial AF_VSOCK shutdown
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2016-05-03 17:27:14 +01:00
Nathan LeClaire
54c89599ce Cache kernel source download
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-04-27 22:45:17 +00:00
Justin Cormack
100fd737ad Add a local prefix '-moby' to the kernel name
We are now using a custom kernel not unmodified upstream, so
best to identify it.

Also fix https://github.com/docker/pinata/issues/2153

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-26 12:25:56 +01:00
Justin Cormack
5c61ee27f3 Switch from busybox mdev to kernel devtmpfs
This is simpler, and as a by-product should resolve
https://github.com/docker/pinata/issues/1968
as it uses the now-more-correct loop device names
that newer util-linux expects.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-25 12:03:32 +01:00
Justin Cormack
4989d24c6b fix arm kernel build see #96
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-18 10:46:57 +01:00
Rolf Neugebauer
e4cff4a1e1 kernel,initrd: add CIFS to the kernel and cifs-utils to the initrd
Needed to enable SMB/CIFS mounts on Windows hosts

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-04-15 14:51:27 +01:00
Ian Campbell
1285fd4aa6 hyperv-socks: Backport patches.
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2016-04-12 14:36:58 +01:00
Ian Campbell
c0113ed91e Update vsock patches
Upstream commit 598881800825 ("vsock: Fix blocking ops call in
prepare_to_wait") was subsequently reverted in 6f57e56a1527, which said:

    The commit reverted with this patch caused us to potentially miss wakeups.
    Since the condition is not checked between the prepare_to_wait and the
    schedule(), if a wakeup happens after the condition is checked but before
    the sleep happens, we will miss it. ( A description of the problem can be
    found here: http://www.makelinux.net/ldd3/chp-6-sect-2 ).

The underlying issue has been fixed instead with f7f9b5e7f8ec ("AF_VSOCK:
Shrink the area influenced by prepare_to_wait").

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2016-04-12 14:33:32 +01:00
Ian Campbell
a887fb110c Add VSOCK patches
These are WIP taken from git@github.com:stefanha/linux.git#vsock
(==4c9d2a6be1c6, using "cherry-pick -x") and correspond to RFC v5 of the
frontend patches posted in
http://thread.gmane.org/gmane.linux.kernel.virtualization/27455

There is no corresponding spec proposal update yet, but this set of patches
correspond (roughly) to addressing the feedback on v4 of the spec proposal
http://thread.gmane.org/gmane.comp.emulators.virtio.devel/1062.

kernel_config.arm modifications copied from x86, not tested.

Added /etc/kernel-patches/ directory to the image to be consumed by the
licensing.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2016-04-05 13:40:36 +01:00
Justin Cormack
8220f615f0 update to 4.4.6 stable kernel series
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-04 14:04:55 +01:00
Justin Cormack
e5c3789caa update to 4.1.20
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-30 17:02:22 +01:00
Justin Cormack
af7777c832 store source info for kernel and kernel patches in image for #45
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-18 13:53:26 +00:00
Justin Cormack
90b270b186 Debian unstable cannot currently compile Linux without segfaulting, revert to Ubuntu
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-15 10:32:17 +00:00
Justin Cormack
373375569a fix arm build, dtb files now checked in
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-11 13:48:59 +00:00
Justin Cormack
027be103c0 update kernel to 4.1.19
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-10 11:22:34 +00:00
Justin Cormack
c69f65b5db bump aufs patch
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-03-10 11:21:54 +00:00
Justin Cormack
705d33afb8 update kernel to 4.1.18
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-22 16:48:54 +00:00
Dave Tucker
2a6f32b164 Clean up ARM builds
- Check in dtbs and give them their own directory
- Add cubieboard dtbs :)
- Remove hyper-v tools from arm Dockerfile

Signed-off-by: Dave Tucker <dt@docker.com>
2016-02-19 14:59:55 +00:00
Justin Cormack
d98db48c4d bump aufs commit
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-12 17:03:16 -08:00
Justin Cormack
053f1cba68 update kernel to 4.1.17
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-12 17:02:28 -08:00
Justin Cormack
4564a44b8d remove temporary containers
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-10 14:31:37 -08:00
Rolf Neugebauer
7cdecdd2e2 kernel: enable CONNECTOR and netlink MMAP access
Used by the Hyper-V daemons

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-01-28 09:14:11 -08:00
Rolf Neugebauer
923490d6c3 kernel: enable SCSI disk support
This is needed the get HD access in a Hyper-V VM
2016-01-24 17:40:09 +00:00
Rolf Neugebauer
a8803a738a kernel: add Hyper-V para-virtual device drivers to the kernel
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-01-22 17:12:00 +00:00
Justin Cormack
a106d4ecda revert to debian - this is aufs issue and affects both anyway
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-22 14:15:59 +00:00
Justin Cormack
e4e316791f kernel config: enable group scheduling in CFQ
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-21 21:52:58 +00:00
Justin Cormack
9f8f7812bc add kexec support
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-18 22:25:58 +00:00
Justin Cormack
dd0cd99c4d switch to Ubuntu for stable release with cross compilers as Debian broke
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-18 17:46:19 +00:00
Justin Cormack
f00e396175 update gitignore
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 15:18:37 +00:00
Mindy Preston
55bfabc8f2 fix qemu invocation for arm kernel
Download the correct dtb from debian when making a kernel and use it
when invoking qemu-system-arm.  Also, provide additional serial
parameters.
2016-01-14 14:23:57 +00:00
Justin Cormack
42e141986a cut down serial port options on arm
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 10:45:18 +00:00
Justin Cormack
7ce5afc2d9 more arm fixes
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-13 17:48:42 +00:00
Justin Cormack
658ac6145f Initial arm support
Not yet working, some parts also not yet cross compiled

Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-13 15:49:38 +00:00
Justin Cormack
5b3188cd0c Update kernel to 4.1.15
Add fix for https://github.com/docker/docker/issues/18180 with
aufs update.

Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-12 14:11:05 +00:00
Justin Cormack
306635da8e add virtio scsi support
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-11 15:28:03 +00:00
Justin Cormack
f4b04272a7 clean up build containers on make clean; rename for consistency
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-07 10:56:02 +00:00
Justin Cormack
689c0db749 kernel option cleanups
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-05 11:25:38 +00:00
Justin Cormack
ab9801f5c3 remove unnecessary PCI option
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-05 11:20:30 +00:00
Justin Cormack
f509a1e0be remove unnecessary power management options
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-05 11:18:33 +00:00
Justin Cormack
1eb909946c remove old syscall support
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-05 11:15:55 +00:00
Justin Cormack
bf0c62123c remove softdog, as liable to be unreliable in VM
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-05 10:51:19 +00:00
Justin Cormack
06821b12db initial changes towards building kernel for arm
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-30 18:33:07 +00:00