Date: Sun, 13 Jul 1997 16:21:38 -0700 From: Amancio Hasty <hasty@rah.star-gate.com> To: Randall Hopper <rhh@ct.picker.com> Cc: multimedia@FreeBSD.ORG Subject: Re: guspnp9: /dev/dsp close() hangs Message-ID: <199707132321.QAA01133@rah.star-gate.com> In-Reply-To: Your message of "Sun, 13 Jul 1997 19:14:53 EDT." <19970713191453.21533@ct.picker.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I will review dmabuf to see what is going on. Tnks, Amancio >From The Desk Of Randall Hopper : > 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, PRINTI NG > -----> ONCE EVERY 10 SECONDS: > dmabuf 1 > > Randall > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707132321.QAA01133>