If the host issues an identify command during an action of writing data in NCQ for a drive that is connected inside a PC and not an external case, the data's writing can be destabilized, and can lead to data loss.
This is relevant for Samsung-model internal drives with the following model numbers:
To correct this problem, please use the DOS patch that is linked below.
Backup your data before using this firmware patch tool.
Please download the file.
Save the .exe file to a bootable media, like a CD/DVD, a USB drive, or a floppy diskette.
Do not remove the bootable media once the file is copied to it.
Connect the drive to the primary master position in the computer.
Boot your computer from the bootable media, which will launch the firmware flash program.
When the system displays that the firmware flash has successfully completed, remove the bootable media.
Shut down the computer.
Do not reboot (Ctrl+Alt+Delete) your computer or push the reset button during the firmware patching/flashing process.
Doing so can cause the process to fail and can in some cases destroy the hard drive.
Download the HD204UI_JP.exe patch file here.