From owner-freebsd-multimedia@FreeBSD.ORG Tue Jul 24 18:01:28 2007 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 883A116A417; Tue, 24 Jul 2007 18:01:28 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from smtp2.sccoast.net (smtp2.sccoast.net [66.153.203.174]) by mx1.freebsd.org (Postfix) with ESMTP id 4469A13C457; Tue, 24 Jul 2007 18:01:28 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from 156.138-pool-xdsl-mi.sccoast.net ([66.153.138.156]:59657 helo=volatile.chemikals.org) by smtp2.sccoast.net with esmtp (Exim 4.60) (envelope-from ) id 1IDOgp-0005XF-VG; Tue, 24 Jul 2007 14:01:11 -0400 Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.13.8/8.13.8) with ESMTP id l6OHxcLb061554; Tue, 24 Jul 2007 13:59:38 -0400 (EDT) (envelope-from morganw@chemikals.org) Date: Tue, 24 Jul 2007 13:59:38 -0400 (EDT) From: Wes Morgan To: Ariff Abdullah In-Reply-To: <20070722065907.22d53e35.ariff@FreeBSD.org> Message-ID: References: <20070721222514.21f77e56.ariff@FreeBSD.org> <20070722033151.6a3a6551.ariff@FreeBSD.org> <20070722065907.22d53e35.ariff@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=us-ascii Cc: multimedia@FreeBSD.org Subject: Re: HDA recording X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2007 18:01:28 -0000 On Sun, 22 Jul 2007, Ariff Abdullah wrote: > On Sat, 21 Jul 2007 15:52:09 -0400 (EDT) > Wes Morgan wrote: >> On Sun, 22 Jul 2007, Ariff Abdullah wrote: >> >>> On Sat, 21 Jul 2007 14:40:29 -0400 (EDT) >>> Wes Morgan wrote: >>>> On Sat, 21 Jul 2007, Ariff Abdullah wrote: >>>> >>>>> On Sat, 21 Jul 2007 09:47:00 -0400 (EDT) >>>>> Wes Morgan wrote: >>>>>> Is recording via HDA working for anyone? When last I tried, >>> back >> in > May, I was able to record. However I'm not sure how >>> old the >> kernel > I was running was... As it stands now, I >>> reverted hda >> back to > 20070320_0043 (not the pcm driver >>> though) and it still >> doesn't > work. I tried rolling back the >>> entire sound >> infrastructure but it > would not compile. >>>>>> >>>>>> The error I'm seeing is: >>>>>> >>>>>> pcm0:virtual:dsp0.vr0: record interrupt timeout, channel dead >>>>>> >>>>>> /dev/sndstat is: >>>>>> >>>>>> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) >>>>>> Installed devices: >>>>>> pcm0: at memory >>>>>> 0x80000000 irq 22 kld snd_hda [20070710_0047] [MPSAFE] >>>>> (1p:1v/1r:1v > channels duplex default) >>>>>> >>>>> >>>>> Try disabling vrec. dev.pcm.%d.rec.vchans=0 >>>> >>>> Now I get: >>>> >>>> pcm0:record:dsp0.r0: record interrupt timeout, channel dead >>>> >>>> instead. >>> >>> Try this patch: >>> >>> http://people.freebsd.org/~ariff/test/channel.c.diff >>> >>> >>> else, try enabling polling mode. >> >> Still get timeouts, with polling on, vchan recording off, >> with/without the patch, and all permutations of the three I could >> think of. > > No idea. Let see.. > > 1) Try enabling msi with hint.pcm.%d.msi=1 > 2) Try releng6, where it is left unchanged as a control specimen. > 3) Try moving backwards (not just sound), grab older sources, etc, > older cd snapshot, > 4) ... Ok, I've tried 1, no help. (3) is harder because of the gcc 4.2 import, but I tried all the kernel snapshots available for -current, none of which worked. I'll give 6.2 a try later.