Rob Lahaye
2003-Sep-24 06:22 UTC
[full build as of Sept. 24] "No route to host" after certain time...
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM> 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: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82845 Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 agp0: <Intel 82845 host to AGP bridge> mem 0xf8000000-0xfbffffff at device 0.0 on pci0 pcib1: <Intel 82845 PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pcib2: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0 pci2: <PCI bus> on pcib2 pci2: <S3 ViRGE DX/GX graphics accelerator> at 10.0 irq 12 rl0: <RealTek 8139 10/100BaseTX> port 0xd800-0xd8ff mem 0xef800000-0xef8000ff irq 10 at device 12.0 on pci2 rl0: Ethernet address: 00:a0:b0:0e:3a:95 miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: <Intel 82801BA/BAM (ICH2) PCI to LPC bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH2 ATA100 controller> port 0xb800-0xb80f at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> at 31.2 irq 11 pci0: <Intel 82801BA/BAM (ICH2) USB controller USB-B> at 31.4 irq 5 orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0 pmtimer0 on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ad0: 29314MB <IBM-DTLA-307030> [59560/16/63] at ata0-master UDMA100 Mounting root from ufs:/dev/ad0s1a
Mike Tancsa
2003-Sep-24 07:32 UTC
[full build as of Sept. 24] "No route to host" after certain time...
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM> >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: <math processor> on motherboard >npx0: INT 16 interface >pcib0: <Intel 82845 Host to PCI bridge> on motherboard >pci0: <PCI bus> on pcib0 >agp0: <Intel 82845 host to AGP bridge> mem 0xf8000000-0xfbffffff at device >0.0 on pci0 >pcib1: <Intel 82845 PCI-PCI (AGP) bridge> at device 1.0 on pci0 >pci1: <PCI bus> on pcib1 >pcib2: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0 >pci2: <PCI bus> on pcib2 >pci2: <S3 ViRGE DX/GX graphics accelerator> at 10.0 irq 12 >rl0: <RealTek 8139 10/100BaseTX> port 0xd800-0xd8ff mem >0xef800000-0xef8000ff irq 10 at device 12.0 on pci2 >rl0: Ethernet address: 00:a0:b0:0e:3a:95 >miibus0: <MII bus> on rl0 >rlphy0: <RealTek internal media interface> on miibus0 >rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >isab0: <Intel 82801BA/BAM (ICH2) PCI to LPC bridge> at device 31.0 on pci0 >isa0: <ISA bus> on isab0 >atapci0: <Intel ICH2 ATA100 controller> port 0xb800-0xb80f at device 31.1 >on pci0 >ata0: at 0x1f0 irq 14 on atapci0 >ata1: at 0x170 irq 15 on atapci0 >pci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> at 31.2 irq 11 >pci0: <Intel 82801BA/BAM (ICH2) USB controller USB-B> at 31.4 irq 5 >orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0 >pmtimer0 on isa0 >fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 >fdc0: FIFO enabled, 8 bytes threshold >fd0: <1440-KB 3.5" drive> on fdc0 drive 0 >atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 >vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 >sc0: <System console> at flags 0x100 on isa0 >sc0: VGA <16 virtual consoles, flags=0x100> >sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 >sio0: type 16550A, console >sio1 at port 0x2f8-0x2ff irq 3 on isa0 >sio1: type 16550A >ad0: 29314MB <IBM-DTLA-307030> [59560/16/63] at ata0-master UDMA100 >Mounting root from ufs:/dev/ad0s1a > > >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
Udo Schweigert
2003-Sep-24 08:19 UTC
[full build as of Sept. 24] "No route to host" after certain time...
On Wed, Sep 24, 2003 at 22:21:28 +0900, Rob Lahaye wrote:> When I reboot, all is okay again. > > Any ideas what has caused this in the new build? > What should I do to investigate further? >I had a similar problem on two (out of 5) 4.8-p8 boxes. The only change between p7 and p8 was the arp-cache-security fix, so I think it's related to that. Best regards -- Udo Schweigert, Siemens AG | Voice : +49 89 636 42170 CT IC CERT, Siemens CERT | Fax : +49 89 636 41166 D-81730 Muenchen / Germany | email : udo.schweigert@siemens.com
Udo Schweigert
2003-Sep-24 08:52 UTC
[full build as of Sept. 24] "No route to host" after certain time...
On Wed, Sep 24, 2003 at 22:21:28 +0900, 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. >Now i tested with my -stable system and had that behaviour: The single NIC is fxp: fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 139.23.202.134 netmask 0xfffff800 broadcast 139.23.207.255 ether 00:30:05:4a:65:b3 media: Ethernet 100baseTX <full-duplex> status: active The default router is 139.23.200.1, but then there is: add net default: gateway 139.23.200.1 Additional routing options: tcp extensions=NO TCP keepalive=YES. Routing daemons:. Mounting NFS file systems:arplookup 139.23.200.1 failed: host is not on local network arpresolve: can't allocate llinfo for 139.23.200.1rt arplookup 139.23.200.1 failed: host is not on local network arpresolve: can't allocate llinfo for 139.23.200.1rt arplookup 139.23.200.1 failed: host is not on local network ..... The first message says 139.23.200.1 is not on the local network, although we have 139.23.202.134 netmask 0xfffff800. As stated before: the only change was the arp security patch. Best regards -- Udo Schweigert, Siemens AG | Voice : +49 89 636 42170 CT IC CERT, Siemens CERT | Fax : +49 89 636 41166 D-81730 Muenchen / Germany | email : udo.schweigert@siemens.com
Jon Noack
2003-Sep-24 09:11 UTC
[full build as of Sept. 24] "No route to host" after certain time...
A "me too" on 1 of 3 machines. Had to get my collocation people to power cycle it several times before it came up correctly. I also had a RELENG_5_1 machine not come up after the update, but I'm not sure if that was related. Jon Noack
Mike Tancsa
2003-Sep-24 09:18 UTC
[full build as of Sept. 24] "No route to host" after certain time...
If you have all the aliases on lo0 does it work ? i.e. just have x.y.z.33 on fxp0. However, another poster had a problem with a /20 subnet. I wonder if its an incorrect mask calculation ? ---Mike At 12:05 PM 24/09/2003, Pawel Malachowski wrote:>There are: >x.y.z/24 with one IP address, x.y.z.1 is the default route. >a.b.c.0/27 and a.b.c.32/28 with aliased addresses. > >fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > inet x.y.z.33 netmask 0xffffff00 broadcast x.y.z.255 > inet a.b.c.34 netmask 0xfffffff0 broadcast a.b.c.47 > inet a.b.c.27 netmask 0xffffffe0 broadcast a.b.c.31 > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active >lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > inet a.b.c.35 netmask 0xffffffff > inet a.b.c.36 netmask 0xffffffff > inet a.b.c.37 netmask 0xffffffff > inet a.b.c.28 netmask 0xffffffff > inet a.b.c.29 netmask 0xffffffff > > >Internet: >Destination Gateway Flags Refs Use Netif Expire >a.b.c.28 a.b.c.28 UH 0 0 lo0 >a.b.c.29 a.b.c.29 UH 0 0 lo0 >a.b.c.35 a.b.c.35 UH 0 0 lo0 >a.b.c.36 a.b.c.36 UH 0 0 lo0 >a.b.c.37 a.b.c.37 UH 0 0 lo0 >127.0.0.1 127.0.0.1 UH 0 0 lo0 >x.y.z link#1 UC 1 0 fxp0 >x.y.z.54 00:01:02:03:04:05 UHLW 1 506 fxp0 1123 > > >Of course I can also see in logs messages like: >/kernel: arplookup a.b.c.1 failed: host is not on local network > > >-- >Pawe? Ma?achowski