[Bug 205979] Raspberry Pi2 loses audio after some time

Karl Denninger karl at denninger.net
Wed Jan 20 03:55:01 UTC 2016


Update as posted on bugzilla.

This *appears* to be related to some other bcm driver that is
inappropriately masking the audio interrupt (or otherwise tampering with
how it is handled.)

The reason I believe this to be the case is that I set up a test machine
and ran a full 48 hours of a shell script looping audio out via mpg321
without incident.  The machine was otherwise idle.

However, in regular use where the SD card is active and so are USB
devices and the wired network interface within a few hours the audio
interface goes "mute" as described in the bug report.  Since the console
is reporting a missing interrupt, this points toward the possibility of
some other bcm2835 driver masking the audio interrupt accidentally (and
inappropriately).

I'm looking through the code for potential sources but have yet to find
anything obvious......

On 1/6/2016 13:27, bugzilla-noreply at freebsd.org wrote:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205979
>
>             Bug ID: 205979
>            Summary: Raspberry Pi2 loses audio after some time
>            Product: Base System
>            Version: 11.0-CURRENT
>           Hardware: arm
>                 OS: Any
>             Status: New
>           Severity: Affects Many People
>           Priority: ---
>          Component: arm
>           Assignee: freebsd-arm at FreeBSD.org
>           Reporter: karl at denninger.net
>
> After some (relatively short) period of time on 11-Current with the Raspberry
> Pi2 audio fails in a "mute" state.  Some programs attempting to access audio
> (e.g. mpg321) will print a diagnostic on the console, others (e.g. espeak)
> simply hang.
>
> If there is a diagnostic it is of the form:
>
> pcm0: chn_write(): pcm0:virtual:dsp0.vp0: play interrupt timeout, channel dead
>
> There appears to be no way to clear this condition once it occurs other than a
> reboot.
>

-- 
Karl Denninger
karl at denninger.net <mailto:karl at denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2996 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20160119/57233ed6/attachment.bin>


More information about the freebsd-arm mailing list