mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Dave Vasilevsky" <djvasi@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: BUG POWERPC: snd-powermac hangs since 'Merge 32 and 64 bits asm-powerpc/io.h'
Date: Sat, 1 Sep 2007 00:58:24 -0400	[thread overview]
Message-ID: <d8658f80708312158g6b85a625i171d1bf2fd7e2e4e@mail.gmail.com> (raw)
In-Reply-To: <d8658f80708312153j150a44ben3dcc3c70f800eada@mail.gmail.com>

When playing audio with the snd-powermac driver on a PowerMac G4
Quicksilver (Tumbler audio) the sound hangs after a few seconds.

- The time before a hang varies from one second to one minute.
- Killing the process playing sound and starting again will allow
sound to continue (for a few more seconds).
- Many different userspace audio systems and different audio sources
all encounter this bug--definitely a kernel issue.
- Vanilla kernels from 2.6.20 up to git HEAD show this behavior.
Others have reported this bug on distro kernels.[1][2]

I used git-bisect to find that the regression first occured after git
commit 68a64357d15ae4f596e92715719071952006e83c "powerpc: Merge 32 and
64 bits asm-powerpc/io.h" by benh.[3]

My kernel debugging skills are admittedly limited, but I scattered
printks through some relevant files and found that audio stops just as
snd_pmac_pcm_update in sound/ppc/pmac.c encounters a struct dbdma_cmd
with xfer_status == 0x8088. Normally it should be 0x84 (ie: ACTIVE |
RUN) or 0x0. Hopefully this means something to somebody. I'm willing
to do more debugging if more information is necessary, kindly CC me on
replies to this message.

Thank you for your time,
Dave Vasilevsky


[1] https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/87652
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=436723
[3]  http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=68a64357d15ae4f596e92715719071952006e83c

       reply	other threads:[~2007-09-01  4:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <d8658f80708312153j150a44ben3dcc3c70f800eada@mail.gmail.com>
2007-09-01  4:58 ` Dave Vasilevsky [this message]
2007-09-02  9:40 ` Benjamin Herrenschmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d8658f80708312158g6b85a625i171d1bf2fd7e2e4e@mail.gmail.com \
    --to=djvasi@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®