[OpenAFS-devel] kernel BUG at /scratch/openafs/src/libafs/MODLOAD-2.6.13-MP/rx_kcommon.c:131!

Martin MOKREJŠ mmokrejs@ribosome.natur.cuni.cz
Fri, 02 Sep 2005 14:46:44 +0200


chas williams - CONTRACTOR wrote:
> In message <43180790.8060209@ribosome.natur.cuni.cz>,=?ISO-8859-2?Q?Martin_MOKR
> EJ=A9?= writes:
> 
>># vos create phylo /vicepa i386_linux26'
>>
>>>vos create phylo /vicepa i386_linux26'.usr
>>
>>vos: the name of the root volume i386_linux26
>>vos create phylo /vicepa i386_linux26.usr exceeds the size limit of 22
>># grep afsd /etc/conf.d/local.start 
>>#/usr/vice/etc/afsd -chunk 20 -nosettime -stat 1000 -daemons 12 -dcache 1000 -
>>volumes 10 -files 300000
>># vim /etc/conf.d/local.start 
>># grep afsd /etc/conf.d/local.start 
>>/usr/vice/etc/afsd -chunk 20 -nosettime -stat 1000 -daemons 12 -dcache 1000 -v
>>olumes 100 -files 300000
>># 
>># /usr/vice/etc/afsd -shutdown
>>afsd: Shutting down all afs processes and afs state
>>afsd: AFS still mounted; Not shutting down
>># umount /afs
>>umount: /afs: device is busy
>>umount: /afs: device is busy
>># cd /
>># umount /afs
>>Segmentation fault
> 
> 
> did anything happen between starting afsd manually and shutting down

Well, yes, as you have seen, I created root.cell volume, made RO copy of it,
made few afs users, have made mounpoints for few volumes. Everyhting went smoothly
until I wanted to shutdown afs.

> afs?  i believe you are supposed to umount /afs and not use afsd -shutdown.
> i suppose afsd shouldnt let you do this.

Well that's what happened. I tried -shutdown but it complained, so I tried umount
but was in /afs/......, so on the third trial I wasn't using the /afs
tree and then it segfaulted.