From: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
To: Henrik Persson <nix@syndicalist.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: VIA VT82C686 AC97 hickup
Date: Fri, 30 Apr 2004 09:19:25 -0300 [thread overview]
Message-ID: <20040430121925.GA21667@logos.cnet> (raw)
In-Reply-To: <1079969375.1042.6.camel@vega>
On Mon, Mar 22, 2004 at 04:29:36PM +0100, Henrik Persson wrote:
> Hi.
>
> For a month or two I've been experiencing some trouble with the VIA AC97
> sound card attached to my motherboard.. The machine in question is
> running smoothly and playing mp3s and movies and then all of a sudden
> (usually when it has been on for about 10 days or so) this will flood
> dmesg and /var/log/messages:
>
> Mar 22 16:22:43 eurisco kernel: Assertion failed! chan->is_active ==
> sg_active(chan->iobase),via82cxxx_audio.c,via_chan_maybe_start,line=1388
>
> Any ideas?
I'm always seeing this too in my box (which is running 2.6.0).
Jeff, Alan, the assert seem erroneous?
/**
* via_chan_maybe_start - Initiate audio hardware DMA operation
* @chan: Channel whose DMA is to be started
*
* Initiate DMA operation, if the DMA engine for the given
* channel @chan is not already active.
*/
static inline void via_chan_maybe_start (struct via_channel *chan)
{
assert (chan->is_active == sg_active(chan->iobase));
and
static int sg_active (long iobase)
{
u8 tmp = inb (iobase + VIA_PCM_STATUS);
if ((tmp & VIA_SGD_STOPPED) || (tmp & VIA_SGD_PAUSED)) {
printk(KERN_WARNING "via82cxxx warning: SG stopped or paused\n");
return 0;
}
if (tmp & VIA_SGD_ACTIVE)
return 1;
return 0;
}
The driver works normally, even with the assert happening:
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
Assertion failed! chan->is_active == sg_active(chan->iobase),sound/oss/via82cxxx _audio.c,via_chan_maybe_start,line=1388
Assertion failed! chan->is_active == sg_active(chan->iobase),sound/oss/via82cxxx _audio.c,via_chan_maybe_start,line=1388
Assertion failed! chan->is_active == sg_active(chan->iobase),sound/oss/via82cxxx _audio.c,via_chan_maybe_start,line=1388
Assertion failed! chan->is_active == sg_active(chan->iobase),sound/oss/via82cxxx _audio.c,via_chan_maybe_start,line=1388
Assertion failed! chan->is_active == sg_active(chan->iobase),sound/oss/via82cxxx _audio.c,via_chan_maybe_start,line=1388
Assertion failed! chan->is_active == sg_active(chan->iobase),sound/oss/via82cxxx _audio.c,via_chan_maybe_start,line=1388
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
prev parent reply other threads:[~2004-04-30 12:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-22 15:29 VIA VT82C686 AC97 hickup Henrik Persson
2004-04-30 12:19 ` Marcelo Tosatti [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040430121925.GA21667@logos.cnet \
--to=marcelo.tosatti@cyclades.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nix@syndicalist.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox