From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 13542 invoked from network); 21 Oct 1998 18:53:33 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 21 Oct 1998 18:53:33 -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 OAA31884 for ; Wed, 21 Oct 1998 14:44:45 -0400 Received: from localhost (mcelrath@localhost) by draal.physics.wisc.edu (8.8.7/8.8.7) with SMTP id NAA06457 for ; Wed, 21 Oct 1998 13:44:38 -0500 Date: Wed, 21 Oct 1998 13:44:38 -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: > > 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). > > How long are these "hangs"? I get about a 100ms or so delay, which is pretty > trivial (and also, the same sort of delay has always been present for audio > on ANY platform that I've ever worked with, so I think that's just load time > for the audio). Hangs are about 1-2 seconds. Mouse stops, processes stop...It's definitely an I/O related delay, probably interrupt blocking. > > 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. > > Hmm.... my problem exists if I'm using mpg123, play [from the OSS package], > mikmod, gmod, xpe, whatever. If it uses /dev/dsp or /dev/sequencer, it croaks. > > The oddest part is, it's not the app itself that falls over. Granted, it > usually does, but yesterday, I wrote a quick little shell script (at my > prompt) to play a sequence of WAV files... after the Eterm which had the > script running, a few other Eterms, my mixer, and my X server all fell over, > the audio was *still playing*, and the script didn't end until it finished > playing all of the audio. The 'play' process was running in unpriveleged user > space (yeah, I know... /dev/dsp is world writeable. I was testing. =P), so > there really shouldn't have been any way for it to cause OTHER programs to > segfault unless it's mucking with kernel memory. That's what's pointing me at > the OSS driver. Have you tried 'cat blah.wav > /dev/audio'? Will your system hang when you play wav files this way? If it does you can probably isolate the problem to the kernel. > > 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. > > It's ISA... the PCI/ISA initialization stuff sounds interesting... but I don't > think it's related to my problem... though it might be... Hmmm, ok then, does anyone else on the list have problems with a 164LX and ISA devices? Perhaps we can narrow down the problem if we can find other devices with problems? > > 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? > > I haven't had any network problems at all... I get consistently higher transfer > rates than all of my Intel bound friends on my network segment. I'm only > running a 3c900 Boomerang in one of my 64 bit PCI slots, and it works fine, > though I haven't tried it in a 32 bit slot yet. Have you tried moving it > around? I don't think it should make a difference, but it might. Thanks, I'll try that. -- 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_| \.___________________________________________________________________./