FATAL: kernel too old #291

Closed
opened 2025-12-29 00:23:24 +01:00 by adam · 2 comments
Owner

Originally created by @jk2K on GitHub (Dec 9, 2021).

OS related issued, please help us identify the issue by posting the output of this

uname -a \
> ; echo "${DISPLAY}" \
> ; echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs \
> ; grep NAME /etc/os-release \
> ; df -h . \
> ; qemu-system-x86_64 --version \
> ; libvirtd --version \
> ; free -mh \
> ; nproc \
> ; egrep -c '(svm|vmx)' /proc/cpuinfo \
> ; ls -lha /dev/kvm \
> ; ls -lha /tmp/.X11-unix/ \
> ; ps aux | grep dockerd \
> ; sudo docker ps | grep osx \
> ; grep "docker\|kvm\|virt" /etc/group
Linux 20211209-instance 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

1
NAME="CentOS Linux"
PRETTY_NAME="CentOS Linux 7 (Core)"
CPE_NAME="cpe:/o:centos:centos:7"
Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p3  100G   11G   89G  11% /
-bash: qemu-system-x86_64: command not found
libvirtd (libvirt) 4.5.0
              total        used        free      shared  buff/cache   available
Mem:           376G        4.8G        361G         10M        9.8G        369G
Swap:            0B          0B          0B
80
80
crw-rw-rw- 1 root kvm 10, 232 Dec  9 16:30 /dev/kvm
total 0
drwxrwxrwt  2 root root   6 Feb 15  2019 .
drwxrwxrwt 10 root root 285 Dec  9 16:55 ..
root      46793  0.0  0.0 243384  4684 pts/1    S    16:39   0:00 sudo nohup dockerd
root      46795 10.3  0.0 5856604 73136 pts/1   Sl   16:39   2:03 dockerd
user1   50720  0.0  0.0 112716   960 pts/1    S+   16:59   0:00 grep --color=auto dockerd
kvm:x:36:qemu
libvirt:x:991:

I run

sudo docker run -it \
    --device /dev/kvm \
    -p 50922:10022 \
    -v "${PWD}/mac_hdd_ng.img:/image" \
    sickcodes/docker-osx:naked

got error FATAL: kernel too old

Originally created by @jk2K on GitHub (Dec 9, 2021). # OS related issued, please help us identify the issue by posting the output of this ```bash uname -a \ > ; echo "${DISPLAY}" \ > ; echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs \ > ; grep NAME /etc/os-release \ > ; df -h . \ > ; qemu-system-x86_64 --version \ > ; libvirtd --version \ > ; free -mh \ > ; nproc \ > ; egrep -c '(svm|vmx)' /proc/cpuinfo \ > ; ls -lha /dev/kvm \ > ; ls -lha /tmp/.X11-unix/ \ > ; ps aux | grep dockerd \ > ; sudo docker ps | grep osx \ > ; grep "docker\|kvm\|virt" /etc/group Linux 20211209-instance 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux 1 NAME="CentOS Linux" PRETTY_NAME="CentOS Linux 7 (Core)" CPE_NAME="cpe:/o:centos:centos:7" Filesystem Size Used Avail Use% Mounted on /dev/nvme0n1p3 100G 11G 89G 11% / -bash: qemu-system-x86_64: command not found libvirtd (libvirt) 4.5.0 total used free shared buff/cache available Mem: 376G 4.8G 361G 10M 9.8G 369G Swap: 0B 0B 0B 80 80 crw-rw-rw- 1 root kvm 10, 232 Dec 9 16:30 /dev/kvm total 0 drwxrwxrwt 2 root root 6 Feb 15 2019 . drwxrwxrwt 10 root root 285 Dec 9 16:55 .. root 46793 0.0 0.0 243384 4684 pts/1 S 16:39 0:00 sudo nohup dockerd root 46795 10.3 0.0 5856604 73136 pts/1 Sl 16:39 2:03 dockerd user1 50720 0.0 0.0 112716 960 pts/1 S+ 16:59 0:00 grep --color=auto dockerd kvm:x:36:qemu libvirt:x:991: ``` I run ```bash sudo docker run -it \ --device /dev/kvm \ -p 50922:10022 \ -v "${PWD}/mac_hdd_ng.img:/image" \ sickcodes/docker-osx:naked ``` got error `FATAL: kernel too old`
adam closed this issue 2025-12-29 00:23:24 +01:00
Author
Owner

@sickcodes commented on GitHub (Dec 9, 2021):

Your kernel: Linux 20211209-instance 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

My kernel: Linux hostname 5.16.0-rc4-1-git-00011-gf80ef9e49fdf #2 SMP PREEMPT Mon, 06 Dec 2021 23:04:14 +0000 x86_64 GNU/Linux

You will need a Dedicated Instance, I suggest the Docker on Digital Ocean. Specifically, you will need "nested virtualization".

Which cloud?

@sickcodes commented on GitHub (Dec 9, 2021): Your kernel: `Linux 20211209-instance 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux` My kernel: `Linux hostname 5.16.0-rc4-1-git-00011-gf80ef9e49fdf #2 SMP PREEMPT Mon, 06 Dec 2021 23:04:14 +0000 x86_64 GNU/Linux` You will need a Dedicated Instance, I suggest the Docker on Digital Ocean. Specifically, you will need "nested virtualization". Which cloud?
Author
Owner

@jk2K commented on GitHub (Dec 10, 2021):

thank you for your reply. I run Docker-OSX on Bare metal instances, I upgraded os to CentOS Linux release 8.2.2004(Linux Kernel 4.18.0-193.el8.jd_001.x86_64). now this error has gone

@jk2K commented on GitHub (Dec 10, 2021): thank you for your reply. I run `Docker-OSX` on Bare metal instances, I upgraded os to `CentOS Linux release 8.2.2004(Linux Kernel 4.18.0-193.el8.jd_001.x86_64)`. now this error has gone
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#291