Date: Thu, 10 Apr 2008 22:58:43 +0200 (CEST) From: Damian Weber <dweber@htw-saarland.de> To: freebsd-stable@freebsd.org Subject: RELENG_6_3 ping and DUP packets Message-ID: <Pine.BSO.4.64.0804102140550.30252@isl-s-02.htw-saarland.de> In-Reply-To: <5f67a8c40804100944k3984ab8fp95b5d4b22f92dd30@mail.gmail.com> References: <396418019.20080409104542@serebryakov.spb.ru> <5f67a8c40804100944k3984ab8fp95b5d4b22f92dd30@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello list, after upgrading from RELENG_6_2 to RELENG_6_3, I'm seeing duplicate packets when pinging the upgraded machine. I'm somewhat stuck, didn't find anything useful on the Web, so I'm asking the list, what I should try next. BTW, everything else works fine (ssh, NFS mount, NIS,....). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This is the uname output on the machine A.B.C.D$ $ uname -a FreeBSD xxxxxxxx 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0: Thu Apr 10 10:21:06 CEST 2008 root@xxxxxxxx:/usr/obj/usr/src/sys/ISL-POOL-6_3 i386 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Pinging locally gives A.B.C.D$ ping A.B.C.D PING A.B.C.D (A.B.C.D): 56 data bytes 64 bytes from A.B.C.D: icmp_seq=0 ttl=64 time=0.033 ms 64 bytes from A.B.C.D: icmp_seq=1 ttl=64 time=0.015 ms 64 bytes from A.B.C.D: icmp_seq=2 ttl=64 time=0.014 ms ^C --- A.B.C.D ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.014/0.021/0.033/0.009 ms - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The ifconfig says A.B.C.D$ ifconfig em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet A.B.C.D netmask 0xffffff00 broadcast A.B.C.255 ether 00:19:99:33:7c:09 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The netstat says A.B.C.D$ netstat -I em0 Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll em0 1500 <Link#1> 00:19:99:33:7c:09 17962 0 9695 0 0 em0 1500 A.B.C/24 xxxxxxxx.yyyyyyyy 9461 - 9666 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - But here is the problem, pinging the machine from remote gives A.B.C.X$ ping A.B.C.D PING A.B.C.D (A.B.C.D): 56 data bytes 64 bytes from A.B.C.D: icmp_seq=0 ttl=64 time=0.272 ms 64 bytes from A.B.C.D: icmp_seq=0 ttl=255 time=0.391 ms (DUP!) 64 bytes from A.B.C.D: icmp_seq=1 ttl=64 time=0.144 ms 64 bytes from A.B.C.D: icmp_seq=1 ttl=255 time=0.449 ms (DUP!) 64 bytes from A.B.C.D: icmp_seq=2 ttl=64 time=0.248 ms 64 bytes from A.B.C.D: icmp_seq=2 ttl=255 time=0.367 ms (DUP!) --- A.B.C.D ping statistics --- 3 packets transmitted, 3 packets received, 3 duplicates, 0.0% packet loss round-trip min/avg/max/std-dev = 0.144/0.311/0.449/0.104 ms Curiously, no duplicates are seen if the packet size is increased to 1481 (1473 data bytes): A.B.C.X$ ping -s 1473 A.B.C.D PING A.B.C.D (A.B.C.D): 1473 data bytes 1481 bytes from A.B.C.D: icmp_seq=0 ttl=64 time=0.781 ms 1481 bytes from A.B.C.D: icmp_seq=1 ttl=64 time=0.630 ms 1481 bytes from A.B.C.D: icmp_seq=2 ttl=64 time=0.646 ms 1481 bytes from A.B.C.D: icmp_seq=3 ttl=64 time=0.642 ms 1481 bytes from A.B.C.D: icmp_seq=4 ttl=64 time=0.666 ms 1481 bytes from A.B.C.D: icmp_seq=5 ttl=64 time=0.666 ms 1481 bytes from A.B.C.D: icmp_seq=6 ttl=64 time=0.675 ms --- A.B.C.D ping statistics --- 7 packets transmitted, 7 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.630/0.672/0.781/0.050 ms - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - There are no other machines with IP A.B.C.D on the network. Especially strange are the two different TTL-values. I started tcpdump on A.B.C.D but tcpdump doesn't see the duplicated packets. The tcpdump on the remote machine certainly prints the correct and the duplicated packets. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Finally, the dmesg output of A.B.C.D follows. Here, the kernel configuration ISL-POOL-6_3 is the GENERIC one with firewire devices firewire,sbp,fwe commented out. Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 6.3-RELEASE-p1 #0: Thu Apr 10 10:21:06 CEST 2008 root@xxxxxxxx:/usr/obj/usr/src/sys/ISL-POOL-6_3 ACPI APIC Table: <PTLTD APIC > Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (2394.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6fb Stepping = 11 Features=0xbfebfbff<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,PBE> Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM> AMD Features=0x20100000<NX,LM> AMD Features2=0x1<LAHF> Cores per package: 4 real memory = 2103115776 (2005 MB) avail memory = 2052919296 (1957 MB) ioapic0 <Version 2.0> irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Apr 10 2008 10:20:56) acpi0: <PTLTD RSDT> on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: <ACPI CPU> on acpi0 acpi_button0: <Power Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) pci0: <simple comms> at device 3.0 (no driver attached) atapci0: <Intel ATA controller> port 0x1c80-0x1c87,0x1c74-0x1c77,0x1c78-0x1c7f,0x1c70-0x1c73,0x1c20-0x1c2f irq 18 at device 3.2 on pci0 ata2: <ATA channel 0> on atapci0 ata3: <ATA channel 1> on atapci0 pci0: <simple comms, UART> at device 3.3 (no driver attached) em0: <Intel(R) PRO/1000 Network Connection Version - 6.7.2> port 0x1820-0x183f mem 0xf2200000-0xf221ffff,0xf2225000-0xf2225fff irq 23 at device 25.0 on pci0 em0: Ethernet address: 00:19:99:33:7c:09 uhci0: <UHCI (generic) USB controller> port 0x1840-0x185f irq 20 at device 26.0 on pci0 uhci0: [GIANT-LOCKED] usb0: <UHCI (generic) USB controller> on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: <UHCI (generic) USB controller> port 0x1860-0x187f irq 18 at device 26.1 on pci0 uhci1: [GIANT-LOCKED] usb1: <UHCI (generic) USB controller> on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: <UHCI (generic) USB controller> port 0x1880-0x189f irq 19 at device 26.2 on pci0 uhci2: [GIANT-LOCKED] usb2: <UHCI (generic) USB controller> on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: <EHCI (generic) USB 2.0 controller> mem 0xf2226800-0xf2226bff irq 18 at device 26.7 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: <EHCI (generic) USB 2.0 controller> on ehci0 usb3: USB revision 2.0 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered pci0: <multimedia> at device 27.0 (no driver attached) pcib2: <ACPI PCI-PCI bridge> irq 18 at device 28.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pcib3: <ACPI PCI-PCI bridge> irq 22 at device 28.4 on pci0 pci3: <ACPI PCI bus> on pcib3 uhci3: <UHCI (generic) USB controller> port 0x18a0-0x18bf irq 20 at device 29.0 on pci0 uhci3: [GIANT-LOCKED] usb4: <UHCI (generic) USB controller> on uhci3 usb4: USB revision 1.0 uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub4: 2 ports with 2 removable, self powered uhci4: <UHCI (generic) USB controller> port 0x18c0-0x18df irq 22 at device 29.1 on pci0 uhci4: [GIANT-LOCKED] usb5: <UHCI (generic) USB controller> on uhci4 usb5: USB revision 1.0 uhub5: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub5: 2 ports with 2 removable, self powered uhci5: <UHCI (generic) USB controller> port 0x18e0-0x18ff irq 21 at device 29.2 on pci0 uhci5: [GIANT-LOCKED] usb6: <UHCI (generic) USB controller> on uhci5 usb6: USB revision 1.0 uhub6: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub6: 2 ports with 2 removable, self powered ehci1: <EHCI (generic) USB 2.0 controller> mem 0xf2226c00-0xf2226fff irq 20 at device 29.7 on pci0 ehci1: [GIANT-LOCKED] usb7: EHCI version 1.0 usb7: companion controllers, 2 ports each: usb4 usb5 usb6 usb7: <EHCI (generic) USB 2.0 controller> on ehci1 usb7: USB revision 2.0 uhub7: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub7: 6 ports with 6 removable, self powered pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci4: <ACPI PCI bus> on pcib4 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci1: <Intel ICH9 SATA300 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1c40-0x1c4f,0x1c30-0x1c3f at device 31.2 on pci0 ata0: <ATA channel 0> on atapci1 ata1: <ATA channel 1> on atapci1 pci0: <serial bus, SMBus> at device 31.3 (no driver attached) atapci2: <Intel ICH9 SATA300 controller> port 0x1cb8-0x1cbf,0x1cac-0x1caf,0x1cb0-0x1cb7,0x1ca8-0x1cab,0x1c60-0x1c6f,0x1c50-0x1c5f irq 22 at device 31.5 on pci0 ata4: <ATA channel 0> on atapci2 ata5: <ATA channel 1> on atapci2 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] ppc0: <Standard parallel printer port> port 0x378-0x37b irq 7 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xcefff,0xcf000-0xcffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: Logitech USB Optical Mouse, rev 2.00/43.01, addr 2, iclass 3/1 ums0: 8 buttons and Z dir. Timecounter "TSC" frequency 2394012843 Hz quality 800 Timecounters tick every 1.000 msec hptrr: no controller detected. ad0: 238475MB <Seagate ST3250310AS 3.AAB> at ata0-master SATA300 acd0: DVDROM <Optiarc DVD-ROM DDU1671S/1.81> at ata1-master SATA150 Trying to mount root from ufs:/dev/ad0s2a ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny, logging disabled - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Any ideas? Best regards Damian Weber -- Damian Weber, <http://www-crypto.htw-saarland.de>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSO.4.64.0804102140550.30252>