[OpenAFS] FW: afs_syscall - problem!

Derek Atkins warlord@MIT.EDU
Tue, 25 May 2004 09:46:23 -0400


"Luis Bivar Ramos" <lbramos@netcabo.pt> writes:

> Why is it wrong to have the 2 modules?

Uh, because they are conflicting???  Would you install two different
reiserfs modules?  Or two different ext3 modules?  Of course not!  So
why two AFS modules?

> /vicepa is for the server, you're right ;)
>
> My cache is in:
>
> /usr/local/etc/openafs/cache#

Right, and what kind of file system is it?

> Sorry, but I'm newbie at all this, so you have to be a little patient with
> me ;)

I'm trying to be.

> Thanks for your help,

-derek

> Luis Bivar Ramos
>=20=20
>
> -----Original Message-----
> From: Derek Atkins [mailto:warlord@MIT.EDU]=20
> Sent: ter=E7a-feira, 25 de Maio de 2004 14:35
> To: Luis Bivar Ramos
> Cc: openafs-info@openafs.org
> Subject: Re: [OpenAFS] FW: afs_syscall - problem!
>
> "Luis Bivar Ramos" <lbramos@netcabo.pt> writes:
>
>> Hi Derek,
>>
>> Thanks for your help.
>>
>> Here go=EAs:
>>
>> The lsmod command, returns this:
>>
>> lsmod
>> Module                  Size  Used by    Tainted: PF=20
>> libafs-2.4.18-i386    421328   0  (unused)
>> openafs               421264   0
>
> Wait, you've got both libafs AND openafs modules?!?  Something is clearly
> wrong here....
>
>> /afs exists and it's empty.
>>
>> I've mounted /vicepa doing:
>
> /vicepa has nothing to do with the client.  What kind of file system
> is /usr/vice/cache?
>
>> dd if=3D/dev/zero of=3D/var/lib/openafs/vicepa bs=3D1024k count=3D32
>> mke2fs /var/lib/openafs/vicepa
>> mkdir /vicepa
>> mount -oloop /var/lib/openafs/vicepa /vicepa
>>
>> Can you help me?
>
> I'm trying....
>
>> Luis Bivar Ramos
>
> -derek
>
>> Jacomo Ramos & Pinto Lda - Solu=E7=F5es Inform=E1ticas
>> R. C=F3nego Ferreira Pinto 157, 4050-256 Porto
>> Tel: 918218335
>> email: lbramos@jrpinto.com
>> http://www.jrpinto.com
>>
>> -----Original Message-----
>> From: Derek Atkins [mailto:warlord@MIT.EDU]=20
>> Sent: ter=E7a-feira, 25 de Maio de 2004 14:11
>> To: Luis Bivar Ramos
>> Cc: openafs-info@openafs.org
>> Subject: Re: [OpenAFS] FW: afs_syscall - problem!
>>
>> Please CC: openafs-info on all responses...
>>
>> "Luis Bivar Ramos" <lbramos@netcabo.pt> writes:
>>
>>> Hi,
>>>
>>> I've inserted it with=20
>>>
>>> Insmod libafs...
>>
>> And the insmod succeeds?  You've verified this with "lsmod"?
>>
>>> I'm getting out of ideas... Don't know what more I can do...
>>
>> Does /afs exist?
>>
>> Did libafs and afsd come from the same source tree?
>>
>>> Luis Bivar Ramos
>>
>> -derek
>>
>>> Jacomo Ramos & Pinto Lda - Solu=E7=F5es Inform=E1ticas
>>> R. C=F3nego Ferreira Pinto 157, 4050-256 Porto
>>> Tel: 918218335
>>> email: lbramos@jrpinto.com
>>> http://www.jrpinto.com
>>>
>>> -----Original Message-----
>>> From: Derek Atkins [mailto:warlord@MIT.EDU]=20
>>> Sent: ter=E7a-feira, 25 de Maio de 2004 13:22
>>> To: Luis Bivar Ramos
>>> Cc: openafs-info@openafs.org
>>> Subject: Re: [OpenAFS] FW: afs_syscall - problem!
>>>
>>> Are you sure that libafs is properly loaded into the kernel?
>>>
>>> -derek
>>>
>>> "Luis Bivar Ramos" <lbramos@netcabo.pt> writes:
>>>
>>>> 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 unfortunatel=
y,
>>> not a
>>>> single one saying how to fix it~
>>>>
>>>> Can anyone help me?
>>>>
>>>> Best regards,
>>>>
>>>> Luis Bivar Ramos
>>>>
>>>
>>> --=20
>>>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>>>        Member, MIT Student Information Processing Board  (SIPB)
>>>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>>>        warlord@MIT.EDU                        PGP key available
>>>
>>>
>>>
>>>
>>
>> --=20
>>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>>        Member, MIT Student Information Processing Board  (SIPB)
>>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>>        warlord@MIT.EDU                        PGP key available
>>
>>
>>
>>
>
> --=20
>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>        Member, MIT Student Information Processing Board  (SIPB)
>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>        warlord@MIT.EDU                        PGP key available
>
>
>
>

--=20
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available