From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 4984 invoked from network); 21 Oct 1998 15:19:19 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 21 Oct 1998 15:19:19 -0000 Received: from draal.physics.wisc.edu (mcelrath@draal.physics.wisc.edu [128.104.223.134]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA18254 for ; Wed, 21 Oct 1998 11:10:34 -0400 Received: from localhost (mcelrath@localhost) by draal.physics.wisc.edu (8.8.7/8.8.7) with SMTP id KAA05552 for ; Wed, 21 Oct 1998 10:10:26 -0500 Date: Wed, 21 Oct 1998 10:10:26 -0500 (CDT) From: Bob McElrath X-Sender: mcelrath@draal To: axp-list@redhat.com Subject: Re: Random Segfaults [with sound] In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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_| \.___________________________________________________________________./