2 very minor errors.

>   mkdir /tmp/symbols
>   kextutil -n -s /tmp/symbols /var/db/openafs/etc/afs.kext
>   cp -R /var/db/openafs/etc/afs.kext /tmp/symbols
>   gdb --arch=i386 /mach_kernel
>   (gdb) add_kext /tmp/symbols/afs.kext

technically, it's add-kext. I don't know if add_kext works.

>   (gdb) disassemble afs_GetDCache
> )
>
> We're relatively lucky here, as near the panic location is a call to 
> rx_EndCall(), the last of 2 that occur in that GetDCache.

The 2nd of 3. The analysis otherwise holds.

> Lining this up with the corresponding source code, the last call to 
> rx_EndCall occurs at line 2219 of afs_dcache.c, which looks something like:
>
>    if (length > size) {
>        /* The fileserver told us it is going to send more data
>         * than we requested. It shouldn't do that, and
>         * accepting that much data can make us take up more
>         * cache space than we're supposed to, so error. */
>        code = rx_Error(tcall);
>        RX_AFS_GUNLOCK();
>        code1 = rx_EndCall(tcall, code);
>        RX_AFS_GLOCK();
>        tcall = (struct rx_call *)0;
>        code = EIO;
>    }
>
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to