From owner-freebsd-current@FreeBSD.ORG Sun Oct 1 20:26:28 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87D2F16A492 for ; Sun, 1 Oct 2006 20:26:28 +0000 (UTC) (envelope-from nullpt@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id C925243D4C for ; Sun, 1 Oct 2006 20:26:26 +0000 (GMT) (envelope-from nullpt@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so410342uge for ; Sun, 01 Oct 2006 13:26:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lTcRtq1QxPDmo8MiJECIVZk2PqCgJbCOruePdu7OV3rh7kHpRl9I57VvC1ymuBAuFRIb2vwCprg9EaocBAVwPzGn1DFRbW9zKYppahFeXUnKauwM1HufcJ5CSc+CyGUB3fN6OHQdr/GAu5V2OJ82dqxNjvis4Mur53TsyRkoPH8= Received: by 10.66.221.19 with SMTP id t19mr2198563ugg; Sun, 01 Oct 2006 13:26:25 -0700 (PDT) Received: by 10.66.237.20 with HTTP; Sun, 1 Oct 2006 13:26:25 -0700 (PDT) Message-ID: <755cb9fc0610011326u6f478e44o6ff9f2693ebc0623@mail.gmail.com> Date: Sun, 1 Oct 2006 21:26:25 +0100 From: "Alexandre Vieira" To: "Ariff Abdullah" In-Reply-To: <20061002041118.1d4b3908.ariff@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <755cb9fc0610011210x6dd419c8g86ecab73bc7faa44@mail.gmail.com> <20061002033153.12e66f84.ariff@FreeBSD.org> <755cb9fc0610011242q1edec469yf465ae7246dbf471@mail.gmail.com> <20061002041118.1d4b3908.ariff@FreeBSD.org> Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org Subject: Re: pcm0 + rl0 in the same irq causes panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2006 20:26:28 -0000 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 wrote: > [Please avoid freebsd-questions@, for now] > > On Sun, 1 Oct 2006 20:42:54 +0100 > "Alexandre Vieira" wrote: > > On 10/1/06, Ariff Abdullah wrote: > > > > > > [CC: current@ as this issue related with the current state of > > > -current] > > > > > > On Sun, 1 Oct 2006 20:10:33 +0100 > > > "Alexandre Vieira" 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@gmail.com