Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 1997 19:14:53 -0400
From:      Randall Hopper <rhh@ct.picker.com>
To:        Amancio Hasty <hasty@rah.star-gate.com>
Cc:        multimedia@FreeBSD.ORG
Subject:   Re: guspnp9: /dev/dsp close() hangs
Message-ID:  <19970713191453.21533@ct.picker.com>
In-Reply-To: <199707132225.PAA00590@rah.star-gate.com>; from Amancio Hasty on Sun, Jul 13, 1997 at 03:25:39PM -0700
References:  <19970713171149.34096@ct.picker.com> <199707132225.PAA00590@rah.star-gate.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



     



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