Subject: Re: kern/13352: NEW_PIPE causes occasional panic: lockmgr: release of unlocked lock!
To: Jaromír <jdolecek@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 07/05/2001 00:50:39
>  could you check if rev. 1.5 of kern/sys_pipe.c improves at least              
>  the mpg123 thing?                                                             

No, it doesn't seem to make any difference....  (no crashes yet either
though!  ;-)

I'm not sure I can blame NEW_PIPE on that problem anyway though.  There
are a lot of things that could cause the blast of static, eg. input
starvation in auplay, or even in the NCD itself.  All I know is that
everything pauses cleanly when the MP3 stream itself is suffering (until
which point too many packets get lost and mpg123 gives up); and that
"heavy" NFS client activity is the only thing that seems to trigger it.

FYI here's nfsstat after there have been two or three such "events":
(the server is a Sparc-2 running NetBSD-1.3.2)

$ nfsstat
Client Info:
RPC Counts: (35572 calls)
      null         getattr         setattr          lookup          access
         0  0%        9897 27%          61  0%        2652  7%       20662 58%
  readlink            read           write          create           mkdir
        73  0%         562  1%         949  2%          21  0%           1  0%
   symlink           mknod          remove           rmdir          rename
        74  0%           0  0%          80  0%           0  0%          11  0%
      link         readdir     readdirplus          fsstat          fsinfo
         0  0%          25  0%           0  0%         370  1%           4  0%
  pathconf          commit        getlease         vacated         evicted
         0  0%         130  0%           0  0%           0  0%           0  0%
      noop
         0  0%
RPC Info:
   timeout         invalid      unexpected         retries        requests
         0               0              31              45           35572
Cache Info:
 attrcache     lookupcache            read           write        readlink
     44590 81%       34778 92%        9194 94%        1464 60%           5  6%
   readdir     direofcache
       229 90%         134 66%

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>     <woods@robohack.ca>
Planix, Inc. <woods@planix.com>;   Secrets of the Weird <woods@weird.com>