From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 16 10:21:45 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3C8E106566B for ; Mon, 16 Jun 2008 10:21:45 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 520F18FC23 for ; Mon, 16 Jun 2008 10:21:45 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5490F.dip.t-dialin.net [84.165.73.15]) by redbull.bpaserver.net (Postfix) with ESMTP id 392CF2E200; Mon, 16 Jun 2008 12:03:55 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id B06AB12E313; Mon, 16 Jun 2008 12:03:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1213610632; bh=KI9yyHegFhB/47L3DIp7BAXHm2lzUCUmO Tj/MHBnfWc=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Lxojub2p49ExeD1WRFh1p2esl7QBCsNTOZLv9GEVUVle/HVd7E7IkyYXRu/eAkWWM 9Sg9yXfjQMDlm5fE8JCyXJWRtu/zjV9ahpV6TyutCjZhKUnT1+Q41MKabSOfGu+fP+T /XSsePua5kXaSoEfWyfMdFzM9BZ3q13kA91wchYdD9tHQ0H4oUg83KTukCPjM+ZaSMM qYkRsQkZwGaFojSg8qN6hS1w6BfSNzioeTm2Ct33YzFDWGB/qWtRiXgof1fXsQgI4Tq Ib67QE0Sz1RFMDiWv/7Rn2uccdeHFsJ/ixwnFQa9qCNWFv6yAWlN4D6Rdw/XhuD1o18 R0vV5Ufyw== Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m5GA3qUx060017; Mon, 16 Jun 2008 12:03:52 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Mon, 16 Jun 2008 12:03:52 +0200 Message-ID: <20080616120352.72872r6gafuop5yc@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 16 Jun 2008 12:03:52 +0200 From: Alexander Leidinger To: Fraser Tweedale References: <4852CFE8.8040003@rawbw.com> <20080613235531.GA91339@bacardi> In-Reply-To: <20080613235531.GA91339@bacardi> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.2-RC2) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-12.904, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, J_CHICKENPOX_63 0.60, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No X-Mailman-Approved-At: Mon, 16 Jun 2008 11:25:54 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: How to probe what application does in kernel (with sound device)? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2008 10:21:45 -0000 Quoting Fraser Tweedale (from Sat, 14 Jun 2008 =20 09:55:32 +1000): > ktrace(1) > > From man page: > The ktrace utility enables kernel trace logging for the specified pro= - > cesses. Kernel trace data is logged to the file ktrace.out. The ker= nel > operations that are traced include system calls, namei =20 > translations, sig- > nal processing, and I/O. To work with linux programs, linux_kdump (ports) has to be used. Regarding the problem at hand, have a look at vchans (sysctl -a | grep =20 vchan). Enable them if they aren't already and test again. If there are still problems, I suggest to come over to multimedia@, =20 post the OS version, the content of /dev/sndstat, the output of =20 "sysctl -a | grep linux" and what you tried so far. Bye, Alexander. --=20 Eat drink and be merry! Tomorrow you may be in Utah. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137