Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not initialize kernel features detection #1904

Closed
mrc1119 opened this issue May 25, 2022 · 4 comments
Closed

Could not initialize kernel features detection #1904

mrc1119 opened this issue May 25, 2022 · 4 comments

Comments

@mrc1119
Copy link

mrc1119 commented May 25, 2022

This error is a first for me, is it a kernel problem?
Looking forward to your help!

Description
(00.000039) Version: 3.17 (gitid 496bcdb)
(00.000057) Running on A01-R11-219G7-I108-129.JD.LOCAL Linux 3.10.0-229.20.1.el7.x86_64 #1 SMP Tue Nov 3 19:10:07 UTC 2015 x86_64
(00.000065) File /run/criu.kdat does not exist
(00.000077) sockets: Probing sock diag modules
(00.001246) sockets: Done probing
(00.003853) Error (criu/util.c:641): exited, status=3
(00.003913) Pagemap is fully functional
(00.003941) Error (criu/kerndat.c:210): Can't stat self map_files 2: No such file or directory
(00.003958) Error (criu/kerndat.c:1509): kerndat_get_shmemdev failed when initializing kerndat.
(00.003986) Adjust mmap_min_addr 0x1000 -> 0x10000
(00.003988) Found mmap_min_addr 0x10000
(00.003997) files stat: fs/nr_open 1048576
(00.003998) Error (criu/crtools.c:260): Could not initialize kernel features detection.

Output of `criu --version`:

Version: 3.17
GitID: 496bcdb

Output of `criu check --all`:

Error (criu/kerndat.c:210): Can't stat self map_files 2: No such file or directory
Error (criu/kerndat.c:1509): kerndat_get_shmemdev failed when initializing kerndat.
Error (criu/crtools.c:260): Could not initialize kernel features detection.

@mrc1119
Copy link
Author

mrc1119 commented May 25, 2022

cat /boot/config-3.10.0-229.el7.x86_64 |grep CONFIG_CHECKPOINT_RESTORE

CONFIG_CHECKPOINT_RESTORE is not set

So I guess the reason is that the kernel was compiled without CONFIG_CHECKPOINT_RESTORE.

@mrc1119
Copy link
Author

mrc1119 commented May 25, 2022

Can this configuration be added dynamically without rebooting the system?

@mrc1119
Copy link
Author

mrc1119 commented May 25, 2022

@avagin @adrianreber @Snorch help~

@adrianreber
Copy link
Member

Can this configuration be added dynamically without rebooting the system?

No

@mrc1119 mrc1119 closed this as completed May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants