From owner-freebsd-current@FreeBSD.ORG Tue Jul 20 11:55:21 2004 Return-Path: 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 C352216A4CE; Tue, 20 Jul 2004 11:55:21 +0000 (GMT) Received: from lakermmtao09.cox.net (lakermmtao09.cox.net [68.230.240.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF47143D2D; Tue, 20 Jul 2004 11:55:18 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.local.net ([68.11.71.51]) by lakermmtao09.cox.net (InterMail vM.6.01.03.02.01 201-2131-111-104-103-20040709) with ESMTP <20040720115505.KODV17142.lakermmtao09.cox.net@dolphin.local.net>; Tue, 20 Jul 2004 07:55:05 -0400 Received: from dolphin.local.net (localhost.local.net [127.0.0.1]) by dolphin.local.net (8.12.11/8.12.11) with ESMTP id i6KBt2TI001779; Tue, 20 Jul 2004 06:55:02 -0500 (CDT) (envelope-from conrads@dolphin.local.net) Received: (from conrads@localhost) by dolphin.local.net (8.12.11/8.12.11/Submit) id i6KBt2kU001778; Tue, 20 Jul 2004 06:55:02 -0500 (CDT) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.5.5 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200407200823.i6K8Nrrc041129@gw.catspoiler.org> Date: Tue, 20 Jul 2004 06:55:02 -0500 (CDT) Organization: A Rag-Tag Band of Drug-Crazed Hippies From: "Conrad J. Sabatier" To: Don Lewis cc: freebsd-multimedia@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: [amd64] Sound breakage with snd_ich driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: conrads@cox.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 11:55:21 -0000 On 20-Jul-2004 Don Lewis wrote: > On 19 Jul, Conrad J. Sabatier wrote: >> This problem has persisted for the last several weeks now, close to >> a month or so, I would say. >> >> Playing MP3s using madplay, everything works fine for a while, then >> suddenly I get an "output: write: Invalid argument" error each time >> madplay starts up. Any further attempts to use sound via any method >> or app likewise fail. Sound remains broken until a reboot. >> >> Upgraded the system again yesterday, to the new "sound" drivers, >> same results. >> >> I've attached truss output from one of these failed madplay runs. > > I suspect that the sound driver is getting interrupt timeouts and is > marking the channel dead. Do you see the following message in > /var/log/messages? > play interrupt timeout, channel dead > If so, I've seen other reports of this. Yes, that's exactly right. > I think the chn_write() code needs some careful analysis ... That, as well as whatever is still causing these: ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=123971136 -- Conrad J. Sabatier -- "In Unix veritas"