Subject: Re: cgdconfig: could not calibrate pkcs5_pbkdf2
To: Jan Danielsson <jan.m.danielsson@gmail.com>
From: Daniel Horecki <shinden@linux.pl>
List: netbsd-users
Date: 08/26/2007 23:36:44
2007/8/26, Jan Danielsson <jan.m.danielsson@gmail.com>:
> Hash: SHA512
>
> Hello all,
>
>    When I run "cgdconfig -g -V disklabel aes-cbc 256" booted from a
> custom boot image, I get this:
>
> cgdconfig: could not calibrate pkcs5_pbkdf2
> cgdconfig: Failed to generate default for keygen
>
>    What am I missing?

From http://www.feyrer.de/NetBSD/bx/blosxom.cgi/nb_20060823_2311.html:

"""
If this step fails with

     cgdconfig: could not calibrate pkcs5_pbkdf2
     cgdconfig: Failed to generate defaults for keygen

make sure that you have enough bits of entropy available for
/dev/random. Just open up an xterm and run something like "ls -lR /"
in it.
"""

Or from cgdconfig:
     cgdconfig: could not calibrate pkcs5_pbkdf2  An error greater than 5% in
     calibration occured.  This could be the result of dynamic processor fre-
     quency scaling technology.  Ensure that the processor clock frequency
     remains static throughout the program's execution.

Choose one ;-)

morr

-- 
Daniel 'Shinden' Horecki
http://morr.pl