Issue #2789 has been updated by liweitianux. Status changed from New to Resolved
This issue has been answered. The 'cryptodev' module (built-in by default) must be loaded for using tcplay(8). ---------------------------------------- Bug #2789: re: Tcplay ---> Could not open /dev/crypto http://bugs.dragonflybsd.org/issues/2789#change-13728 * Author: garytivey512 * Status: Resolved * Priority: Normal * Assignee: * Category: Crypto * Target version: 4.0.x ---------------------------------------- While trying to create an encrypted container using tcplay I got this error message. If anyone can help out on this one, it would be appreciated! container(file) is zeroed-out and mounted using vnconfig vn0 imagefile kldstat shows dm.ko and dm_target_crypt.ko loaded, but crypto.ko is not loaded --- if I try to manually load crypto.ko the returned message is "interface crypto.1 already present in the KLD 'kernel'!" black2# tcplay --create --device=/dev/vn0 Passphrase: Repeat passphrase: Summary of actions: - Completely erase *EVERYTHING* on /dev/vn0 - Create volume on /dev/vn0 Are you sure you want to proceed? (y/n) y Securely erasing the volume... This process may take some time depending on the size of the volume Creating volume headers... Depending on your system, this process may take a few minutes as it uses true random data which might take a while to refill Could not open /dev/crypto: No such file or directory Header encryption failed Could not create header could not create new volume on /dev/vn0 -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account