UTM
UTM copied to clipboard
ArchLinux ARM | Booting Stuck with Stack Trace
Describe the issue After upgrading to UTM to latest version, I am not able to run Arch (even freshly downloaded from Gallery).
I am also sharing a crash log (not sure, if its helpful in this case).
Configuration
- UTM Version: Version 3.2.3 (57)
- OS Version: Apple M1 Max on 12.3.1
- Intel or Apple Silicon? Apple Silicon
Crash log Attached here: UTM-2022-05-12-153850.log UTM-2022-05-12-190735.log
Debug log boot.log
Upload VM Arch
Hmm, so did UTM actually crash? If it crashed, I don't know how you're getting the boot log. The crash log indicates you've booted a VM with display emulation but the Arch VM is in console mode. I think they're not related.
Are you referring to kernel panic inside the VM as a "crash"? Because a crash refers to the UTM app terminating.
Also can you post debug.log? The instructions should be in the template when making an issue. This will contain the QEMU command.
That is correct yes, It didn't crash but the app did freeze when I tried to boot it.
Also the debug log: debug.log
If it was frozen how did you get boot.log?
I copied it somehow after waiting for a while and selected (to clipboard) and pasted to text editor :P
I know it sounds weird, the behaviour is not so certain, at times, it boots and stuck on console, the other times it just sits there and the spinning wheel just rotates.
btw, Can you draw something from debug.log.
I know there’s some kernel panic issue with M1 Max (which I don’t have to test) that was supposed to be fixed. That’s what the highmem=off was for. The other thing I can think of is to update to 12.4 and see if that makes a difference. Otherwise I’m not exactly sure what’s happening. You can confirm this doesn’t happen in 3.1.5?
I can confirm that the arch boot up on 3.1.5 smoothly, however after upgrading its looses it connectivity and I don't see any network except loopback.
qemu-aarch64-softmmu: -netdev vmnet-macos,mode=shared,id=net0: Parameter 'type' does not accept value 'vmnet-macos'
On Ubuntu here. I think they have broken the net somehow
@shlyakpavel are you using custom args? If so delete it and use the network gui
@osy I'm using Ubuntu template from the website. It worked before update
Post your config.plist from inside the .utm
I have tried setting different network cards to solve the problem
@shlyakpavel to be clear you’re running 3.2.3 from GitHub releases?
I'm running Version 3.1.5 (53) from homebrew P. S. I restarted the app, it is now Version 3.2.3 (57) and it runs fine
@nar3nd3r When it gets stuck, can you get a spindump?
- Open Activity Monitor
- Find UTM process and double click
- Click "Sample", copy paste the text to a .txt file, and attach it here.
I just upgraded to 3.2.4, yet again same issue. here is the boot log and the "Sample", though not freezing seen so far just stuck with end trace
.
Can you help me understanding the bot log, why it failing. I can try things differently. Thanks in advance.
Is the UI completely frozen and you can’t click anything?
That’s what I mentioned before, no freezing this time. Just no booting.
I also found this issue, I change cpu option to cortex-a72, it works. the default ones don't work.
thanks @wjwOffline, that was awesome. Any tip on the following scenario, updating with pacman -Syyu
and reboot leads to missing lan afterwards.
Same here, no network after updating and rebooting. Any solutions?
Same here, no network after updating and rebooting. Any solutions?
Of course there is a solution. Kernel modules have been updated, while kernel itself hasn't. Just take Image.gz and initramfs-linux.img from the system i9mage and replace them in ArchLinux ARM.utm/images
Same here, no network after updating and rebooting. Any solutions?
Check https://github.com/utmapp/UTM/issues/3888
Just take Image.gz and initramfs-linux.img from the system i9mage and replace them in ArchLinux ARM.utm/images
Can you be a bit more specific? Take what from where exactly and put it where exactly? Thanks!
Can you be a bit more specific?
Just right click "ArchLinux ARM.utm", "Open package", go to "images" directory and replace files with files extracted from this zip. Never update the kernel again. Contact me in Telegram @emergencychina if you have further questions utm.zip
P. S. I took these files from /boot/ inside the VM
@mkurz
Also, ensure these entries still point to the updated files
Thanks!
BTW: Did you install plasma? If so do you use it with wayland? Are your fonts rendered ok?
BTW: Did you install plasma? If so do you use it with wayland? Are your fonts rendered ok?
I did not install GUI. I use it as a build machine via ssh.