[OpenAFS-devel] Panic on ia32/Linux/openafs-1.2.4

Derrick J Brashear shadow@dementia.org
Wed, 5 Jun 2002 14:57:54 -0400 (EDT)


On Wed, 5 Jun 2002, Michael Blandford wrote:

> Here is a panic I can readily reproduce on ia32/Linux/openafs-1.2.4.
> The base OS is redhat 7.1 with kernel 2.4.9-31.
>
> Does this mean something to someone ? :)
>
> Michael
>
> Jun  5 08:17:51 azlx016 kernel: write volumeinfo<1>Unable to handle
> kernel paging request at virtual address ffffffff

afs_UFSGetVolSlot does
        tfile = osi_UFSOpen(volumeInode);
        code = afs_osi_Write(tfile, sizeof(struct fvolume) * afs_FVIndex,
                         &staticFVolume, sizeof(struct fvolume));
        if (code != sizeof(struct fvolume))
            osi_Panic("write volumeinfo");
        osi_UFSClose(tfile);

and it lost because afs_osi_Write didn't return sizeof(struct fvolume)

perchance was your disk full? because one thing which will cause this is:
        if (code == ENOSPC) afs_warnuser("\n\n\n*** Cache partition is
FULL - Decrease cachesize!!! ***\n\n");
        code = -1;