[DragonFlyBSD - Bug #2789] re: Tcplay ---> Could not open /dev/crypto

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sun Feb 15 23:40:04 PST 2015


Issue #2789 has been updated by sepherosa.


On Sun, Feb 15, 2015 at 7:56 AM,
<bugtracker-admin at leaf.dragonflybsd.org> wrote:
> Issue #2789 has been reported by garytivey512.
>
> ----------------------------------------
> Bug #2789: re: Tcplay ---> Could not open /dev/crypto
> http://bugs.dragonflybsd.org/issues/2789
>
> * Author: garytivey512
> * Status: New
> * 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


How about kldload cryptodev.ko?


> Header encryption failed
> Could not create header
> could not create new volume on /dev/vn0

-- 
Tomorrow Will Never Die

----------------------------------------
Bug #2789: re: Tcplay ---> Could not open /dev/crypto
http://bugs.dragonflybsd.org/issues/2789#change-12593

* Author: garytivey512
* Status: New
* 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



More information about the Bugs mailing list