[nas] NAS or Solaris deadlock...

Jon Trulson jon at radscan.com
Thu Feb 14 21:17:07 MST 2002


On Thu, 14 Feb 2002, Erik Inge Bolsø wrote:

> Date: Thu, 14 Feb 2002 11:20:57 +0100 (CET)
> From: Erik Inge Bolsø <knan at mo.himolde.no>
> To: Jon Trulson <jon at radscan.com>
> Cc: nas at radscan.com, Ziying Sherwin <sherwin at nlm.nih.gov>,
>      "R. P. Channing [\"Rick\"] Rodg, ers" <rodgers at nlm.nih.gov>
> Subject: Re: [nas] NAS or Solaris deadlock...
> 
> On Wed, 13 Feb 2002, Jon Trulson wrote:
> >On Thu, 14 Feb 2002, Erik Inge Bolsø wrote:
> >> Greetings Jon and all.
> >>
> >> After some rather extensive debugging, it seems that we've hit either a
[...]
> 
> 50-200, I'd guess - mpg123 iterates through all combinations of a small
> list of frequencies, formats and mono/stereo, and tries to set those
> settings to see what it has available. In current audiooss, that's handled
> by a teardown-and-reopen-with-new-settings. I believe I've seen a patch to
> handle it in a more lazy way... Tobias?
> 

	Hey... that's quite a few ;-)  I wonder, if in your open routine,
you could just establish another connection to nasd that you just ignore
once established.  This way, since there will always be a connection
active, the server won't reset, and thereby open the device...

	This is kind of hacky I know, but if the truss output shows that
open() is indeed where it is hanging, then the only other alternative is
some solaris kernel debugging ;-)

[...]

-- 
Jon Trulson    mailto:jon at radscan.com
ID: 1A9A2B09, FP: C23F328A721264E7 B6188192EC733962
PGP keys at http://radscan.com/~jon/PGPKeys.txt
#include <std/disclaimer.h>
Bad Color Temperature, Too much Peach.




More information about the Nas mailing list