From owner-freebsd-questions@FreeBSD.ORG Mon Aug 28 18:00:14 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E27EE16A4DA for ; Mon, 28 Aug 2006 18:00:13 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (bewilderbeast.blackhelicopters.org [198.22.63.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F9EB43D45 for ; Mon, 28 Aug 2006 18:00:12 +0000 (GMT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (mwlucas@localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.12.10/8.12.10) with ESMTP id k7SI0Afw045466 for ; Mon, 28 Aug 2006 14:00:11 -0400 (EDT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.12.10/8.12.10/Submit) id k7SI0Abo045465 for questions@freebsd.org; Mon, 28 Aug 2006 14:00:10 -0400 (EDT) (envelope-from mwlucas) Date: Mon, 28 Aug 2006 14:00:10 -0400 From: "Michael W. Lucas" To: questions@freebsd.org Message-ID: <20060828180010.GA45404@bewilderbeast.blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Spam-Score: (0) X-Scanned-By: MIMEDefang 2.39 Cc: Subject: ng_fec headaches X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2006 18:00:14 -0000 Hi, I'm using a recent -current on amd64, and trying to use ng_fec to hopefully provide a wide-bandwidth connection with cable-level redundancy, and instead I get get errors and sporadic connectivity. I configured fec0 as such: #!/bin/sh ngctl mkpeer fec dummy fec ngctl msg fec0: add_iface '"em3"' ngctl msg fec0: add_iface '"em7"' ngctl msg fec0: set_mode_inet ifconfig fec0 up ifconfig fec0 inet 10.184.1.19 netmask 255.255.0.0 The Cisco 6509 I was attached to had ports configured with: switchport trunk encapsulation dot1q switchport mode trunk When I tried to ping various hosts, however, I got sporadic and intermittent connectivity to other hosts on the network. Dmesg follows after log entries. Any suggestions? Thanks, ==ml Aug 25 11:43:13 aubsr019 kernel: WARNING: attempt to net_add_domain(netgraph) after domainfinalize() Aug 25 11:48:40 aubsr019 kernel: em3: link state changed to DOWN Aug 25 11:48:42 aubsr019 kernel: em3: link state changed to UP Aug 25 11:49:48 aubsr019 kernel: em3: link state changed to DOWN Aug 25 11:49:48 aubsr019 kernel: em7: link state changed to DOWN Aug 25 11:49:49 aubsr019 kernel: fec0: port em3 in bundle is down Aug 25 11:49:49 aubsr019 kernel: fec0: port em7 in bundle is down Aug 25 11:49:50 aubsr019 kernel: em7: link state changed to UP Aug 25 11:49:50 aubsr019 kernel: em3: link state changed to UP Aug 25 11:49:50 aubsr019 kernel: fec0: port em3 in bundle is up Aug 25 11:49:50 aubsr019 kernel: fec0: port em7 in bundle is up Aug 25 11:50:40 aubsr019 kernel: em3: link state changed to DOWN Aug 25 11:50:40 aubsr019 kernel: em7: link state changed to DOWN Aug 25 11:50:41 aubsr019 kernel: fec0: port em3 in bundle is down Aug 25 11:50:41 aubsr019 kernel: fec0: port em7 in bundle is down Aug 25 11:50:42 aubsr019 kernel: em7: link state changed to UP Aug 25 11:50:42 aubsr019 kernel: em3: link state changed to UP Aug 25 11:50:42 aubsr019 kernel: fec0: port em3 in bundle is up Aug 25 11:50:42 aubsr019 kernel: fec0: port em7 in bundle is up Aug 25 11:51:12 aubsr019 kernel: arp: 10.184.0.9 is on em3 but got reply from 00:11:bb:c2:34:40 on fec0 Aug 25 11:51:15 aubsr019 last message repeated 3 times Aug 25 11:51:15 aubsr019 kernel: arp: 10.184.1.11 is on em3 but got reply from 00:04:23:c2:91:38 on fec0 Aug 25 11:51:15 aubsr019 kernel: arp: 10.184.1.11 is on em3 but got reply from 00:04:23:c2:91:38 on fec0 Aug 25 11:51:16 aubsr019 kernel: arp: 10.184.0.9 is on em3 but got reply from 00:11:bb:c2:34:40 on fec0 Aug 25 11:51:19 aubsr019 last message repeated 3 times Aug 25 11:51:30 aubsr019 kernel: arp: 10.184.1.8 is on em3 but got reply from 00:50:04:1c:be:06 on fec0 Aug 25 11:51:54 aubsr019 last message repeated 12 times Aug 25 11:52:20 aubsr019 last message repeated 2 times Aug 25 11:52:22 aubsr019 kernel: arp: 10.184.202.99 is on em3 but got reply from 00:90:f5:48:aa:65 on fec0 Aug 25 11:52:25 aubsr019 last message repeated 5 times Aug 25 11:52:29 aubsr019 kernel: arp: 10.184.1.6 is on em3 but got reply from aa:00:04:00:10:08 on fec0 Aug 25 11:52:34 aubsr019 last message repeated 5 times Copyright (c) 1992-2006 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 7.0-CURRENT #1: Wed Aug 23 12:14:08 EDT 2006 system_mwl@aubsr019.us.add:/usr/obj/usr/src/sys/LOGHOST WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.71-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0xf43 Stepping = 3 Features=0xbfebfbff Features2=0x641d AMD Features=0x20100800 Logical CPUs per core: 2 usable memory = 2139070464 (2039 MB) avail memory = 2064818176 (1969 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic1: Changing APIC ID to 3 ioapic1: WARNING: intbase 32 != expected base 24 ioapic2: Changing APIC ID to 4 ioapic2: WARNING: intbase 64 != expected base 56 ioapic3: Changing APIC ID to 5 ioapic3: WARNING: intbase 96 != expected base 88 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 32-55 on motherboard ioapic2 irqs 64-87 on motherboard ioapic3 irqs 96-119 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: at device 0.0 on pci1 pci2: on pcib2 amr0: mem 0xf80f0000-0xf80fffff,0xfe9c0000-0xfe9fffff irq 46 at device 14.0 on pci2 amr0: Using 64-bit DMA amr0: delete logical drives supported by controller amr0: Firmware 521X, BIOS H430, 256MB RAM pcib3: at device 0.2 on pci1 pci3: on pcib3 pcib4: at device 4.0 on pci0 pci4: on pcib4 pcib5: at device 5.0 on pci0 pci5: on pcib5 pcib6: at device 0.0 on pci5 pci6: on pcib6 em0: port 0xecc0-0xecff mem 0xfe6e0000-0xfe6fffff irq 64 at device 7.0 on pci6 em0: Ethernet address: 00:13:72:64:cc:9d pcib7: at device 0.2 on pci5 pci7: on pcib7 em1: port 0xdcc0-0xdcff mem 0xfe4e0000-0xfe4fffff irq 65 at device 8.0 on pci7 em1: Ethernet address: 00:13:72:64:cc:9e pcib8: at device 6.0 on pci0 pci8: on pcib8 pcib9: at device 0.0 on pci8 pci9: on pcib9 em2: port 0xccc0-0xccff mem 0xfe1e0000-0xfe1fffff irq 106 at device 4.0 on pci9 em2: Ethernet address: 00:04:23:ce:45:d6 em3: port 0xcc80-0xccbf mem 0xfe1c0000-0xfe1dffff irq 107 at device 4.1 on pci9 em3: Ethernet address: 00:04:23:ce:45:d7 pcib10: at device 0.2 on pci8 pci10: on pcib10 em4: port 0xbcc0-0xbcff mem 0xfdfe0000-0xfdffffff,0xfdf80000-0xfdfbffff irq 96 at device 2.0 on pci10 em4: Ethernet address: 00:04:23:c2:91:02 em5: port 0xbc80-0xbcbf mem 0xfdfc0000-0xfdfdffff,0xfdf40000-0xfdf7ffff irq 97 at device 2.1 on pci10 em5: Ethernet address: 00:04:23:c2:91:03 em6: port 0xbc40-0xbc7f mem 0xfdf20000-0xfdf3ffff irq 101 at device 3.0 on pci10 em6: Ethernet address: 00:04:23:ce:4c:2a em7: port 0xbc00-0xbc3f mem 0xfdf00000-0xfdf1ffff irq 102 at device 3.1 on pci10 em7: Ethernet address: 00:04:23:ce:4c:2b uhci0: port 0x9ce0-0x9cff irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x9cc0-0x9cdf irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x9ca0-0x9cbf irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xfeb00000-0xfeb003ff irq 23 at device 29.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: on usb3 uhub3: 6 ports with 6 removable, self powered uhub4: on uhub3 uhub4: multiple transaction translators uhub4: 2 ports with 2 removable, self powered pcib11: at device 30.0 on pci0 pci11: on pcib11 vgapci0: port 0xac00-0xacff mem 0xf0000000-0xf7ffffff,0xfdcf0000-0xfdcfffff irq 18 at device 13.0 on pci11 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 2000 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FAST] orm0: at iomem 0xc0000-0xcafff,0xec000-0xeffff 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 Timecounters tick every 1.000 msec acd0: CDROM at ata0-master UDMA33 amr0: delete logical drives supported by controller amrd0: on amr0 amrd0: 1430400MB (2929459200 sectors) RAID 5 (optimal) SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/amrd0s1a -- Michael W. Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org http://www.BlackHelicopters.org/~mwlucas/ Latest book: PGP & GPG -- http://www.pgpandgpg.com "The cloak of anonymity protects me from the nuisance of caring." -Non Sequitur