From: Maciej Rutecki on
On niedziela, 14 marca 2010 o 08:58:31 Pavel Machek wrote:
> Hi!
>
> In 2.6.33, hitting ^Z stopped mpg123 in a way you'd expect (both on
> thinkpad and geode notebook).
>
> On 2.6.34-rc1, hit ^Z and sound starts looping.
> Pavel
>
I created a Bugzilla entry at
https://bugzilla.kernel.org/show_bug.cgi?id=15590
for your bug report, please add your address to the CC list in there, thanks!
--
Maciej Rutecki
http://www.maciek.unixy.pl
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Pavel Machek on
On Sun 2010-03-14 17:20:13, Bill Davidsen wrote:
> Pavel Machek wrote:
>> Hi!
>>
>> In 2.6.33, hitting ^Z stopped mpg123 in a way you'd expect (both on
>> thinkpad and geode notebook).
>>
>> On 2.6.34-rc1, hit ^Z and sound starts looping.
>> Pavel
> That's not new, I have seen it back as far as 2.6.27.25 doing a suspend
> in a VM (KVM, no libvirt). But it only happens a few times a year, so I
> never chased it. I hate to report an occasional problem in an obsolete
> kernel, and I can't reproduce it.
>
> Does it happen repeatably with the new kernel?

It happened reliably so far, yes.

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Clemens Ladisch on
Pavel Machek wrote:
> On Sun 2010-03-14 17:20:13, Bill Davidsen wrote:
>> Pavel Machek wrote:
>>> In 2.6.33, hitting ^Z stopped mpg123 in a way you'd expect (both on
>>> thinkpad and geode notebook).
>>>
>>> On 2.6.34-rc1, hit ^Z and sound starts looping.
>>
>> That's not new, I have seen it back as far as 2.6.27.25 doing a suspend
>> in a VM (KVM, no libvirt). But it only happens a few times a year, so I
>> never chased it. I hate to report an occasional problem in an obsolete
>> kernel, and I can't reproduce it.
>>
>> Does it happen repeatably with the new kernel?
>
> It happened reliably so far, yes.

This sounds as if the device has been configured to ignore underruns.
What are the contents of /proc/asound/card0/pcm0p/sub0/{sw_params,status}
when it's looping, and when it's really suspended?


Regards,
Clemens
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Bill Davidsen on
Clemens Ladisch wrote:
> Pavel Machek wrote:
>
>> On Sun 2010-03-14 17:20:13, Bill Davidsen wrote:
>>
>>> Pavel Machek wrote:
>>>
>>>> In 2.6.33, hitting ^Z stopped mpg123 in a way you'd expect (both on
>>>> thinkpad and geode notebook).
>>>>
>>>> On 2.6.34-rc1, hit ^Z and sound starts looping.
>>>>
>>> That's not new, I have seen it back as far as 2.6.27.25 doing a suspend
>>> in a VM (KVM, no libvirt). But it only happens a few times a year, so I
>>> never chased it. I hate to report an occasional problem in an obsolete
>>> kernel, and I can't reproduce it.
>>>
>>> Does it happen repeatably with the new kernel?
>>>
>> It happened reliably so far, yes.
>>
>
> This sounds as if the device has been configured to ignore underruns.
> What are the contents of /proc/asound/card0/pcm0p/sub0/{sw_params,status}
> when it's looping, and when it's really suspended?
>

If you can give me a hint how to read /proc when the machine is
suspended, other than waking it up, I'll certainly check the next time I
see it.

But after reading your thought on underruns, I think you right. I see
from a note I wrote myself that I get this while pushing a wav file
over the network to run "play" (from sox) on another machine. Every once
in a while it finds a musical phrase it really likes. I had assumed it
was a bug in sox, but a bug or mis-configure in the device fits all of
the observed cases I've seen.

--
Bill Davidsen <davidsen(a)tmr.com>
"We can't solve today's problems by using the same thinking we
used in creating them." - Einstein

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Pavel Machek on
On Sat 2010-03-20 20:55:46, Maciej Rutecki wrote:
> On niedziela, 14 marca 2010 o 08:58:31 Pavel Machek wrote:
> > Hi!
> >
> > In 2.6.33, hitting ^Z stopped mpg123 in a way you'd expect (both on
> > thinkpad and geode notebook).
> >
> > On 2.6.34-rc1, hit ^Z and sound starts looping.
> > Pavel
> >
> I created a Bugzilla entry at
> https://bugzilla.kernel.org/show_bug.cgi?id=15590
> for your bug report, please add your address to the CC list in
> there, thanks!

It was fixed by patch in
"[for 2.6.34][PATCH] ALSA: pcm_lib - fix xrun functionality"
thread. It should already be in sound tree.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/