Marc Balmer wrote:
> * carlopmart wrote:
>> Hi all,
>>
>>  Last night my openbsd 4.1 has crashed and I don't know why. I am using 
>>  this openbsd as a part of two carped firewalls.
>>
>>  Crash dump:
>>
>>  kernel:  page fault trap code=0
>> Stopped at pfsync_insert_net_state+0x451: movl 0(%eax,%edx,4),%edx
>>
>> Show panic:
>>         the kernel did not panic
>>
>> Trace log:
>>
>> pfsync_insert_net_state(da2ff926,1,1e0,d08d4d48) at 
>> pfsync_insert_net_state+0x451
>> pfsync_input(da0e6d00,14,0,0,d2975030) at pfsync_input+0x3ef
>> ipv4_input(da0e6d00,d297bc80,0,d08d3000,30) at ipv4_input+0x511
>> ipintr(d0200058,10,d08d0010,d03c0010,d08d3000) at ipintr+0x7e
>> Bad frame pointer: 0xd08d4e24
>>
>>  Dump shows a problem with pfsync interface, and I think on two posible 
>> problems: network interface or problem with switches.
>>
>>  Output of dmesg:
>>
>>  OpenBSD 4.1 (FWCLUSTER02) #0: Thu May  3 09:38:24 CEST 2007
> 
> this is not a GENERIC kernel, god knows what you have changed, but noone
> can support custom kernels.
> 
>>     [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/FWCLUSTER02
>> cpu0: Intel(R) Pentium(R) 4 CPU 3.20GHz ("GenuineIntel" 686-class) 3.21 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,CNXT-ID,xTPR
>> real mem  = 2146795520 (2096480K)
>> avail mem = 1951932416 (1906184K)
>> using 4278 buffers containing 107462656 bytes (104944K) of memory
>> mainbus0 (root)
>> bios0 at mainbus0: AT/286+ BIOS, date 02/02/04, BIOS32 rev. 0 @ 0xffe90, 
>> SMBIOS rev. 2.3 @ 0xfb030 (83 entries)
>> bios0: Dell Computer Corporation PowerEdge 750
>> pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
>> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc570/144 (7 entries)
>> pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 6300ESB LPC" rev 0x00)
>> pcibios0: PCI bus #4 is the last bus
>> bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x5600 
>> 0xce800/0x1000 0xec000/0x4000!
>> acpi at mainbus0 not configured
>> 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 3 function 0 "Intel 82875P PCI-CSA" rev 0x02
>> pci1 at ppb0 bus 1
>> em0 at pci1 dev 1 function 0 "Intel PRO/1000CT (82547GI)" rev 0x00: irq 3, 
>> address 00:c0:9f:3d:0e:b5
>> ppb1 at pci0 dev 28 function 0 "Intel 6300ESB PCIX" rev 0x02
>> pci2 at ppb1 bus 2
>> ppb2 at pci2 dev 1 function 0 "IBM 133 PCIX-PCIX" rev 0x02
>> pci3 at ppb2 bus 3
>> em1 at pci3 dev 4 function 0 "Intel PRO/1000MT QP (82546EB)" rev 0x01: irq 
>> 11, address 00:04:23:b8:4c:bc
>> em2 at pci3 dev 4 function 1 "Intel PRO/1000MT QP (82546EB)" rev 0x01: irq 
>> 11, address 00:04:23:b8:4c:bd
>> em3 at pci3 dev 6 function 0 "Intel PRO/1000MT QP (82546EB)" rev 0x01: irq 
>> 11, address 00:04:23:b8:4c:be
>> em4 at pci3 dev 6 function 1 "Intel PRO/1000MT QP (82546EB)" rev 0x01: irq 
>> 11, address 00:04:23:b8:4c:bf
>> uhci0 at pci0 dev 29 function 0 "Intel 6300ESB USB" rev 0x02: irq 11
>> 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 6300ESB USB" rev 0x02: irq 10
>> 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
>> "Intel 6300ESB WDT" rev 0x02 at pci0 dev 29 function 4 not configured
>> "Intel 6300ESB APIC" rev 0x02 at pci0 dev 29 function 5 not configured
>> ehci0 at pci0 dev 29 function 7 "Intel 6300ESB USB" rev 0x02: irq 7
>> usb2 at ehci0: USB revision 2.0
>> uhub2 at usb2
>> uhub2: Intel EHCI root hub, rev 2.00/1.00, addr 1
>> uhub2: 4 ports with 4 removable, self powered
>> ppb3 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x0a
>> pci4 at ppb3 bus 4
>> em5 at pci4 dev 2 function 0 "Intel PRO/1000MT (82541GI)" rev 0x00: irq 10, 
>> address 00:c0:9f:3d:0e:b6
>> ahc0 at pci4 dev 3 function 0 "Adaptec AHA-3960D U160" rev 0x01: irq 11
>> scsibus0 at ahc0: 16 targets
>> sd0 at scsibus0 targ 0 lun 0: <SEAGATE, ST336607LW, DS09> SCSI3 0/direct 
>> fixed
>> sd0: 34732MB, 49855 cyl, 2 head, 713 sec, 512 bytes/sec, 71132959 sec total
>> ahc1 at pci4 dev 3 function 1 "Adaptec AHA-3960D U160" rev 0x01: irq 10
>> scsibus1 at ahc1: 16 targets
>> vga1 at pci4 dev 14 function 0 "ATI Rage XL" rev 0x27
>> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
>> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
>> ichpcib0 at pci0 dev 31 function 0 "Intel 6300ESB LPC" rev 0x02
>> pciide0 at pci0 dev 31 function 2 "Intel 6300ESB SATA" rev 0x02: DMA, 
>> channel 0 configured to compatibility, channel 1 configured to compatibility
>> atapiscsi0 at pciide0 channel 0 drive 0
>> scsibus2 at atapiscsi0: 2 targets
>> cd0 at scsibus2 targ 0 lun 0: <TEAC, CD-224E, K.9A> SCSI0 5/cdrom removable
>> cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
>> ichiic0 at pci0 dev 31 function 3 "Intel 6300ESB SMBus" rev 0x02: SMBus 
>> disabled
>> 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: reported by CPUID; using exception 16
>> pccom0 at isa0 port 0x3f8/8 irq 4: 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 efe5 netmask efed ttymask ffef
>> pctr: user-level cycle counter enabled
>> ahc0: target 0 using 16bit transfers
>> ahc0: target 0 synchronous at 80.0MHz DT, offset = 0x3f
>> dkcsum: sd0 matches BIOS drive 0x80
>> root on sd0a
>> rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
>>
>>  How can I fix this problem??
>> -- 
>> CL Martinez
>> carlopmart {at} gmail {d0t} com
>>
> 
Ok, I have only modified kernel params attached on a file.

-- 
CL Martinez
carlopmart {at} gmail {d0t} com
#       $OpenBSD: FWCLUSTER02,v 1.0 2007/05/03 Exp $
#
#       Machine-independent option; used by all architectures for their
#       GENERIC kernel

#option         INSECURE        # default to secure

option          DDB             # in-kernel debugger
#option         DDB_SAFE_CONSOLE # allow break into ddb during boot
#makeoptions    DEBUG="-g"      # compile full symbol table
#makeoptions    PROF="-pg"      # build profiled kernel
#option         GPROF           # kernel profiling, kgmon(8)
option          DIAGNOSTIC      # internal consistency checks
option          KTRACE          # system call tracing, a la ktrace(1)
option          ACCOUNTING      # acct(2) process accounting
option          KMEMSTATS       # collect malloc(9) statistics
option          PTRACE          # ptrace(2) system call

option          CRYPTO          # Cryptographic framework

option          SYSVMSG         # System V-like message queues
option          SYSVSEM         # System V-like semaphores
option          SYSVSHM         # System V-like memory sharing

option          UVM_SWAP_ENCRYPT# support encryption of pages going to swap

#option         COMPAT_23       # Kernel compatibility with OpenBSD 2.3,
#option         COMPAT_25       # 2.5,
option          COMPAT_35       # 3.5,
option          COMPAT_43       # and 4.3BSD
#option         TCP_COMPAT_42   # TCP bug compatibility with 4.2BSD

option          LKM             # loadable kernel modules

option          FFS             # UFS
option          FFS_SOFTUPDATES # Soft updates
option          UFS_DIRHASH     # hash large directories
option          QUOTA           # UFS quotas
option          EXT2FS          # Second Extended Filesystem
option          MFS             # memory file system
option          XFS             # xfs filesystem

option          TCP_SACK        # Selective Acknowledgements for TCP
option          TCP_ECN         # Explicit Congestion Notification for TCP
option          TCP_SIGNATURE   # TCP MD5 Signatures, for BGP routing sessions
#option         TCP_FACK        # Forward Acknowledgements for TCP

#option         NFSCLIENT       # Network File System client
#option         NFSSERVER       # Network File System server

#option         VFSDEBUG        # VFS debugging
option          CD9660          # ISO 9660 + Rock Ridge file system
option          UDF             # UDF (DVD) file system
option          MSDOSFS         # MS-DOS file system
option          FIFO            # FIFOs; RECOMMENDED
option          PORTAL          # dynamically created filesystem objects

option          INET            # IP + ICMP + TCP + UDP
option          ALTQ            # ALTQ base
option          INET6           # IPv6 (needs INET)
option          IPSEC           # IPsec
option          KEY             # PF_KEY (implied by IPSEC)
#option         IPX             # IPX+SPX
#option         IPXIP           # IPX tunneling over IP
#option         NETATALK        # AppleTalk
#option         PPP_BSDCOMP     # PPP BSD compression
#option         PPP_DEFLATE
option          MROUTING        # Multicast router
#option         PIM             # Protocol Independent Multicast

pseudo-device   pf              # packet filter
pseudo-device   pflog           # pf log if
pseudo-device   pfsync          # pf sync if
#pseudo-device  sppp    1       # Sync PPP/HDLC
pseudo-device   enc     1       # option IPSEC needs the encapsulation interface
#pseudo-device  strip   1       # Starmode Radio IP interface

pseudo-device   pty     16      # initial number of pseudo-terminals
pseudo-device   nmea    1       # NMEA 0183 line discipline
pseudo-device   vnd     4       # paging to files
pseudo-device   ccd     4       # concatenated disk devices
pseudo-device   ksyms   1       # kernel symbols device
pseudo-device   systrace 1      # system call tracing device

# clonable devices
pseudo-device   bpfilter        # packet filter
pseudo-device   bridge          # network bridging support
pseudo-device   carp            # CARP protocol support
pseudo-device   gif             # IPv[46] over IPv[46] tunnel (RFC1933)
pseudo-device   gre             # GRE encapsulation interface
pseudo-device   loop            # network loopback
#pseudo-device  ppp             # PPP
pseudo-device   sl              # CSLIP
pseudo-device   tun             # network tunneling over tty
pseudo-device   vlan            # IEEE 802.1Q VLAN 
pseudo-device   trunk           # Trunking support

# for IPv6
#pseudo-device  faith   1       # IPv[46] tcp relay translation i/f

#pseudo-device  pppoe   1       # PPP over Ethernet (RFC 2516)

option          BOOT_CONFIG     # add support for boot -c

Reply via email to