I have a Liantec EMB 5842, with OpenBSD 4.2 installed, running as a firewall. The Liantec has 4 Intel PRO/1000MT (82541GI) interfaces (em0 - em3), of which I am using 3 interfaces.
After a few days of running, the machine becomes totally unresponsive, forcing me to power-cycle the box. I can't find anything relevant about the freeze/crash in any logs. I thought a core dump would be useful, so I added savecore_flags="-vz" to /etc/rc.conf.local, but when the machine comes back up, I get: savecore: /bsd: kvm_dump_mkheader: invalid magic in cpu _hdr ...and no core dump. What am I doing wrong? It looks like other people have had similar reliability problems: http://archives.neohapsis.com/archives/openbsd/2007-11/1266.html http://archives.neohapsis.com/archives/openbsd/2007-11/0518.html http://archives.neohapsis.com/archives/openbsd/2007-11/0478.html http://archives.neohapsis.com/archives/openbsd/2007-11/1363.html But I have Intel NICs, not Realtek NICs. My em1 interface is connected to a blue NetGear 8-port Gig-E switch, however. I saw that there was a memory leak in pf: http://archives.neohapsis.com/archives/openbsd/2007-11/1977.html http://archives.neohapsis.com/archives/openbsd/2007-11/2273.html so I applied all the latest OpenBSD patches, recompiled the kernel. But the box continues to freeze up after a few days. I just hooked up to the serial console, so maybe the next time it hangs, I'll be able to get some more info. Any ideas? Or any suggestions on something I can do to get more diagnostic info about what's going on when it crashes? ============== DMESG ============== OpenBSD 4.2 (NAVARONE-4.2) #0: Wed Jan 16 23:18:21 PST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/NAVARONE-4.2 cpu0: Intel(R) Celeron(R) M processor 1.00GHz ("GenuineIntel" 686-class) 1.01 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF real mem = 501706752 (478MB) avail mem = 477413376 (455MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 11/09/06, BIOS32 rev. 0 @ 0xfaf90, SMBIOS rev. 2.2 @ 0xf0800 (34 entries) bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 11/09/2006 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf84 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde30/320 (18 entries) pcibios0: PCI Exclusive IRQs: 7 9 10 11 pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801DBM LPC" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0xca00! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82852GM Hub-PCI" rev 0x02 "Intel 82852GM Memory" rev 0x02 at pci0 dev 0 function 1 not configured "Intel 82852GM Configuration" rev 0x02 at pci0 dev 0 function 3 not configured vga1 at pci0 dev 2 function 0 "Intel 82852GM AGP" rev 0x02: aperture at 0xe0000000, size 0x8000000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) "Intel 82852GM AGP" rev 0x02 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x02: irq 11 uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x02: irq 7 uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x02: irq 10 ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x02: irq 7 usb0 at ehci0: USB revision 2.0 uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1 ppb0 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x82 pci1 at ppb0 bus 1 em0 at pci1 dev 8 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: irq 7, address xx:xx:xx:xx:xx:xx em1 at pci1 dev 9 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: irq 10, address xx:xx:xx:xx:xx:xx em2 at pci1 dev 10 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: irq 11, address xx:xx:xx:xx:xx:xx em3 at pci1 dev 11 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: irq 9, address xx:xx:xx:xx:xx:xx ichpcib0 at pci0 dev 31 function 0 "Intel 82801DB LPC" rev 0x02: 24-bit timer at 3579545Hz pciide0 at pci0 dev 31 function 1 "Intel 82801DB IDE" rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <ST68022CF> wd0: 16-sector PIO, LBA, 7629MB, 15625008 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) ichiic0 at pci0 dev 31 function 3 "Intel 82801DB SMBus" rev 0x02: irq 9 iic0 at ichiic0 usb1 at uhci0: USB revision 1.0 uhub1 at usb1: Intel UHCI root hub, rev 1.00/1.00, addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2: Intel UHCI root hub, rev 1.00/1.00, addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3: Intel UHCI root hub, rev 1.00/1.00, addr 1 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lm0 at isa0 port 0x290/8: W83627HF npx0 at isa0 port 0xf0/16: reported by CPUID; 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 biomask ffe5 netmask ffe5 ttymask ffe7 pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support dkcsum: wd0 matches BIOS drive 0x80 root on wd0a swap on wd0b dump on wd0b em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause) em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause) em2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 media: Ethernet autoselect (100baseTX full-duplex) ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping