Re: pcm0 + rl0 in the same irq causes panic

From: Alexandre Vieira <nullpt_at_gmail.com>
Date: Sun, 1 Oct 2006 21:26:25 +0100
Hello,

I think i didn't explained myself:

With 6.2-PRERLEASE I tested mpg123 in the console and it played fine,
no problems. When I start kde it will panic with kernel trap 19 being
the criminal proc "artsd". If I skip artsd it will run just fine (like
now).

With -CURRENT I've used KDE also but don't remember if I used artsd in
any ocasion. It worked with applications like mplayer or amarok.

I could only repro this problem with artsd, everything else works just
fine.. Dont think that its related to the link you posted.

Also, I haven't crashdumped anything for ages, my kernel has the
"makeoptions DEBUG=-g" and I've set dumpdev to my swap device ad03b
(/dev/ad0s3b             none            swap    sw              0
  0) but this is what I get:

Checking for core dump on /dev/ad0s3b...
savecore: no dumps found

And when it panics I see it saving the stack trace.

Anything changed in the stack trace recovery process?

Thanks for the help.

Regards



On 10/1/06, Ariff Abdullah <ariff_at_freebsd.org> wrote:
> [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 ........
>
>


-- 
Alexandre Vieira - nullpt_at_gmail.com
Received on Sun Oct 01 2006 - 18:26:28 UTC

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