From: Bob McElrath <mcelrath@draal.physics.wisc.edu>
To: axp-list@redhat.com
Subject: Re: Random Segfaults [with sound]
Date: Wed, 21 Oct 1998 10:10:26 -0500 (CDT) [thread overview]
Message-ID: <Pine.LNX.3.96.981021100242.5458A-100000@draal> (raw)
In-Reply-To: <Pine.LNX.3.96.981021082048.5525A-100000@schizo.strange.net>
On Wed, 21 Oct 1998, Andrew Hobgood wrote:
> Well...
>
> I've found what's causing my box to segfault somewhat randomly. It turns out,
> any time that I play MIDI or PCM audio on my AWE64 Gold, with the OSS/Linux
> drivers and kernel 2.0.35, things will randomly die from segfaults... last
> night, I was playing a bunch of .wav files (copying a MiniDisc), and I was
> doing *nothing else* on the system, and my X session just fell over, and all
> of the apps in it segfaulted first. Everything disappeared from my screen in
> a sort of shimmering cascade of dying windows.
>
> So, I must ask --- is there some kind of nutty conflict here? Has anyone
> gotten the OSS/Linux drivers to work reliably on an Alpha system? I'm on a
> 164LX, 533MHz (Aspen Durango II), running a RedHat 5.1 base (so it's glibc,
> egcs, and all that nonsense).
>
> My bets are that there's a memory leak in either the kernel or the OSS driver
> when it mmap()'s memory to drive the PCM audio, but that's only a hunch.
I have a 164LX as well, and have seen problems with sound. Not segfaults
though. I think you're probably correct in your assessment of a memory
leak. I've played with both a Pro Audio Spectrum 16 and a Sound Blaster Pro
now (both ISA), and have gotten the SB working, but not the PAS (not even
the SB portion of the PAS). The PAS works as I've tested it on another
nearby system.
The SB Pro works, however, there is a significant hang whenever
disconnecting or connecting to the device, as if interrupts are disabled for
a few seconds to do the disconnect. (Disconnect shouldn't take this
long...and I'll look at the SB code prolly this weekend).
All the sound I've been playing is through mpg123 though, which *DOESN'T*
used mmap(). It's supposed to, but fails somehow, and I haven't figured out
why yet.
Is the AWE64 Gold an ISA or PCI Card? I suspect some problems with the
IRQ/DMA code, or possibly some problem in initializing the PCI/ISA bridge.
I also get low (400k/s max) rates with my PCI 3Com ethernet card, while
nearby Intel boxes can get 1M/s on the same network. Possibly this is
related?
-- 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_|
\.___________________________________________________________________./
next prev parent reply other threads:[~1998-10-21 15:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-21 12:25 Random Segfaults [with sound] Andrew Hobgood
1998-10-21 15:10 ` Bob McElrath [this message]
1998-10-21 16:07 ` Andrew Hobgood
[not found] ` <chaos@strange.net>
1998-10-21 17:41 ` xeno
1998-10-21 18:21 ` Andrew Hobgood
1998-10-21 18:24 ` xeno
1998-10-21 18:44 ` Bob McElrath
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox