From: Takashi Iwai Subject: Re: Linux 2.6.14: Total lockup using aplaymidi Date: Thu, 03 Nov 2005 11:12:39 +0100 Message-ID: References: <20051102232451.29114.qmail@web52907.mail.yahoo.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Thu_Nov__3_11:12:39_2005-1" Return-path: In-Reply-To: <20051102232451.29114.qmail@web52907.mail.yahoo.com> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Chris Rankin Cc: Lee Revell , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org --Multipart_Thu_Nov__3_11:12:39_2005-1 Content-Type: text/plain; charset=US-ASCII At Wed, 2 Nov 2005 23:24:51 +0000 (GMT), Chris Rankin wrote: > > --- Takashi Iwai wrote: > > Also, the below is an improved patch for the timer deadlock. > > Please give a shot. > > The first patch worked, but this second one didn't. Sorry, a patch was incomplete. Apply the below additionally. Takashi --Multipart_Thu_Nov__3_11:12:39_2005-1 Content-Type: application/octet-stream; type=patch Content-Disposition: attachment; filename="rtctimer-fix.diff" Content-Transfer-Encoding: 7bit Index: alsa-kernel/core/rtctimer.c =================================================================== RCS file: /home/iwai/cvs/alsa/alsa-kernel/core/rtctimer.c,v retrieving revision 1.19 diff -u -r1.19 rtctimer.c --- alsa-kernel/core/rtctimer.c 12 Oct 2005 16:36:55 -0000 1.19 +++ alsa-kernel/core/rtctimer.c 3 Nov 2005 10:11:34 -0000 @@ -50,7 +50,7 @@ * The hardware dependent description for this timer. */ static struct _snd_timer_hardware rtc_hw = { - .flags = SNDRV_TIMER_HW_FIRST|SNDRV_TIMER_HW_AUTO, + .flags = SNDRV_TIMER_HW_FIRST|SNDRV_TIMER_HW_AUTO|SNDRV_TIMER_HW_NONATOMIC, .ticks = 100000000L, /* FIXME: XXX */ .open = rtctimer_open, .close = rtctimer_close, --Multipart_Thu_Nov__3_11:12:39_2005-1-- ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php