Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* More Sound Woes
@ 1998-10-21 19:38 Andrew Hobgood
  1998-10-26 16:48 ` Bob McElrath
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Hobgood @ 1998-10-21 19:38 UTC (permalink / raw)
  To: axp-list

Okay... well.  Another update (darn, I'm busy today. =P):

I increased my SHM_MAX to 0x420000 as seen in an old post, and that *seems* 
to have helped matters... but I still have problems with playing audio, 
especially from a pipe (like cdparanoia | tplay).  The odd, random app
segfaults seem to have stopped... but...

When the sounds stuff crashes sometimes, it freezes the box.  Not a total
freeze, but a kind of freeze that I've never seen anywhere else.  It stops
all processes from running, but the kernel is still awake.  I can switch
virtual consoles, I can connect to TCP ports, I can ping the box, that all
works fine... all the apps are dead, though.  I can't type anything, after
a TCP port opens up to a service, the service never negotiates, etc.

Again, I'm using OSS/Linux [commercial] on an AWE64 Gold ISA, kernel 2.0.35
on a PC164LX 21164a 533MHz with 256MB RAM.

Thanks,

/Andrew


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: More Sound Woes
  1998-10-21 19:38 More Sound Woes Andrew Hobgood
@ 1998-10-26 16:48 ` Bob McElrath
  1998-10-26 18:28   ` Andrew Hobgood
  0 siblings, 1 reply; 4+ messages in thread
From: Bob McElrath @ 1998-10-26 16:48 UTC (permalink / raw)
  To: axp-list

On Wed, 21 Oct 1998, Andrew Hobgood wrote:

> Okay... well.  Another update (darn, I'm busy today. =P):
> 
> I increased my SHM_MAX to 0x420000 as seen in an old post, and that *seems* 
> to have helped matters... but I still have problems with playing audio, 
> especially from a pipe (like cdparanoia | tplay).  The odd, random app
> segfaults seem to have stopped... but...
> 
> When the sounds stuff crashes sometimes, it freezes the box.  Not a total
> freeze, but a kind of freeze that I've never seen anywhere else.  It stops
> all processes from running, but the kernel is still awake.  I can switch
> virtual consoles, I can connect to TCP ports, I can ping the box, that all
> works fine... all the apps are dead, though.  I can't type anything, after
> a TCP port opens up to a service, the service never negotiates, etc.
> 
> Again, I'm using OSS/Linux [commercial] on an AWE64 Gold ISA, kernel 2.0.35
> on a PC164LX 21164a 533MHz with 256MB RAM.

I don't know if you found a solution to this yet, but I've been hacking on
the sound code lately, and it looks like it was written by a monkey.  There
are lots of problems with it.  (ok, so I hope the person that wrote it isn't
on this list!  ;)

In particular, there is a definite memory leak in the mixer code (latest 2.1
kernels). You wouldn't happen to be using modules for your sound drivers,
would you?  The leak shows up easiest if you insmod and rmmod the driver
several times...it'll crash your kernel eventually.

I think the code in the 2.1 kernels was written by the OSS/Linux people, and
probably has the same bugs.  The drivers for OSS/Linux were back-ported to
the 2.0 kernels, (according to the 4front-tech.com pages) so are *probably*
the same... 

I'll post patches to linux-kernel and here when (if...) I get it fixed.

-- Bob

  ./'^`\._./'~`\._./'~`\._./'~`\._./'#`\._./'~`\._./'~`\._./'~`\._./'^`\.
 / Rube Goldberg? Bah! Amateur! I give you..Windows 98! Linux everywhere \ 
| Linux, because everyone's work is mission critical.   ANYTHING inside.  |
|_Bob McElrath (mcelrath@wisconsin.cern.ch) Univ. of Wisconsin at Madison_|
  \.___________________________________________________________________./


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: More Sound Woes
  1998-10-26 16:48 ` Bob McElrath
@ 1998-10-26 18:28   ` Andrew Hobgood
  1998-10-26 22:14     ` Bob McElrath
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Hobgood @ 1998-10-26 18:28 UTC (permalink / raw)
  To: axp-list

> I don't know if you found a solution to this yet, but I've been hacking on
> the sound code lately, and it looks like it was written by a monkey.  There
> are lots of problems with it.  (ok, so I hope the person that wrote it isn't
> on this list!  ;)

Still no solution. =P

> In particular, there is a definite memory leak in the mixer code (latest 2.1
> kernels). You wouldn't happen to be using modules for your sound drivers,
> would you?  The leak shows up easiest if you insmod and rmmod the driver
> several times...it'll crash your kernel eventually.

Uhh.  Heh.  Wow.  Well, I'm using OSS/Linux, you know, the commercial drivers
that are supposed to be stable and happy and everything.  And guess what?  
The only way to use them is through modules.  So, uh, heh.  The answer is,
"Yes."

> I think the code in the 2.1 kernels was written by the OSS/Linux people, and
> probably has the same bugs.  The drivers for OSS/Linux were back-ported to
> the 2.0 kernels, (according to the 4front-tech.com pages) so are *probably*
> the same... 

How about that.  Well then.  Heh.  Do you think it'd be worth a shot to try
compiling the OSS/Free drivers built into the kernel and see if I have the 
same problems?

> I'll post patches to linux-kernel and here when (if...) I get it fixed.

Woohoo!  Also, hmm.  Has this been reported to the OSS maintainers?

/Andrew


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: More Sound Woes
  1998-10-26 18:28   ` Andrew Hobgood
@ 1998-10-26 22:14     ` Bob McElrath
  0 siblings, 0 replies; 4+ messages in thread
From: Bob McElrath @ 1998-10-26 22:14 UTC (permalink / raw)
  To: axp-list

On Mon, 26 Oct 1998, Andrew Hobgood wrote:

> > In particular, there is a definite memory leak in the mixer code (latest 2.1
> > kernels). You wouldn't happen to be using modules for your sound drivers,
> > would you?  The leak shows up easiest if you insmod and rmmod the driver
> > several times...it'll crash your kernel eventually.
> 
> Uhh.  Heh.  Wow.  Well, I'm using OSS/Linux, you know, the commercial drivers
> that are supposed to be stable and happy and everything.  And guess what?  
> The only way to use them is through modules.  So, uh, heh.  The answer is,
> "Yes."

I don't have the commercial drivers, so I can't really say anything about
them...I don't suppose those commercial drivers came with source, did they?

> > I think the code in the 2.1 kernels was written by the OSS/Linux people, and
> > probably has the same bugs.  The drivers for OSS/Linux were back-ported to
> > the 2.0 kernels, (according to the 4front-tech.com pages) so are *probably*
> > the same... 
> 
> How about that.  Well then.  Heh.  Do you think it'd be worth a shot to try
> compiling the OSS/Free drivers built into the kernel and see if I have the 
> same problems?

Definitely...

> > I'll post patches to linux-kernel and here when (if...) I get it fixed.
> 
> Woohoo!  Also, hmm.  Has this been reported to the OSS maintainers?

I've sent mail to several people, haven't gotten a response.  As far as I
can tell, there *are*no* OSS maintainers...they're selling an old product
that was developed for the 2.0 kernels, and since 2.1.56 or so has been part
of the 2.1 kernel series.  But I can't get anyone to verify this...

-- Bob

  ./'^`\._./'~`\._./'~`\._./'~`\._./'#`\._./'~`\._./'~`\._./'~`\._./'^`\.
 / Rube Goldberg? Bah! Amateur! I give you..Windows 98! Linux everywhere \ 
| Linux, because everyone's work is mission critical.   ANYTHING inside.  |
|_Bob McElrath (mcelrath@wisconsin.cern.ch) Univ. of Wisconsin at Madison_|
  \.___________________________________________________________________./


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-10-26 22:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-21 19:38 More Sound Woes Andrew Hobgood
1998-10-26 16:48 ` Bob McElrath
1998-10-26 18:28   ` Andrew Hobgood
1998-10-26 22:14     ` Bob McElrath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox