Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2004 06:55:02 -0500 (CDT)
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        Don Lewis <truckman@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [amd64] Sound breakage with snd_ich driver
Message-ID:  <XFMail.20040720065502.conrads@cox.net>
In-Reply-To: <200407200823.i6K8Nrrc041129@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <conrads@cox.net> -- "In Unix veritas"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20040720065502.conrads>