From owner-freebsd-stable@FreeBSD.ORG Thu Apr 10 21:54:46 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D62C2106564A for ; Thu, 10 Apr 2008 21:54:46 +0000 (UTC) (envelope-from dweber@htw-saarland.de) Received: from theia.rz.uni-saarland.de (theia.rz.uni-saarland.de [134.96.7.31]) by mx1.freebsd.org (Postfix) with ESMTP id 2440D8FC18 for ; Thu, 10 Apr 2008 21:54:45 +0000 (UTC) (envelope-from dweber@htw-saarland.de) Received: from zdve-mailx.htw-saarland.de (zdve-mailx.htw-saarland.de [134.96.208.108]) by theia.rz.uni-saarland.de (8.14.1/8.14.0) with ESMTP id m3AKwnse004816 for ; Thu, 10 Apr 2008 22:58:50 +0200 Received: from isl-s-02.htw-saarland.de (isl-s-02.htw-saarland.de [134.96.216.92]) by zdve-mailx.htw-saarland.de (8.13.8/8.13.8) with ESMTP id m3AKwnDQ025809 for ; Thu, 10 Apr 2008 22:58:49 +0200 (CEST) Date: Thu, 10 Apr 2008 22:58:43 +0200 (CEST) From: Damian Weber To: freebsd-stable@freebsd.org In-Reply-To: <5f67a8c40804100944k3984ab8fp95b5d4b22f92dd30@mail.gmail.com> Message-ID: References: <396418019.20080409104542@serebryakov.spb.ru> <5f67a8c40804100944k3984ab8fp95b5d4b22f92dd30@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: ClamAV version 0.92.1, clamav-milter version 0.92.1 on zdve-mailx X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (theia.rz.uni-saarland.de [134.96.7.31]); Thu, 10 Apr 2008 22:58:50 +0200 (CEST) X-AntiVirus: checked by AntiVir MailGate (version: 2.1.2-14; AVE: 7.6.0.84; VDF: 7.0.3.150; host: AntiVir1) Subject: RELENG_6_3 ping and DUP packets X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2008 21:54:47 -0000 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 mtu 1500 options=1b inet A.B.C.D netmask 0xffffff00 broadcast A.B.C.255 ether 00:19:99:33:7c:09 media: Ethernet autoselect (100baseTX ) status: active plip0: flags=108810 mtu 1500 lo0: flags=8049 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 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: 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 Features2=0xe3bd AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 4 real memory = 2103115776 (2005 MB) avail memory = 2052919296 (1957 MB) ioapic0 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: 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: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci0: at device 3.0 (no driver attached) atapci0: port 0x1c80-0x1c87,0x1c74-0x1c77,0x1c78-0x1c7f,0x1c70-0x1c73,0x1c20-0x1c2f irq 18 at device 3.2 on pci0 ata2: on atapci0 ata3: on atapci0 pci0: at device 3.3 (no driver attached) em0: 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: port 0x1840-0x185f irq 20 at device 26.0 on pci0 uhci0: [GIANT-LOCKED] usb0: 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: port 0x1860-0x187f irq 18 at device 26.1 on pci0 uhci1: [GIANT-LOCKED] usb1: 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: port 0x1880-0x189f irq 19 at device 26.2 on pci0 uhci2: [GIANT-LOCKED] usb2: 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: 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: 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: at device 27.0 (no driver attached) pcib2: irq 18 at device 28.0 on pci0 pci2: on pcib2 pcib3: irq 22 at device 28.4 on pci0 pci3: on pcib3 uhci3: port 0x18a0-0x18bf irq 20 at device 29.0 on pci0 uhci3: [GIANT-LOCKED] usb4: 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: port 0x18c0-0x18df irq 22 at device 29.1 on pci0 uhci4: [GIANT-LOCKED] usb5: 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: port 0x18e0-0x18ff irq 21 at device 29.2 on pci0 uhci5: [GIANT-LOCKED] usb6: 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: 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: 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: at device 30.0 on pci0 pci4: on pcib4 isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1c40-0x1c4f,0x1c30-0x1c3f at device 31.2 on pci0 ata0: on atapci1 ata1: on atapci1 pci0: at device 31.3 (no driver attached) atapci2: port 0x1cb8-0x1cbf,0x1cac-0x1caf,0x1cb0-0x1cb7,0x1ca8-0x1cab,0x1c60-0x1c6f,0x1c50-0x1c5f irq 22 at device 31.5 on pci0 ata4: on atapci2 ata5: on atapci2 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] ppc0: port 0x378-0x37b irq 7 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcefff,0xcf000-0xcffff on isa0 sc0: 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: 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 at ata0-master SATA300 acd0: DVDROM 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,