satoru-takeuchi / elkdat

ELKDAT: easy linux kernel development and test tool
GNU General Public License v2.0
112 stars 13 forks source link

Error occurs and 4.15.0-213-generic VM is booted #8

Closed yushoyamaguchi closed 20 minutes ago

yushoyamaguchi commented 3 hours ago

In my environment, when executing

$ cd linux
$ git checkout v5.0
$ cd ../
$ ./test boot

4.15.0-213-generic VM is booted.

$ ./login
...
vagrant@localhost:~$ uname -r
4.15.0-213-generic
vagrant@localhost:~$ 

The error logs in ktest.log is below.
Error2~5 seems the same error.

CRITICAL FAILURE 1 ``` scp -i /home/y-yamaguchi/yusho/elkdat/private_key /home/y-yamaguchi/yusho/elkdat/output/arch/x86/boot/bzImage root@192.168.121.34:/boot/ktest-vmlinuz ... ssh: connect to host 192.168.121.34 port 22: No route to host lost connection [3 seconds] FAILED! CRITICAL FAILURE... failed to copy image REBOOTING ssh -i /home/y-yamaguchi/yusho/elkdat/private_key root@192.168.121.34 echo check machine status ... timeout = 25 timeout = 25 ssh: connect to host 192.168.121.34 port 22: No route to host [3 seconds] FAILED! power cycle ```
CRITICAL FAILURE 2 ``` Kernel: arch/x86/boot/bzImage is ready (#1) make[1]: ディレクトリ '/home/y-yamaguchi/yusho/elkdat/output' から出ます [229 seconds] SUCCESS ** Wait for monitor to settle down ** kill child process 3487412 wait for child process 3487412 to exit Find grub2 menu ... CRITICAL FAILURE... Could not find 'ktest' in /boot/grub/grub.cfg on 192.168.121.34 REBOOTING ssh -i /home/y-yamaguchi/yusho/elkdat/private_key root@192.168.121.34 echo check machine status ... timeout = 25 timeout = 25 timeout = 25 Warning: Identity file /home/y-yamaguchi/yusho/elkdat/private_key not accessible: No such file or directory. ssh: connect to host 192.168.121.34 port 22: No route to host [1 second] FAILED! power cycle ```
CRITICAL FAILURE 3 ``` Kernel: arch/x86/boot/bzImage is ready (#1) make[1]: ディレクトリ '/home/y-yamaguchi/yusho/elkdat/output' から出ます [270 seconds] SUCCESS ** Wait for monitor to settle down ** kill child process 3548674 wait for child process 3548674 to exit Find grub2 menu ... CRITICAL FAILURE... Could not find 'ktest' in /boot/grub/grub.cfg on 192.168.121.34 REBOOTING ssh -i /home/y-yamaguchi/yusho/elkdat/private_key root@192.168.121.34 echo check machine status ... timeout = 25 timeout = 25 Hit timeout of 25, killing process Warning: Identity file /home/y-yamaguchi/yusho/elkdat/private_key not accessible: No such file or directory. [25 seconds] FAILED! power cycle ```
CRITICAL FAILURE 4 ``` Kernel: arch/x86/boot/bzImage is ready (#1) make[1]: ディレクトリ '/home/y-yamaguchi/yusho/elkdat/output' から出ます [271 seconds] SUCCESS ** Wait for monitor to settle down ** kill child process 3606727 wait for child process 3606727 to exit Find grub2 menu ... CRITICAL FAILURE... Could not find 'ktest' in /boot/grub/grub.cfg on 192.168.121.34 REBOOTING ssh -i /home/y-yamaguchi/yusho/elkdat/private_key root@192.168.121.34 echo check machine status ... timeout = 25 timeout = 25 ssh: connect to host 192.168.121.34 port 22: No route to host [3 seconds] FAILED! ```
CRITICAL FAILURE 5 ``` Kernel: arch/x86/boot/bzImage is ready (#1) make[1]: ディレクトリ '/home/y-yamaguchi/yusho/elkdat/output' から出ます [270 seconds] SUCCESS ** Wait for monitor to settle down ** kill child process 3665868 wait for child process 3665868 to exit Find grub2 menu ... CRITICAL FAILURE... Could not find 'ktest' in /boot/grub/grub.cfg on 192.168.121.34 REBOOTING ssh -i /home/y-yamaguchi/yusho/elkdat/private_key root@192.168.121.34 echo check machine status ... timeout = 25 timeout = 25 timeout = 25 Warning: Identity file /home/y-yamaguchi/yusho/elkdat/private_key not accessible: No such file or directory. ssh: connect to host 192.168.121.34 port 22: No route to host [1 second] FAILED! power cycle ```
other fail message1 ``` ssh -i /home/y-yamaguchi/yusho/elkdat/private_key root@192.168.121.34 echo testing connection ... Warning: Identity file /home/y-yamaguchi/yusho/elkdat/private_key not accessible: No such file or directory. [130 seconds] FAILED! ssh -i /home/y-yamaguchi/yusho/elkdat/private_key root@192.168.121.34 echo check machine status ... timeout = 25 timeout = 25 timeout = 25 Warning: Identity file /home/y-yamaguchi/yusho/elkdat/private_key not accessible: No such file or directory. ssh: connect to host 192.168.121.34 port 22: No route to host [7 seconds] FAILED! ```
yushoyamaguchi commented 2 hours ago

Questions

  1. Is it the correct procedure that 4.15.0-213-generic kernel (maybe some distro kernel?) is booted when grub cannot choose ktest ?
  2. Do you know something about this error? (/home/y-yamaguchi/yusho/elkdat/private_key is exist and I set 777 to the key file, so I cannot understand the Warning...)
yushoyamaguchi commented 20 minutes ago

I'm so sorry. After executing ./init, the problem was resolved.
Maybe, the reason is that key is updated. (It seems that old key is the cause of error of vagrant.)