From owner-freebsd-current Thu Sep 28 11:12:47 2000 Delivered-To: freebsd-current@freebsd.org Received: from smtp.ic.netlaputa.ne.jp (smtp.ic.netlaputa.ne.jp [202.208.214.17]) by hub.freebsd.org (Postfix) with ESMTP id CDAC037B422 for ; Thu, 28 Sep 2000 11:12:37 -0700 (PDT) Received: from aragorn.t-ogawa.trans-nt.co.jp (im4-ppp13.ic.netlaputa.ne.jp [210.158.243.13]) by smtp.ic.netlaputa.ne.jp (8.9.1/8.9-smtp) with ESMTP id DAA01786; Fri, 29 Sep 2000 03:12:03 +0900 (JST) Date: Fri, 29 Sep 2000 03:11:15 +0900 Message-ID: <86snqkidz0.wl.t-ogawa@triaez.kaisei.org> From: Takaya Ogawa To: Julian Elischer Cc: current@freebsd.org Subject: Re: hwptr went backwards.. In-Reply-To: In your message of "Thu, 28 Sep 2000 00:50:10 -0700 (PDT)" References: User-Agent: Wanderlust/2.3.0 (Roam) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 (generated by EMIKO 1.14.0 - "Zoomastigophora") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At Thu, 28 Sep 2000 00:50:10 -0700 (PDT), Julian Elischer wrote: > pcm0: hwptr went backwards 708 -> 628 I've seen this too on my PC running current as of Sep 20. dmesg says: pcm0: 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