Qemu@SSH Connection failed while buliding diskImage using Packer for full system simu. #1244
Replies: 4 comments 1 reply
-
I think that the reason packer is stuck on waiting for ssh could be due to either ubuntu not being installed correctly thus not booting properly or network not being initialized correctly. I would suggest adding a display as a qemu arg and using a vnc viewer to look at the install process. In gem5 resources there we have disk images made via packer, I suggest taking a look at those as well: https://github.com/gem5/gem5-resources/tree/885e91ae8fa7003fddb9f78771049a7650ab6468/src/x86-ubuntu |
Beta Was this translation helpful? Give feedback.
-
Thank you very much~The Problem has been solved.It turned out that |
Beta Was this translation helpful? Give feedback.
-
And do you know there will be some simulation precision losing becase of the abscence of kvm? I'm trying to get accurate branch miss data of gem5's Minor core of which the workload is a binary |
Beta Was this translation helpful? Give feedback.
-
There shouldnt be any difference in simulation precision as far as I know. The only difference between KVM and no KVM should be speed. |
Beta Was this translation helpful? Give feedback.
-
Hello dear gem5's developers,
I've been troubled for days by this problem. dont' know what to do~
I using
packer validate mm2.json
, it is good;packer builid mm2.json
. It's always stuck in ssh connection. I don't know exactly how qemu's details about creating VM, but I am wondering if this problem comes from my env. I use docker to run gem5, and my server in which docker is running is a Intel Xeon server, it disables kvm for some reason, so i have to change qemucpu toqemu64
, and following is my stdout and .json of packer, And i start ssh on my docker-machine usingsudo service ssh enable; sudo service ssh start
.Hoping I can get some hints about solutions.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions