Ejecting a virtual media causes macOS to crash #385

Open
opened 2026-02-20 08:22:22 -05:00 by deekerman · 1 comment
Owner

Originally created by @dariooo512 on GitHub (Aug 11, 2025).

Disclaimer

  • I have read and understood the disclaimer.

Application version

0.4.6

System version

0.2.5

Device model

JetKVM

Extension model

None

Remote device Hardware

Mac Mini M4

Remote device OS

MacOs 15.6

Bug description

Ejecting the virtual media after usage causes macOS 15.6 to show the loading cursor icon and freeze:
The macOS UI becomes unresponsive, and it is required to restart the machine to solve the issue.

The issue happens 90% of the time.

Image
Originally created by @dariooo512 on GitHub (Aug 11, 2025). ### Disclaimer - [x] I have read and understood the disclaimer. ### Application version 0.4.6 ### System version 0.2.5 ### Device model JetKVM ### Extension model None ### Remote device Hardware Mac Mini M4 ### Remote device OS MacOs 15.6 ### Bug description Ejecting the virtual media after usage causes macOS 15.6 to show the loading cursor icon and freeze: The macOS UI becomes unresponsive, and it is required to restart the machine to solve the issue. The issue happens 90% of the time. <img width="290" height="172" alt="Image" src="https://github.com/user-attachments/assets/c00f25d0-29a7-4320-9093-751f210b46b9" />
Author
Owner

@ym commented on GitHub (Aug 11, 2025):

I wasn’t able to reproduce this issue on 15.3.1 (M1 Pro) or 15.7 (M4 Max), but I did notice something more interesting. the OS doesn’t allow me to eject the image. The eject function works fine when the controlled device is Windows.

2025-08-11T12:40:04Z WRN jetkvm jetkvm Remove Mass Storage Image Error error="failed to set image path: write /sys/kernel/config/usb_gadget/jetkvm/functions/mass_storage.usb0/lun.0/file: device or resource busy"

Could you please share the logs from /userdata/jetkvm/last.log when you attempt to eject the image?
That would be very helpful for troubleshooting. If you prefer not to share the logs publicly, you can send them to siyuan+issue730#buildjet.com.

@ym commented on GitHub (Aug 11, 2025): I wasn’t able to reproduce this issue on 15.3.1 (M1 Pro) or 15.7 (M4 Max), but I did notice something more interesting. the OS doesn’t allow me to eject the image. The eject function works fine when the controlled device is Windows. ``` 2025-08-11T12:40:04Z WRN jetkvm jetkvm Remove Mass Storage Image Error error="failed to set image path: write /sys/kernel/config/usb_gadget/jetkvm/functions/mass_storage.usb0/lun.0/file: device or resource busy" ``` Could you please share the logs from `/userdata/jetkvm/last.log` when you attempt to eject the image? That would be very helpful for troubleshooting. If you prefer not to share the logs publicly, you can send them to `siyuan+issue730#buildjet.com`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/kvm#385
No description provided.