I forgot to say this is a GENERIC kernel, just compiled by me.
(build a GENERIC kernel and userland)
On 05/30, Csillag Tamas wrote:
> Hi,
>
> We used OpenBSD 3.6 as a firewall in our campus.
>
> The machine has several vlan and three physical (em) interfaces.
> This setup worked good, but when 3.7 was released I've
> installed/upgraded it.
>
> In fact we have two machines to work as a failover firewall (with carp),
> but there is only one machine in the group. (This is work in progress).
> So both on the external and internal side the routeable interface is a
> carp one.
>
> An hour ago the machine paniced with the following output (captured on a
> serial line):
> panic: kernel diagnostic assertion "mc != NULL" failed: file
> "/usr/src/sys/netinet/ip_carp.c", line 2115
>
> It was setup to (via sysctl) to autoreboot on panic so I cannot show
> trace or ps. (I don't know why but /var/crash was empty.)
>
> My co-worker told me he was working on a carp interface's parent setup.
> sh /etc/netstart vlan221
> When carp221 was in UP state.
>
> (Please help me if you have any idea. Or I have to provide more info.)
> Here is the output of dmesg:
>
> # dmesg
> OpenBSD 3.7 (build) #0: Sun May 22 02:23:30 CEST 2005
> [EMAIL PROTECTED]:/usr/build
> cpu0: Intel(R) Xeon(TM) 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,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID
> real mem = 1073238016 (1048084K)
> avail mem = 972824576 (950024K)
> using 4278 buffers containing 53764096 bytes (52504K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(00) BIOS, date 05/11/04, BIOS32 rev. 0 @ 0xfdb54
> pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf3630/336 (19 entries)
> pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x2480
> pcibios0: Warning, unable to fix up PCI interrupt routing
> pcibios0: PCI bus #4 is the last bus
> bios0: ROM list: 0xc0000/0x8000 0xc8000/0x9e00 0xd2000/0x1000 0xd3000/0x1000
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "Intel E7501 MCH Host" rev 0x01
> "Intel E7500 DRAM" rev 0x01 at pci0 dev 0 function 1 not configured
> ppb0 at pci0 dev 3 function 0 "Intel E7500 MCH HI_C vppb 1" rev 0x01
> pci1 at ppb0 bus 1
> "Intel P64H2 IOxAPIC" rev 0x04 at pci1 dev 28 function 0 not configured
> ppb1 at pci1 dev 29 function 0 "Intel 82870P2 P64H2 PCI-PCI" rev 0x04
> pci2 at ppb1 bus 2
> ahd0 at pci2 dev 7 function 0 "Adaptec AIC-7902 U320" rev 0x03: irq 9
> aic7902: U320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
> scsibus0 at ahd0: 16 targets
> ahd1 at pci2 dev 7 function 1 "Adaptec AIC-7902 U320" rev 0x03: irq 9
> aic7902: U320 Wide Channel B, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
> scsibus1 at ahd1: 16 targets
> sd0 at scsibus1 targ 0 lun 0: <FUJITSU, MAP3367NC, 0108> SCSI3 0/direct fixed
> sd0: 35046MB, 48122 cyl, 2 head, 745 sec, 512 bytes/sec, 71775284 sec total
> sd1 at scsibus1 targ 1 lun 0: <FUJITSU, MAP3367NC, 0108> SCSI3 0/direct fixed
> sd1: 35046MB, 48122 cyl, 2 head, 745 sec, 512 bytes/sec, 71775284 sec total
> uk0 at scsibus1 targ 6 lun 0: <ESG-SHV, SCA HSBP M22, 0.06> SCSI2 3/processor
> fixed
> uk0: unknown device
> em0 at pci2 dev 9 function 0 "Intel PRO/1000MT (82545GM)" rev 0x04: irq 9,
> address: 00:04:23:a7:e8:71
> "Intel P64H2 IOxAPIC" rev 0x04 at pci1 dev 30 function 0 not configured
> ppb2 at pci1 dev 31 function 0 "Intel 82870P2 P64H2 PCI-PCI" rev 0x04
> pci3 at ppb2 bus 3
> em1 at pci3 dev 7 function 0 "Intel PRO/1000MT DP (82546EB)" rev 0x01: irq 9,
> address: 00:0e:0c:5c:3c:e0
> em2 at pci3 dev 7 function 1 "Intel PRO/1000MT DP (82546EB)" rev 0x01: irq 9,
> address: 00:0e:0c:5c:3c:e1
> fxp0 at pci3 dev 9 function 0 "Intel 82557" rev 0x0c, i82550: irq 9, address
> 00:02:b3:f0:5a:f9
> inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
> "Intel E7500 MCH HI_C vppb 2" rev 0x01 at pci0 dev 3 function 1 not configured
> uhci0 at pci0 dev 29 function 0 "Intel 82801CA/CAM USB" rev 0x02: irq 9
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhci1 at pci0 dev 29 function 1 "Intel 82801CA/CAM USB" rev 0x02: irq 10
> usb1 at uhci1: USB revision 1.0
> uhub1 at usb1
> uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> ppb3 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x42
> pci4 at ppb3 bus 4
> vga1 at pci4 dev 12 function 0 "ATI Rage XL" rev 0x27
> wsdisplay0 at vga1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801CA LPC" rev 0x02
> pciide0 at pci0 dev 31 function 1 "Intel 82801CA IDE" rev 0x02: DMA, channel
> 0 configured to compatibility, channel 1 configured to compatibility
> pciide0: channel 0 disabled (no drives)
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus2 at atapiscsi0: 2 targets
> cd0 at scsibus2 targ 0 lun 0: <SAMSUNG, CD-ROM SN-124, N102> SCSI0 5/cdrom
> removable
> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
> "Intel 82801CA/CAM SMBus" rev 0x02 at pci0 dev 31 function 3 not configured
> isa0 at ichpcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbdprobe: reset response 0x1d
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> sysbeep0 at pcppi0
> npx0 at isa0 port 0xf0/16: using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom0: console
> 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 ffe7 netmask ffe7 ttymask ffe7
> pctr: user-level cycle counter enabled
> ahd1: target 0 synchronous with period = 0x8, offset = 0x7f(DT|IU|QAS)
> dkcsum: sd0 matched BIOS disk 80
> ahd1: target 1 synchronous with period = 0x8, offset = 0x7f(DT|IU|QAS)
> dkcsum: sd1 matched BIOS disk 81
> root on sd0a
> rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
> WARNING: / was not properly unmounted
>
> --
> cstamas
>
--
NT vs UNIX, why UNIX: It doesn't matter how big or hot your
thing is at the moment if it doesn't stay up or perform.
cstamas