Subject: cgdconfig: can't open cgd "cgd0", after update
To: None <current-users@NetBSD.org>
From: Alessandro Manunza <alessandromanunza@tiscali.it>
List: current-users
Date: 05/30/2005 15:03:30
This is a multi-part message in MIME format.
------=_NextPart_000_0000_01C56528.BE73BB40
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi folk,
I updated my NetBSD box yesterday.
I cvs updated, ./build.sh distribution and install=/, ./build.sh new kenel
with
pseudo-device cgd 4 # cryptographic disk devices
(I leaved it as it was).
Than I postinstall && etcupdate. After a reboot, all works fine, except the
crypt_devices startup:
# cgdconfig -V ffs cgd0 /dev/wd0e
cgdconfig: can't open cgd "cgd0", "/dev/rcgd0d"
I run ./MAKEDEV cgd0 in /dev without errors but it don't solve the problem.
I run ./MAKEDEV rcgd0 in /dev and I get:
./MAKEDEV: rcgd0: unknown device
I list /dev:
# ls -la cgd0*
brw-r----- 1 root operator 21, 0 May 2 15:39 cgd0a
brw-r----- 1 root operator 21, 1 May 2 15:39 cgd0b
brw-r----- 1 root operator 21, 2 May 2 15:39 cgd0c
brw-r----- 1 root operator 21, 3 May 2 15:39 cgd0d
brw-r----- 1 root operator 21, 4 May 2 15:39 cgd0e
brw-r----- 1 root operator 21, 5 May 2 15:39 cgd0f
brw-r----- 1 root operator 21, 6 May 2 15:39 cgd0g
brw-r----- 1 root operator 21, 7 May 2 15:39 cgd0h
brw-r----- 1 root operator 21, 524288 May 2 15:39 cgd0i
brw-r----- 1 root operator 21, 524289 May 2 15:39 cgd0j
brw-r----- 1 root operator 21, 524290 May 2 15:39 cgd0k
brw-r----- 1 root operator 21, 524291 May 2 15:39 cgd0l
brw-r----- 1 root operator 21, 524292 May 2 15:39 cgd0m
brw-r----- 1 root operator 21, 524293 May 2 15:39 cgd0n
brw-r----- 1 root operator 21, 524294 May 2 15:39 cgd0o
brw-r----- 1 root operator 21, 524295 May 2 15:39 cgd0p
# ls -la cgd0*
crw-r----- 1 root operator 93, 0 May 2 15:39 rcgd0a
crw-r----- 1 root operator 93, 1 May 2 15:39 rcgd0b
crw-r----- 1 root operator 93, 2 May 2 15:39 rcgd0c
crw-r----- 1 root operator 93, 3 May 3 20:20 rcgd0d
crw-r----- 1 root operator 93, 4 May 3 20:26 rcgd0e
crw-r----- 1 root operator 93, 5 May 2 15:39 rcgd0f
crw-r----- 1 root operator 93, 6 May 2 15:39 rcgd0g
crw-r----- 1 root operator 93, 7 May 2 15:39 rcgd0h
crw-r----- 1 root operator 93, 524288 May 2 15:39 rcgd0i
crw-r----- 1 root operator 93, 524289 May 2 15:39 rcgd0j
crw-r----- 1 root operator 93, 524290 May 2 15:39 rcgd0k
crw-r----- 1 root operator 93, 524291 May 2 15:39 rcgd0l
crw-r----- 1 root operator 93, 524292 May 2 15:39 rcgd0m
crw-r----- 1 root operator 93, 524293 May 2 15:39 rcgd0n
crw-r----- 1 root operator 93, 524294 May 2 15:39 rcgd0o
crw-r----- 1 root operator 93, 524295 May 2 15:39 rcgd0p
I verified that /etc/cgd/wd0e exist, and it is not changed by last update
I don't know how to solve this problem.
All suggestions are appreciated!!!!
Thank You and sorry for my English.
Alessandro M., Italy
------=_NextPart_000_0000_01C56528.BE73BB40
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"country-region"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.StileMessaggioDiPostaElettronica17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DIT link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>Hi folk,<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>I updated my NetBSD box =
yesterday.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>I cvs updated, ./build.sh distribution and =
install=3D/,
./build.sh new kenel with <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>pseudo-device
cgd &nbs=
p;
4 # cryptographic disk =
devices<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>(I leaved it as it =
was).<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>Than I postinstall && etcupdate. After =
a reboot,
all works fine, except the <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>crypt_devices =
startup:<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'># cgdconfig -V ffs cgd0 =
/dev/wd0e<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>cgdconfig: can't open cgd "cgd0",
"/dev/rcgd0d"<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>I run ./MAKEDEV cgd0 in /dev without errors =
but
it don’t solve the problem.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>I run ./MAKEDEV rcgd0 in /dev and I =
get:<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>./MAKEDEV: rcgd0: unknown =
device<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>I list /dev:<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'># ls -la cgd0*<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>brw-r----- 1 root operator
21, 0 May 2 15:39 =
cgd0a<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>brw-r----- 1 root operator
21, 1 May 2 15:39 =
cgd0b<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>brw-r----- 1 root operator
21, 2 May 2 15:39 =
cgd0c<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>brw-r----- 1 root operator
21, 3 May 2 15:39 =
cgd0d<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>brw-r----- 1 root operator
21, 4 May 2 15:39 =
cgd0e<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>brw-r----- 1 root operator
21, 5 May 2 15:39 =
cgd0f<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>brw-r----- 1 root operator
21, 6 May 2 15:39 =
cgd0g<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>brw-r----- 1 root operator =
21,
7 May 2 15:39 cgd0h<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>brw-r----- 1 root operator =
21,
524288 May 2 15:39 cgd0i<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>brw-r----- 1 root operator =
21,
524289 May 2 15:39 cgd0j<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>brw-r----- 1 root operator =
21,
524290 May 2 15:39 cgd0k<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>brw-r----- 1 root operator =
21,
524291 May 2 15:39 cgd0l<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>brw-r----- 1 root operator =
21,
524292 May 2 15:39 cgd0m<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>brw-r----- 1 root operator =
21,
524293 May 2 15:39 cgd0n<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>brw-r----- 1 root operator =
21,
524294 May 2 15:39 cgd0o<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>brw-r----- 1 root operator =
21,
524295 May 2 15:39 cgd0p<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'># ls -la =
cgd0*<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>crw-r----- 1 root operator
93, 0 May 2 15:39 =
rcgd0a<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>crw-r----- 1 root operator
93, 1 May 2 15:39 =
rcgd0b<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>crw-r----- 1 root operator
93, 2 May 2 15:39 =
rcgd0c<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>crw-r----- 1 root operator
93, 3 May 3 20:20 =
rcgd0d<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>crw-r----- 1 root operator
93, 4 May 3 20:26 =
rcgd0e<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>crw-r----- 1 root operator
93, 5 May 2 15:39 =
rcgd0f<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>crw-r----- 1 root operator
93, 6 May 2 15:39 =
rcgd0g<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>crw-r----- 1 root operator
93, 7 May 2 15:39 =
rcgd0h<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>crw-r----- 1 root operator =
93,
524288 May 2 15:39 rcgd0i<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>crw-r----- 1 root operator =
93,
524289 May 2 15:39 rcgd0j<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>crw-r----- 1 root operator =
93,
524290 May 2 15:39 rcgd0k<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>crw-r----- 1 root operator =
93,
524291 May 2 15:39 rcgd0l<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>crw-r----- 1 root operator =
93,
524292 May 2 15:39 rcgd0m<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>crw-r----- 1 root operator =
93,
524293 May 2 15:39 rcgd0n<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>crw-r----- 1 root operator =
93,
524294 May 2 15:39 rcgd0o<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>crw-r----- 1 root operator =
93,
524295 May 2 15:39 rcgd0p<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>I verified that /etc/cgd/wd0e exist, and it is =
not
changed by last update<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>I don’t know how to solve this =
problem.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>All suggestions are =
appreciated!!!!<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>Thank You and sorry for my =
English.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-family:Arial'>Alessandro M., <st1:country-region =
w:st=3D"on"><st1:place
=
w:st=3D"on">Italy</st1:place></st1:country-region><o:p></o:p></span></fon=
t></p>
</div>
</body>
</html>
------=_NextPart_000_0000_01C56528.BE73BB40--