> On Tue, Jul 03, 2007 at 03:57:20PM +0200, Fredrik Carlsson wrote: >> Hi again, >> >> My setup looks like this: >> >> [em0, em1]-trunk0 <- vlan2 <- carp2.... >> [em2, em3]-trunk1 <- vlan104 <- carp104.... >> >> If don't use carp at all everything works fine, but when i add carp to >> trunk0 and trunk1 it takes a few seconds and the box hangs and a >> poweroff >> reboot is needed. >> > > can you show the command sequence you are using? > what openbsd release are you using, can you send a dmesg? > please try to get some more details, try to find a way to reproduce it. > > use the list [EMAIL PROTECTED] for bug reports or open a pr with > sendbug(1) (see the manpage for details). > >> If only one carp device exists the machine works but as soon as i add >> two >> it hangs. >> >> Even if I made some config error the machine should not hang. >> >> trunk0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu >> 1500 >> lladdr 00:0e:0c:db:3f:48 >> trunk: trunkproto failover >> trunkport em1 active >> trunkport em0 master,active >> groups: trunk >> media: Ethernet autoselect >> status: active >> inet6 fe80::20e:cff:fedb:3f48%trunk0 prefixlen 64 scopeid 0xa >> trunk1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu >> 1500 >> lladdr 00:0e:0c:db:3f:4a >> trunk: trunkproto failover >> trunkport em3 active >> trunkport em2 master,active >> groups: trunk >> media: Ethernet autoselect >> status: active >> inet6 fe80::20e:cff:fedb:3f4a%trunk1 prefixlen 64 scopeid 0xb >> vlan1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu >> 1500 >> lladdr 00:0e:0c:db:3f:48 >> vlan: 1 priority: 0 parent interface: trunk0 >> groups: vlan >> inet6 fe80::20e:cff:fedb:3f48%vlan1 prefixlen 64 scopeid 0xc >> vlan2: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu >> 1500 >> lladdr 00:0e:0c:db:3f:4a >> vlan: 2 priority: 0 parent interface: trunk1 >> groups: vlan >> inet6 fe80::20e:cff:fedb:3f4a%vlan2 prefixlen 64 scopeid 0xe >> carp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 >> lladdr 00:00:5e:00:01:01 >> carp: MASTER carpdev vlan1 vhid 1 advbase 1 advskew 0 >> groups: carp >> inet6 fe80::200:5eff:fe00:101%carp1 prefixlen 64 scopeid 0x16 >> inet 10.10.1.17 netmask 0xfffffff0 broadcast 10.10.1.31 >> carp2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 >> lladdr 00:00:5e:00:01:01 >> carp: MASTER carpdev vlan2 vhid 1 advbase 1 advskew 0 >> groups: carp >> inet6 fe80::200:5eff:fe00:101%carp2 prefixlen 64 scopeid 0x17 >> inet 10.10.1.33 netmask 0xfffffff0 broadcast 10.10.1.47 >> >> // Fredrik >> >
Hi, Release: OpenBSD 4.1, with all avalible patches. It is not that hard to reproduce: add carp1 - works, system works fine add carp2 - it hangs after about 5-10 second. /etc/hostname.em<0-3>: up /etc/hostname.trunk0 trunkproto failover trunkport em0 trunkport em1 up /etc/hostname.trunk1 trunkproto failover trunkport em2 trunkport em3 up /etc/hostname.vlan1 vlan 1 vlandev trunk0 /etc/hostname.vlan2 vlan 2 vlandev trunk1 /etc/hostname.carp1 inet 10.10.1.17 255.255.255.240 NONE vhid 1 carpdev vlan1 pass password1 /etc/hostname.carp1 inet 10.10.1.33 255.255.255.240 NONE vhid 2 carpdev vlan1 pass password1 I will send a PR later, the machine is not connected to Internet. // Fredrik OpenBSD 4.1-stable (ZTHN-FW01.MP) #2: Tue Jul 3 09:36:02 CEST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 536215552 (523648K) avail mem = 446967808 (436492K) using 13142 buffers containing 53829632 bytes (52568K) of memory mainbus0 (root) bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xfa5b0 (48 entries) bios0: Dell Computer Corporation PowerEdge 860 acpi at mainbus0 not configured ipmi0 at mainbus0: version 1.5 interface KCS iobase 0xca8/8 spacing 4 mainbus0: Intel MP Specification (Version 1.4) cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Pentium(R) D CPU 3.00GHz, 3000.54 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,NXE,LON G cpu0: 2MB 64b/line 8-way L2 cache cpu0: apic clock running at 200MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) D CPU 3.00GHz, 3000.12 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,NXE,LON G cpu1: 2MB 64b/line 8-way L2 cache mpbios: bus 0 is type PCI mpbios: bus 1 is type PCI mpbios: bus 2 is type PCI mpbios: bus 3 is type PCI mpbios: bus 4 is type PCI mpbios: bus 5 is type PCI mpbios: bus 6 is type PCI mpbios: bus 7 is type PCI mpbios: bus 8 is type ISA ioapic0 at mainbus0 apid 2 pa 0xfec00000, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 ioapic1 at mainbus0 apid 3 pa 0xfec10000, version 20, 24 pins ioapic1: misconfigured as apic 0, remapped to apid 3 pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 "Intel E7230 MCH" rev 0x00 ppb0 at pci0 dev 1 function 0 "Intel E7230 PCIE" rev 0x00 pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01 pci2 at ppb1 bus 2 ppb2 at pci2 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09 pci3 at ppb2 bus 3 ppb3 at pci3 dev 2 function 0 "Pericom PI7C21P100 PCIX-PCIX" rev 0x01 pci4 at ppb3 bus 4 em0 at pci4 dev 4 function 0 "Intel PRO/1000MT QP (82546GB)" rev 0x03: apic 3 int 3 (irq 5), address 00:0e:0c:db:3f:48 em1 at pci4 dev 4 function 1 "Intel PRO/1000MT QP (82546GB)" rev 0x03: apic 3 int 2 (irq 3), address 00:0e:0c:db:3f:49 em2 at pci4 dev 6 function 0 "Intel PRO/1000MT QP (82546GB)" rev 0x03: apic 3 int 1 (irq 11), address 00:0e:0c:db:3f:4a em3 at pci4 dev 6 function 1 "Intel PRO/1000MT QP (82546GB)" rev 0x03: apic 3 int 0 (irq 10), address 00:0e:0c:db:3f:4b ppb4 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01 pci5 at ppb4 bus 5 bge0 at pci5 dev 0 function 0 "Broadcom BCM5721" rev 0x11, BCM5750 B1 (0x4101): apic 2 int 16 (irq 10), address 00:18:8b:f9:88:7d brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 ppb5 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01 pci6 at ppb5 bus 6 bge1 at pci6 dev 0 function 0 "Broadcom BCM5721" rev 0x11, BCM5750 B1 (0x4101): apic 2 int 17 (irq 11), address 00:18:8b:f9:88:7e brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 2 int 20 (irq 11) usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 2 int 21 (irq 10) usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 2 int 22 (irq 6) usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 2 int 20 (irq 11) usb3 at ehci0: USB revision 2.0 uhub3 at usb3 uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered ppb6 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xe1 pci7 at ppb6 bus 7 vga1 at pci7 dev 5 function 0 "ATI ES1000" rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01 pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-ROM GDR8084N, 1.01> SCSI0 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using apic 2 int 20 (irq 11) for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: <WDC WD800AAJS-18TDA1> wd0: 16-sector PIO, LBA48, 76293MB, 156250000 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01pci_intr_map: no mapping for pin B (line=00) : polling iic0 at ichiic0: disabled to avoid ipmi0 interactions isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 uhub4 at uhub3 port 3 uhub4: Cypress Semiconductor USB2 Hub, rev 2.00/0.0b, addr 2 uhub4: 4 ports with 4 removable, self powered, multiple transaction translators dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 WARNING: / was not properly unmounted