FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 08-26-2011, 02:18 AM
Jonathan Nieder
 
Default Bug#560212: alsa-source: Driver snd-hrtimer - causing system freeze with Rosegarden

Hi Wojtek,

Wojtek Zabolotny wrote:

> When I try to use the "HR timer" as a MIDI sequencer timer in the
> Rosegarden (http://www.rosegardenmusic.com) application, the system
> freezes.

This is said to be fixed by bfe70783c (ALSA: take tu->qlock with irqs
disabled, 2010-04-28), which is part of v2.6.34 and hence part of the
kernel in sid. For some reason, no one cc-ed you when mentioning
that last year.

Does this still happen with the latest kernel in squeeze (my guess
would be "yes")? Is it fixed by the kernel in sid?

Moritz Muehlenhoff wrote:

> If it fixes the issue, we should merge it.

Yes, if it works, then it would be valuable to send the patch to
stable@kernel.org for inclusion in v2.6.32.y. Thanks for the
report, and sorry we have been taking so long to address it.

Looking forward to your thoughts,
Jonathan



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110826021809.GA10195@elie.gateway.2wire.net">htt p://lists.debian.org/20110826021809.GA10195@elie.gateway.2wire.net
 
Old 01-04-2012, 12:57 AM
Jonathan Nieder
 
Default Bug#560212: alsa-source: Driver snd-hrtimer - causing system freeze with Rosegarden

Przemysław Pawełczyk wrote:
> Wojtek Zabolotny wrote:

>> When I try to use the "HR timer" as a MIDI sequencer timer in the
>> Rosegarden (http://www.rosegardenmusic.com) application, the system
>> freezes.
>
> Just for the record: The problem still exists in current wheezy.
>
> linux-image-3.1.0-1-amd64 3.1.6-1
> rosegarden 1:11.11.11-1
> alsa-base 1.0.23+dfsg-4
> libasound2 1.0.24.1-4

Hm. The following patch was included in v2.6.33:

| commit fcfdebe70759
| Author: Takashi Iwai <tiwai@suse.de>
| Date: Fri Dec 11 12:51:05 2009 +0100
|
| ALSA: hrtimer - Fix lock-up
|
| The timer stop callback can be called from snd_timer_interrupt(), which
| is called from the hrtimer callback. Since hrtimer_cancel() waits for
| the callback completion, this eventually results in a lock-up.
|
| This patch fixes the problem by just toggling a flag at stop callback
| and call hrtimer_cancel() later.
|
| Reported-and-tested-by: Wojtek Zabolotny <W.Zabolotny@elka.pw.edu.pl>
| Cc: <stable@kernel.org>
| Signed-off-by: Takashi Iwai <tiwai@suse.de>

Based on the description, it seems that Wojtek tested that, and the
patch was backported to 2.6.32.y, so I'm tempted to close this bug
(though it would be nice to have confirmation from him either way).

Could you file a separate bug?

If you have time, the next step would be to write a summary of the
problem (including exact steps to reproduce it) to the
alsa-devel@alsa-project.org list, cc-ing Clemens Ladisch
<clemens@ladisch.de> and me or the bug log so we can track it. The
alsa-info.sh[1] script might be useful when doing so to tell upstream
what hardware and software you're using.

They might say, "oh, right. that bug." and provide us with lots of
advice towards fixing it. Or maybe they'll have questions.

Thanks and hope that helps,
Jonathan

[1] http://www.alsa-project.org/alsa-info.sh



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120104015750.GB6400@elie.hsd1.il.comcast.net">ht tp://lists.debian.org/20120104015750.GB6400@elie.hsd1.il.comcast.net
 

Thread Tools




All times are GMT. The time now is 05:10 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org