UTM icon indicating copy to clipboard operation
UTM copied to clipboard

Linux Undefined instruction: 0000000002000000 C#11 SMP

Open tino415 opened this issue 2 years ago • 4 comments

Describe the issue
I'm getting seemingly randomly error [ 100.7812961 Internal error: Oops - Undefined instruction: 0000000002000000 C#11 SMP during NixOS installation on UTM using apple hypervisor, whole log is:

Screenshot 2023-12-12 at 23 11 26

When I finished installation and while I was writing this report, I left VM waiting on login prompt and I got another error Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000, while log is here:

Screenshot 2023-12-12 at 23 36 47

Distribution Linux nixos 6.1.65 #1-NixOS SMP Sun Dec 3 06:32:13 UTC 2023 aarch64 GNU/Linux

EDIT: I tried also on parallels and it seems there is everything working

EDIT: I also tried debian with same result, Linux debianxfs 6.1.0-15-arm64 #1 SMP Debian 6.1.66-1 (2023-12-09) aarch64 GNU/Linux

Configuration

  • UTM Version: 4.4.5 (94)
  • macOS Version: Sonoma 14.1.2
  • Mac Chip (Intel, M1, ...): Apple M1

Upload VM
https://drive.google.com/file/d/1wO7D3IU7FZrEfz9rp5DXnHWIFUJGTzaO/view?usp=sharing

tino415 avatar Dec 12 '23 22:12 tino415

Today I tried to run debian in different situations and it happened in background, I was unable to power off laptop, I got access denied event to systemctl poweroff as root. I found this in journalctl:

Dec 13 07:45:14 debianxfs systemd-logind[419]: The system will power off now!
Dec 13 07:45:14 debianxfs systemd[1]: poweroff.target: Failed to open /lib/systemd/system/poweroff.target: No such f>
Dec 13 07:45:14 debianxfs systemd-logind[419]: Unit poweroff.target is not-found, refusing operation.
Dec 13 07:45:19 debianxfs systemd-logind[419]: The system will power off now!
Dec 13 07:45:19 debianxfs systemd[1]: poweroff.target: Failed to open /lib/systemd/system/poweroff.target: No such f>
Dec 13 07:45:19 debianxfs systemd-logind[419]: Unit poweroff.target is not-found, refusing operation.
Dec 13 07:45:41 debianxfs kernel: Internal error: Oops - Undefined instruction: 0000000002000000 [#1] SMP
Dec 13 07:45:41 debianxfs kernel: Modules linked in: sd_mod t10_pi crc64_rocksoft_generic crc64_rocksoft crc_t10dif >
Dec 13 07:45:41 debianxfs kernel: CPU: 2 PID: 870 Comm: kworker/2:1 Not tainted 6.1.0-15-arm64 #1  Debian 6.1.66-1
Dec 13 07:45:41 debianxfs kernel: Hardware name: Apple Inc. Apple Virtualization Generic Platform, BIOS 2020.41.1.0.>
Dec 13 07:45:41 debianxfs kernel: Workqueue: xfs-inodegc/vda2 xfs_inodegc_worker [xfs]
Dec 13 07:45:41 debianxfs kernel: pstate: 20400005 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
Dec 13 07:45:41 debianxfs kernel: pc : xfs_extent_free_log_item+0x0/0xb4 [xfs]
Dec 13 07:45:41 debianxfs kernel: lr : xfs_extent_free_create_intent+0x70/0xb0 [xfs]
Dec 13 07:45:41 debianxfs kernel: sp : ffff80000a78bb60
Dec 13 07:45:41 debianxfs kernel: x29: ffff80000a78bb60 x28: ffff800009872000 x27: 0000000000000000
Dec 13 07:45:41 debianxfs kernel: x26: ffff0000c0b55000 x25: ffff00012bdbb640 x24: ffff800009d1ea88
Dec 13 07:45:41 debianxfs kernel: x23: 0000000000000001 x22: ffff00012bdbb570 x21: ffff0000c71d0870
Dec 13 07:45:41 debianxfs kernel: x20: ffff000129a4a8d0 x19: ffff0000c3773b18 x18: ffff80000a72bb38
Dec 13 07:45:41 debianxfs kernel: x17: 0000000000000000 x16: ffff800008650b90 x15: ffff0000c010a40c
Dec 13 07:45:41 debianxfs kernel: x14: ffffffffffffffff x13: 0000000000000000 x12: 0101010101010101
Dec 13 07:45:41 debianxfs kernel: x11: 7f7f7f7f7f7f7f7f x10: 0000000000000001 x9 : ffff800034a3e3ec
Dec 13 07:45:41 debianxfs kernel: x8 : ffff0000c71d0a20 x7 : ffff0000c8ec9c00 x6 : ffff0000c71d08d8
Dec 13 07:45:41 debianxfs kernel: x5 : ffff0000c71d08c0 x4 : ffff00012bdbb620 x3 : 0000000000000000
Dec 13 07:45:41 debianxfs kernel: x2 : ffff0000c3773b18 x1 : ffff0000c71d0870 x0 : ffff00012bdbb570
Dec 13 07:45:41 debianxfs kernel: Call trace:
Dec 13 07:45:41 debianxfs kernel:  xfs_extent_free_log_item+0x0/0xb4 [xfs]
Dec 13 07:45:41 debianxfs kernel:  xfs_defer_create_intents+0xe8/0x11c [xfs]
Dec 13 07:45:41 debianxfs kernel:  xfs_defer_finish_noroll+0x98/0x604 [xfs]
Dec 13 07:45:41 debianxfs kernel:  xfs_defer_finish+0x20/0x8c [xfs]
Dec 13 07:45:41 debianxfs kernel:  xfs_itruncate_extents_flags+0xd8/0x230 [xfs]
Dec 13 07:45:41 debianxfs kernel:  xfs_inactive_truncate+0xc8/0x100 [xfs]
Dec 13 07:45:41 debianxfs kernel:  xfs_inactive+0x15c/0x17c [xfs]
Dec 13 07:45:41 debianxfs kernel:  xfs_inodegc_worker+0xd4/0x190 [xfs]

When I list /lib/systemd/system/ I see poweroff.target but when I try cat poweroff.target I get file not found, so maybe this is related to https://github.com/utmapp/UTM/issues/4840, but when I tried stress-ng --iomix 4 for I think 10 minutes, it did not happened

tino415 avatar Dec 13 '23 08:12 tino415

I've also experienced similar problems trying to install NixOS inside an apple hypervisor VM.

eeeeeta avatar Mar 06 '24 15:03 eeeeeta

Never got them before. After updating to Sonoma 14.4, I'm getting these within a few hours of running my debian virtual machines in the background doing nothing. Also, the "Virtual Machine Service for UTM" CPU usage goes to 200% and makes entire UTM proces hang, only killing it will get rid of it to start it anew.

t0mm1e avatar Mar 17 '24 04:03 t0mm1e

I got back to this after some time and I can confirm that now I do not experience same issue. Since then I updated UTM and also OSX multiple times so I can't point to which version of what resolved that issue.

tino415 avatar May 01 '25 16:05 tino415