From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 27 19:38:48 2006 Return-Path: X-Original-To: multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3C6016A420; Mon, 27 Feb 2006 19:38:48 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25E8743D45; Mon, 27 Feb 2006 19:38:47 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([69.15.205.254]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k1RJcX8h042930; Mon, 27 Feb 2006 12:38:34 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <44035532.1060408@samsco.org> Date: Mon, 27 Feb 2006 12:38:26 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ariff Abdullah References: <20060227105017.77c18b20.ariff@FreeBSD.org> <200602271251.32890.mi+mx@aldan.algebra.com> <44034054.3090104@samsco.org> <200602271321.33055.mi+mx@aldan.algebra.com> <20060228025154.01db3dff.ariff@FreeBSD.org> In-Reply-To: <20060228025154.01db3dff.ariff@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pooker.samsco.org Cc: Mikhail Teterin , re@FreeBSD.org, multimedia@FreeBSD.org Subject: Re: today's 6.1 would not boot here 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: Mon, 27 Feb 2006 19:38:48 -0000 Ariff Abdullah wrote: > On Mon, 27 Feb 2006 13:21:32 -0500 > Mikhail Teterin wrote: > >>ΠΟΞΕΔ¦ΜΟΛ 27 ΜΐΤΙΚ 2006 13:09, Scott Long χΙ ΞΑΠΙΣΑΜΙ: >> >>>I've lost track here, sorry. šWhat are the problems with audio? >> >>6.1-PRERELEASE (as of yesterday) hangs solid on boot on the same >>system, where 6.0 (as of end of November) booted fine. >> >>Disabling the AC97 audio in the PC's BIOS allows booting to >>succeed... >> >>Ariff is aware of problems with the ich driver, but I'm not sure, >>whether he is planning to fix them before 6.1. IMHO, that is a must >>from -- at least -- the advocacy point of view... >> > > Problems within ich driver does exist since eon (especially the DMA > part). It was hidden until the recent improvement against the upper > layer which trying to promote loud failure in case a bug within > specific driver is triggered. > > My suggestions: > 1) Enable full debugging support (INVARIANTS, WITNESS, DIAGNOSTIC) > 2) Don't compile the driver within kernel, use the module instead. > 3) Don't load the module during boot. Do it manually *after* finish > booting (kldload sound ; kldload snd_ich) > 4) I need your pciconf -lv ;) > > In case all above failed, try to revert your ich.c to revision 1.53 . > > -- > Ariff Abdullah > FreeBSD Is this a problem with calibrating the sample rate on the chip? There was a problem with snd_ich several years ago where the calibration would fail or be unpredictable during boot. I fixed it my moving the calibration code to a separate step that gets run via the config_intrhook API. That made it work reliably during boot and when loaded after boot. Is this new problem somehow related to this? Since I was the one who fixed it in the past, I'd be happy to help now. Scott