Hi there,

I'm using OpenBSD 4.1-stable/amd64 (dmesg below). I'm setting up ipsec to
secure my wireless network, and that seems to work great. (Great job on the
new way to configure ipsec, by the way!)

When using tcpdump on the enc0 interface, I noticed that it segfaults after
a few seconds of continuous traffic on enc0. The weird thing is, I can't
get it to produce a coredump to post a bugreport (unfortunately, I'm no
programmer so I don't think I can diagnose and fix it myself). I'm probably
missing something here, so a nudge in the right direction would be much
appreciated. ulimit -c is unlimited, I have the default login.conf, I set
kern.nosuidcoredump=0, and executed tcpdump from /tmp. Still no corefile.

tcpdump is invoked as follows:

tcpdump -n -p -i enc0

The output is:

tcpdump: WARNING: enc0: no IPv4 address assigned
tcpdump: listening on enc0, link-type ENC
tcpdump: WARNING: compensating for unaligned libpcap packets
09:25:10.519978 (authentic,confidential): SPI 0x6d94e76a: 192.168.2.12.13215 >
194.109.21.66.21: P 2427258942:2427258950(8) ack 1407076783 win 16370
<nop,nop,timestamp 2104373308 3751598247> (DF) [tos 0x10] (encap)
09:25:10.520497 (authentic,confidential): SPI 0x6d94e76a: 192.168.2.12.13215 >
194.109.21.66.21: F 8:8(0) ack 1 win 16370 <nop,nop,timestamp 2104373308
3751598247> (DF) [tos 0x10] (encap)
09:25:10.528208 (authentic,confidential): SPI 0x1f12c078: 194.109.21.66.21 >
192.168.2.12.13215: R 1407076783:1407076783(0) win 0 (DF) [tos 0x10] (encap)
09:25:10.541969 (authentic,confidential): SPI 0x1f12c078: 194.109.21.66.21 >
192.168.2.12.13215: R 1407076783:1407076783(0) win 0 (DF) [tos 0x10] (encap)
09:25:35.233629 (authentic,confidential): SPI 0x1f12c078: 194.109.21.66.55495
> 192.168.2.12.32896: . 11185:11709(524) ack 1 win 46 <nop,nop,timestamp
3751679708 1540338406> (DF) [tos 0x8] (encap)
        [ 8<  - cut  - 8< ]
09:25:39.673018 (authentic,confidential): SPI 0x1f12c078: 194.109.21.66.55495
> 192.168.2.12.32896: . 496017:496541(524) ack 1 win 46 <nop,nop,timestamp
3751680818 1540338415> (DF) [tos 0x8] (encap)
09:25:39.674647 (authentic,confidential): SPI 0x1f12c078: 194.109.21.66.55495
> 192.168.2.12.32896: . 496541:497065(524) ack 1 win 46 <nop,nop,timestamp
3751680818 1540338415> (DF) [tos 0x8] (encap)
09:25:39.675921 (authentic,confidential): SPI 0x1f12c078: 194.109.21.66.55495
> 192.168.2.12.32896: . 497065:497589(524) ack 1 win 46 <nop,nop,timestamp
3751680818 1540338415> (DF) [tos 0x8] (encap)
Segmentation fault

What can I do to (help) find the cause of this?


OpenBSD 4.1-stable (GENERIC+RAIDAUTO) #0: Wed May  9 20:08:36 CEST 2007
    [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC+RAIDAU
TO
real mem = 535621632 (523068K)
avail mem = 446099456 (435644K)
using 13127 buffers containing 53768192 bytes (52508K) of memory
mainbus0 (root)
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0520 (61 entries)
bios0: ASUSTeK Computer Inc. K8V-X
acpi at mainbus0 not configured
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Athlon(tm) 64 Processor 3000+, 2002.88 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,NXE,MMXX,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: Cool'n'Quiet K8 2002 MHz: speeds: 2000 1800 1000 MHz
cpu0: AMD errata 86, 89, 97, 104 present, BIOS upgrade may be required
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 "VIA K8HTB Host" rev 0x01
ppb0 at pci0 dev 1 function 0 "VIA K8HTB AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce2 MX" rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
skc0 at pci0 dev 10 function 0 "Marvell Yukon 88E8001/8003/8010" rev 0x13,
Yukon Lite rev. A3 (0x7): irq 10
sk0 at skc0 port A, address 00:11:2f:9c:09:6b
eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
rl0 at pci0 dev 12 function 0 "Realtek 8139" rev 0x10: irq 10, address
00:00:b4:93:54:c4
rlphy0 at rl0 phy 0: RTL internal PHY
rl1 at pci0 dev 13 function 0 "Realtek 8139" rev 0x10: irq 5, address
00:e0:4c:49:78:1d
rlphy1 at rl1 phy 0: RTL internal PHY
pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA
pciide0: using irq 10 for native-PCI interrupt
pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide1 channel 0 drive 0: <HDS728080PLAT20>
wd0: 16-sector PIO, LBA48, 78533MB, 160836480 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
wd1 at pciide1 channel 1 drive 0: <HDS728080PLAT20>
wd1: 16-sector PIO, LBA48, 78533MB, 160836480 sectors
wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 6
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: irq 10
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: irq 10
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: irq 5
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
viapm0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00
iic0 at viapm0
iic0: addr 0x4a 00=3f 01=03 02=7f 03=07 05=30 06=c0 07=90 08=3f 09=03 0a=7f
0b=07 0d=30 0e=c0 0f=90 10=3f 11=03 12=7f 13=07 15=30 16=c0 17=90 18=3f 19=03
1a=7f 1b=07 1d=30 1e=c0 1f=90 20=3f 21=03 22=7f 23=07 25=30 26=c0 27=90 28=3f
29=03 2a=7f 2b=07 2d=30 2e=c0 2f=90 30=3f 31=03 32=7f 33=07 35=30 36=c0 37=90
38=3f 39=03 3a=7f 3b=07 3d=30 3e=c0 3f=90 40=3f 41=03 42=7f 43=07 45=30 46=c0
47=90 48=3f 49=03 4a=7f 4b=07 4d=30 4e=c0 4f=90 50=3f 51=03 52=7f 53=07 55=30
56=c0 57=90 58=3f 59=03 5a=7f 5b=07 5d=30 5e=c0 5f=90 60=3f 61=03 62=7f 63=07
65=30 66=c0 67=90 68=3f 69=03 6a=7f 6b=07 6d=30 6e=c0 6f=90 70=3f 71=03 72=7f
73=07 75=30 76=c0 77=90 78=3f 79=03 7a=7f 7b=07 7d=30 7e=c0 7f=90 80=3f 81=03
82=7f 83=07 85=30 86=c0 87=90 88=3f 89=03 8a=7f 8b=07 8d=30 8e=c0 8f=90 90=3f
91=03 92=7f 93=07 95=30 96=c0 97=90 98=3f 99=03 9a=7f 9b=07 9d=30 9e=c0 9f=90
a0=3f a1=03 a2=7f a3=07 a5=30 a6=c0 a7=90 a8=3f a9=03 aa=7f ab=07 ad=30 ae=c0
af=90 b0=3f b1=03 b2=7f b3=07 b5=30 b6=c0 b7=90 b8=3f b9=03 ba=7f bb=07 bd=30
be=c0 bf=90 c0=3f c1=03 c2=7f c3=07 c5=30 c6=c0 c7=90 c8=3f c9=03 ca=7f cb=07
cd=30 ce=c0 cf=90 d0=3f d1=03 d2=7f d3=07 d5=30 d6=c0 d7=90 d8=3f d9=03 da=7f
db=07 dd=30 de=c0 df=90 e0=3f e1=03 e2=7f e3=07 e5=30 e6=c0 e7=90 e8=3f e9=03
ea=7f eb=07 ed=30 ee=c0 ef=90 f0=3f f1=03 f2=7f f3=07 f5=30 f6=c0 f7=90 f8=3f
f9=03 fa=7f fb=07 fd=30 fe=c0 ff=90
pchb1 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
pchb2 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
pchb4 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: 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
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lm0 at isa0 port 0x290/8: W83697HF
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
raid0 (root): (RAID Level 1) total number of sectors is 154534656 (75456 MB)
as root
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
swapmount: no device

--
Jurjen Oskam

Savage's Law of Expediency:
        You want it bad, you'll get it bad.

Reply via email to