* BUG POWERPC: snd-powermac hangs since 'Merge 32 and 64 bits asm-powerpc/io.h'
[not found] <d8658f80708312153j150a44ben3dcc3c70f800eada@mail.gmail.com>
@ 2007-09-01 4:58 ` Dave Vasilevsky
2007-09-02 9:40 ` Benjamin Herrenschmidt
1 sibling, 0 replies; 2+ messages in thread
From: Dave Vasilevsky @ 2007-09-01 4:58 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: BUG POWERPC: snd-powermac hangs since 'Merge 32 and 64 bits asm-powerpc/io.h'
[not found] <d8658f80708312153j150a44ben3dcc3c70f800eada@mail.gmail.com>
2007-09-01 4:58 ` BUG POWERPC: snd-powermac hangs since 'Merge 32 and 64 bits asm-powerpc/io.h' Dave Vasilevsky
@ 2007-09-02 9:40 ` Benjamin Herrenschmidt
1 sibling, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2007-09-02 9:40 UTC (permalink / raw)
To: Dave Vasilevsky; +Cc: tiwai, linux-kernel
On Sat, 2007-09-01 at 00:53 -0400, Dave Vasilevsky wrote:
> 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.
.../... strange. I'm travelling at the moment. I'll try to have a look,
but don't hesistate to "ping" me if you don't hear from me in the
upcoming couple of weeks.
Cheers,
Ben.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-09-02 9:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <d8658f80708312153j150a44ben3dcc3c70f800eada@mail.gmail.com>
2007-09-01 4:58 ` BUG POWERPC: snd-powermac hangs since 'Merge 32 and 64 bits asm-powerpc/io.h' Dave Vasilevsky
2007-09-02 9:40 ` Benjamin Herrenschmidt
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®