* Bug #952 - MIDI lockup
@ 2006-07-02 22:45 Lee Revell
2006-07-03 15:56 ` Takashi Iwai
0 siblings, 1 reply; 8+ messages in thread
From: Lee Revell @ 2006-07-02 22:45 UTC (permalink / raw)
To: alsa-devel; +Cc: Takashi Iwai
Can someone take a quick look at:
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=952
There is a nice screenshot of the kernel panic. The bug has been
verified with ALSA 1.0.12-rc1.
It seems to crash while taking a spinlock in snd_timer_interrupt when
called from rtc_interrupt - maybe the changes to the ALSA RTC timer a
few months ago are involved?
Lee
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bug #952 - MIDI lockup
2006-07-02 22:45 Bug #952 - MIDI lockup Lee Revell
@ 2006-07-03 15:56 ` Takashi Iwai
2006-07-03 16:07 ` Lee Revell
2006-07-04 15:00 ` Lee Revell
0 siblings, 2 replies; 8+ messages in thread
From: Takashi Iwai @ 2006-07-03 15:56 UTC (permalink / raw)
To: Lee Revell; +Cc: alsa-devel
At Sun, 02 Jul 2006 18:45:59 -0400,
Lee Revell wrote:
>
> Can someone take a quick look at:
>
> https://bugtrack.alsa-project.org/alsa-bug/view.php?id=952
>
> There is a nice screenshot of the kernel panic. The bug has been
> verified with ALSA 1.0.12-rc1.
>
> It seems to crash while taking a spinlock in snd_timer_interrupt when
> called from rtc_interrupt - maybe the changes to the ALSA RTC timer a
> few months ago are involved?
Does the patch below fix?
Takashi
diff -r 0dc0bac494b6 core/timer.c
--- a/core/timer.c Mon Jul 03 16:38:28 2006 +0200
+++ b/core/timer.c Mon Jul 03 17:56:22 2006 +0200
@@ -628,8 +628,9 @@ static void snd_timer_tasklet(unsigned l
struct snd_timer_instance *ti;
struct list_head *p;
unsigned long resolution, ticks;
-
- spin_lock(&timer->lock);
+ unsigned long flags;
+
+ spin_lock_irqsave(&timer->lock, flags);
/* now process all callbacks */
while (!list_empty(&timer->sack_list_head)) {
p = timer->sack_list_head.next; /* get first item */
@@ -649,7 +650,7 @@ static void snd_timer_tasklet(unsigned l
spin_lock(&timer->lock);
ti->flags &= ~SNDRV_TIMER_IFLG_CALLBACK;
}
- spin_unlock(&timer->lock);
+ spin_unlock_irqrestore(&timer->lock, flags);
}
/*
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Bug #952 - MIDI lockup
2006-07-03 15:56 ` Takashi Iwai
@ 2006-07-03 16:07 ` Lee Revell
2006-07-04 15:00 ` Lee Revell
1 sibling, 0 replies; 8+ messages in thread
From: Lee Revell @ 2006-07-03 16:07 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On Mon, 2006-07-03 at 17:56 +0200, Takashi Iwai wrote:
> At Sun, 02 Jul 2006 18:45:59 -0400,
> Lee Revell wrote:
> >
> > Can someone take a quick look at:
> >
> > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=952
> >
> > There is a nice screenshot of the kernel panic. The bug has been
> > verified with ALSA 1.0.12-rc1.
> >
> > It seems to crash while taking a spinlock in snd_timer_interrupt when
> > called from rtc_interrupt - maybe the changes to the ALSA RTC timer a
> > few months ago are involved?
>
> Does the patch below fix?
>
Looks like it might. I could not reproduce the problem myself but I've
attached it to the bug report for testing.
Lee
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bug #952 - MIDI lockup
2006-07-03 15:56 ` Takashi Iwai
2006-07-03 16:07 ` Lee Revell
@ 2006-07-04 15:00 ` Lee Revell
2006-07-04 15:32 ` Takashi Iwai
1 sibling, 1 reply; 8+ messages in thread
From: Lee Revell @ 2006-07-04 15:00 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On Mon, 2006-07-03 at 17:56 +0200, Takashi Iwai wrote:
> At Sun, 02 Jul 2006 18:45:59 -0400,
> Lee Revell wrote:
> >
> > Can someone take a quick look at:
> >
> > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=952
> >
> > There is a nice screenshot of the kernel panic. The bug has been
> > verified with ALSA 1.0.12-rc1.
> >
> > It seems to crash while taking a spinlock in snd_timer_interrupt when
> > called from rtc_interrupt - maybe the changes to the ALSA RTC timer a
> > few months ago are involved?
>
> Does the patch below fix?
No.
Lee
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bug #952 - MIDI lockup
2006-07-04 15:00 ` Lee Revell
@ 2006-07-04 15:32 ` Takashi Iwai
2006-07-04 15:40 ` Lee Revell
2006-07-05 15:08 ` Lee Revell
0 siblings, 2 replies; 8+ messages in thread
From: Takashi Iwai @ 2006-07-04 15:32 UTC (permalink / raw)
To: Lee Revell; +Cc: alsa-devel
At Tue, 04 Jul 2006 11:00:40 -0400,
Lee Revell wrote:
>
> On Mon, 2006-07-03 at 17:56 +0200, Takashi Iwai wrote:
> > At Sun, 02 Jul 2006 18:45:59 -0400,
> > Lee Revell wrote:
> > >
> > > Can someone take a quick look at:
> > >
> > > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=952
> > >
> > > There is a nice screenshot of the kernel panic. The bug has been
> > > verified with ALSA 1.0.12-rc1.
> > >
> > > It seems to crash while taking a spinlock in snd_timer_interrupt when
> > > called from rtc_interrupt - maybe the changes to the ALSA RTC timer a
> > > few months ago are involved?
> >
> > Does the patch below fix?
>
> No.
Pointer? The test in bug #952 seems inaccurate.
Takashi
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bug #952 - MIDI lockup
2006-07-04 15:32 ` Takashi Iwai
@ 2006-07-04 15:40 ` Lee Revell
2006-07-05 15:08 ` Lee Revell
1 sibling, 0 replies; 8+ messages in thread
From: Lee Revell @ 2006-07-04 15:40 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On Tue, 2006-07-04 at 17:32 +0200, Takashi Iwai wrote:
> At Tue, 04 Jul 2006 11:00:40 -0400,
> Lee Revell wrote:
> >
> > On Mon, 2006-07-03 at 17:56 +0200, Takashi Iwai wrote:
> > > At Sun, 02 Jul 2006 18:45:59 -0400,
> > > Lee Revell wrote:
> > > >
> > > > Can someone take a quick look at:
> > > >
> > > > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=952
> > > >
> > > > There is a nice screenshot of the kernel panic. The bug has been
> > > > verified with ALSA 1.0.12-rc1.
> > > >
> > > > It seems to crash while taking a spinlock in snd_timer_interrupt when
> > > > called from rtc_interrupt - maybe the changes to the ALSA RTC timer a
> > > > few months ago are involved?
> > >
> > > Does the patch below fix?
> >
> > No.
>
> Pointer? The test in bug #952 seems inaccurate.
Hmm, it might have fixed it. I think the user did not test correctly.
Lee
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bug #952 - MIDI lockup
2006-07-04 15:32 ` Takashi Iwai
2006-07-04 15:40 ` Lee Revell
@ 2006-07-05 15:08 ` Lee Revell
2006-07-05 16:01 ` Takashi Iwai
1 sibling, 1 reply; 8+ messages in thread
From: Lee Revell @ 2006-07-05 15:08 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On Tue, 2006-07-04 at 17:32 +0200, Takashi Iwai wrote:
> At Tue, 04 Jul 2006 11:00:40 -0400,
> Lee Revell wrote:
> >
> > On Mon, 2006-07-03 at 17:56 +0200, Takashi Iwai wrote:
> > > At Sun, 02 Jul 2006 18:45:59 -0400,
> > > Lee Revell wrote:
> > > >
> > > > Can someone take a quick look at:
> > > >
> > > > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=952
> > > >
> > > > There is a nice screenshot of the kernel panic. The bug has been
> > > > verified with ALSA 1.0.12-rc1.
> > > >
> > > > It seems to crash while taking a spinlock in snd_timer_interrupt when
> > > > called from rtc_interrupt - maybe the changes to the ALSA RTC timer a
> > > > few months ago are involved?
> > >
> > > Does the patch below fix?
> >
> > No.
>
> Pointer? The test in bug #952 seems inaccurate.
OK, the patch does fix the problem. Please apply.
Lee
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bug #952 - MIDI lockup
2006-07-05 15:08 ` Lee Revell
@ 2006-07-05 16:01 ` Takashi Iwai
0 siblings, 0 replies; 8+ messages in thread
From: Takashi Iwai @ 2006-07-05 16:01 UTC (permalink / raw)
To: Lee Revell; +Cc: alsa-devel
At Wed, 05 Jul 2006 11:08:15 -0400,
Lee Revell wrote:
>
> On Tue, 2006-07-04 at 17:32 +0200, Takashi Iwai wrote:
> > At Tue, 04 Jul 2006 11:00:40 -0400,
> > Lee Revell wrote:
> > >
> > > On Mon, 2006-07-03 at 17:56 +0200, Takashi Iwai wrote:
> > > > At Sun, 02 Jul 2006 18:45:59 -0400,
> > > > Lee Revell wrote:
> > > > >
> > > > > Can someone take a quick look at:
> > > > >
> > > > > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=952
> > > > >
> > > > > There is a nice screenshot of the kernel panic. The bug has been
> > > > > verified with ALSA 1.0.12-rc1.
> > > > >
> > > > > It seems to crash while taking a spinlock in snd_timer_interrupt when
> > > > > called from rtc_interrupt - maybe the changes to the ALSA RTC timer a
> > > > > few months ago are involved?
> > > >
> > > > Does the patch below fix?
> > >
> > > No.
> >
> > Pointer? The test in bug #952 seems inaccurate.
>
> OK, the patch does fix the problem. Please apply.
Thanks for the confirmation. Committed to HG repo.
Takashi
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-07-05 16:01 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-02 22:45 Bug #952 - MIDI lockup Lee Revell
2006-07-03 15:56 ` Takashi Iwai
2006-07-03 16:07 ` Lee Revell
2006-07-04 15:00 ` Lee Revell
2006-07-04 15:32 ` Takashi Iwai
2006-07-04 15:40 ` Lee Revell
2006-07-05 15:08 ` Lee Revell
2006-07-05 16:01 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.