[nas] cc/gcc issues with imake on Solaris 8

Jon Trulson jon at radscan.com
Fri May 14 18:07:06 MDT 2004

On Fri, 14 May 2004 rhfreeman at micron.com wrote:

> From: rhfreeman at micron.com
> Date: Fri, 14 May 2004 07:38:42 +0100
> Subject: RE: [nas] cc/gcc issues with imake on Solaris 8
> To: jon at radscan.com
> Cc: nas at radscan.com
> X-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,NO_REAL_NAME
> 	autolearn=no version=2.60
> > > Yes, that is what it always does. The sample is ~3 seconds long, it
> > > plays fully and then never returns. I then have to kill -9
> > nasd to do
> > > anything.
> > >
> >
> > 	It's a kernel problem then.
> Oh dear!

	I know of no other reason for DRAIN to hang.  DRAIN should return
as soon as the sound card/chip has played all of it's buffered samples.

> > > That doesn't sound too good. I'll be bring this machine
> > down in a couple
> > > of weeks and applying the latest Sun patch cluster, so unless anyone
> > > else has any suggestions I'll wait for this to see if it helps.
> > >
> > > If it doesn't, I presume it is a SunRay issue!
> > >
> >
> > 	I know someone on this list (can't remeber who off-hand) spent
> > some time getting sunray support to work in nas (adding
> > support for Sunray
> > $AUDIODEV I believe).  He did not report these problems.  It's quite
> > possible an update would help...
> I've installed the latest Sun patch cluster, as well as the latest
> SunRay Server 2 patches. Neither has helped, the audio still hangs as
> before on the AUDIO_DRAIN call. :(
> I'm not really sure what to do now - I'm not sure if Sun will be
> interested in the problem or not! Although having said that, even if I

	Who can tell anything with Sun these days :)

> play it the sounds on the same host than it still hangs. So I don't
> think it is a networking issue!

	It's not a networking issue - the ioctl(DRAIN) is used on your
sound device's fd.

> Anything else I can try??

	For kicks (it may not be a problem for your site/usage), why not
comment out the DRAIN ioctl and see what happens.  Perusing the nas
mailing list achive (try google 'sunray site:radscan.com'), it seems at
least one other person had this problem.  But there are a couple of others
where it seems to work ok.

	I am not familiar enough with the solaris sound API and I have no
sunrays, so I do not know if there is another way of achieving the same

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>
"I am Nomad." -Nomad

More information about the Nas mailing list