Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2000 03:11:15 +0900
From:      Takaya Ogawa <t-ogawa@triaez.kaisei.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        current@freebsd.org
Subject:   Re: hwptr went backwards..
Message-ID:  <86snqkidz0.wl.t-ogawa@triaez.kaisei.org>
In-Reply-To: In your message of "Thu, 28 Sep 2000 00:50:10 -0700 (PDT)" <Pine.BSF.4.10.10009280043300.17364-100000@InterJet.elischer.org>
References:  <Pine.BSF.4.10.10009280043300.17364-100000@InterJet.elischer.org>

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

At Thu, 28 Sep 2000 00:50:10 -0700 (PDT),
Julian Elischer <julian@elischer.org> wrote:
> pcm0: hwptr went backwards 708 -> 628

I've seen this too on my PC running current as of Sep
20. dmesg says: 
pcm0: <ESS Solo-1 (unknown vendor)> port 0xfc8c-0xfc8f,0xfc88-0xfc8b,0xfc30-0xfc3f,0xfc20-0xfc2f,0xfcc0-0xfcff irq 5 at device 11.0 on pci0

> I've seen others mention this..
> I didn't however see a resolution..
> Will I pick up a fix for this when I upgrade? 
> If it is well understood, is there a single file I can pre-patch
> while leaving the rest of the system at the PRE_SMPNG stage?

Though I don't realize the code at all, the messages
almost, but not completely, went away by the following
patch for me.
 
All I did is use cvs diff and see what revision
triggered the problem. So this would be a wrong
solution...

--- channel.c.orig	Fri Sep 29 02:56:47 2000
+++ channel.c	Fri Sep 29 02:58:13 2000
@@ -241,7 +241,7 @@ chn_checkunderflow(pcm_channel *c)
 		b->fl = b->bufsize - b->rl;
 	  	b->underflow = 0;
 	} else {
-		chn_dmaupdate(c);
+		/* chn_dmaupdate(c); */
 	}
 }

----------
Takaya Ogawa
t-ogawa@triaez.kaisei.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86snqkidz0.wl.t-ogawa>