Re: OpenBSD 4.1 crashed, pfsync problems??

2007-06-14 Thread Jens Mayer
On Wednesday 13 June 2007 14:29:36 you wrote:

   kernel:  page fault trap code=0
   Stopped at pfsync_insert_net_state+0x451: movl 0(%eax,%edx,4),%edx

 I experienced *exactly* the same problem.

 As I'm using a modified kernel also, I'm not sure if this is an official
 OpenBSD bug. Therefore, I switched the boxes back to GENERIC kernels for
 the time being, waiting for one of them to possibly break down again. 

I know triggered (quite) the same error with a GENERIC kernel build, just a 
little bit different:

kernel: page fault trap, code = 0
Stopped at  pfsync_insert_net_state+0x472:  movl0(%eax,%edx,4),%edx

I filed bug number kernel/5508. More information there.

Kind regards,
Jens

-- 
Jens Mayer, Mannheim, Germany

WWW: http://blog.basquiat.de| GPG: 0x0E4D824B
ICQ: 22849810   | JID: [EMAIL PROTECTED]



Re: OpenBSD 4.1 crashed, pfsync problems??

2007-06-13 Thread Jens Mayer
Dear all,

sorry to break the thread, but I did not have the originating message in my 
mailinglist folder anymore. Nonetheless, I want to reply to carlopmart who 
wrote on 2007-Jun-07:

  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

I experienced *exactly* the same problem. 

As I'm using a modified kernel also, I'm not sure if this is an official 
OpenBSD bug. Therefore, I switched the boxes back to GENERIC kernels for the 
time being, waiting for one of them to possibly break down again. Since the 
problem is not reproducable, it's hard to say if it only affects non-GENERIC 
kernel builds.

We are running a classic carped firewall setup. As I can't file bugreports 
with customized kernels, I just wanted to give you this note.

Differences between the customized kernel and GENERIC are:

# optionLKM # loadable kernel modules
# optionEXT2FS  # Second Extended Filesystem
# optionMFS # memory file system
# optionXFS # xfs filesystem
# optionNFSCLIENT   # Network File System client
# optionNFSSERVER   # Network File System server
# optionINET6   # IPv6 (needs INET)
# optionPPP_BSDCOMP # PPP BSD compression
# optionPPP_DEFLATE
# pseudo-device sppp1   # Sync PPP/HDLC
# pseudo-device ppp # PPP
# pseudo-device sl  # CSLI
# pseudo-device pppoe   1   # PPP over Ethernet (RFC 2516)

I also stripped down drivers I do not need, like soundcards, USB- and 
firewiredevices or buses I do not have, pretty much just to the things that 
are built into this box and really needed.

Kind regards,
Jens

-- 
Jens Mayer, Mannheim, Germany

WWW: http://blog.basquiat.de| GPG: 0x0E4D824B
ICQ: 22849810   | JID: [EMAIL PROTECTED]



Re: OpenBSD 4.1 crashed, pfsync problems??

2007-06-13 Thread carlopmart

Jens Mayer wrote:

Dear all,

sorry to break the thread, but I did not have the originating message in my 
mailinglist folder anymore. Nonetheless, I want to reply to carlopmart who 
wrote on 2007-Jun-07:


 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


I experienced *exactly* the same problem. 

As I'm using a modified kernel also, I'm not sure if this is an official 
OpenBSD bug. Therefore, I switched the boxes back to GENERIC kernels for the 
time being, waiting for one of them to possibly break down again. Since the 
problem is not reproducable, it's hard to say if it only affects non-GENERIC 
kernel builds.


We are running a classic carped firewall setup. As I can't file bugreports 
with customized kernels, I just wanted to give you this note.


Differences between the customized kernel and GENERIC are:

# optionLKM # loadable kernel modules
# optionEXT2FS  # Second Extended Filesystem
# optionMFS # memory file system
# optionXFS # xfs filesystem
# optionNFSCLIENT   # Network File System client
# optionNFSSERVER   # Network File System server
# optionINET6   # IPv6 (needs INET)
# optionPPP_BSDCOMP # PPP BSD compression
# optionPPP_DEFLATE
# pseudo-device sppp1   # Sync PPP/HDLC
# pseudo-device ppp # PPP
# pseudo-device sl  # CSLI
# pseudo-device pppoe   1   # PPP over Ethernet (RFC 2516)

I also stripped down drivers I do not need, like soundcards, USB- and 
firewiredevices or buses I do not have, pretty much just to the things that 
are built into this box and really needed.


Kind regards,
Jens



Thanks Jen. I have switched to GENERIC kernel too (without any modification) and 
  I am waiting to reproduce this problem 



--
CL Martinez
carlopmart {at} gmail {d0t} com



Re: OpenBSD 4.1 crashed, pfsync problems??

2007-06-07 Thread carlopmart
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 @ 0xf/0x1
 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: 0xc/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