Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2000 18:13:12 -0800
From:      Ken Marx <kmarx@bigshed.com>
To:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Cc:        Ken Marx <kmarx@bigshed.com>
Subject:   hang in snd0 output?
Message-ID:  <38D2E638.FD397182@bigshed.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm running 3.2-RELEASE, with an creative AWE64 isa soundcard.

I'm seeing frequent, but intermittent hangs when outputting to
the /dev/audio via utils such as waveplay, or my own app.
(It's not a kernel hang really, but a long pause. The rest
of the system is fine.)

I've put some trace in the isa/sound/ voxware driver,
and found that the hang occurs in dma_sync() on a call to
DO_SLEEP1():

Mar 17 17:45:36 weevil /kernel: dma_sync: aborting()=0, qlen=1
Mar 17 17:45:36 weevil /kernel: call DO_SLEEP1(5, 1000)

(Near about line 358 of dmabuf.c. Above trace output is my debug.)

Does anyone have a clue as to what can cause this, and/or how
to fix it? Is it a driver bug, or funky soundcard state?
CPU/motherboard/dma-controller (grasping at straws here)?

I've also seen this on a 3.3 system.  CPU's are AMD K6-III and K7,
respectively.

I'm pretty desparate here. Any help greatly appreciated.

Thanks,
k.
-- 
Ken Marx, kmarx@bigshed.com
This is like the first lap of a four-lap race. We all have to force a paradigm 
shift and eliminate redundancies in the upgrade.
		- http://cgi.bigshed.com/~kmarx/cgi-bin/speak.cgi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38D2E638.FD397182>