Hi folks, I recently came across some odd behaviour with CARP interfaces. From past experiences, shutting down an interface with ifconfig puts the status to "no carrier". With the current setup, it briefly shows "no carrier" before coming back up as "active".
Functionally, it is in the down state and nothing is transmitted or received, but ifconfig reports it as up and a link speed is negotiated. In the case of CARP, the firewall that has the interface turned down will occasionally show all the CARP interfaces as MASTER instead of INIT. Anyone encounter this behaviour before? System information is below. Cheers, Sid Version: OpenBSD 6.0-stable Platform: amd64 dmesg output: OpenBSD 6.0-stable (XXXX.MP) #20170519: Wed May 17 21:09:23 EDT 2017 root@xxxx:/usr/src/sys/arch/amd64/compile/XXXX.MP RTC BIOS diagnostic error 80<clock_battery> real mem = 8395776000 (8006MB) avail mem = 8136962048 (7760MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x8ef68000 (46 entries) bios0: vendor Dell Inc. version "2.0.8" date 01/12/2017 bios0: Dell Inc. PowerEdge R330 acpi0 at bios0: rev 2 acpi0: sleep states S0 S5 acpi0: tables DSDT FACP BOOT SSDT SLIC HPET LPIT APIC MCFG WDAT SSDT DBGP DBG2 SSDT SSDT SSDT SSDT SSDT SSDT PRAD HEST BERT ERST EINJ DMAR FPDT acpi0: wakeup devices PEGP(S0) PEG0(S0) PEGP(S0) PEG1(S0) PEGP(S0) PEG2(S0) XHC_(S0) XDCI(S0) PXSX(S0) RP01(S0) PXSX(S0) RP02(S0) PXSX(S0) RP03(S0) PXSX(S0) RP04(S0) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 23999999 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU E3-1220 v5 @ 3.00GHz, 3293.59 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 24MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU E3-1220 v5 @ 3.00GHz, 3292.34 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Xeon(R) CPU E3-1220 v5 @ 3.00GHz, 3292.34 MHz cpu2: 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) Xeon(R) CPU E3-1220 v5 @ 3.00GHz, 3292.34 MHz cpu3: 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt0: no apic found for irq 32 acpiprt0: no apic found for irq 33 acpiprt0: no apic found for irq 34 acpiprt1 at acpi0: bus 1 (PEG0) acpiprt2 at acpi0: bus 2 (PEG1) acpiprt3 at acpi0: bus 3 (PEG2) acpiprt4 at acpi0: bus -1 (RP01) acpiprt5 at acpi0: bus -1 (RP02) acpiprt6 at acpi0: bus -1 (RP03) acpiprt7 at acpi0: bus -1 (RP04) acpiprt8 at acpi0: bus -1 (RP05) acpiprt9 at acpi0: bus -1 (RP06) acpiprt10 at acpi0: bus -1 (RP07) acpiprt11 at acpi0: bus -1 (RP08) acpiprt12 at acpi0: bus 4 (RP09) acpiprt13 at acpi0: bus -1 (RP10) acpiprt14 at acpi0: bus 5 (RP11) acpiprt15 at acpi0: bus -1 (RP12) acpiprt16 at acpi0: bus -1 (RP13) acpiprt17 at acpi0: bus -1 (RP14) acpiprt18 at acpi0: bus -1 (RP15) acpiprt19 at acpi0: bus -1 (RP16) acpiprt20 at acpi0: bus -1 (RP17) acpiprt21 at acpi0: bus -1 (RP18) acpiprt22 at acpi0: bus -1 (RP19) acpiprt23 at acpi0: bus -1 (RP20) acpicpu0 at acpi0: C1(@1 halt!) acpicpu1 at acpi0: C1(@1 halt!) acpicpu2 at acpi0: C1(@1 halt!) acpicpu3 at acpi0: C1(@1 halt!) "ACPI000D" at acpi0 not configured "INT3F0D" at acpi0 not configured "PNP0501" at acpi0 not configured "PNP0501" at acpi0 not configured "IPI0001" at acpi0 not configured acpibtn0 at acpi0: SLPB "PNP0C14" at acpi0 not configured "PNP0C33" at acpi0 not configured acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F ipmi at mainbus0 not configured memory map conflict 0xe00fd000/0x1000 memory map conflict 0xfe000000/0x11000 pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x1918 rev 0x07 ppb0 at pci0 dev 1 function 0 "Intel Core 6G PCIE" rev 0x07: msi pci1 at ppb0 bus 1 ppb1 at pci0 dev 1 function 1 "Intel Core 6G PCIE" rev 0x07: msi pci2 at ppb1 bus 2 2:0:0: mem address conflict 0xfffc0000/0x40000 2:0:1: mem address conflict 0xfffc0000/0x40000 2:0:2: mem address conflict 0xfffc0000/0x40000 2:0:3: mem address conflict 0xfffc0000/0x40000 bge0 at pci2 dev 0 function 0 "Broadcom BCM5719" rev 0x01, unknown BCM5719 (0x5719001), APE firmware NCSI 1.3.16.0: msi, address 00:0a:f7:ac:09:e0 brgphy0 at bge0 phy 1: BCM5719C 10/100/1000baseT PHY, rev. 0 bge1 at pci2 dev 0 function 1 "Broadcom BCM5719" rev 0x01, unknown BCM5719 (0x5719001), APE firmware NCSI 1.3.16.0: msi, address 00:0a:f7:ac:09:e1 brgphy1 at bge1 phy 2: BCM5719C 10/100/1000baseT PHY, rev. 0 bge2 at pci2 dev 0 function 2 "Broadcom BCM5719" rev 0x01, unknown BCM5719 (0x5719001), APE firmware NCSI 1.3.16.0: msi, address 00:0a:f7:ac:09:e2 brgphy2 at bge2 phy 3: BCM5719C 10/100/1000baseT PHY, rev. 0 bge3 at pci2 dev 0 function 3 "Broadcom BCM5719" rev 0x01, unknown BCM5719 (0x5719001), APE firmware NCSI 1.3.16.0: msi, address 00:0a:f7:ac:09:e3 brgphy3 at bge3 phy 4: BCM5719C 10/100/1000baseT PHY, rev. 0 ppb2 at pci0 dev 1 function 2 "Intel Core 6G PCIE" rev 0x07: msi pci3 at ppb2 bus 3 mfii0 at pci3 dev 0 function 0 "Symbios Logic MegaRAID SAS3008" rev 0x02: msi mfii0: "PERC H330 Adapter", firmware 25.5.0.0019 scsibus1 at mfii0: 32 targets sd0 at scsibus1 targ 0 lun 0: <DELL, PERC H330 Adp, 4.27> SCSI3 0/direct fixed naa.61866da0b1f7ec0020988d350c5a51c9 sd0: 113920MB, 512 bytes/sector, 233308160 sectors scsibus2 at mfii0: 256 targets xhci0 at pci0 dev 20 function 0 "Intel 100 Series xHCI" rev 0x31: msi usb0 at xhci0: USB revision 3.0 uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 pchtemp0 at pci0 dev 20 function 2 "Intel 100 Series Thermal" rev 0x31 "Intel 100 Series MEI" rev 0x31 at pci0 dev 22 function 0 not configured vendor "Intel", unknown product 0xa13b (class communications subclass miscellaneous, rev 0x31) at pci0 dev 22 function 1 not configured ahci0 at pci0 dev 23 function 0 "Intel 100 Series AHCI" rev 0x31: msi, AHCI 1.3.1 scsibus3 at ahci0: 32 targets ppb3 at pci0 dev 29 function 0 "Intel 100 Series PCIE" rev 0xf1: msi pci4 at ppb3 bus 4 4:0:0: mem address conflict 0xfffc0000/0x40000 4:0:1: mem address conflict 0xfffc0000/0x40000 bge4 at pci4 dev 0 function 0 "Broadcom BCM5720" rev 0x00, BCM5720 A0 (0x5720000), APE firmware NCSI 1.3.16.0: msi, address 10:98:36:b5:e2:13 brgphy4 at bge4 phy 1: BCM5720C 10/100/1000baseT PHY, rev. 0 bge5 at pci4 dev 0 function 1 "Broadcom BCM5720" rev 0x00, BCM5720 A0 (0x5720000), APE firmware NCSI 1.3.16.0: msi, address 10:98:36:b5:e2:14 brgphy5 at bge5 phy 2: BCM5720C 10/100/1000baseT PHY, rev. 0 ppb4 at pci0 dev 29 function 2 "Intel 100 Series PCIE" rev 0xf1: msi pci5 at ppb4 bus 5 ppb5 at pci5 dev 0 function 0 "Renesas SH7758 PCIE Switch" rev 0x00 pci6 at ppb5 bus 6 ppb6 at pci6 dev 0 function 0 "Renesas SH7758 PCIE Switch" rev 0x00 pci7 at ppb6 bus 7 ppb7 at pci7 dev 0 function 0 "Renesas SH7758 PCIE-PCI" rev 0x00 pci8 at ppb7 bus 8 vga1 at pci8 dev 0 function 0 "Matrox MGA G200eR" rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 31 function 0 vendor "Intel", unknown product 0xa149 rev 0x31 "Intel 100 Series PMC" rev 0x31 at pci0 dev 31 function 2 not configured ichiic0 at pci0 dev 31 function 4 "Intel 100 Series SMBus" rev 0x31: apic 2 int 16 iic0 at ichiic0 iic0: addr 0x19 00=00 01=00 02=00 03=00 04=00 05=c1 06=1c 07=22 08=00 words 00=00ef 01=0000 02=0000 03=0000 04=0000 05=c1d0 06=1c85 07=2221 iic0: addr 0x1b 00=00 01=00 02=00 03=00 04=00 05=c1 06=1c 07=22 08=00 words 00=00ef 01=0000 02=0000 03=0000 04=0000 05=c1d8 06=1c85 07=2221 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 uhub1 at uhub0 port 3 "no manufacturer Gadget USB HUB" rev 2.00/0.00 addr 2 uhidev0 at uhub0 port 9 configuration 1 interface 0 "KVM USB keyboard and mouse device" rev 1.00/60.0f addr 3 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes, country code 33 wskbd0 at ukbd0: console keyboard, using wsdisplay0 uhidev1 at uhub0 port 9 configuration 1 interface 1 "KVM USB keyboard and mouse device" rev 1.00/60.0f addr 3 uhidev1: iclass 3/1, 2 report ids ums0 at uhidev1 reportid 1: 5 buttons, Z dir wsmouse0 at ums0 mux 0 ums1 at uhidev1 reportid 2: 8 buttons, Z dir wsmouse1 at ums1 mux 0 umass0 at uhub0 port 9 configuration 1 interface 2 "KVM USB keyboard and mouse device" rev 1.00/60.0f addr 3 umass0: using SCSI over Bulk-Only scsibus4 at umass0: 2 targets, initiator 0 cd0 at scsibus4 targ 1 lun 0: <KVM, Boot Disk, 1.0> SCSI0 5/cdrom removable serial.1b70100f_ vscsi0 at root scsibus5 at vscsi0: 256 targets softraid0 at root scsibus6 at softraid0: 256 targets root on sd0a (5853c91bd06554e4.a) swap on sd0b dump on sd0b uhidev2 at uhub1 port 1 configuration 1 interface 0 "Avocent Keyboard/Mouse Function" rev 2.00/0.00 addr 4 uhidev2: iclass 3/1 ukbd1 at uhidev2: 8 variable keys, 6 key codes wskbd1 at ukbd1 mux 1 wskbd1: connecting to wsdisplay0 uhidev3 at uhub1 port 1 configuration 1 interface 1 "Avocent Keyboard/Mouse Function" rev 2.00/0.00 addr 4 uhidev3: iclass 3/1 ums2 at uhidev3: 3 buttons, Z dir wsmouse2 at ums2 mux 0 uhidev4 at uhub1 port 1 configuration 1 interface 2 "Avocent Keyboard/Mouse Function" rev 2.00/0.00 addr 4 uhidev4: iclass 3/1 ums3 at uhidev4: 3 buttons, Z dir wsmouse3 at ums3 mux 0 carp201: state transition: BACKUP -> MASTER carp202: state transition: BACKUP -> MASTER carp203: state transition: BACKUP -> MASTER carp205: state transition: BACKUP -> MASTER carp209: state transition: BACKUP -> MASTER carp210: state transition: BACKUP -> MASTER carp211: state transition: BACKUP -> MASTER carp212: state transition: BACKUP -> MASTER carp213: state transition: BACKUP -> MASTER carp100: state transition: BACKUP -> MASTER carp201: state transition: MASTER -> BACKUP carp202: state transition: MASTER -> BACKUP carp203: state transition: MASTER -> BACKUP carp205: state transition: MASTER -> BACKUP carp209: state transition: MASTER -> BACKUP carp210: state transition: MASTER -> BACKUP carp211: state transition: MASTER -> BACKUP carp212: state transition: MASTER -> BACKUP carp213: state transition: MASTER -> BACKUP carp100: state transition: MASTER -> BACKUP ukbd0: was console keyboard wskbd0 detached ukbd0 detached uhidev0 detached wsmouse0 detached ums0 detached wsmouse1 detached ums1 detached uhidev1 detached cd0 detached scsibus4 detached umass0 detached