OpenBSD 4.8 crash unexpectedly
Hi I am using of OpenBSD 4.8 as a firewall box but it is started to annoy me :(( My problem is OpenBSD crashes unexpectedly (specially when im not at my desk) How can I find the source of this problem. Also I have installed these packages: pkg_info -m clamav-0.96.1p0 virus scanner dansguardian-2.10.1.1 content scanning web filter gnuls-4.1p2 colorized GNU 'ls' oinkmaster-2.0 update your Snort rules php5-core-5.2.13p0 server-side HTML-embedded scripting language pmacct-0.12.2 IP accounting software snort-2.8.6 highly flexible sniffer/NIDS squid-2.7.STABLE9 WWW and FTP proxy cache and accelerator symon-2.82 active monitoring tool wget-1.12p0 retrieve files from the web via HTTP, HTTPS and FTP I am using of these hardwares: # sysctl hw hw.machine=i386 hw.model=Intel(R) Pentium(R) 4 CPU 3.40GHz ("GenuineIntel" 686-class) hw.ncpu=2 hw.byteorder=1234 hw.pagesize=4096 hw.disknames=wd0 hw.diskcount=1 hw.sensors.lm1.temp0=32.00 degC hw.sensors.lm1.fan1=8132 RPM hw.sensors.lm1.fan2=8437 RPM hw.sensors.lm1.volt0=1.20 VDC (VCore A) hw.sensors.lm1.volt1=1.22 VDC (VCore B) hw.sensors.lm1.volt2=0.61 VDC (+3.3V) hw.sensors.lm1.volt3=-5.75 VDC (-5V) hw.sensors.lm1.volt4=2.43 VDC (+12V) hw.sensors.lm1.volt5=-11.54 VDC (-12V) hw.sensors.lm1.volt6=5.78 VDC (+5V) hw.sensors.lm1.volt7=5.19 VDC (5VSB) hw.sensors.lm1.volt8=3.30 VDC (VBAT) hw.sensors.it0.temp0=12.00 degC hw.sensors.it0.temp1=30.00 degC hw.sensors.it0.temp2=33.00 degC hw.sensors.it0.fan0=24107 RPM hw.sensors.it0.fan1=24107 RPM hw.sensors.it0.volt0=1.26 VDC (VCORE_A) hw.sensors.it0.volt1=1.50 VDC (VCORE_B) hw.sensors.it0.volt2=3.23 VDC (+3.3V) hw.sensors.it0.volt3=5.08 VDC (+5V) hw.sensors.it0.volt4=12.22 VDC (+12V) hw.sensors.it0.volt5=-0.35 VDC (-12V) hw.sensors.it0.volt6=-2.95 VDC (-5V) hw.sensors.it0.volt7=5.13 VDC (+5VSB) hw.sensors.it0.volt8=3.14 VDC (VBAT) hw.cpuspeed=3401 hw.product=LakePort hw.uuid=Not Set hw.physmem=3479662592 hw.usermem=3479584768 hw.ncpufound=2 In addition, I am defined some vlan interface on one real interface. I guess this can be a problem of bsd.mp :(( How can I find the source of this problem? After this problem I can not do anything else reboot ! please help me :(( -- Gula_Gula =;=; BNF
OpenBSD 4.8 crash unexpectedly
Hi I am using of OpenBSD 4.8 as a firewall box but it is started to annoy me :(( My problem is OpenBSD crashes unexpectedly (specially when im not at my desk) How can I find the source of this problem. Also I have installed these packages: pkg_info -m clamav-0.96.1p0 virus scanner dansguardian-2.10.1.1 content scanning web filter gnuls-4.1p2 colorized GNU 'ls' oinkmaster-2.0 update your Snort rules php5-core-5.2.13p0 server-side HTML-embedded scripting language pmacct-0.12.2 IP accounting software snort-2.8.6 highly flexible sniffer/NIDS squid-2.7.STABLE9 WWW and FTP proxy cache and accelerator symon-2.82 active monitoring tool wget-1.12p0 retrieve files from the web via HTTP, HTTPS and FTP I am using of these hardwares: # sysctl hw hw.machine=i386 hw.model=Intel(R) Pentium(R) 4 CPU 3.40GHz ("GenuineIntel" 686-class) hw.ncpu=2 hw.byteorder=1234 hw.pagesize=4096 hw.disknames=wd0 hw.diskcount=1 hw.sensors.lm1.temp0=32.00 degC hw.sensors.lm1.fan1=8132 RPM hw.sensors.lm1.fan2=8437 RPM hw.sensors.lm1.volt0=1.20 VDC (VCore A) hw.sensors.lm1.volt1=1.22 VDC (VCore B) hw.sensors.lm1.volt2=0.61 VDC (+3.3V) hw.sensors.lm1.volt3=-5.75 VDC (-5V) hw.sensors.lm1.volt4=2.43 VDC (+12V) hw.sensors.lm1.volt5=-11.54 VDC (-12V) hw.sensors.lm1.volt6=5.78 VDC (+5V) hw.sensors.lm1.volt7=5.19 VDC (5VSB) hw.sensors.lm1.volt8=3.30 VDC (VBAT) hw.sensors.it0.temp0=12.00 degC hw.sensors.it0.temp1=30.00 degC hw.sensors.it0.temp2=33.00 degC hw.sensors.it0.fan0=24107 RPM hw.sensors.it0.fan1=24107 RPM hw.sensors.it0.volt0=1.26 VDC (VCORE_A) hw.sensors.it0.volt1=1.50 VDC (VCORE_B) hw.sensors.it0.volt2=3.23 VDC (+3.3V) hw.sensors.it0.volt3=5.08 VDC (+5V) hw.sensors.it0.volt4=12.22 VDC (+12V) hw.sensors.it0.volt5=-0.35 VDC (-12V) hw.sensors.it0.volt6=-2.95 VDC (-5V) hw.sensors.it0.volt7=5.13 VDC (+5VSB) hw.sensors.it0.volt8=3.14 VDC (VBAT) hw.cpuspeed=3401 hw.product=LakePort hw.uuid=Not Set hw.physmem=3479662592 hw.usermem=3479584768 hw.ncpufound=2 output of dmesg: OpenBSD 4.8 (GENERIC) #136: Mon Aug 16 09:06:23 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 3.40GHz ("GenuineIntel" 686-class) 3.41 GHz cpu0: FPU,V86,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,TM2,CNXT-ID,CX16,xTPR,PDCM real mem = 3479662592 (3318MB) avail mem = 3412791296 (3254MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/25/08, BIOS32 rev. 0 @ 0xf9cc0, SMBIOS rev. 2.2 @ 0xf0800 (38 entries) bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 12/25/2008 acpi0 at bios0: rev 0 acpi0: sleep states S0 S1 S4 acpi0: tables DSDT FACP MCFG APIC acpi0: wakeup devices PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4(S5) PEX5(S5) HUB0(S5) UAR1(S5) USB0(S1) USB1(S1) USB2(S1) USB3(S1) USBE(S1) AC97(S5) AZAL(S5) PCI0(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 200MHz cpu at mainbus0: not configured ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 4 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 4 (PEX0) acpiprt2 at acpi0: bus 5 (PEX1) acpiprt3 at acpi0: bus 6 (PEX2) acpiprt4 at acpi0: bus 7 (PEX3) acpiprt5 at acpi0: bus 8 (PEX4) acpiprt6 at acpi0: bus 9 (PEX5) acpiprt7 at acpi0: bus 10 (HUB0) acpiprt8 at acpi0: bus 2 (PXHA) acpiprt9 at acpi0: bus 3 (PXHB) acpicpu0 at acpi0 acpibtn0 at acpi0: PWRB bios0: ROM list: 0xc/0xae00! 0xcc000/0x1000 0xef000/0x1000! cpu0: Enhanced SpeedStep disabled by BIOS pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82945G Host" rev 0x02 ppb0 at pci0 dev 1 function 0 "Intel 82945G PCIE" rev 0x02: apic 4 int 16 (irq 5) pci1 at ppb0 bus 1 ppb1 at pci1 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09 pci2 at ppb1 bus 2 "Intel IOxAPIC" rev 0x09 at pci1 dev 0 function 1 not configured ppb2 at pci1 dev 0 function 2 "Intel PCIE-PCIE" rev 0x09 pci3 at ppb2 bus 3 "Intel IOxAPIC" rev 0x09 at pci1 dev 0 function 3 not configured vga1 at pci0 dev 2 function 0 "Intel 82945G Video" rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1: apic 4 int 16 (irq 5) drm0 at inteldrm0 ppb3 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 4 int 16 (irq 5) pci4 at ppb3 bus 4 em0 at pci4 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: apic 4 int 16 (irq 5), address 00:10:f3:17:6f:94 ppb4 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: apic 4 int 17 (irq 11) pci5 at ppb4 bus 5 em1 at pci5 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: apic 4 int 17 (irq 11), address 00:10:f3:17:6f:95 ppb5 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x01
Re: OpenBSD 4.8 crash unexpectedly
On Wed, Nov 24, 2010 at 6:35 PM, roberth wrote: > On Wed, 24 Nov 2010 18:21:14 +0330 > Bahador NazariFard wrote: > > > please help me :(( > > start by sending a full dmesg to the list. > sorry ! you are right! I forgot to include this important data. this is output of dmesg OpenBSD 4.8 (GENERIC.MP) #359: Mon Aug 16 09:16:26 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Pentium(R) 4 CPU 3.40GHz ("GenuineIntel" 686-class) 3.41 GHz cpu0: FPU,V86,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,TM2,CNXT-ID,CX16,xTPR,PDCM real mem = 3479662592 (3318MB) avail mem = 3412766720 (3254MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/25/08, BIOS32 rev. 0 @ 0xf9cc0, SMBIOS rev. 2.2 @ 0xf0800 (38 entries) bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 12/25/2008 acpi0 at bios0: rev 0 acpi0: sleep states S0 S1 S4 acpi0: tables DSDT FACP MCFG APIC acpi0: wakeup devices PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4(S5) PEX5(S5) HUB0(S5) UAR1(S5) USB0(S1) USB1(S1) USB2(S1) USB3(S1) USBE(S1) AC97(S5) AZAL(S5) PCI0(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 200MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) 4 CPU 3.40GHz ("GenuineIntel" 686-class) 3.41 GHz cpu1: FPU,V86,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,TM2,CNXT-ID,CX16,xTPR,PDCM ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 4 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 4 (PEX0) acpiprt2 at acpi0: bus 5 (PEX1) acpiprt3 at acpi0: bus 6 (PEX2) acpiprt4 at acpi0: bus 7 (PEX3) acpiprt5 at acpi0: bus 8 (PEX4) acpiprt6 at acpi0: bus 9 (PEX5) acpiprt7 at acpi0: bus 10 (HUB0) acpiprt8 at acpi0: bus 2 (PXHA) acpiprt9 at acpi0: bus 3 (PXHB) acpicpu0 at acpi0 acpicpu1 at acpi0 acpibtn0 at acpi0: PWRB bios0: ROM list: 0xc/0xae00! 0xcc000/0x1000 0xef000/0x1000! cpu0: Enhanced SpeedStep disabled by BIOS pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82945G Host" rev 0x02 ppb0 at pci0 dev 1 function 0 "Intel 82945G PCIE" rev 0x02: apic 4 int 16 (irq 5) pci1 at ppb0 bus 1 ppb1 at pci1 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09 pci2 at ppb1 bus 2 "Intel IOxAPIC" rev 0x09 at pci1 dev 0 function 1 not configured ppb2 at pci1 dev 0 function 2 "Intel PCIE-PCIE" rev 0x09 pci3 at ppb2 bus 3 "Intel IOxAPIC" rev 0x09 at pci1 dev 0 function 3 not configured vga1 at pci0 dev 2 function 0 "Intel 82945G Video" rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1: apic 4 int 16 (irq 5) drm0 at inteldrm0 ppb3 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 4 int 16 (irq 5) pci4 at ppb3 bus 4 em0 at pci4 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: apic 4 int 16 (irq 5), address 00:10:f3:17:6f:94 ppb4 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: apic 4 int 17 (irq 11) pci5 at ppb4 bus 5 em1 at pci5 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: apic 4 int 17 (irq 11), address 00:10:f3:17:6f:95 ppb5 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x01: apic 4 int 18 (irq 10) pci6 at ppb5 bus 6 em2 at pci6 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: apic 4 int 18 (irq 10), address 00:10:f3:17:6f:96 ppb6 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x01: apic 4 int 19 (irq 15) pci7 at ppb6 bus 7 em3 at pci7 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: apic 4 int 19 (irq 15), address 00:10:f3:17:6f:97 ppb7 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 4 int 16 (irq 5) pci8 at ppb7 bus 8 em4 at pci8 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: apic 4 int 16 (irq 5), address 00:10:f3:17:c6:18 ppb8 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: apic 4 int 17 (irq 11) pci9 at ppb8 bus 9 em5 at pci9 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: apic 4 int 17 (irq 11), address 00:10:f3:17:c6:19 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 4 int 23 (irq 9) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 4 int 19 (irq 15) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 4 int 18 (irq 10) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 4 int 16 (irq 5) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 4 int 23 (irq 9) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb9 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1 pci10 at ppb9 bus 10 em6 at pci10 dev 7 function 0 "
Re: OpenBSD 4.8 crash unexpectedly
On Sat, Nov 27, 2010 at 12:39:40PM +0330, Bahador NazariFard wrote: > Hi > > I am using of OpenBSD 4.8 as a firewall box but it is started to annoy me > :(( > My problem is OpenBSD crashes unexpectedly (specially when im not at my > desk) > > How can I find the source of this problem. http://www.openbsd.org/faq/faq2.html#Bugs read it through. hint: you have serial ports. -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Re: OpenBSD 4.8 crash unexpectedly
Hi , dear friend Thank you so much for your reply But I told that I can not be always behind of FirewallBOX I stay long time since 8:00 to 16:00 behind my desk but this problem does not occur I can not be at work always. Is there anyway that i can redirect result of "ddb ps and trace" to logfile and I can analyze it then? How Can Force system at least reboot when it crashes ? On Sat, Nov 27, 2010 at 1:32 PM, Bret S. Lambert wrote: > You never once say what the symptoms are other than "crash and I reboot". > > ddb ps and trace are a minimum to begin working the problem. > > On Sat, Nov 27, 2010 at 12:39:40PM +0330, Bahador NazariFard wrote: > > Hi > > > > I am using of OpenBSD 4.8 as a firewall box but it is started to annoy > me > > :(( > > My problem is OpenBSD crashes unexpectedly (specially when im not at my > > desk) > > > > How can I find the source of this problem. > > > > Also I have installed these packages: > > pkg_info -m > > clamav-0.96.1p0 virus scanner > > dansguardian-2.10.1.1 content scanning web filter > > gnuls-4.1p2 colorized GNU 'ls' > > oinkmaster-2.0 update your Snort rules > > php5-core-5.2.13p0 server-side HTML-embedded scripting language > > pmacct-0.12.2 IP accounting software > > snort-2.8.6 highly flexible sniffer/NIDS > > squid-2.7.STABLE9 WWW and FTP proxy cache and accelerator > > symon-2.82 active monitoring tool > > wget-1.12p0 retrieve files from the web via HTTP, HTTPS and FTP > > > > I am using of these hardwares: > > # sysctl hw > > hw.machine=i386 > > hw.model=Intel(R) Pentium(R) 4 CPU 3.40GHz ("GenuineIntel" 686-class) > > hw.ncpu=2 > > hw.byteorder=1234 > > hw.pagesize=4096 > > hw.disknames=wd0 > > hw.diskcount=1 > > hw.sensors.lm1.temp0=32.00 degC > > hw.sensors.lm1.fan1=8132 RPM > > hw.sensors.lm1.fan2=8437 RPM > > hw.sensors.lm1.volt0=1.20 VDC (VCore A) > > hw.sensors.lm1.volt1=1.22 VDC (VCore B) > > hw.sensors.lm1.volt2=0.61 VDC (+3.3V) > > hw.sensors.lm1.volt3=-5.75 VDC (-5V) > > hw.sensors.lm1.volt4=2.43 VDC (+12V) > > hw.sensors.lm1.volt5=-11.54 VDC (-12V) > > hw.sensors.lm1.volt6=5.78 VDC (+5V) > > hw.sensors.lm1.volt7=5.19 VDC (5VSB) > > hw.sensors.lm1.volt8=3.30 VDC (VBAT) > > hw.sensors.it0.temp0=12.00 degC > > hw.sensors.it0.temp1=30.00 degC > > hw.sensors.it0.temp2=33.00 degC > > hw.sensors.it0.fan0=24107 RPM > > hw.sensors.it0.fan1=24107 RPM > > hw.sensors.it0.volt0=1.26 VDC (VCORE_A) > > hw.sensors.it0.volt1=1.50 VDC (VCORE_B) > > hw.sensors.it0.volt2=3.23 VDC (+3.3V) > > hw.sensors.it0.volt3=5.08 VDC (+5V) > > hw.sensors.it0.volt4=12.22 VDC (+12V) > > hw.sensors.it0.volt5=-0.35 VDC (-12V) > > hw.sensors.it0.volt6=-2.95 VDC (-5V) > > hw.sensors.it0.volt7=5.13 VDC (+5VSB) > > hw.sensors.it0.volt8=3.14 VDC (VBAT) > > hw.cpuspeed=3401 > > hw.product=LakePort > > hw.uuid=Not Set > > hw.physmem=3479662592 > > hw.usermem=3479584768 > > hw.ncpufound=2 > > > > > > output of dmesg: > > OpenBSD 4.8 (GENERIC) #136: Mon Aug 16 09:06:23 MDT 2010 > > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC > > cpu0: Intel(R) Pentium(R) 4 CPU 3.40GHz ("GenuineIntel" 686-class) 3.41 > GHz > > cpu0: > > > FPU,V86,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,TM2,CNXT-ID,CX16,xTPR,PDCM > > real mem = 3479662592 (3318MB) > > avail mem = 3412791296 (3254MB) > > mainbus0 at root > > bios0 at mainbus0: AT/286+ BIOS, date 12/25/08, BIOS32 rev. 0 @ 0xf9cc0, > > SMBIOS rev. 2.2 @ 0xf0800 (38 entries) > > bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 12/25/2008 > > acpi0 at bios0: rev 0 > > acpi0: sleep states S0 S1 S4 > > acpi0: tables DSDT FACP MCFG APIC > > acpi0: wakeup devices PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4(S5) > PEX5(S5) > > HUB0(S5) UAR1(S5) USB0(S1) USB1(S1) USB2(S1) USB3(S1) USBE(S1) AC97(S5) > > AZAL(S5) PCI0(S5) > > acpitimer0 at acpi0: 3579545 Hz, 24 bits > > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > > cpu0 at mainbus0: apid 0 (boot processor) > > cpu0: apic clock running at 200MHz > > cpu at mainbus0: not configured > > ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins > > ioapic0: misconfigured as apic 0, remapped to apid 4 > > acpiprt0 at acpi0: bus 0 (PCI0) > > acpiprt1 at acpi0: bus 4 (PEX0) > > acpiprt2 at acpi0: bus 5 (PEX1) > > acpiprt3 at acpi0: bus 6 (PEX2) > > acpiprt4 at acpi0: bus 7 (PEX3) > > acpiprt5 at acpi0: bus 8 (PEX4) > > acpiprt6 at acpi0: bus 9 (PEX5) > > acpiprt7 at acpi0: bus 10 (HUB0) > > acpiprt8 at acpi0: bus 2 (PXHA) > > acpiprt9 at acpi0: bus 3 (PXHB) > > acpicpu0 at acpi0 > > acpibtn0 at acpi0: PWRB > > bios0: ROM list: 0xc/0xae00! 0xcc000/0x1000 0xef000/0x1000! > > cpu0: Enhanced SpeedStep disabled by BIOS > > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > > pchb0 at pci0 dev 0 function 0 "Intel 82945G Host" rev 0x02 > > ppb0 at pci0 dev 1 function 0 "Intel 82945G PCIE" rev 0x02: apic 4 int 16 > > (irq 5) > > pci1 at ppb0 b
Re: OpenBSD 4.8 crash unexpectedly
On Sat, Nov 27, 2010 at 01:57:08PM +0330, Bahador NazariFard wrote: > Hi , dear friend > Thank you so much for your reply > But I told that I can not be always behind of FirewallBOX > I stay long time since 8:00 to 16:00 behind my desk but this problem does > not occur > I can not be at work always. Who restarts the box after the crash if you are not there? You can not be at work always. We cannot remotely read the mind of a kernel always. Life sucks that way. > Is there anyway that i can redirect result of "ddb ps and trace" to logfile > and I can analyze it then? Serial console. crash(8). > How Can Force system at least reboot when it crashes ? So far we are not even sure you crash since you don't mention any symptoms, like seeing a ddb> prompt. However if you ARE crashing, and you ARE ending up at the ddb> prompt and you DON'T want to get more information on the crashes, then you might 'man sysctl' and read /etc/sysctl.conf. i.e. the line #ddb.panic=0 # 0=Do not drop into ddb on a kernel panic Also, google says http://davespicks.com/writing/programming/openbsdpanic.html Ken > > > > > On Sat, Nov 27, 2010 at 1:32 PM, Bret S. Lambert > wrote: > > > You never once say what the symptoms are other than "crash and I reboot". > > > > ddb ps and trace are a minimum to begin working the problem. > > > > On Sat, Nov 27, 2010 at 12:39:40PM +0330, Bahador NazariFard wrote: > > > Hi > > > > > > I am using of OpenBSD 4.8 as a firewall box but it is started to annoy > > me > > > :(( > > > My problem is OpenBSD crashes unexpectedly (specially when im not at my > > > desk) > > > > > > How can I find the source of this problem. > > > > > > Also I have installed these packages: > > > pkg_info -m > > > clamav-0.96.1p0 virus scanner > > > dansguardian-2.10.1.1 content scanning web filter > > > gnuls-4.1p2 colorized GNU 'ls' > > > oinkmaster-2.0 update your Snort rules > > > php5-core-5.2.13p0 server-side HTML-embedded scripting language > > > pmacct-0.12.2 IP accounting software > > > snort-2.8.6 highly flexible sniffer/NIDS > > > squid-2.7.STABLE9 WWW and FTP proxy cache and accelerator > > > symon-2.82 active monitoring tool > > > wget-1.12p0 retrieve files from the web via HTTP, HTTPS and FTP > > > > > > I am using of these hardwares: > > > # sysctl hw > > > hw.machine=i386 > > > hw.model=Intel(R) Pentium(R) 4 CPU 3.40GHz ("GenuineIntel" 686-class) > > > hw.ncpu=2 > > > hw.byteorder=1234 > > > hw.pagesize=4096 > > > hw.disknames=wd0 > > > hw.diskcount=1 > > > hw.sensors.lm1.temp0=32.00 degC > > > hw.sensors.lm1.fan1=8132 RPM > > > hw.sensors.lm1.fan2=8437 RPM > > > hw.sensors.lm1.volt0=1.20 VDC (VCore A) > > > hw.sensors.lm1.volt1=1.22 VDC (VCore B) > > > hw.sensors.lm1.volt2=0.61 VDC (+3.3V) > > > hw.sensors.lm1.volt3=-5.75 VDC (-5V) > > > hw.sensors.lm1.volt4=2.43 VDC (+12V) > > > hw.sensors.lm1.volt5=-11.54 VDC (-12V) > > > hw.sensors.lm1.volt6=5.78 VDC (+5V) > > > hw.sensors.lm1.volt7=5.19 VDC (5VSB) > > > hw.sensors.lm1.volt8=3.30 VDC (VBAT) > > > hw.sensors.it0.temp0=12.00 degC > > > hw.sensors.it0.temp1=30.00 degC > > > hw.sensors.it0.temp2=33.00 degC > > > hw.sensors.it0.fan0=24107 RPM > > > hw.sensors.it0.fan1=24107 RPM > > > hw.sensors.it0.volt0=1.26 VDC (VCORE_A) > > > hw.sensors.it0.volt1=1.50 VDC (VCORE_B) > > > hw.sensors.it0.volt2=3.23 VDC (+3.3V) > > > hw.sensors.it0.volt3=5.08 VDC (+5V) > > > hw.sensors.it0.volt4=12.22 VDC (+12V) > > > hw.sensors.it0.volt5=-0.35 VDC (-12V) > > > hw.sensors.it0.volt6=-2.95 VDC (-5V) > > > hw.sensors.it0.volt7=5.13 VDC (+5VSB) > > > hw.sensors.it0.volt8=3.14 VDC (VBAT) > > > hw.cpuspeed=3401 > > > hw.product=LakePort > > > hw.uuid=Not Set > > > hw.physmem=3479662592 > > > hw.usermem=3479584768 > > > hw.ncpufound=2 > > > > > > > > > output of dmesg: > > > OpenBSD 4.8 (GENERIC) #136: Mon Aug 16 09:06:23 MDT 2010 > > > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC > > > cpu0: Intel(R) Pentium(R) 4 CPU 3.40GHz ("GenuineIntel" 686-class) 3.41 > > GHz > > > cpu0: > > > > > FPU,V86,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,TM2,CNXT-ID,CX16,xTPR,PDCM > > > real mem = 3479662592 (3318MB) > > > avail mem = 3412791296 (3254MB) > > > mainbus0 at root > > > bios0 at mainbus0: AT/286+ BIOS, date 12/25/08, BIOS32 rev. 0 @ 0xf9cc0, > > > SMBIOS rev. 2.2 @ 0xf0800 (38 entries) > > > bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 12/25/2008 > > > acpi0 at bios0: rev 0 > > > acpi0: sleep states S0 S1 S4 > > > acpi0: tables DSDT FACP MCFG APIC > > > acpi0: wakeup devices PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4(S5) > > PEX5(S5) > > > HUB0(S5) UAR1(S5) USB0(S1) USB1(S1) USB2(S1) USB3(S1) USBE(S1) AC97(S5) > > > AZAL(S5) PCI0(S5) > > > acpitimer0 at acpi0: 3579545 Hz, 24 bits > > > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > > > cpu0 at mainbus0: apid 0 (boot processor) > > > cpu0: api
Re: OpenBSD 4.8 crash unexpectedly
On 11/27/2010 5:27 AM, Bahador NazariFard wrote: How Can Force system at least reboot when it crashes ? Set up another box with CARP or some other appropriate HA solution for your needs. Then you can debug/update/admin your system without affecting your users.
OpenBSD 4.8 crash unexpectedly (panic: trap type 6, code=0, pc=d056c5dd)
Hi , all dear friends My OpenBSD crashed and rebooted agian after panic: trap type 6, code=0, pc=d056c5dd. I am trying to find where is the origination of this problem but I could not find anything. I used from gdb and I run "file /var/crash/bsd.0" and " target kvm /var/crash/bsd.0.core" commands. then I run "where" but gdb told "No stack." In addition I tried to help of dmsg and iostat but it seems there is no information that help me. output both of them were empty. Here is the ouput of some commands that may help us # ls -lh /var/crash/ total 6816168 -rw--- 1 root wheel 2B Nov 30 01:47 bounds -rw--- 1 root wheel 8.5M Nov 30 01:53 bsd.0 -rw--- 1 root wheel 3.2G Nov 30 01:53 bsd.0.core -rw-r--r-- 1 root wheel 5B Aug 16 19:16 minfree ## grep savecore /var/log/messages Nov 27 18:35:40 BSD savecore: no core dump Nov 30 01:47:00 BSD savecore: reboot after panic: trap type 6, code=0, pc=d056c5dd Nov 30 01:47:00 BSD savecore: /var/crash/bounds: No such file or directory Nov 30 01:47:00 BSD savecore: writing core to /var/crash/bsd.0.core Nov 30 01:53:04 BSD savecore: writing kernel to /var/crash/bsd.0 # sysctl hw.physmem hw.physmem=3479662592 # swapctl -l -k Device 1K-blocks UsedAvail Capacity Priority swap_device 41929680 4192968 0%0 # sysctl vm.swapencrypt.enable vm.swapencrypt.enable=0 Also I am using of symon and rrdgraph that show usage of cpu , memory and hard disk is very normal before crash. can you help me why my core file seems empty? How can get useful information from core file and find problem? -- Gula_Gula =;=; BNF
Re: OpenBSD 4.8 crash unexpectedly (panic: trap type 6, code=0, pc=d056c5dd)
On 30/11/2010, at 5:39 PM, Bahador NazariFard wrote: > Hi , all dear friends > My OpenBSD crashed and rebooted agian after panic: trap type 6, code=0, > pc=d056c5dd. > I am trying to find where is the origination of this problem but I could not > find anything. Can't help with core files, but would suggest you reduce the problem to the smallest set of "things" that trigger it. Try different machine, different RAM, different NICs. If you've got a similar machine, move the HD into that machine and see if you get the same behaviour. Try starting with base install, and slowly moving up to the level you need - perhaps on the way up you will find the trigger. AND/OR ... [You might already be achieving this with symon, etc.] Write a script that logs to a file (might need to flush after the write) every 5 minutes or whatever; maybe write the output of ps (or whatever interests you) to the file. See what time(s) the crash happens and drill-in on that time with more diagnostics. If the crash is always happening at 8.05 p.m., you can start to investigate more what happens at that time of day. HTH. > I used from gdb and I run "file /var/crash/bsd.0" and " target kvm > /var/crash/bsd.0.core" commands. > then I run "where" but gdb told "No stack." > In addition I tried to help of dmsg and iostat but it seems there is no > information that help me. > output both of them were empty. > Here is the ouput of some commands that may help us > # ls -lh /var/crash/ > total 6816168 > -rw--- 1 root wheel 2B Nov 30 01:47 bounds > -rw--- 1 root wheel 8.5M Nov 30 01:53 bsd.0 > -rw--- 1 root wheel 3.2G Nov 30 01:53 bsd.0.core > -rw-r--r-- 1 root wheel 5B Aug 16 19:16 minfree > ## grep savecore /var/log/messages > Nov 27 18:35:40 BSD savecore: no core dump > Nov 30 01:47:00 BSD savecore: reboot after panic: trap type 6, code=0, > pc=d056c5dd > Nov 30 01:47:00 BSD savecore: /var/crash/bounds: No such file or directory > Nov 30 01:47:00 BSD savecore: writing core to /var/crash/bsd.0.core > Nov 30 01:53:04 BSD savecore: writing kernel to /var/crash/bsd.0 > # sysctl hw.physmem > hw.physmem=3479662592 > # swapctl -l -k > Device 1K-blocks UsedAvail Capacity Priority > swap_device 41929680 4192968 0%0 > # sysctl vm.swapencrypt.enable > vm.swapencrypt.enable=0 > > > Also I am using of symon and rrdgraph that show usage of cpu , memory and > hard disk is very normal before crash. > > > > > can you help me why my core file seems empty? > How can get useful information from core file and find problem? > > > > > > > > -- > Gula_Gula =;=; BNF