[OpenAFS] afs_syscall - problem!

Luis Bivar Ramos lbramos@netcabo.pt
Tue, 25 May 2004 09:51:00 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_000D_01C4423D.C926FBB0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi,
 
I have Debian Linux, with kernel 2.4.18.
 
I installed AFS following the instructions in the Quick Beginnings on
openafs.org, and everything is fine. Except when I run "afsd" I get the
famous message:
 
afsd
afsd: All AFS daemons started.
afsd: Can't mount AFS on /afs(22)
 
I searched the web, and I found that this error is related to afs_syscall
returning -1.
 
I found lots of posts telling what causes this error, but unfortunately, not
a single one saying how to fix it.
 
Can anyone help me? 
 
Best regards,
 
Luis Bivar Ramos
 
 

------=_NextPart_000_000D_01C4423D.C926FBB0
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=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 11">
<meta name=3DOriginator content=3D"Microsoft Word 11">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C4423D.C8DF9270">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:Zoom>75</w:Zoom>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:UseWord2002TableStyleRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState=3D"false" LatentStyleCount=3D"156">
 </w:LatentStyles>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";
	mso-ansi-language:PT;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	mso-style-noshow:yes;
	mso-ansi-font-size:12.0pt;
	mso-bidi-font-size:12.0pt;
	font-family:Arial;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:windowtext;
	font-weight:normal;
	font-style:normal;
	text-decoration:none;
	text-underline:none;
	text-decoration:none;
	text-line-through:none;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;
	mso-header-margin:35.4pt;
	mso-footer-margin:35.4pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
</style>
<![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:36.0pt'>

<div class=3DSection1>

<p class=3DMsoNormal><span class=3DSpellE><font size=3D3 =
face=3DArial><span lang=3DPT
style=3D'font-size:12.0pt;font-family:Arial'>Hi</span></font></span><font=

face=3DArial><span lang=3DPT =
style=3D'font-family:Arial'>,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span lang=3DPT =
style=3D'font-size:12.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-US'>I have <span =
class=3DSpellE>Debian</span>
Linux, with kernel 2.4.18.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></font=
></p>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-US'>I installed <span =
class=3DSpellE>AFS</span>
following the instructions in the Quick Beginnings on openafs.org, and
everything is fine. Except when I run &#8220;<span =
class=3DSpellE>afsd</span>&#8221;
I get the famous message:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></font=
></p>

<p class=3DMsoNormal><span class=3DSpellE><span class=3DGramE><font =
size=3D3
face=3DArial><span =
style=3D'font-size:12.0pt;font-family:Arial;mso-ansi-language:
EN-US'>afsd</span></font></span></span><font face=3DArial><span =
style=3D'font-family:
Arial;mso-ansi-language:EN-US'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DSpellE><span class=3DGramE><font =
size=3D3
face=3DArial><span =
style=3D'font-size:12.0pt;font-family:Arial;mso-ansi-language:
EN-US'>afsd</span></font></span></span><font face=3DArial><span =
style=3D'font-family:
Arial;mso-ansi-language:EN-US'>: All <span class=3DSpellE>AFS</span> =
daemons
started.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DSpellE><span class=3DGramE><font =
size=3D3
face=3DArial><span =
style=3D'font-size:12.0pt;font-family:Arial;mso-ansi-language:
EN-US'>afsd</span></font></span></span><font face=3DArial><span =
style=3D'font-family:
Arial;mso-ansi-language:EN-US'>: Can't mount <span =
class=3DSpellE>AFS</span> on /<span
class=3DSpellE>afs</span>(22)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></font=
></p>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-US'>I searched the web, and I =
found that
this error is related to <span class=3DSpellE>afs_syscall</span> =
returning -1.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></font=
></p>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-US'>I found lots of posts telling =
what
causes this error, but unfortunately, not a single one saying how to fix =
it&#8230;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></font=
></p>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-US'>Can anyone help me? =
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></font=
></p>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-US'>Best =
regards,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span =
style=3D'font-size:12.0pt;
font-family:Arial;mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></font=
></p>

<p class=3DMsoNormal><font size=3D3 face=3DArial><span lang=3DPT =
style=3D'font-size:12.0pt;
font-family:Arial;mso-no-proof:yes'>Luis Bivar Ramos</span></font><span
lang=3DPT style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DPT
style=3D'font-size:12.0pt;mso-no-proof:yes'>&nbsp;</span><span =
lang=3DPT><o:p></o:p></span></font></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DPT
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_000D_01C4423D.C926FBB0--