Justin Cormack
95e37843cc
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
8a4b9a7819
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
6621512ed6
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
73a0d1671e
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
5aa8173876
hyperv-socks: Backport patches.
...
Signed-off-by: Ian Campbell <ian.campbell@docker.com >
2016-04-12 14:36:58 +01:00
Ian Campbell
f2171c7beb
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
eb221b4d4f
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
6dc57f8817
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
7d13618c2c
update to 4.1.20
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-03-30 17:02:22 +01:00
Justin Cormack
cbd7af5e1d
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
8c01f302cd
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
91cafe12f5
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
98b688817d
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
fa38e7c1b2
bump aufs patch
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-03-10 11:21:54 +00:00
Justin Cormack
11e0140e24
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
2b5b1e64fa
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
e9bd1ad9cd
bump aufs commit
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-02-12 17:03:16 -08:00
Justin Cormack
0008577f78
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
6ee7b22152
remove temporary containers
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-02-10 14:31:37 -08:00
Rolf Neugebauer
b8b9126323
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
ed1f926ed5
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
3361963d6c
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
ded0269f3d
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
2fc1137a74
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
978c9ff6ab
add kexec support
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2016-01-18 22:25:58 +00:00
Justin Cormack
39e05c599e
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
26c09b70df
update gitignore
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2016-01-14 15:18:37 +00:00
Mindy Preston
554eb6ba26
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
572d705e9a
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
49b696967e
more arm fixes
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2016-01-13 17:48:42 +00:00
Justin Cormack
87dae6079b
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
b20efa4991
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
1002ae2921
add virtio scsi support
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2016-01-11 15:28:03 +00:00
Justin Cormack
c9b6eb3dad
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
201a5eaebf
kernel option cleanups
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2016-01-05 11:25:38 +00:00
Justin Cormack
5f15a71419
remove unnecessary PCI option
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2016-01-05 11:20:30 +00:00
Justin Cormack
ea6a338550
remove unnecessary power management options
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2016-01-05 11:18:33 +00:00
Justin Cormack
71fcd1b636
remove old syscall support
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2016-01-05 11:15:55 +00:00
Justin Cormack
2dba744479
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
c655429a32
initial changes towards building kernel for arm
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-30 18:33:07 +00:00
Justin Cormack
070e72dd71
Draft arm kernel config, untested
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-30 17:34:16 +00:00
Justin Cormack
cef3ee5299
switch to Debian unstable for kernel compiles, prep for arm cross compile
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-30 16:57:08 +00:00
Justin Cormack
d0484fb05e
kernel config changes for slightly faster boot
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-23 15:07:03 +00:00
Justin Cormack
503adbe777
remove btrfs as this pulls in the very slow raid6 test on boot
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-23 14:18:06 +00:00
Justin Cormack
7b15fc883e
remove some more unused kernel config
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-23 14:06:09 +00:00
Justin Cormack
00692fd77e
add other optional kernel config as reported by check-config.sh
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-17 15:56:39 +00:00
Justin Cormack
c1dc14c418
add btrfs and dm backend kernel support
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-17 15:45:30 +00:00
Justin Cormack
70d8143e48
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