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 <[email protected]>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
> >     [email protected]:/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 0xfee00000: 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 0xfec00000, 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: 0xc0000/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 0xd0000000, size 0x10000000
> > 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 "Intel PRO/1000MT (82541GI)" rev 0x05: apic
> 4
> > int 17 (irq 11), address 00:10:f3:17:c6:1a
> > em7 at pci10 dev 9 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: apic
> 4
> > int 19 (irq 15), address 00:10:f3:17:c6:1b
> > ichpcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01: PM
> disabled
> > pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA,
> channel
> > 0 configured to compatibility, channel 1 configured to compatibility
> > wd0 at pciide0 channel 0 drive 0: <ST380215A>
> > wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
> > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> > pciide0: channel 1 ignored (disabled)
> > pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA,
> > channel 0 configured to native-PCI, channel 1 configured to native-PCI
> > pciide1: using apic 4 int 19 (irq 15) for native-PCI interrupt
> > ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: apic 4
> int
> > 19 (irq 15)
> > iic0 at ichiic0
> > lm1 at iic0 addr 0x2d: W83792D rev D
> > spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-6400CL5
> > spdmem1 at iic0 addr 0x52: 2GB DDR2 SDRAM non-parity PC2-6400CL5
> > 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
> > usb4 at uhci3: USB revision 1.0
> > uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> > isa0 at ichpcib0
> > 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
> > pckbd0 at pckbc0 (kbd slot)
> > pckbc0: using irq 1 for kbd slot
> > wskbd0 at pckbd0: console keyboard, using wsdisplay0
> > pcppi0 at isa0 port 0x61
> > spkr0 at pcppi0
> > lpt0 at isa0 port 0x378/4 irq 7
> > it0 at isa0 port 0x2e/2: IT8712F rev 7, EC port 0x290
> > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> > mtrr: Pentium Pro MTRR support
> > uhidev0 at uhub1 port 1 configuration 1 interface 0 "Holtek product
> 0x1203"
> > rev 2.00/2.70 addr 2
> > uhidev0: iclass 3/1
> > ukbd0 at uhidev0: 8 modifier keys, 6 key codes
> > wskbd1 at ukbd0 mux 1
> > wskbd1: connecting to wsdisplay0
> > uhidev1 at uhub1 port 1 configuration 1 interface 1 "Holtek product
> 0x1203"
> > rev 2.00/2.70 addr 2
> > uhidev1: iclass 3/0, 2 report ids
> > uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
> > uhid1 at uhidev1 reportid 2: input=3, output=0, feature=0
> > softraid0 at root
> > root on wd0a swap on wd0b dump on wd0b
> >
> >
> > In addition, I am defined  some vlan  interface on one real interface.
> >
> >
> > I guessed this can be a problem of bsd.mp and I added "boot /bsd.sp" to
> > /etc/boot.conf
> > but unfortuantly this problem is not been solved.
> >
> > 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

Reply via email to