Date: Wed, 6 Sep 2006 22:56:48 -0400 From: "Michael W. Lucas" <mwlucas@blackhelicopters.org> To: net@freebsd.org Subject: problems with ng_fec Message-ID: <20060907025648.GA22003@bewilderbeast.blackhelicopters.org>
next in thread | raw e-mail | index | archive | help
Hi, (asked this first on -questions, but it seems that this exceeds their wisdom...) 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<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=0x641d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,XTPR> AMD Features=0x20100800<SYSCALL,NX,LM> Logical CPUs per core: 2 usable memory = 2139070464 (2039 MB) avail memory = 2064818176 (1969 MB) ACPI APIC Table: <DELL PE BKC > 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 <Version 2.0> irqs 0-23 on motherboard ioapic1 <Version 2.0> irqs 32-55 on motherboard ioapic2 <Version 2.0> irqs 64-87 on motherboard ioapic3 <Version 2.0> irqs 96-119 on motherboard kbd1 at kbdmux0 acpi0: <DELL PE BKC> 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: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pcib2: <ACPI PCI-PCI bridge> at device 0.0 on pci1 pci2: <ACPI PCI bus> on pcib2 amr0: <LSILogic MegaRAID 1.53> 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: <LSILogic PERC 4e/Di> Firmware 521X, BIOS H430, 256MB RAM pcib3: <ACPI PCI-PCI bridge> at device 0.2 on pci1 pci3: <ACPI PCI bus> on pcib3 pcib4: <ACPI PCI-PCI bridge> at device 4.0 on pci0 pci4: <ACPI PCI bus> on pcib4 pcib5: <ACPI PCI-PCI bridge> at device 5.0 on pci0 pci5: <ACPI PCI bus> on pcib5 pcib6: <ACPI PCI-PCI bridge> at device 0.0 on pci5 pci6: <ACPI PCI bus> on pcib6 em0: <Intel(R) PRO/1000 Network Connection Version - 6.1.4> port 0xecc0-0xecff mem 0xfe6e0000-0xfe6fffff irq 64 at device 7.0 on pci6 em0: Ethernet address: 00:13:72:64:cc:9d pcib7: <ACPI PCI-PCI bridge> at device 0.2 on pci5 pci7: <ACPI PCI bus> on pcib7 em1: <Intel(R) PRO/1000 Network Connection Version - 6.1.4> port 0xdcc0-0xdcff mem 0xfe4e0000-0xfe4fffff irq 65 at device 8.0 on pci7 em1: Ethernet address: 00:13:72:64:cc:9e pcib8: <ACPI PCI-PCI bridge> at device 6.0 on pci0 pci8: <ACPI PCI bus> on pcib8 pcib9: <ACPI PCI-PCI bridge> at device 0.0 on pci8 pci9: <ACPI PCI bus> on pcib9 em2: <Intel(R) PRO/1000 Network Connection Version - 6.1.4> port 0xccc0-0xccff mem 0xfe1e0000-0xfe1fffff irq 106 at device 4.0 on pci9 em2: Ethernet address: 00:04:23:ce:45:d6 em3: <Intel(R) PRO/1000 Network Connection Version - 6.1.4> port 0xcc80-0xccbf mem 0xfe1c0000-0xfe1dffff irq 107 at device 4.1 on pci9 em3: Ethernet address: 00:04:23:ce:45:d7 pcib10: <ACPI PCI-PCI bridge> at device 0.2 on pci8 pci10: <ACPI PCI bus> on pcib10 em4: <Intel(R) PRO/1000 Network Connection Version - 6.1.4> 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: <Intel(R) PRO/1000 Network Connection Version - 6.1.4> 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: <Intel(R) PRO/1000 Network Connection Version - 6.1.4> port 0xbc40-0xbc7f mem 0xfdf20000-0xfdf3ffff irq 101 at device 3.0 on pci10 em6: Ethernet address: 00:04:23:ce:4c:2a em7: <Intel(R) PRO/1000 Network Connection Version - 6.1.4> port 0xbc00-0xbc3f mem 0xfdf00000-0xfdf1ffff irq 102 at device 3.1 on pci10 em7: Ethernet address: 00:04:23:ce:4c:2b uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0x9ce0-0x9cff irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0 usb0: USB revision 1.0 uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0x9cc0-0x9cdf irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1 usb1: USB revision 1.0 uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0x9ca0-0x9cbf irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2 usb2: USB revision 1.0 uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: <Intel 82801EB/R (ICH5) USB 2.0 controller> 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: <Intel 82801EB/R (ICH5) 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> on usb3 uhub3: 6 ports with 6 removable, self powered uhub4: <vendor 0x413c product 0xa001, class 9/0, rev 2.00/0.00, addr 2> on uhub3 uhub4: multiple transaction translators uhub4: 2 ports with 2 removable, self powered pcib11: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci11: <ACPI PCI bus> on pcib11 vgapci0: <VGA-compatible display> port 0xac00-0xacff mem 0xf0000000-0xf7ffffff,0xfdcf0000-0xfdcfffff irq 18 at device 13.0 on pci11 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH5 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 2000 fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> 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: <ISA Option ROMs> at iomem 0xc0000-0xcafff,0xec000-0xeffff 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 Timecounters tick every 1.000 msec acd0: CDROM <TEAC CD-ROM CD-224E-N/3.AB> at ata0-master UDMA33 amr0: delete logical drives supported by controller amrd0: <LSILogic MegaRAID logical drive> 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 -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060907025648.GA22003>