Имеется удаленный сервер:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
# uname -m
x86_64
Ядро (ставят какое-то своё ядро по умолчанию):
4.9.87-xxxx-std-ipv6-64
Нужно обновиться до ядра с поддержкой cpu cfs quota/period
Необходимо для докера, что он отвечает:
# docker run -it --cpus=".5" alpine
docker: Error response from daemon: NanoCPUs can not be set, as your kernel does not support CPU cfs period/quota or the cgroup is not mounted.
При этом с ограничением по ОЗУ нет никаких проблем
Пробовал скачивать пакеты с
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17.3/ и устанавливать
Проблема при установке и при update-grub:
# dpkg -i *.deb
Selecting previously unselected package linux-headers-4.17.3-041703-generic.
(Reading database ... 141797 files and directories currently installed.)
Preparing to unpack linux-headers-4.17.3-041703-generic_4.17.3-041703.2018062520 30_amd64.deb ...
Unpacking linux-headers-4.17.3-041703-generic (4.17.3-041703.201806252030) ...
Selecting previously unselected package linux-image-unsigned-4.17.3-041703-generic.
Preparing to unpack linux-image-unsigned-4.17.3-041703-generic_4.17.3-041703.201806252030_amd64.deb ...
Unpacking linux-image-unsigned-4.17.3-041703-generic (4.17.3-041703.201806252030) ...
Selecting previously unselected package linux-modules-4.17.3-041703-generic.
Preparing to unpack linux-modules-4.17.3-041703-generic_4.17.3-041703.201806252030_amd64.deb ...
Unpacking linux-modules-4.17.3-041703-generic (4.17.3-041703.201806252030) ...
dpkg: dependency problems prevent configuration of linux-headers-4.17.3-041703-generic:
linux-headers-4.17.3-041703-generic depends on linux-headers-4.17.3-041703; however:
Package linux-headers-4.17.3-041703 is not installed.
dpkg: error processing package linux-headers-4.17.3-041703-generic (--install):
dependency problems - leaving unconfigured
Setting up linux-modules-4.17.3-041703-generic (4.17.3-041703.201806252030) ...
Setting up linux-image-unsigned-4.17.3-041703-generic (4.17.3-041703.201806252030) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.4.0-128-generic
I: /initrd.img.old is now a symlink to boot/initrd.img-4.4.0-128-generic
I: /vmlinuz is now a symlink to boot/vmlinuz-4.17.3-041703-generic
I: /initrd.img is now a symlink to boot/initrd.img-4.17.3-041703-generic
Processing triggers for linux-image-unsigned-4.17.3-041703-generic (4.17.3-041703.201806252030) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.17.3-041703-generic
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
Found linux image: /boot/vmlinuz-4.17.3-041703-generic
Found initrd image: /boot/initrd.img-4.17.3-041703-generic
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
Found linux image: /boot/vmlinuz-4.15.0-23-generic
Found initrd image: /boot/initrd.img-4.15.0-23-generic
Found linux image: /boot/vmlinuz-4.15.0-15-generic
Found initrd image: /boot/initrd.img-4.15.0-15-generic
Found linux image: /boot/vmlinuz-4.4.0-9028-euclid
Found initrd image: /boot/initrd.img-4.4.0-9028-euclid
Found linux image: /boot/vmlinuz-4.4.0-128-generic
Found initrd image: /boot/initrd.img-4.4.0-128-generic
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
done
Errors were encountered while processing:
linux-headers-4.17.3-041703-generic
Как это лечить?
