NetBSD Problem Report #34236
From www@NetBSD.org Sat Aug 19 15:10:08 2006
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
id E2C4963B964; Sat, 19 Aug 2006 15:10:08 +0000 (UTC)
Message-Id: <20060819151008.E2C4963B964@narn.NetBSD.org>
Date: Sat, 19 Aug 2006 15:10:08 +0000 (UTC)
From: fenicottero@gmail.com
Reply-To: fenicottero@gmail.com
To: gnats-bugs@NetBSD.org
Subject: some problems with CGD-device creation similar on "race condition" problem
X-Send-Pr-Version: www-1.0
>Number: 34236
>Category: bin
>Synopsis: some problems with CGD-device creation similar on "race condition" problem
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Aug 19 15:15:00 +0000 2006
>Originator: Oleg Pilyavets
>Release: 3.0-stable
>Organization:
Lebedev Physical Institute
>Environment:
NetBSD drummer.intranet.lebedev.ru 3.0 NetBSD 3.0 (MYKERNEL) #5: Sun Jun 18 03:30:04 MSD 2006 root@spinor.triniti.nat:/usr/src/sys/arch/i386/compile/MYKERNEL i386
>Description:
I have a computer with the next parameters:
233MG cpu, 196Mb RAM.
In my case it was the next situation: from one hard disk to another many gigabites was written during several hours (one 8Gb encrypted rar arxive was unraring and writing to cgd-device). I tried to create extra cgd-device in the same moment, but the next eror sometimes occurd:
# cd /home/myuser
# cgdconfig -g -o /etc/cgd/wd1i -V disklabel aes-cbc 256
cgdconfig: could not calibrate pkcs5_pbkdf2
cgdconfig: Failed to generate defaults for keygen
#
In addition to vnconfig wrote sometimes:
# cd /etc/cgd
# vnconfig -l
vnconfig: VNDIOCGET: Inappropriate ioctl for device
#
and:
# cd /etc/cgd
# vnconfig -l vnd0
vnconfig: VNDIOCGET: Inappropriate ioctl for device
# vnconfig -l vnd1
vnd1: not in use
# vnconfig -l vnd2
vnd2: not in use
# vnconfig -l vnd3
vnd3: not in use
#
As the resault I could not create and configure extra cgd-device before rebooting my system.
>How-To-Repeat:
It's enough difficult to repeat this problem but I heard from other NetBSD users that they had the same situation
(cgdconfig: could not calibrate pkcs5_pbkdf2
cgdconfig: Failed to generate defaults for keygen)
trying to create cgd-device.
>Fix:
Temporarily, rebooting of the system solves this problem.
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.