From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 20:08:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 166741065687 for ; Wed, 15 Oct 2008 20:08:33 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [76.96.62.17]) by mx1.freebsd.org (Postfix) with ESMTP id 914228FC22 for ; Wed, 15 Oct 2008 20:08:32 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA11.westchester.pa.mail.comcast.net ([76.96.62.36]) by QMTA10.westchester.pa.mail.comcast.net with comcast id T0wh1a00R0mv7h05A88XCp; Wed, 15 Oct 2008 20:08:31 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA11.westchester.pa.mail.comcast.net with comcast id T87u1a0032P6wsM3X87uGC; Wed, 15 Oct 2008 20:07:55 +0000 X-Authority-Analysis: v=1.0 c=1 a=N8TDiX_OOuEA:10 a=TiS0_Z0ZvfoA:10 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=L3JC-ZDSJinC7o2ES0IA:9 a=CrFjzeT3Xg7CrY3q-3gA:7 a=O6poWISJ7tx3EjRfvtFM6ppo2yQA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id E801CC9419; Wed, 15 Oct 2008 13:08:29 -0700 (PDT) Date: Wed, 15 Oct 2008 13:08:29 -0700 From: Jeremy Chadwick To: Aniruddha Message-ID: <20081015200829.GA87853@icarus.home.lan> References: <1224054780.4011.20.camel@debian> <20081015072630.GA70901@icarus.home.lan> <1224069478.4247.7.camel@debian> <20081015113101.GA76278@icarus.home.lan> <20081015120911.GI14769@cdnetworks.co.kr> <1224080661.5407.2.camel@debian> <20081015144302.GA80037@icarus.home.lan> <1224091596.4048.2.camel@debian> <20081015184951.GA84864@icarus.home.lan> <1224100966.4199.6.camel@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1224100966.4199.6.camel@debian> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: pyunyh@gmail.com, freebsd-questions@FreeBSD.org Subject: Re: Under heavy load internet gets killed, only a reboot can bring it back up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 20:08:33 -0000 On Wed, Oct 15, 2008 at 10:02:46PM +0200, Aniruddha wrote: > On Wed, 2008-10-15 at 11:49 -0700, Jeremy Chadwick wrote: > > How exactly did you download the URLs I gave you? > > > > Can you show me what's on line 241 of if_msk.c? > > > > A 'grep ^#include if_msk.c' for me returns lines which only include > > filenames surrounded with "" or <>. > > I downloaded the files this way: > > wget http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/msk/if_msk.c?rev=1.34;content-type=text%2Fplain This is wrong. Your shell has interpreted variables in the URL, and you ended up downloading the wrong URL, which caused HTML and other things to appear in the file. Is this your first time using UNIX? This is a little surprising. You need to do (note the apostrophes, DO NOT use double-quotes): $ wget -O if_msk.c 'http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/msk/if_msk.c?rev=1.34;content-type=text%2Fplain' And be sure to do the same for the include file (change the -O argument, obviously). -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |