Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - driver 0000671]: ALSA sound cuts out w/ message: ALSA sound/pci/via82xx.c:737: invalid via82xx_cur_ptr, using last valid pointer
Date: Mon, 6 Dec 2004 02:24:03 +0100	[thread overview]
Message-ID: <b640b92a8f6db581bab6021b0e9ccf2e@bugtrack.alsa-project.org> (raw)


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=671> 
======================================================================
Reported By:                brentcfisher
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   671
Category:                   PCI - via82xx
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Distribution:               Gentoo
Kernel Version:             2.6.8.1
======================================================================
Date Submitted:             11-24-2004 06:36 CET
Last Modified:              12-06-2004 02:24 CET
======================================================================
Summary:                    ALSA sound cuts out w/ message: ALSA
sound/pci/via82xx.c:737: invalid via82xx_cur_ptr, using last valid pointer
Description: 
Particularily noticeable when watching a DVD via xine using AC3 Pass
Through.  Sound will cut out momentarily (usually for no more than a
second).  The skip is always accompanied by multiples of this message in
the /var/log/messages file:

Nov 23 22:33:06 hostname ALSA sound/pci/via82xx.c:737: invalid
via82xx_cur_ptr, using last valid pointer
Nov 23 22:33:06 hostname ALSA sound/pci/via82xx.c:737: invalid
via82xx_cur_ptr, using last valid pointer
Nov 23 22:33:06 hostname ALSA sound/pci/via82xx.c:737: invalid
via82xx_cur_ptr, using last valid pointer

These messages appear in the log file once or twice a minute although the
sound only noticable cuts out every few minutes .  Very annoying on an
HTPC.
======================================================================

----------------------------------------------------------------------
 tiwai - 12-02-04 19:34 
----------------------------------------------------------------------
Hmm, intel8x0 driver doesn't have such messages.

In the case of via82xx, the DMA pointer reported by the hardware is
confused.  It happend often on a machine with broken ACPI support.

Anyway, try to enable POINTER_DEBUG in via82xx.c and recompile the driver.
 Then you'll get more detailed debug information.
Also, please show /proc/asound/card0/pcm0p/sub0/hw_params during the run.

----------------------------------------------------------------------
 brentcfisher - 12-06-04 02:24 
----------------------------------------------------------------------
tiwai,

Thanks for looking into this.  The information that you requested is below
- captured while playing back a DVD.  Hopefully this is helpful...

# cat /proc/asound/card0/pcm0p/sub0/hw_params
closed

Here is a snippit from /var/log/message with POINTER_DEBUG enabled:

Dec  5 18:20:23 samwise fail: idx = 0/16, lastpos = 0x1000, bufsize2 =
0x8000, offsize = 0x0, size = 0x1000, count = 0xfe0
Dec  5 18:20:23 samwise ALSA sound/pci/via82xx.c:738: invalid
via82xx_cur_ptr, using last valid pointer
Dec  5 18:20:23 samwise fail: idx = 0/16, lastpos = 0x1000, bufsize2 =
0x8000, offsize = 0x0, size = 0x1000, count = 0xfe0
Dec  5 18:20:23 samwise ALSA sound/pci/via82xx.c:738: invalid
via82xx_cur_ptr, using last valid pointer
Dec  5 18:20:23 samwise fail: idx = 0/16, lastpos = 0x1000, bufsize2 =
0x8000, offsize = 0x0, size = 0x1000, count = 0xfe0
Dec  5 18:20:23 samwise ALSA sound/pci/via82xx.c:738: invalid
via82xx_cur_ptr, using last valid pointer
Dec  5 18:20:23 samwise fail: idx = 0/16, lastpos = 0x1000, bufsize2 =
0x8000, offsize = 0x0, size = 0x1000, count = 0xfe0
Dec  5 18:20:23 samwise ALSA sound/pci/via82xx.c:738: invalid
via82xx_cur_ptr, using last valid pointer
Dec  5 18:20:23 samwise fail: idx = 0/16, lastpos = 0x1000, bufsize2 =
0x8000, offsize = 0x0, size = 0x1000, count = 0xfc0
Dec  5 18:20:23 samwise ALSA sound/pci/via82xx.c:738: invalid
via82xx_cur_ptr, using last valid pointer

Thanks again,
-Brent

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-24-04 06:36 brentcfisher   New Issue                                    
11-24-04 06:36 brentcfisher   Distribution              => Gentoo          
11-24-04 06:36 brentcfisher   Kernel Version            => 2.6.8.1         
11-24-04 06:47 brentcfisher   Note Added: 0002541                          
11-24-04 06:48 brentcfisher   Issue Monitored: brentcfisher                    
11-24-04 23:50 squarooticus   Note Added: 0002584                          
11-25-04 01:59 brentcfisher   Note Added: 0002585                          
11-25-04 06:45 squarooticus   Note Added: 0002586                          
12-02-04 19:34 tiwai          Note Added: 0002694                          
12-06-04 02:24 brentcfisher   Note Added: 0002725                          
======================================================================




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

             reply	other threads:[~2004-12-06  1:24 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-06  1:24 bugtrack [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-01-19 15:50 [ALSA - driver 0000671]: ALSA sound cuts out w/ message: ALSA sound/pci/via82xx.c:737: invalid via82xx_cur_ptr, using last valid pointer bugtrack
2004-12-16 17:25 bugtrack
2004-12-16 17:23 bugtrack
2004-12-16 16:53 bugtrack
2004-12-15 15:13 bugtrack
2004-12-11 22:30 bugtrack
2004-12-10 15:59 bugtrack
2004-12-09 14:35 bugtrack
2004-12-08 16:02 bugtrack
2004-12-08 15:35 bugtrack
2004-12-08 15:33 bugtrack
2004-12-08 11:13 bugtrack
2004-12-08  4:03 bugtrack
2004-12-07 17:24 bugtrack
2004-12-02 18:34 bugtrack
2004-11-25  5:45 bugtrack
2004-11-25  0:59 bugtrack
2004-11-24 22:50 bugtrack
2004-11-24  5:47 bugtrack
2004-11-24  5:36 bugtrack

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=b640b92a8f6db581bab6021b0e9ccf2e@bugtrack.alsa-project.org \
    --to=bugtrack@alsa-project.org \
    --cc=alsa-devel@alsa-project.org \
    /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