From owner-freebsd-stable@FreeBSD.ORG Wed Sep 24 07:32:26 2003 Return-Path: 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 DFFFF16A4BF for ; Wed, 24 Sep 2003 07:32:26 -0700 (PDT) Received: from avscan1.sentex.ca (avscan1.sentex.ca [199.212.134.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01CFF43FDD for ; Wed, 24 Sep 2003 07:32:26 -0700 (PDT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by avscan1.sentex.ca (8.12.9p/8.12.9) with ESMTP id h8OEWPxv048201; Wed, 24 Sep 2003 10:32:25 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.12.9p1/8.12.9) with ESMTP id h8OEWOdK055957; Wed, 24 Sep 2003 10:32:24 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.0.0.22.0.20030924103406.0307c250@209.112.4.2> X-Sender: mdtpop@209.112.4.2 (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 24 Sep 2003 10:34:50 -0400 To: Rob Lahaye , freebsd-stable@freebsd.org From: Mike Tancsa In-Reply-To: <3F719A58.5000700@snu.ac.kr> References: <3F719A58.5000700@snu.ac.kr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by Sentex Communications (avscan1/20021227) Subject: Re: [full build as of Sept. 24] "No route to host" after certain time... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2003 14:32:27 -0000 How do you get your default route ? Can you show netstat -nra at boot up time and then netstat -nra when the problems start ? ---Mike At 09:21 AM 24/09/2003, Rob Lahaye wrote: >Hi, > >I have built world and kernel from -STABLE as of today (Sept. 24th). >All seems to work well, but after a certain time (maybe hours, don't >know really), the internet connection breaks. > >For example, immediately after boot, everything is okay: > >Mozilla connects to whatever, like a charm, >and telnet/ping do as expected: > >$ telnet 61.74.111.134 13 >Trying 61.74.111.134... >telnet: connect to address 61.74.111.134: Connection refused >telnet: Unable to connect to remote host > >$ ping 61.74.111.134 >PING 61.74.111.134 (61.74.111.134): 56 data bytes > >------------------------------- >then, after a while, when I do the same: > >Mozilla gives a dialog with >"connection was refused when attempting to contact foo.bar.com" > >$ telnet 61.74.111.134 13 >Trying 61.74.111.134... >telnet: connect to address 61.74.111.134: No route to host >telnet: Unable to connect to remote host > >$ ping 61.74.111.134 >PING 61.74.111.134 (61.74.111.134): 56 data bytes >ping: sendto: No route to host > >------------------------------ > >When I reboot, all is okay again. > >Any ideas what has caused this in the new build? >What should I do to investigate further? > >See dmesg and uname info below. > >Thanks, >Rob. > >uname -a >FreeBSD cisr.snu.ac.kr 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Wed Sep >24 12:13:32 KST 2003 >lahaye@cisr.snu.ac.kr:/usr/obj/usr/src/sys/MYKERNEL i386 > >dmesg >Copyright (c) 1992-2003 The FreeBSD Project. >Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. >FreeBSD 4.9-PRERELEASE #0: Wed Sep 24 12:13:32 KST 2003 > lahaye@cisr.snu.ac.kr:/usr/obj/usr/src/sys/MYKERNEL >Timecounter "i8254" frequency 1193182 Hz >Timecounter "TSC" frequency 2017979224 Hz >CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (2017.98-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 > >Features=0x3febfbff >real memory = 536788992 (524208K bytes) >avail memory = 519438336 (507264K bytes) >Preloaded elf kernel "kernel" at 0xc02dc000. >Pentium Pro MTRR support enabled >md0: Malloc disk >Using $PIR table, 12 entries at 0xc00f1600 >npx0: on motherboard >npx0: INT 16 interface >pcib0: on motherboard >pci0: on pcib0 >agp0: mem 0xf8000000-0xfbffffff at device >0.0 on pci0 >pcib1: at device 1.0 on pci0 >pci1: on pcib1 >pcib2: at device 30.0 on pci0 >pci2: on pcib2 >pci2: at 10.0 irq 12 >rl0: port 0xd800-0xd8ff mem >0xef800000-0xef8000ff irq 10 at device 12.0 on pci2 >rl0: Ethernet address: 00:a0:b0:0e:3a:95 >miibus0: on rl0 >rlphy0: on miibus0 >rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >isab0: at device 31.0 on pci0 >isa0: on isab0 >atapci0: port 0xb800-0xb80f at device 31.1 >on pci0 >ata0: at 0x1f0 irq 14 on atapci0 >ata1: at 0x170 irq 15 on atapci0 >pci0: at 31.2 irq 11 >pci0: at 31.4 irq 5 >orm0: