Issue
Linux systems with H110-E1 motherboard and DVD drive connected to SATA 10 header are affected. When local evClient is used to export video to DVD, the OS and system may freeze and never watchdog. Newer systems instead ship with DVD connected to a non-problematic SATA port.
<br>
Workaround
Given the risk inherent in changing internal assembly, the best course of action is to comment out the following lines in /lib/udev/rules.d/60-persistent-storage.rules
From:
# ATAPI devices (SPC-3 or later)
KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}!="?*", SUBSYSTEMS=="scsi", ATTRS{type}=="5", ATTRS{scsi_level}=="[6-9]*", IMPORT{program}="ata_id --export $devnode"
To:
# ATAPI devices (SPC-3 or later)
# KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}!="?*", SUBSYSTEMS=="scsi", ATTRS{type}=="5", ATTRS{scsi_level}=="[6-9]*", IMPORT{program}="ata_id --export $devnode"
An easy way to do this is with the following command:
sudo sed -i '/ATAPI/!b;n;s/KERNEL/# KERNEL/' /lib/udev/rules.d/60-persistent-storage.rules
What this is doing:
- Inspired by ​https://stackoverflow.com/questions/18620153/find-matching-text-and-replace-next-line
- sed -i modifies the specified file.
- /ATAPI/ locates the first occurrence of string “ATAPI”.
- Trailing /g would apply to every occurrence which we don’t want here.
- !b breaks current processing and applies commands after semicolon.
- n puts the subsequent line (“KERNEL….”) into pattern space.
- s/TOKEN/REPLACE/ replaces “TOKEN” with “REPLACE”. Here, we’re just replacing “KERNEL” with prefixed “# KERNEL” to comment out the line.
You could always put this into a bash script if that helps (make sure to chmod 755)
#!/bin/bash
sudo sed -i '/ATAPI/!b;n;s/KERNEL/# KERNEL/' /lib/udev/rules.d/60-persistent-storage.rules
Because this is modifying a udev rule, you could force udev to refresh, but it is suggested to rebooting after making the change.