CD-ROM + MakeMKV

I tried. If the drive is empty I can eject it and I use systemctl stop kodi. As soon as I put a disc in, I can no longer do either.

CoreELEC:~ # eject /dev/sr0 # Success here
CoreELEC:~ # eject /dev/sr0 # Error
eject: /dev/sr0: Input/output error
CoreELEC:~ # systemctl stop kodi
-sh: /usr/bin/systemctl: Input/output error

If I manually eject the disc, remove it and close the tray everything works again, even after the errors! So, only when a disc is in the drive do these errors occur. The disc I’m testing with is a 4K UHD of Real Genius which rips fine in the same drive on my x64 systems.