[OpenAFS-devel] still seeing iput errors on 2.2.19...

Nathan Neulinger nneul@umr.edu
Sat, 14 Apr 2001 15:17:41 -0500


Chaskiel M Grundman wrote:
> 
> Excerpts from internet.computing.openafs.devel: 9-Apr-101
> [OpenAFS-devel] still seein.. by "Neulinger, Nathan"@umr.
> > What is the 0xffff0000? I don't see i_count being and'ed with anything
> like
> > that anywhere else in the kernel sources. Does afs have a 2^16-1 limit
> on
> > i_count or something like that?
> In some versions of afs, there is/was a piece of code that
> *intentionally* got extra refs on the AFS root vnode (e.g. the one
> corresponding to /afs). I'm guessing that this code is a (too-) clever
> attempt to catch a case where that code was risking an overflow of the
> i_count.
> 
> Are you doing something that actually has that many refs on an AFS
> vnode? It's possible that you are seeing this bug in action.

Interesting... this just happened again on the machine it usually
happens on, but I happened to notice something about it:

IPUT Bad refCount 65558 on inode 0xd0340a28
Process httpd (pid: 22243, process nr: 87, stackpage=c166f000)
IPUT Bad refCount 65559 on inode 0xd0340a28
Process httpd (pid: 678, process nr: 57, stackpage=c8583000)
IPUT Bad refCount 65562 on inode 0xd0340a28
Process httpd (pid: 13810, process nr: 8, stackpage=ce8bd000)
IPUT Bad refCount 65563 on inode 0xd0340a28
Process process-servers (pid: 13889, process nr: 76, stackpage=c7ca9000)
IPUT Bad refCount 65564 on inode 0xd0340a28
Process httpd (pid: 13798, process nr: 59, stackpage=c7bb9000)
IPUT Bad refCount 65565 on inode 0xd0340a28
Process httpd (pid: 13785, process nr: 50, stackpage=cdd87000)
IPUT Bad refCount 65566 on inode 0xd0340a28
Process httpd (pid: 13855, process nr: 47, stackpage=c442d000)
IPUT Bad refCount 65569 on inode 0xd0340a28
Process httpd (pid: 13868, process nr: 87, stackpage=c166f000)
IPUT Bad refCount 65570 on inode 0xd0340a28
Process httpd (pid: 13991, process nr: 74, stackpage=c25d5000)
IPUT Bad refCount 65571 on inode 0xd0340a28
Process httpd (pid: 14031, process nr: 47, stackpage=c442d000)
IPUT Bad refCount 65572 on inode 0xd0340a28
Process httpd (pid: 14019, process nr: 78, stackpage=cdd87000)
IPUT Bad refCount 65579 on inode 0xd0340a28
Process httpd (pid: 14072, process nr: 48, stackpage=cdec9000)
IPUT Bad refCount 65580 on inode 0xd0340a28
Process httpd (pid: 13957, process nr: 85, stackpage=c4489000)
IPUT Bad refCount 65581 on inode 0xd0340a28


Notice the refCount? Looks to me like it's just reaching a threshold.
Maybe somewhere the refCount isn't being decremented where it's supposed
to be. I do find it odd though that the refCount is not increasing by a
constant... you'd think it would.

I'm changing the osi_Panic in my code to a printk... Maybe that will at
least mask the problem for me. :)

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@umr.edu
University of Missouri - Rolla         Phone: (573) 341-4841
CIS - Systems Programming                Fax: (573) 341-4216