From owner-freebsd-stable Sun Jul 14 21: 5:53 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B1D237B400 for ; Sun, 14 Jul 2002 21:05:49 -0700 (PDT) Received: from sproxy14.hi-ho.ne.jp (sproxy14.hi-ho.ne.jp [202.224.159.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C39943E3B for ; Sun, 14 Jul 2002 21:05:48 -0700 (PDT) (envelope-from karuhito@cam.hi-ho.ne.jp) Received: from localhost (h128packet1-p101.hi-ho.ne.jp [61.211.119.230]) by sproxy14.hi-ho.ne.jp (hi-ho Mail Server) with ESMTP id <0GZ900J6MVDIZV@sproxy14.hi-ho.ne.jp> for stable@freebsd.org; Mon, 15 Jul 2002 13:05:46 +0900 (JST) Date: Mon, 15 Jul 2002 13:05:18 +0900 (JST) From: =?iso-2022-jp?B?GyRCOXU0ZBsoQiAbJEJPQjlUGyhC?= Subject: Re: lnc interface dying under heavy I/O when running 4.6-STABLE under VMware 3.1.1 In-reply-to: <20020710105447.84833.qmail@web40308.mail.yahoo.com> To: stable@freebsd.org Message-id: <20020715.130518.730555025.karuhito@cam.hi-ho.ne.jp> MIME-version: 1.0 X-Mailer: Mew version 3.0.55 on XEmacs 21.4.6 (Common Lisp) Content-type: Text/Plain; charset=us-ascii Content-transfer-encoding: 7bit References: <20020710105447.84833.qmail@web40308.mail.yahoo.com> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello. I work at same environment. And I faced to same problem that lnc stopped transmission under heavy load. So I tried patch you posted, it works fine. I noticed that before adapting a patch, transmission is burstly processed and stacked. But after patched, transmission looks gently (slowly) as Windows guest does. Is this expected behaviour? From: Nuzrin Yaapar Subject: lnc interface dying under heavy I/O when running 4.6-STABLE under VMware 3.1.1 Date: Wed, 10 Jul 2002 03:54:47 -0700 (PDT) > Guys, > > The subject describes it all. I don't know if anyone else is facing this > problem, but I can reproduce this problem at will. Under VMware 3.1.1 > for Windows, the lnc driver will stop responding after some time. The > weirdest part is that it will only manifest itself when doing some heavy > network I/O, such as 'make installworld' from NFS mount, or doing > netperf. > > The host OS is WinXP Pro, and the guest OS is the freshly cvsup > RELENG_4. Looking at VMware log file, I see a lot these messages: > > Jul 09 16:42:48: VMX|VLANCE: ethernet0 skipped 1024 time(s) > Jul 09 16:42:48: VMX|VLANCE: 254 30 24 23 26 215 11 3 2 0 0 0 0 0 0 0 > Jul 09 16:42:48: VMX|VLANCE: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 436 > Jul 09 16:42:51: VMX|VLANCE: ethernet0 skipped 1280 time(s) > Jul 09 16:42:51: VMX|VLANCE: 354 44 37 35 37 313 17 3 3 1 0 0 0 0 0 0 > Jul 09 16:42:51: VMX|VLANCE: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 436 > > I've done some investigation, and it seems that after some heavy network > activity, the lnc driver will stop calling RX interrupt routine, > lnc_rint(). The "fix" is very simple though; in sys/i386/isa/if_lnc.c, > delete the call to outw(sc->rdp, RINT | INEA) at the very end of > lnc_rint() function. See diff below applied against the latest RELENG_4 > code. > > # diff -ruN sys/i386/isa/if_lnc.c.old sys/i386/isa/if_lnc.c > --- sys/i386/isa/if_lnc.c.old Tue Jul 9 21:04:31 2002 > +++ sys/i386/isa/if_lnc.c Tue Jul 9 21:04:45 2002 > @@ -630,7 +630,6 @@ > * here have been dealt with. > */ > > - outw(sc->rdp, RINT | INEA); > } > > Anyone care to describe/explain/enlighten me on what is happening > actually? -- kazuyuki KUROIWA Email: karuhito@cam.hi-ho.ne.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message