Re: pcm0 + rl0 in the same irq causes panic

From: Ariff Abdullah <ariff_at_FreeBSD.org>
Date: Mon, 2 Oct 2006 04:11:18 +0800
[Please avoid freebsd-questions_at_, for now]

On Sun, 1 Oct 2006 20:42:54 +0100
"Alexandre Vieira" <nullpt_at_gmail.com> wrote:
> On 10/1/06, Ariff Abdullah <ariff_at_freebsd.org> wrote:
> >
> > [CC: current_at_ as this issue related with the current state of
> > -current]
> >
> > On Sun, 1 Oct 2006 20:10:33 +0100
> > "Alexandre Vieira" <nullpt_at_gmail.com> wrote:
> > > Hello folks,
> > >
> > > I'm having some troubles setting up my freebsd workstation.
> > >
> > > blackpearl# vmstat -i
> > > interrupt                          total       rate
> > > irq1: atkbd0                        1248          3
> > > irq9: acpi0                          720          1
> > > irq12: psm0                         4614         12
> > > irq14: ata0                        45465        123
> > > irq16: pcm0 rl0++                    369          1
> > > cpu0: timer                       733657       1993
> > > Total                             786073       2136
> > > blackpearl#
> > >
> > > I recently got sound in my laptop trough the recent snd_hda(4)
> > > driver by Ariff.
> > >
> > > Whenevr artds (our anything else opens the device) I get a panic
> > > fatal trap 19 (non-maskable interrupt trap while in kernel
> > > mode).
> > >
> > > What info do I need to submit in order to investigate this
> > > issue?
> > >
> >
> > I thought yours works flawlessly?
> >
> > I can't tell. The origin of the problem is probably somewhere else
> > :( . Perhaps output of the crashdump and backtrace would help us
> > to investigate the issue.
> >
> > Please update to the latest -current since snd_hda is already part
> > of the -current build process. Besides, read /usr/src/UPDATING for
> > latest breaking news.
> >
> > By the way, please fetch
> > http://people.freebsd.org/~ariff/test/hdac.c
> > and put it into sys/dev/sound/pci/hda/ , rebuild, etc. Stay in
> > plain console (no X) while try to play something, perhaps using
> > mpg123/mplayer etc. Few people reported simmilar issue which
> > cannot be reproduced after staying out of X/KDE while abusing
> > sound playback through plain console.
> >
> >
> 
> I'm sorry, forgot to add an important info.
> 
> I'm now testing stuff in 6.2-PRERELEASE. I don't know if I did
> anything that different but I didn't see this happening in -CURRENT.
> 
What do you mean? Even with simple test like this (below) makes the
-CURRENT panic too?

> I've made a simple test with mpg123. Played a mp3 file really fine
> without panicing.. what does artsd do that would cause the panic?
> Maybe I can't stress this as much as artsd?
> 
sysctl hw.snd.pcm0.vchans=200

Open as many playback apps as possible

So how about artsd+6.2-PRERELEASE ? Simmilar issue has been reported
with this combination too, but I'm afraid the real problem is
somewhere else, maybe this one:

http://lists.freebsd.org/pipermail/cvs-all/2006-October/190629.html

Don't hesitate to post your panic backtrace right here.

--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
    and confusing for us idiot ***** users :P ........

Received on Sun Oct 01 2006 - 18:13:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:01 UTC