Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Bob McElrath <mcelrath@draal.physics.wisc.edu>
To: axp-list@redhat.com
Subject: Re: Random Segfaults [with sound]
Date: Wed, 21 Oct 1998 13:44:38 -0500 (CDT)	[thread overview]
Message-ID: <Pine.LNX.3.96.981021133958.6317B-100000@draal> (raw)
In-Reply-To: <Pine.LNX.3.96.981021115736.5934A-100000@schizo.strange.net>

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_|
  \.___________________________________________________________________./


      parent reply	other threads:[~1998-10-21 18:53 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
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 [this message]
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