projectacrn / acrn-hypervisor

Project ACRN hypervisor
BSD 3-Clause "New" or "Revised" License
1.12k stars 514 forks source link

RTVM boot up fail due to init_hugetlb failed during S5 testing #4314

Closed Mingyuan18 closed 4 years ago

Mingyuan18 commented 4 years ago

1.Environment [Board]:WHLNUC i5 SOS +Win + RTVM Installed version: 31950 SOS info: root@clr-527d03dd0b104f43bd375b831d044ab9~ # uname -r 4.19.73-PKT-190919T160721Z root@clr-527d03dd0b104f43bd375b831d044ab9~ # acrn-dm -v DM version is: 1.5-unstable-7d27c4bc-dirty (daily tag:acrn-2019w51.5-140000p), build by root@2019-12-20 06:10:14 Summary: RTVM crash due to init_hugetlb failed during S5 testing Steps: boot up SOS modify launch_win.sh for S5 test:**launch_win_s5.sh:

for pm setting

pm_channel="--pm_notify_channel uart " pm_by_vuart="--pm_by_vuart pty,/run/acrn/lifemngr"$vm_name pm_vuart_node=" -s 1:0,lpc -l com2,/run/acrn/lifemngr"$vm_name

for memsize setting

mem_size=4G acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge -U 38158821-5208-4005-b72a-8a609e4190d0 {color} -s 2,pci-gvt -G "$3" \ -s 3,virtio-blk,/home/img/win10-ltsc-virtio.img \ -s 4,virtio-net,tap0,mac=00:16:3E:dd:14:47 \ --ovmf ./OVMF.fd \ $pm_channel $pm_by_vuart $pm_vuart_node {color} $vm_nam

Set WaaG/rtvm auto boot in SOS: acrnctl add ./launch_win_s5.sh acrnctl add ./launch_hard_rt_vm_s5.sh systemctl unmask acrnd.service systemctl enable acrnd.service poweroff and poweron after poweron, sos will boot up Waag and rtvm will auto boot after sos boot up repeat step 5-7 Expect result: RTVM should boot up normally Actual result: RTVM crash due to init_hugetlb failed during S5 testing Rate: Once

Mingyuan18 commented 4 years ago

[External_System_ID] ACRN-5957