In a setup of two redundant carp firewalls, each serving four interfaces, the master crashes regularly (but not always) after a manuall failover from the backup to the master.
This is how I do the manual failover ('carpdown' on master): ---snip--- for i in 0 1 2 3; do ifconfig carp$i down; done ifconfig | grep "carp:"; sleep 1 for i in 0 1 2 3; do ifconfig carp$i destroy; done ifconfig | grep "carp:" ---snip--- After maintenance, I switch back from backup to the master ('carpup' on master): ---snip--- for i in 0 1 2 3; do sh /etc/netstart carp$i; done route add default 130.**.*.*** ---snip--- It then would crash after a few seconds. Is this a known issue? The server runs not much, except ftp-proxy, snmpd, sshd, ntpd and nrpe. Please find dmesg, ps and trace below. Thanks for your help: OpenBSD 3.9 (GENERIC) #617: Thu Mar 2 02:26:48 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 2.66GHz ("GenuineIntel" 686-class) 2.66 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID real mem = 535527424 (522976K) avail mem = 481644544 (470356K) using 4278 buffers containing 26877952 bytes (26248K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 02/07/05, BIOS32 rev. 0 @ 0xf0010 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf3d40/224 (12 entries) pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801EB/ER LPC" rev 0x00) pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc0000/0x8000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82875P Host" rev 0x02 ppb0 at pci0 dev 1 function 0 "Intel 82875P AGP" rev 0x02 pci1 at ppb0 bus 1 ppb1 at pci0 dev 3 function 0 "Intel 82875P PCI-CSA" rev 0x02 pci2 at ppb1 bus 2 em0 at pci2 dev 1 function 0 "Intel PRO/1000CT (82547EI)" rev 0x00: irq 10, address 00:0c:f1:8f:a9:c4 uhci0 at pci0 dev 29 function 0 "Intel 82801EB/ER USB" rev 0x02: irq 5 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 82801EB/ER USB" rev 0x02: irq 7 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 82801EB/ER USB" rev 0x02: irq 10 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 uhci3 at pci0 dev 29 function 3 "Intel 82801EB/ER USB" rev 0x02: irq 5 usb3 at uhci3: USB revision 1.0 uhub3 at usb3 uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER USB2" rev 0x02: irq 9 usb4 at ehci0: USB revision 2.0 uhub4 at usb4 uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered ppb2 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xc2 pci3 at ppb2 bus 3 em1 at pci3 dev 2 function 0 "Intel PRO/1000MT (82546GB)" rev 0x03: irq 9, address 00:04:23:9e:e2:b2 em2 at pci3 dev 2 function 1 "Intel PRO/1000MT (82546GB)" rev 0x03: irq 10, address 00:04:23:9e:e2:b3 vga1 at pci3 dev 6 function 0 "ATI Rage XL" rev 0x27 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) fxp0 at pci3 dev 8 function 0 "Intel PRO/100 VE" rev 0x01, i82562: irq 11, address 00:0c:f1:8f:a9:c5 inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02 pciide0 at pci0 dev 31 function 1 "Intel 82801EB/ER IDE" rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <HDS728080PLAT20> wd0: 16-sector PIO, LBA48, 78533MB, 160836480 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <TEAC, CD-552E, 1.00> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 pciide1 at pci0 dev 31 function 2 "Intel 82801EB SATA" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using irq 10 for native-PCI interrupt ichiic0 at pci0 dev 31 function 3 "Intel 82801EB/ER SMBus" rev 0x02: irq 9 iic0 at ichiic0 adt0 at iic0 addr 0x2e: lm85 (ADT7460) rev 62 isa0 at ichpcib0 isadma0 at isa0 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 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask e7e5 netmask efe5 ttymask ffe7 pctr: user-level cycle counter enabled axe0 at uhub4 port 1 configuration 1 interface 0 axe0: Linksys USB 2.0 10/100 ethernet controller, rev 2.00/0.01, addr 2, AX88172, address 00:10:60:85:4a:c8 rlphy0 at axe0 phy 3: RTL8201L 10/100 PHY, rev. 1 dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 WARNING: / was not properly unmounted [EMAIL PROTECTED]:~ # ddb> ps PID PPID PGRP UID S FLAGS WAIT COMMAND 31084 1 31084 0 3 0x4086 ttyin getty 20014 1 20014 0 3 0x4086 ttyin getty 17617 1 17617 0 3 0x4086 ttyin getty 5068 1 5068 0 3 0x4086 ttyin getty 30264 1 30264 0 3 0x4086 ttyin getty 32056 1 32056 0 3 0x4086 ttyin getty 17170 1 17170 0 3 0x84 select cron 21478 1 21478 0 3 0x84 kqread apmd 251 1 251 77 3 0x184 poll dhcrelay 8390 1 8390 71 3 0x184 kqread ftp-proxy 8879 1 16108 0 3 0x84 select snmpd 3033 1 3033 0 3 0x84 select sshd 5898 22028 22028 83 3 0x184 poll ntpd 22028 1 22028 0 3 0x84 poll ntpd 24557 13649 13649 74 3 0x184 bpf pflogd 13649 1 13649 0 3 0x84 netio pflogd 21238 10169 10169 73 2 0x184 syslogd 10169 1 10169 0 3 0x84 netio syslogd 17 0 0 0 3 0x100204 crypto_wa crypto 16 0 0 0 3 0x100204 aiodoned aiodoned 15 0 0 0 3 0x100204 syncer update 14 0 0 0 3 0x100204 cleaner cleaner 13 0 0 0 3 0x100204 reaper reaper 12 0 0 0 3 0x100204 pgdaemon pagedaemon 11 0 0 0 3 0x100204 pftm pfpurge 10 0 0 0 3 0x100204 timeout sensors 9 0 0 0 3 0x100204 usbevt usb4 8 0 0 0 3 0x100204 usbevt usb3 7 0 0 0 3 0x100204 usbevt usb2 6 0 0 0 3 0x100204 usbevt usb1 5 0 0 0 3 0x100204 usbtsk usbtask 4 0 0 0 3 0x100204 usbevt usb0 3 0 0 0 3 0x100204 apmev apm0 2 0 0 0 3 0x100204 kmalloc kmthread 1 0 1 0 3 0x4084 wait init 0 -1 0 0 3 0x80204 scheduler swapper ddb> trace Debugger(d05a6644,d6727c44,d070bd34,d1038100,9) at Debugger+0x4 panic(d05187f1,d1038100,30,d05a8ac8,0) at panic+0x63 free(d1038100,9,ffffffff,d6727bf8) at free+0x40 ifafree(d1038100,d6727bf8,d070bdd4,d022048e) at ifafree+0x27 rtfree(d6812148,0,d672eaf0,d070bdd4) at rtfree+0x8d in_pcbdetach(d69faaf8,0,d0102541,d070bdf4,d0102541) at in_pcbdetach+0x1f5 tcp_close(d672eaf0,32,d0f65200,d070be24,d672eaf0) at tcp_close+0xe1 tcp_timer_2msl(d672eaf0,6e646e0e,53056d92,0,0) at tcp_timer_2msl+0x89 softclock(d0490058,10,d0f80010,d0100010,d070a000) at softclock+0x22c Bad frame pointer: 0xd070be44 [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]