UTM 4.2.5 on MacOS M1, "cannot create vmnet interface: unknown vmnet error" when using Shared Network
- Dominant language
- Swift
- Stars
- 35.5k
- Forks
- 1.8k
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 7
Description
**Describe the issue**
Trying to create a VM with a Shared Network, even if it's the only network interface I add to it and I make no changes or customizations to the network CIDR, I can't start the VM and get this generic, non-descript error.
**Configuration**
* UTM Version: 4.2.5
* macOS Version: 12.6.6 (Monterey)
* Mac Chip (Intel, M1, ...): M1
**Crash log**
Doesn't crash, just errors out.
**Debug log**
[debug.log](https://github.com/utmapp/UTM/files/11666382/debug.log)
Console Log (system log queried with "UTM")
default 15:19:40.662266+0000 runningboardd Acquiring assertion targeting [app:67608] from originator [daemon:391] with description ,
]>
default 15:19:40.662342+0000 runningboardd Assertion 410-391-151012 (target:[app:67608]) will be created as active
default 15:19:40.672745+0000 runningboardd Acquiring assertion targeting [app:67608] from originator [daemon:360] with description
]>
default 15:19:40.672748+0000 runningboardd Calculated state for app: running-active (role: UserInteractiveFocal)
default 15:19:40.672951+0000 runningboardd [app:67608] Ignoring jetsam update because this process is not memory-managed
default 15:19:40.673480+0000 runningboardd [app:67608] Ignoring suspend because this process is not lifecycle managed
default 15:19:40.673088+0000 runningboardd Assertion 410-360-151013 (target:[app:67608]) will be created as active
default 15:19:40.673736+0000 runningboardd [app:67608] Set darwin role to: UserInteractiveFocal
default 15:19:40.674107+0000 runningboardd [app:67608] Ignoring GPU update because this process is not GPU managed
default 15:19:40.677840+0000 runningboardd Calculated state for app: running-active (role: UserInteractiveFocal)
default 15:19:40.681386+0000 runningboardd Acquiring assertion targeting [app:67608] from originator [daemon:524] with description
]>
default 15:19:40.681581+0000 runningboardd Assertion 410-524-151015 (target:[app:67608]) will be created as active
default 15:19:40.684686+0000 runningboardd Acquiring assertion targeting [app:67608] from originator [daemon:360] with description
]>
default 15:19:40.685045+0000 runningboardd Assertion 410-360-151016 (target:[app:67608]) will be created as active
default 15:19:40.686079+0000 runningboardd [app:67608] Ignoring jetsam update because this process is not memory-managed
default 15:19:40.686269+0000 runningboardd [app:67608] Ignoring suspend because this process is not lifecycle managed
default 15:19:40.686485+0000 runningboardd Invalidating assertion 410-360-150998 (target:[app:67608]) from originator [daemon:360]
default 15:19:40.686394+0000 runningboardd [app:67608] Ignoring GPU update because this process is not GPU managed
default 15:19:40.734179+0000 runningboardd Acquiring assertion targeting [app:67608] from originator [daemon:391] with description ,
]>
default 15:19:40.734232+0000 runningboardd Assertion 410-391-151018 (target:[app:67608]) will be created as active
default 15:19:40.735018+0000 runningboardd [app:67608] Ignoring jetsam update because this process is not memory-managed
default 15:19:40.735032+0000 runningboardd [app:67608] Ignoring suspend because this process is not lifecycle managed
default 15:19:40.735047+0000 runningboardd [app:67608] Ignoring GPU update because this process is not GPU managed
default 15:19:40.735416+0000 runningboardd Calculated state for app: running-active (role: UserInteractiveFocal)
default 15:19:40.759833+0000 runningboardd Acquiring assertion targeting [app:67608] from originator [daemon:391] with description ,
]>
default 15:19:40.759941+0000 runningboardd Assertion 410-391-151019 (target:[app:67608]) will be created as active
default 15:19:40.760381+0000 runningboardd Calculated state for app: running-active (role: UserInteractiveFocal)
default 15:19:40.760417+0000 runningboardd [app:67608] Ignoring jetsam update because this process is not memory-managed
default 15:19:40.760482+0000 runningboardd [app:67608] Ignoring suspend because this process is not lifecycle managed
default 15:19:40.760565+0000 runningboardd [app:67608] Ignoring GPU update because this process is not GPU managed
default 15:19:40.761411+0000 runningboardd Invalidating assertion 410-391-151009 (target:[app:67608]) from originator [daemon:391]
default 15:19:40.806262+0000 runningboardd [app:67608] Ignoring jetsam update because this process is not memory-managed
default 15:19:40.806554+0000 runningboardd [app:67608] Ignoring suspend because this process is not lifecycle managed
default 15:19:40.806658+0000 runningboardd [app:67608] Ignoring GPU update because this process is not GPU managed
default 15:19:40.806829+0000 runningboardd Calculated state for app: running-active (role: UserInteractiveFocal)
default 15:19:40.976644+0000 runningboardd Assertion did invalidate due to timeout: 410-524-150997 (target:[app:67608])
fault 15:19:41.844854+0000 UTM Invalid timestamps for HID response delay: 100151903243958 to 2403646415738
fault 15:19:42.043801+0000 UTM NSToolbarItem.minSize and NSToolbarItem.maxSize methods are deprecated. Usage may result in clipping of items. It is recommended to let the system measure the item automatically using constraints.
fault 15:19:42.043888+0000 UTM NSToolbarItem.minSize and NSToolbarItem.maxSize methods are deprecated. Usage may result in clipping of items. It is recommended to let the system measure the item automatically using constraints.
fault 15:19:42.089364+0000 UTM Invalid timestamps for HID response delay: 100152105224833 to 2403652284951
fault 15:19:42.124900+0000 UTM Publishing changes from background threads is not allowed; make sure to publish values from the main thread (via operators like receive(on:)) on model updates.
default 15:19:42.132205+0000 UTM container_create_or_lookup_app_group_path_by_app_group_identifier: success
default 15:19:42.132824+0000 UTM container_create_or_lookup_app_group_path_by_app_group_identifier: success
default 15:19:42.133480+0000 UTM container_create_or_lookup_app_group_path_by_app_group_identifier: success
default 15:19:42.145524+0000 UTM Running: -L /Applications/UTM.app/Contents/Resources/qemu -S -spice "unix=on,addr=/Users/pabloambram/Library/Group Containers/WDNLXAD4W8.com.utmapp.UTM/D19F2FDB-7354-41AB-9FBC-6911881F67A5.spice,disable-ticketing=on,image-compression=off,playback-compression=off,streaming-video=off,gl=off" -chardev spiceport,id=org.qemu.monitor.qmp,name=org.qemu.monitor.qmp.0 -mon chardev=org.qemu.monitor.qmp,mode=control -nodefaults -vga none -device e1000,mac=FA:A2:51:1C:23:5B,netdev=net0 -netdev user,id=net0,net=10.0.2.0/24,dhcpstart=10.0.2.15,hostfwd=tcp:127.0.0.1:4082-10.0.2.16:4081 -device e1000,mac=7A:F5:CD:52:FD:2E,netdev=net1 -netdev vmnet-bridged,id=net1,ifname=en0 -device e1000,mac=AE:66:0B:56:55:BE,netdev=net2 -netdev vmnet-shared,id=net2 -device virtio-vga -smp cpus=1,sockets=1,cores=1,threads=1 -machine q35,vmport=off,i8042=off -accel tcg,tb-size=1024 -global PIIX4_PM.disable_s3=1 -global ICH9-LPC.disable_s3=1 -m 4096 -audiodev coreaudio,id=audio0 -device intel-hda -device hda-duplex,audiodev=audio0 -u<…>
default 15:19:42.332417+0000 UTM Failed to connect to SPICE: (null)
default 15:19:42.817794+0000 runningboardd Invalidating assertion 410-360-151013 (target:[app:67608]) from originator [daemon:360]
default 15:19:42.827080+0000 runningboardd Invalidating assertion 410-391-151012 (target:[app:67608]) from originator [daemon:391]
default 15:19:42.829400+0000 runningboardd Invalidating assertion 410-391-151018 (target:[app:67608]) from originator [daemon:391]
default 15:19:42.862734+0000 runningboardd Acquiring assertion targeting [app:67608] from originator [daemon:391] with description ,
]>
default 15:19:42.862799+0000 runningboardd Assertion 410-391-151036 (target:[app:67608]) will be created as active
default 15:19:42.863048+0000 runningboardd [app:67608] Ignoring jetsam update because this process is not memory-managed
default 15:19:42.863046+0000 runningboardd Calculated state for app: running-active (role: UserInteractiveFocal)
default 15:19:42.863121+0000 runningboardd [app:67608] Ignoring suspend because this process is not lifecycle managed
default 15:19:42.863230+0000 runningboardd [app:67608] Ignoring GPU update because this process is not GPU managed
default 15:19:42.863881+0000 runningboardd Invalidating assertion 410-391-151019 (target:[app:67608]) from originator [daemon:391]
default 15:19:42.908987+0000 runningboardd [app:67608] Ignoring jetsam update because this process is not memory-managed
default 15:19:42.909003+0000 runningboardd [app:67608] Ignoring suspend because this process is not lifecycle managed
default 15:19:42.909038+0000 runningboardd [app:67608] Set darwin role to: UserInteractiveNonFocal
default 15:19:42.909254+0000 runningboardd [app:67608] Ignoring GPU update because this process is not GPU managed
default 15:19:42.909341+0000 runningboardd Calculated state for app: running-active (role: UserInteractiveNonFocal)
default 15:19:43.255574+0000 UTM Failed to connect to SPICE: Error Domain=com.utmapp.utm Code=-1 "Internal error trying to connect to SPICE server." UserInfo={NSLocalizedDescription=Internal error trying to connect to SPICE server.}
**Upload VM**
[config.plist.zip](https://github.com/utmapp/UTM/files/11666360/config.plist.zip)
edit: added the screenshot of the error
Contributor guide
Assessment
This issue has not been assessed yet.