UTM icon indicating copy to clipboard operation
UTM copied to clipboard

Sample ArchLinux ARM in Gallery on UTM site kernel panic on M2 Mac

Open xbill9 opened this issue 2 years ago • 5 comments

Describe the issue Installed UTM on macbook pro M2 went to UTM gallery site downloaded Archlinux ARM 64

Configuration

  • UTM Version: 3.2.4
  • OS Version: 12.5
  • Intel or Apple Silicon? Apple M2

Crash log [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x00000000] [ 0.000000] Linux version 5.5.7-1-ARCH (builduser@leming) (gcc version 9.2.0 (GCC)) #1 SMP Mon Mar 2 19:16:54 MST 2020 [ 0.000000] Machine model: linux,dummy-virt [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 64 MiB at 0x00000000bc000000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] percpu: Embedded 30 pages/cpu s85912 r8192 d28776 u122880 [ 0.000000] Detected PIPT I-cache on CPU0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [ 0.000000] Kernel command line: root=/dev/vda rw [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: mapped [mem 0x7bfff000-0x7ffff000] (64MB) [ 0.000000] Memory: 1889068K/2097152K available (14844K kernel code, 2800K rwdata, 7404K rodata, 1984K init, 836K bss, 142548K reserved, 65536K cma-reserved) [ 0.000000] random: get_random_u64 called from cache_random_seq_create+0x80/0x150 with crng_init=0 [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 52412 entries in 205 pages [ 0.000000] ftrace: allocated 205 pages with 5 groups [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv2m: range[mem 0x08020000-0x08020fff], SPI[80:143] [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000034] Console: colour dummy device 80x25 [ 0.000066] printk: console [tty0] enabled [ 0.000073] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000076] pid_max: default: 32768 minimum: 301 [ 0.000106] LSM: Security Framework initializing [ 0.000113] Yama: becoming mindful. [ 0.000131] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.000140] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.000160] *** VALIDATE tmpfs *** [ 0.000301] *** VALIDATE proc *** [ 0.000342] *** VALIDATE cgroup1 *** [ 0.000347] *** VALIDATE cgroup2 *** [ 0.000454] /cpus/cpu-map: empty cluster [ 0.000534] ASID allocator initialised with 128 entries [ 0.000547] rcu: Hierarchical SRCU implementation. [ 0.001190] EFI services will not be available. [ 0.001314] smp: Bringing up secondary CPUs ... [ 0.001558] Detected PIPT I-cache on CPU1 [ 0.001621] CPU1: Booted secondary processor 0x0000000001 [0x00000000] [ 0.001963] Detected PIPT I-cache on CPU2 [ 0.002040] CPU2: Booted secondary processor 0x0000000002 [0x00000000] [ 0.002369] Detected PIPT I-cache on CPU3 [ 0.002460] CPU3: Booted secondary processor 0x0000000003 [0x00000000] [ 0.002549] smp: Brought up 1 node, 4 CPUs [ 0.002556] SMP: Total of 4 processors activated. [ 0.002558] CPU features: detected: Privileged Access Never [ 0.002559] CPU features: detected: User Access Override [ 0.002561] CPU features: detected: Common not Private translations [ 0.002562] CPU features: detected: RAS Extension Support [ 0.002563] CPU features: detected: Data cache clean to the PoU not required for I/D coherence [ 0.002565] CPU features: detected: CRC32 instructions [ 0.002566] CPU features: detected: Speculation barrier (SB) [ 0.002567] CPU features: detected: Address authentication (IMP DEF algorithm) [ 0.002569] CPU features: detected: Generic authentication (IMP DEF algorithm) [ 0.002955] CPU: All CPU(s) started at EL1 [ 0.003023] alternatives: patching kernel code [ 0.003616] devtmpfs: initialized [ 0.004165] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.004171] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.004421] pinctrl core: initialized pinctrl subsystem [ 0.004563] thermal_sys: Registered thermal governor 'fair_share' [ 0.004563] thermal_sys: Registered thermal governor 'bang_bang' [ 0.004565] thermal_sys: Registered thermal governor 'step_wise' [ 0.004567] thermal_sys: Registered thermal governor 'user_space' [ 0.004568] thermal_sys: Registered thermal governor 'power_allocator' [ 0.004587] DMI not present or invalid. [ 0.004665] NET: Registered protocol family 16 [ 0.005320] DMA: preallocated 256 KiB pool for atomic allocations [ 0.005334] audit: initializing netlink subsys (disabled) [ 0.005437] audit: type=2000 audit(0.000:1): state=initialized audit_enabled=0 res=1 [ 0.005538] cpuidle: using governor ladder [ 0.005541] cpuidle: using governor menu [ 0.005566] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.005803] Serial: AMBA PL011 UART driver [ 0.006839] 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 39, base_baud = 0) is a PL011 rev1 [ 0.028490] printk: console [ttyAMA0] enabled [ 0.030849] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.031185] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.031450] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.031637] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.163479] cryptd: max_cpu_qlen set to 1000 [ 0.193293] ACPI: Interpreter disabled. [ 0.193561] iommu: Default domain type: Translated [ 0.193789] vgaarb: loaded [ 0.194136] SCSI subsystem initialized [ 0.194348] usbcore: registered new interface driver usbfs [ 0.194998] usbcore: registered new interface driver hub [ 0.195167] usbcore: registered new device driver usb [ 0.195424] pps_core: LinuxPPS API ver. 1 registered [ 0.195559] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected] [ 0.195794] PTP clock support registered [ 0.195924] EDAC MC: Ver: 3.0.0 [ 0.197500] Advanced Linux Sound Architecture Driver Initialized. [ 0.198251] NetLabel: Initializing [ 0.198489] NetLabel: domain hash size = 128 [ 0.198613] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.198855] NetLabel: unlabeled traffic allowed by default [ 0.199379] clocksource: Switched to clocksource arch_sys_counter [ 0.287076] *** VALIDATE bpf *** [ 0.287397] VFS: Disk quotas dquot_6.6.0 [ 0.288314] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.289331] *** VALIDATE ramfs *** [ 0.289703] *** VALIDATE hugetlbfs *** [ 0.289868] pnp: PnP ACPI: disabled [ 0.294086] NET: Registered protocol family 2 [ 0.294410] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 0.294882] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.295396] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear) [ 0.295801] TCP: Hash tables configured (established 16384 bind 16384) [ 0.296013] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.296201] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.296429] NET: Registered protocol family 1 [ 0.296978] RPC: Registered named UNIX socket transport module. [ 0.297268] RPC: Registered udp transport module. [ 0.297489] RPC: Registered tcp transport module. [ 0.297710] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.298040] PCI: CLS 0 bytes, default 64 [ 0.298265] Trying to unpack rootfs image as initramfs... [ 0.364747] Freeing initrd memory: 7220K [ 0.365158] hw perfevents: /pmu: failed to probe PMU! [ 0.365409] hw perfevents: /pmu: failed to register PMU devices! [ 0.365624] kvm [1]: HYP mode not available [ 0.434647] Bad mode in Synchronous Abort handler detected on CPU2, code 0x72000000 -- UNRECOGNIZED EC [ 0.435111] Kernel panic - not syncing: bad mode [ 0.435333] CPU: 2 PID: 314 Comm: cryptomgr_test Not tainted 5.5.7-1-ARCH #1 [ 0.435645] Hardware name: linux,dummy-virt (DT) [ 0.435773] Call trace: [ 0.435846] dump_backtrace+0x0/0x1b0 [ 0.435941] show_stack+0x1c/0x28 [ 0.436045] dump_stack+0xac/0xd4 [ 0.436132] panic+0x144/0x31c [ 0.436269] arm64_serror_panic+0x0/0x90 [ 0.436450] el1_sync_handler+0x5c/0xf8 [ 0.436647] el1_sync+0x7c/0x100 [ 0.436804] poly1305_blocks_neon+0x5a0/0x670 [ 0.437011] 0x4be78000100ec7a8 [ 0.437162] neon_poly1305_update+0x6c/0x180 [ 0.437376] crypto_shash_update+0x2c/0x40 [ 0.437572] test_shash_vec_cfg+0x1b8/0x588 [ 0.437771] __alg_test_hash.isra.0+0x19c/0x378 [ 0.437913] alg_test_hash+0x100/0x140 [ 0.438014] alg_test.part.0+0xb0/0x368 [ 0.438119] alg_test+0x24/0x60 [ 0.438201] cryptomgr_test+0x30/0x50 [ 0.438298] kthread+0x104/0x130 [ 0.438384] ret_from_fork+0x10/0x18 [ 0.438477] SMP: stopping secondary CPUs [ 0.438739] Kernel Offset: disabled [ 0.439173] CPU features: 0x00292,2a008210 [ 0.439523] Memory Limit: none [ 0.439717] ---[ end Kernel panic - not syncing: bad mode ]---

xbill9 avatar Jul 30 '22 15:07 xbill9

Not sure if it's the same issue but:

UTM 3.2.4 MacOS 12.4 MacBook Air M1 2020 ArchLinux ARM from Gallery

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x00000000] [ 0.000000] Linux version 5.5.7-1-ARCH (builduser@leming) (gcc version 9.2.0 (GCC)) #1 SMP Mon Mar 2 19:16:54 MST 2020 [ 0.000000] Machine model: linux,dummy-virt [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 64 MiB at 0x00000000bc000000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] percpu: Embedded 30 pages/cpu s85912 r8192 d28776 u122880 [ 0.000000] Detected PIPT I-cache on CPU0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [ 0.000000] Kernel command line: root=/dev/vda rw [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: mapped [mem 0x7bfff000-0x7ffff000] (64MB) [ 0.000000] Memory: 1889068K/2097152K available (14844K kernel code, 2800K rwdata, 7404K rodata, 1984K init, 836K bss, 142548K reserved, 65536K cma-reserved) [ 0.000000] random: get_random_u64 called from cache_random_seq_create+0x80/0x150 with crng_init=0 [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 52412 entries in 205 pages [ 0.000000] ftrace: allocated 205 pages with 5 groups [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv2m: range[mem 0x08020000-0x08020fff], SPI[80:143] [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000029] Console: colour dummy device 80x25 [ 0.000045] printk: console [tty0] enabled [ 0.000054] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000056] pid_max: default: 32768 minimum: 301 [ 0.000089] LSM: Security Framework initializing [ 0.000093] Yama: becoming mindful. [ 0.000111] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.000117] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.000130] *** VALIDATE tmpfs *** [ 0.000242] *** VALIDATE proc *** [ 0.000273] *** VALIDATE cgroup1 *** [ 0.000277] *** VALIDATE cgroup2 *** [ 0.000357] /cpus/cpu-map: empty cluster [ 0.000413] ASID allocator initialised with 128 entries [ 0.000421] rcu: Hierarchical SRCU implementation. [ 0.000928] EFI services will not be available. [ 0.000969] smp: Bringing up secondary CPUs ... [ 0.001166] Detected PIPT I-cache on CPU1 [ 0.001206] CPU1: Booted secondary processor 0x0000000001 [0x00000000] [ 0.001432] Detected PIPT I-cache on CPU2 [ 0.001486] CPU2: Booted secondary processor 0x0000000002 [0x00000000] [ 0.001708] Detected PIPT I-cache on CPU3 [ 0.001764] CPU3: Booted secondary processor 0x0000000003 [0x00000000] [ 0.001827] smp: Brought up 1 node, 4 CPUs [ 0.001830] SMP: Total of 4 processors activated. [ 0.001831] CPU features: detected: Privileged Access Never [ 0.001832] CPU features: detected: User Access Override [ 0.001833] CPU features: detected: Common not Private translations [ 0.001833] CPU features: detected: RAS Extension Support [ 0.001834] CPU features: detected: Data cache clean to the PoU not required for I/D coherence [ 0.001835] CPU features: detected: CRC32 instructions [ 0.001835] CPU features: detected: Speculation barrier (SB) [ 0.001836] CPU features: detected: Address authentication (IMP DEF algorithm) [ 0.001837] CPU features: detected: Generic authentication (IMP DEF algorithm) [ 0.002857] CPU: All CPU(s) started at EL1 [ 0.002927] alternatives: patching kernel code [ 0.003304] devtmpfs: initialized [ 0.003701] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.003705] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.003896] pinctrl core: initialized pinctrl subsystem [ 0.003988] thermal_sys: Registered thermal governor 'fair_share' [ 0.003988] thermal_sys: Registered thermal governor 'bang_bang' [ 0.003989] thermal_sys: Registered thermal governor 'step_wise' [ 0.003990] thermal_sys: Registered thermal governor 'user_space' [ 0.003990] thermal_sys: Registered thermal governor 'power_allocator' [ 0.004002] DMI not present or invalid. [ 0.004060] NET: Registered protocol family 16 [ 0.004478] DMA: preallocated 256 KiB pool for atomic allocations [ 0.004483] audit: initializing netlink subsys (disabled) [ 0.004572] audit: type=2000 audit(0.000:1): state=initialized audit_enabled=0 res=1 [ 0.004624] cpuidle: using governor ladder [ 0.004640] cpuidle: using governor menu [ 0.004659] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.004805] Serial: AMBA PL011 UART driver [ 0.005318] 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 39, base_baud = 0) is a PL011 rev1 [ 0.022652] printk: console [ttyAMA0] enabled [ 0.024066] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.024290] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.024498] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.024705] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.168056] cryptd: max_cpu_qlen set to 1000 [ 0.179459] ACPI: Interpreter disabled. [ 0.179661] iommu: Default domain type: Translated [ 0.180153] vgaarb: loaded [ 0.180570] SCSI subsystem initialized [ 0.180919] usbcore: registered new interface driver usbfs [ 0.181280] usbcore: registered new interface driver hub [ 0.181669] usbcore: registered new device driver usb [ 0.182400] pps_core: LinuxPPS API ver. 1 registered [ 0.182878] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected] [ 0.183655] PTP clock support registered [ 0.184092] EDAC MC: Ver: 3.0.0 [ 0.184681] Advanced Linux Sound Architecture Driver Initialized. [ 0.185045] NetLabel: Initializing [ 0.185159] NetLabel: domain hash size = 128 [ 0.185300] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.185670] NetLabel: unlabeled traffic allowed by default [ 0.186157] clocksource: Switched to clocksource arch_sys_counter [ 0.271254] *** VALIDATE bpf *** [ 0.271438] VFS: Disk quotas dquot_6.6.0 [ 0.271865] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.272242] *** VALIDATE ramfs *** [ 0.272446] *** VALIDATE hugetlbfs *** [ 0.272615] pnp: PnP ACPI: disabled [ 0.275593] NET: Registered protocol family 2 [ 0.275938] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 0.276578] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.276945] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear) [ 0.277211] TCP: Hash tables configured (established 16384 bind 16384) [ 0.277494] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.277845] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.278143] NET: Registered protocol family 1 [ 0.278633] RPC: Registered named UNIX socket transport module. [ 0.278820] RPC: Registered udp transport module. [ 0.278969] RPC: Registered tcp transport module. [ 0.279120] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.279363] PCI: CLS 0 bytes, default 64 [ 0.279517] Trying to unpack rootfs image as initramfs... [ 0.341666] Freeing initrd memory: 7220K [ 0.342032] hw perfevents: /pmu: failed to probe PMU! [ 0.342195] hw perfevents: /pmu: failed to register PMU devices! [ 0.342468] kvm [1]: HYP mode not available [ 0.380000] Unable to handle kernel paging request at virtual address bfff8000100ec7a8 [ 0.380277] Mem abort info: [ 0.380389] ESR = 0x86000004 [ 0.380509] EC = 0x21: IABT (current EL), IL = 32 bits [ 0.380667] SET = 0, FnV = 0 [ 0.380759] EA = 0, S1PTW = 0 [ 0.380882] [bfff8000100ec7a8] address between user and kernel address ranges [ 0.381125] Internal error: Oops: 86000004 [#1] SMP [ 0.381299] Modules linked in: [ 0.381403] CPU: 2 PID: 314 Comm: cryptomgr_test Not tainted 5.5.7-1-ARCH #1 [ 0.381626] Hardware name: linux,dummy-virt (DT) [ 0.381827] pstate: 60c00005 (nZCv daif +PAN +UAO) [ 0.381992] pc : 0xbfff8000100ec7a8 [ 0.382098] lr : 0xbfff8000100ec7a8 [ 0.382304] sp : ffff800012ae3a30 [ 0.382420] x29: ffff800012ae3a30 x28: ffff000078f5dc80 [ 0.382623] x27: 0000020000200000 x26: 0000000000000000 [ 0.382796] x25: ffff000078ef3200 x24: ffff000078cd7440 [ 0.383105] x23: ffff000076b0e000 x22: 0000000000000001 [ 0.383318] x21: 0000000000000001 x20: ffff000076b0e020 [ 0.383504] x19: ffff000078f5dc80 x18: 0000000000000000 [ 0.383672] x17: ffff8000100ec420 x16: ffff8000100ec460 [ 0.383865] x15: ffff000078f5dd58 x14: 0000000000000000 [ 0.384103] x13: 0000000001657264 x12: 01657264012c6563 [ 0.384270] x11: 0000000001918481 x10: 019184810185b1c0 [ 0.384485] x9 : 0000000002572612 x8 : 02572612020726f2 [ 0.384715] x7 : 00000000001a18da x6 : 001a18da00195b5a [ 0.384902] x5 : 0000000001687720 x4 : 0000000000000001 [ 0.385063] x3 : 0000000001000000 x2 : 0000000000000000 [ 0.385393] x1 : ffff000076b0e1b0 x0 : ffff000078f5dcb8 [ 0.385577] Call trace: [ 0.385726] 0xbfff8000100ec7a8 [ 0.385836] neon_poly1305_update+0x6c/0x180 [ 0.386007] crypto_shash_update+0x2c/0x40 [ 0.386212] test_shash_vec_cfg+0x1b8/0x588 [ 0.386436] __alg_test_hash.isra.0+0x19c/0x378 [ 0.386674] alg_test_hash+0x100/0x140 [ 0.386975] alg_test.part.0+0xb0/0x368 [ 0.387167] alg_test+0x24/0x60 [ 0.387369] cryptomgr_test+0x30/0x50 [ 0.387520] kthread+0x104/0x130 [ 0.387671] ret_from_fork+0x10/0x18 [ 0.387852] Code: bad PC value [ 0.387987] ---[ end trace 44e48b225465e2a7 ]--- [ 0.388337] ------------[ cut here ]------------ [ 0.388477] WARNING: CPU: 2 PID: 314 at arch/arm64/kernel/fpsimd.c:156 __get_cpu_fpsimd_context+0x2c/0x38 [ 0.388921] Modules linked in: [ 0.389046] CPU: 2 PID: 314 Comm: cryptomgr_test Tainted: G D 5.5.7-1-ARCH #1 [ 0.389334] Hardware name: linux,dummy-virt (DT) [ 0.389482] pstate: 20400085 (nzCv daIf +PAN -UAO) [ 0.389643] pc : __get_cpu_fpsimd_context+0x2c/0x38 [ 0.389794] lr : fpsimd_thread_switch+0x24/0xb8 [ 0.389947] sp : ffff800012ae3630 [ 0.390061] x29: ffff800012ae3630 x28: ffff000076b14c10 [ 0.390229] x27: ffff800010f14840 x26: ffff800010129610 [ 0.390403] x25: 0000000000000000 x24: 0000000000000000 [ 0.390592] x23: ffff000076b14600 x22: ffff80001181b018 [ 0.390762] x21: ffff00007b60d400 x20: ffff000076b14600 [ 0.390935] x19: ffff00007b60d400 x18: 000000000000000e [ 0.391185] x17: 0000000000000001 x16: 0000000000000019 [ 0.391384] x15: 0000000000000004 x14: 000000000000004c [ 0.391548] x13: 0000000000000000 x12: ffff00007b0a0688 [ 0.391725] x11: ffff00007b0a0490 x10: 0000000000000040 [ 0.391897] x9 : ffff800010085bfc x8 : ffff80001185bd18 [ 0.392074] x7 : 0000000000000000 x6 : 00000000004b9756 [ 0.392235] x5 : 00ffffffffffffff x4 : 0000000000000000 [ 0.392422] x3 : 0000000000000001 x2 : 0000000000000001 [ 0.392655] x1 : ffff80006a397000 x0 : ffff80001181b078 [ 0.392901] Call trace: [ 0.393016] __get_cpu_fpsimd_context+0x2c/0x38 [ 0.393256] __switch_to+0x28/0x128 [ 0.393444] __schedule+0x2b8/0x6d0 [ 0.393582] do_task_dead+0x80/0x98 [ 0.393690] do_exit+0x644/0xa60 [ 0.393834] die+0x218/0x258 [ 0.393945] die_kernel_fault+0x68/0x78 [ 0.394064] __do_kernel_fault+0x10c/0x138 [ 0.394198] do_translation_fault+0x38/0x60 [ 0.394326] do_mem_abort+0x44/0xa0 [ 0.394634] el1_sync_handler+0xf0/0xf8 [ 0.394816] el1_sync+0x7c/0x100 [ 0.394924] 0xbfff8000100ec7a8 [ 0.395027] neon_poly1305_update+0x6c/0x180 [ 0.395164] crypto_shash_update+0x2c/0x40 [ 0.395321] test_shash_vec_cfg+0x1b8/0x588 [ 0.395502] __alg_test_hash.isra.0+0x19c/0x378 [ 0.395669] alg_test_hash+0x100/0x140 [ 0.395808] alg_test.part.0+0xb0/0x368 [ 0.395956] alg_test+0x24/0x60 [ 0.396077] cryptomgr_test+0x30/0x50 [ 0.396238] kthread+0x104/0x130 [ 0.396388] ret_from_fork+0x10/0x18 [ 0.396549] ---[ end trace 44e48b225465e2a8 ]--- [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x00000000] [ 0.000000] Linux version 5.5.7-1-ARCH (builduser@leming) (gcc version 9.2.0 (GCC)) #1 SMP Mon Mar 2 19:16:54 MST 2020 [ 0.000000] Machine model: linux,dummy-virt [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 64 MiB at 0x00000000bc000000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] percpu: Embedded 30 pages/cpu s85912 r8192 d28776 u122880 [ 0.000000] Detected PIPT I-cache on CPU0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [ 0.000000] Kernel command line: root=/dev/vda rw [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: mapped [mem 0x7bfff000-0x7ffff000] (64MB) [ 0.000000] Memory: 1889068K/2097152K available (14844K kernel code, 2800K rwdata, 7404K rodata, 1984K init, 836K bss, 142548K reserved, 65536K cma-reserved) [ 0.000000] random: get_random_u64 called from cache_random_seq_create+0x80/0x150 with crng_init=0 [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 52412 entries in 205 pages [ 0.000000] ftrace: allocated 205 pages with 5 groups [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv2m: range[mem 0x08020000-0x08020fff], SPI[80:143] [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000019] Console: colour dummy device 80x25 [ 0.000035] printk: console [tty0] enabled [ 0.000041] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000042] pid_max: default: 32768 minimum: 301 [ 0.000491] LSM: Security Framework initializing [ 0.000497] Yama: becoming mindful. [ 0.000514] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.000522] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.000537] *** VALIDATE tmpfs *** [ 0.000651] *** VALIDATE proc *** [ 0.000679] *** VALIDATE cgroup1 *** [ 0.000682] *** VALIDATE cgroup2 *** [ 0.000765] /cpus/cpu-map: empty cluster [ 0.000819] ASID allocator initialised with 128 entries [ 0.000828] rcu: Hierarchical SRCU implementation. [ 0.001251] EFI services will not be available. [ 0.001294] smp: Bringing up secondary CPUs ... [ 0.001471] Detected PIPT I-cache on CPU1 [ 0.001509] CPU1: Booted secondary processor 0x0000000001 [0x00000000] [ 0.002369] Detected PIPT I-cache on CPU2 [ 0.002417] CPU2: Booted secondary processor 0x0000000002 [0x00000000] [ 0.004155] Detected PIPT I-cache on CPU3 [ 0.004213] CPU3: Booted secondary processor 0x0000000003 [0x00000000] [ 0.004272] smp: Brought up 1 node, 4 CPUs [ 0.004276] SMP: Total of 4 processors activated. [ 0.004278] CPU features: detected: Privileged Access Never [ 0.004278] CPU features: detected: User Access Override [ 0.004279] CPU features: detected: Common not Private translations [ 0.004280] CPU features: detected: RAS Extension Support [ 0.004281] CPU features: detected: Data cache clean to the PoU not required for I/D coherence [ 0.004282] CPU features: detected: CRC32 instructions [ 0.004282] CPU features: detected: Speculation barrier (SB) [ 0.004283] CPU features: detected: Address authentication (IMP DEF algorithm) [ 0.004284] CPU features: detected: Generic authentication (IMP DEF algorithm) [ 0.005569] CPU: All CPU(s) started at EL1 [ 0.005720] alternatives: patching kernel code [ 0.015331] devtmpfs: initialized [ 0.021703] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.021711] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.021991] pinctrl core: initialized pinctrl subsystem [ 0.022087] thermal_sys: Registered thermal governor 'fair_share' [ 0.022088] thermal_sys: Registered thermal governor 'bang_bang' [ 0.022089] thermal_sys: Registered thermal governor 'step_wise' [ 0.022090] thermal_sys: Registered thermal governor 'user_space' [ 0.022091] thermal_sys: Registered thermal governor 'power_allocator' [ 0.022103] DMI not present or invalid. [ 0.026317] NET: Registered protocol family 16 [ 0.027159] DMA: preallocated 256 KiB pool for atomic allocations [ 0.027174] audit: initializing netlink subsys (disabled) [ 0.027269] audit: type=2000 audit(0.020:1): state=initialized audit_enabled=0 res=1 [ 0.027352] cpuidle: using governor ladder [ 0.027355] cpuidle: using governor menu [ 0.027744] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.027939] Serial: AMBA PL011 UART driver [ 0.029145] 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 39, base_baud = 0) is a PL011 rev1 [ 0.047499] printk: console [ttyAMA0] enabled [ 0.050390] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.050627] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.050840] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.051052] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.207556] cryptd: max_cpu_qlen set to 1000 [ 0.221427] ACPI: Interpreter disabled. [ 0.221940] iommu: Default domain type: Translated [ 0.222340] vgaarb: loaded [ 0.222805] SCSI subsystem initialized [ 0.223036] usbcore: registered new interface driver usbfs [ 0.223258] usbcore: registered new interface driver hub [ 0.223472] usbcore: registered new device driver usb [ 0.223985] pps_core: LinuxPPS API ver. 1 registered [ 0.224311] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected] [ 0.224993] PTP clock support registered [ 0.225303] EDAC MC: Ver: 3.0.0 [ 0.226030] Advanced Linux Sound Architecture Driver Initialized. [ 0.226703] NetLabel: Initializing [ 0.226961] NetLabel: domain hash size = 128 [ 0.227262] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.227752] NetLabel: unlabeled traffic allowed by default [ 0.228348] clocksource: Switched to clocksource arch_sys_counter [ 0.366454] *** VALIDATE bpf *** [ 0.366654] VFS: Disk quotas dquot_6.6.0 [ 0.367477] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.368833] *** VALIDATE ramfs *** [ 0.369026] *** VALIDATE hugetlbfs *** [ 0.369192] pnp: PnP ACPI: disabled [ 0.372367] NET: Registered protocol family 2 [ 0.373330] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 0.373601] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.373923] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear) [ 0.374580] TCP: Hash tables configured (established 16384 bind 16384) [ 0.374843] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.375125] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.375399] NET: Registered protocol family 1 [ 0.376070] RPC: Registered named UNIX socket transport module. [ 0.376310] RPC: Registered udp transport module. [ 0.376452] RPC: Registered tcp transport module. [ 0.376607] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.376833] PCI: CLS 0 bytes, default 64 [ 0.377126] Trying to unpack rootfs image as initramfs... [ 0.514694] Freeing initrd memory: 7220K [ 0.515035] hw perfevents: /pmu: failed to probe PMU! [ 0.515209] hw perfevents: /pmu: failed to register PMU devices! [ 0.515458] kvm [1]: HYP mode not available [ 0.575832] Unable to handle kernel paging request at virtual address bfff8000100ec7a8 [ 0.576094] Mem abort info: [ 0.576238] ESR = 0x86000004 [ 0.576376] EC = 0x21: IABT (current EL), IL = 32 bits [ 0.576622] SET = 0, FnV = 0 [ 0.576765] EA = 0, S1PTW = 0 [ 0.577014] [bfff8000100ec7a8] address between user and kernel address ranges [ 0.577438] Internal error: Oops: 86000004 [#1] SMP [ 0.577624] Modules linked in: [ 0.577740] CPU: 0 PID: 314 Comm: cryptomgr_test Not tainted 5.5.7-1-ARCH #1 [ 0.578321] Hardware name: linux,dummy-virt (DT) [ 0.578636] pstate: 60c00005 (nZCv daif +PAN +UAO) [ 0.579047] pc : 0xbfff8000100ec7a8 [ 0.579339] lr : 0xbfff8000100ec7a8 [ 0.579512] sp : ffff800012a6ba30 [ 0.579668] x29: ffff800012a6ba30 x28: ffff0000773b7280 [ 0.579935] x27: 0000020000200000 x26: 0000000000000000 [ 0.580231] x25: ffff000078ec1d00 x24: ffff0000768e9040 [ 0.580524] x23: ffff000076a7c000 x22: 0000000000000001 [ 0.580750] x21: 0000000000000001 x20: ffff000076a7c020 [ 0.581059] x19: ffff0000773b7280 x18: 0000000000000000 [ 0.581336] x17: ffff8000100ec420 x16: ffff8000100ec460 [ 0.581670] x15: ffff0000773b7358 x14: 0000000000000000 [ 0.582044] x13: 0000000001657264 x12: 01657264012c6563 [ 0.582403] x11: 0000000001918481 x10: 019184810185b1c0 [ 0.582686] x9 : 0000000002572612 x8 : 02572612020726f2 [ 0.583011] x7 : 00000000001a18da x6 : 001a18da00195b5a [ 0.583302] x5 : 0000000001687720 x4 : 0000000000000001 [ 0.583855] x3 : 0000000001000000 x2 : 0000000000000000 [ 0.584401] x1 : ffff000076a7c1b0 x0 : ffff0000773b72b8 [ 0.584703] Call trace: [ 0.584820] 0xbfff8000100ec7a8 [ 0.585012] neon_poly1305_update+0x6c/0x180 [ 0.585244] crypto_shash_update+0x2c/0x40 [ 0.585410] test_shash_vec_cfg+0x1b8/0x588 [ 0.585631] __alg_test_hash.isra.0+0x19c/0x378 [ 0.586067] alg_test_hash+0x100/0x140 [ 0.586396] alg_test.part.0+0xb0/0x368 [ 0.586712] alg_test+0x24/0x60 [ 0.586866] cryptomgr_test+0x30/0x50 [ 0.587065] kthread+0x104/0x130 [ 0.587247] ret_from_fork+0x10/0x18 [ 0.587690] Code: bad PC value [ 0.587938] ---[ end trace c96c5ab80417cd3f ]--- [ 0.588322] ------------[ cut here ]------------ [ 0.588665] WARNING: CPU: 0 PID: 314 at arch/arm64/kernel/fpsimd.c:156 __get_cpu_fpsimd_context+0x2c/0x38 [ 0.589219] Modules linked in: [ 0.589471] CPU: 0 PID: 314 Comm: cryptomgr_test Tainted: G D 5.5.7-1-ARCH #1 [ 0.590239] Hardware name: linux,dummy-virt (DT) [ 0.590715] pstate: 80400085 (Nzcv daIf +PAN -UAO) [ 0.591169] pc : __get_cpu_fpsimd_context+0x2c/0x38 [ 0.591650] lr : fpsimd_thread_switch+0x24/0xb8 [ 0.592090] sp : ffff800012a6b5d0 [ 0.592397] x29: ffff800012a6b5d0 x28: ffff000078fd7618 [ 0.592766] x27: ffff800010f14840 x26: ffff800010edec40 [ 0.593105] x25: 0000000000000001 x24: 0000000000000000 [ 0.593572] x23: ffff000078fd7000 x22: ffff80001181b018 [ 0.594009] x21: ffff00007b5e8e00 x20: ffff000078fd7000 [ 0.594443] x19: ffff00007b5e8e00 x18: 0000000000000010 [ 0.594876] x17: 00000000a2a754da x16: 00000000964bf64a [ 0.595366] x15: ffff000078fd7500 x14: 0720072007200720 [ 0.595935] x13: 0720072007200720 x12: 0720072007200720 [ 0.596354] x11: 0720072007200720 x10: 0720072007200720 [ 0.596763] x9 : ffff800010085bfc x8 : ffff00007bb89dc0 [ 0.597254] x7 : ffff000078fd70c0 x6 : 0000000000000000 [ 0.597741] x5 : ffff000078fd70d8 x4 : ffff00007b5e91d8 [ 0.598172] x3 : 0000000000000001 x2 : 0000000000000001 [ 0.598892] x1 : ffff80006a35b000 x0 : ffff80001181b078 [ 0.599107] Call trace: [ 0.599426] __get_cpu_fpsimd_context+0x2c/0x38 [ 0.600061] __switch_to+0x28/0x128 [ 0.600357] __schedule+0x2b8/0x6d0 [ 0.600542] preempt_schedule_common+0x18/0x30 [ 0.600927] _cond_resched+0x30/0x40 [ 0.601179] exit_signals+0x30/0x210 [ 0.601359] do_exit+0xa8/0xa60 [ 0.601491] die+0x218/0x258 [ 0.601613] die_kernel_fault+0x68/0x78 [ 0.601786] __do_kernel_fault+0x10c/0x138 [ 0.601945] do_translation_fault+0x38/0x60 [ 0.602107] do_mem_abort+0x44/0xa0 [ 0.602247] el1_sync_handler+0xf0/0xf8 [ 0.602417] el1_sync+0x7c/0x100 [ 0.602545] 0xbfff8000100ec7a8 [ 0.602674] neon_poly1305_update+0x6c/0x180 [ 0.602857] crypto_shash_update+0x2c/0x40 [ 0.603061] test_shash_vec_cfg+0x1b8/0x588 [ 0.603224] __alg_test_hash.isra.0+0x19c/0x378 [ 0.603542] alg_test_hash+0x100/0x140 [ 0.603897] alg_test.part.0+0xb0/0x368 [ 0.604047] alg_test+0x24/0x60 [ 0.604171] cryptomgr_test+0x30/0x50 [ 0.604316] kthread+0x104/0x130 [ 0.604593] ret_from_fork+0x10/0x18 [ 0.604866] ---[ end trace c96c5ab80417cd40 ]---

Guest OS hangs here.

ptsmonteiro avatar Jul 31 '22 13:07 ptsmonteiro

Potential duplicate of #4014

Until this is resolved, refer to Installing Arch Linux ARM into a UTM Virtual Machine.

coquizen avatar Aug 02 '22 10:08 coquizen

It's https://github.com/utmapp/UTM/issues/4014#issuecomment-1135253337

shlyakpavel avatar Aug 13 '22 13:08 shlyakpavel

I'm seeing the same on a M1 2020 macbook air. Anything after 3.1.5 seems to bork the boot of the gallery Arch image.

liljenstolpe avatar Aug 16 '22 03:08 liljenstolpe

@liljenstolpe Follow the instructions in the link in https://github.com/utmapp/UTM/issues/4242#issuecomment-1202282582

ktprograms avatar Aug 16 '22 03:08 ktprograms

Hmm! I had the exact same problem around 2~3 months ago. But today I downlowded the latest image, and the problem went away!

What has changed? I'm just curious.

jcguu95 avatar Nov 21 '22 14:11 jcguu95

It’s been reuploaded with an updated build and now uses UEFI and can be updated within the VM. Forgot to close this.

osy avatar Nov 21 '22 16:11 osy

Where can I see the change, @osy ?

jcguu95 avatar Nov 21 '22 16:11 jcguu95

It’s completely rebuilt with the latest files.

osy avatar Nov 21 '22 16:11 osy