From owner-freebsd-multimedia Sun Jul 13 16:17:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA12555 for multimedia-outgoing; Sun, 13 Jul 1997 16:17:59 -0700 (PDT) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id QAA12550 for ; Sun, 13 Jul 1997 16:17:56 -0700 (PDT) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sun, 13 Jul 1997 19:16:53 -0400 (EDT) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA28172; Sun, 13 Jul 97 19:16:51 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id TAA05839; Sun, 13 Jul 1997 19:14:54 -0400 Message-Id: <19970713191453.21533@ct.picker.com> Date: Sun, 13 Jul 1997 19:14:53 -0400 From: Randall Hopper To: Amancio Hasty Cc: multimedia@FreeBSD.ORG Subject: Re: guspnp9: /dev/dsp close() hangs References: <19970713171149.34096@ct.picker.com> <199707132225.PAA00590@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.76 In-Reply-To: <199707132225.PAA00590@rah.star-gate.com>; from Amancio Hasty on Sun, Jul 13, 1997 at 03:25:39PM -0700 Sender: owner-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Amancio Hasty: |I need a little more info. | |in dmabuf.c:dma_sync | while (!(out_sleep_flag[dev].aborting) | && audio_devs[dev]->dmap_out->qlen) { | | int flag, chn; | printf("dmabuf %d \n", audio_devs[dev]->dmap_out->qlen); | |Add the above printf and please send me the output of the last few |lines . Ok, here it is: > mpg123 things.mp2 -----> APP STARTUP PRINTS: start sb_reset_dsp done RESET 1 done tenmicrosec done RESET 0 isa_dmastart: channel 5 busy -----> THEN WHEN I CTRL-C, I ALWAYS SEE THIS: dmabuf 2 dmabuf 1 -----> IF THE /dev/dsp close() DIDN'T HANG, THAT'S IT. -----> BUT IF THE close() HUNG, I SEE THIS LINE AGAIN AND AGAIN, PRINTING -----> ONCE EVERY 10 SECONDS: dmabuf 1 Randall