From owner-freebsd-current@FreeBSD.ORG Tue Oct 2 00:16:36 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C4F516A4FF for ; Tue, 2 Oct 2007 00:16:36 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id C7B9C13C461 for ; Tue, 2 Oct 2007 00:16:35 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so816229anc for ; Mon, 01 Oct 2007 17:16:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=YVrN0daf/YlXO5+TEX5UHbFUbCwUmW4DKVk+1Tomb8g=; b=EXT1Ee3YQznIjbjQRamTGLVUjqC45jsZDTZM6rt+nqU89V9rYuo5hiCRSFmOqUGbKTghBBQjCVcMzF70J+3xRH03cFv1GjoVr48XYLCIv9hjRgzQeAnI8HjD+RR0nm06q7oBwDcXdAYuqGHAqksKJrCMIIYrmlBDsrOOcKHh3MQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=NzLBKuktn0faM7DaQ2Nbe5cEctyw2SbOOeM5wjtM/WOgamNa+nROk44aPE6+Y4araRSNMIYbkvSzM7SWUnOejem2bpEyZENW/9KAHs2jIr5VBB54K4dV4c3bS0eHkXdYIqLAUxCW7Dv6MRa0fAuckQfv6JJVrIuSc+t2GLAOSc4= Received: by 10.114.80.4 with SMTP id d4mr401159wab.1191284194018; Mon, 01 Oct 2007 17:16:34 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id 26sm5459937wra.2007.10.01.17.16.30 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 01 Oct 2007 17:16:32 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l920CqhU023022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Oct 2007 09:12:52 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l920Cqod023021; Tue, 2 Oct 2007 09:12:52 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Tue, 2 Oct 2007 09:12:52 +0900 From: Pyun YongHyeon To: Aryeh Friedman Message-ID: <20071002001252.GG18658@cdnetworks.co.kr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: tcpi/ip dies at random times X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2007 00:16:36 -0000 On Mon, Oct 01, 2007 at 08:10:26PM +0000, Aryeh Friedman wrote: > My inet connection dies at random times (see example below) the only > way to repair is a hard reboot (and hard reboot of cable modem)... > this problem only started appearing after switching from i386 to amd64 > > uname -a: > > FreeBSD monsert 7.0-CURRENT FreeBSD 7.0-CURRENT #3: Mon Oct 1 > 02:06:20 UTC 2007 aryeh@monsert:/usr/obj/usr/src/sys/GENERIC > amd64 > > Problem output: > monsert# cvsup /usr/share/examples/cvsup/ports-supfile > Connected to cvsup10.us.FreeBSD.org > Updating collection ports-all/cvs > Edit ports/LEGAL > Edit ports/MOVED > Edit ports/UPDATING > Edit ports/audio/qjackctl/Makefile > Edit ports/audio/qjackctl/distinfo > Edit ports/audio/qjackctl/files/patch-src-qjackctlSetup.cpp > TreeList failed: Network write failure: Connection closed > Will retry at 15:37:45monsert# ifconfig -a > re0: flags=8843 metric 0 mtu 1500 > options=9b > ether 00:19:db:b5:f8:0f > inet6 fe80::219:dbff:feb5:f80f%re0 prefixlen 64 scopeid 0x1 > inet 67.84.39.90 netmask 0xfffff800 broadcast 255.255.255.255 > media: Ethernet autoselect (100baseTX ) > status: active > plip0: flags=108810 metric 0 mtu 1500 > lo0: flags=8049 metric 0 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > > relevent sections of dmesg: > > re0: port 0xe800-0xe8ff mem > 0xfcfff000-0xfcffffff irq 17 at device 0.0 on pci4 > re0: Using 2 MSI messages > miibus0: on re0 > rgephy0: PHY 1 on miibus0 > rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > re0: Ethernet address: 00:19:db:b5:f8:0f > re0: [FILTER] > re0: [FILTER] > > No abnormal entries in /var/log/messages I'm not sure re(4) was broken here but here is a WIP version. Would you give it spin? http://people.freebsd.org/~yongari/re/re.HEAD.patch It's possible that you have RTL8211 PHY and rgephy(4) needs patches to support the PHY. If above patch doesn't help try patch at the following URL. http://www.f.csce.kyushu-u.ac.jp/~shigeaki/software/rgephy.20070328.fbsd7.patch -- Regards, Pyun YongHyeon