Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Oct 2008 06:26:00 -0700
From:      "alan yang" <alancyang@gmail.com>
To:        vwe@freebsd.org
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: kern/128009: setkey(8) coredumps freebsd7 on sha1_result line 263 page fault
Message-ID:  <290865fd0810190626x6f43f39cv8a5f2faea80c1dbd@mail.gmail.com>
In-Reply-To: <200810130830.m9D8Utti014751@freefall.freebsd.org>
References:  <200810130830.m9D8Utti014751@freefall.freebsd.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
it panic.

pl see attachment on related.

sorry about the late info.

On Mon, Oct 13, 2008 at 1:30 AM,  <vwe@freebsd.org> wrote:
> Synopsis: setkey(8) coredumps freebsd7 on sha1_result line 263 page fault
>
> State-Changed-From-To: open->feedback
> State-Changed-By: vwe
> State-Changed-When: Mon Oct 13 08:28:00 UTC 2008
> State-Changed-Why:
>
> Alan,
> does setkey panic your box or does setkey core dump?
> Please give us the actual panic message (if panicing your box) and the
> backtraces.
> Please don't hesitate to also post your kernel config and a dmesg for
> your network configuration and crypto messages.
>
>
> Responsible-Changed-From-To: freebsd-bugs->vwe
> Responsible-Changed-By: vwe
> Responsible-Changed-When: Mon Oct 13 08:28:00 UTC 2008
> Responsible-Changed-Why:
>
> track
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=128009
>

[-- Attachment #2 --]
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.2.2.1 2008/02/06 03:24:28 scottl Exp $

cpu		I486_CPU
cpu		I586_CPU
cpu		I686_CPU
#ident		GENERIC
ident		MYKERNEL

# To statically compile in device wiring instead of /boot/device.hints
#hints		"GENERIC.hints"		# Default places to look for devices.

makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols

options 	SCHED_4BSD		# 4BSD scheduler
options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
options 	INET6			# IPv6 communications protocols
options 	SCTP			# Stream Control Transmission Protocol
options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
options 	MD_ROOT			# MD is a potential root device
options 	NFSCLIENT		# Network Filesystem Client
options 	NFSSERVER		# Network Filesystem Server
options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
options 	MSDOSFS			# MSDOS Filesystem
options 	CD9660			# ISO 9660 Filesystem
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	GEOM_PART_GPT		# GUID Partition Tables.
options 	GEOM_LABEL		# Provides labelization
options 	COMPAT_43TTY		# BSD 4.3 TTY compat [KEEP THIS!]
options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
options 	KTRACE			# ktrace(1) support
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	ADAPTIVE_GIANT		# Giant mutex is adaptive.
options 	STOP_NMI		# Stop CPUS using NMI instead of IPI
options 	AUDIT			# Security event auditing

# To make an SMP kernel, the next two lines are needed
options 	SMP			# Symmetric MultiProcessor Kernel
device		apic			# I/O APIC

# CPU frequency control
device		cpufreq

# Bus support.
device		eisa
device		pci

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk		# ATA disk drives
device		ataraid		# ATA RAID drives
device		atapicd		# ATAPI CDROM drives
device		atapifd		# ATAPI floppy drives
device		atapist		# ATAPI tape drives
options 	ATA_STATIC_ID	# Static device numbering

# SCSI Controllers
device		ahb		# EISA AHA1742 family
device		ahc		# AHA2940 and onboard AIC7xxx devices
options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~128k to driver.
device		ahd		# AHA39320/29320 and onboard AIC79xx devices
options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~215k to driver.
device		amd		# AMD 53C974 (Tekram DC-390(T))
device		hptiop		# Highpoint RocketRaid 3xxx series
device		isp		# Qlogic family
#device 	ispfw		# Firmware for QLogic HBAs- normally a module
device		mpt		# LSI-Logic MPT-Fusion
#device		ncr		# NCR/Symbios Logic
device		sym		# NCR/Symbios Logic (newer chipsets + those of `ncr')
device		trm		# Tekram DC395U/UW/F DC315U adapters

device		adv		# Advansys SCSI adapters
device		adw		# Advansys wide SCSI adapters
device		aha		# Adaptec 154x SCSI adapters
device		aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
device		bt		# Buslogic/Mylex MultiMaster SCSI adapters

device		ncv		# NCR 53C500
device		nsp		# Workbit Ninja SCSI-3
device		stg		# TMC 18C30/18C50

# SCSI peripherals
device		scbus		# SCSI bus (required for SCSI)
device		ch		# SCSI media changers
device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)
device		ses		# SCSI Environmental Services (and SAF-TE)

# RAID controllers interfaced to the SCSI subsystem
device		amr		# AMI MegaRAID
device		arcmsr		# Areca SATA II RAID
device		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID
device		ciss		# Compaq Smart RAID 5*
device		dpt		# DPT Smartcache III, IV - See NOTES for options
device		hptmv		# Highpoint RocketRAID 182x
device		hptrr		# Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx
device		iir		# Intel Integrated RAID
device		ips		# IBM (Adaptec) ServeRAID
device		mly		# Mylex AcceleRAID/eXtremeRAID
device		twa		# 3ware 9000 series PATA/SATA RAID

# RAID controllers
device		aac		# Adaptec FSA RAID
device		aacp		# SCSI passthrough for aac (requires CAM)
device		ida		# Compaq Smart RAID
device		mfi		# LSI MegaRAID SAS
device		mlx		# Mylex DAC960 family
device		pst		# Promise Supertrak SX6000
device		twe		# 3ware ATA RAID

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse

device		kbdmux		# keyboard multiplexer

device		vga		# VGA video card driver

device		splash		# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device		sc

device		agp		# support several AGP chipsets

# Power management support (see NOTES for more options)
#device		apm
# Add suspend/resume support for the i8254.
device		pmtimer

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device		cbb		# cardbus (yenta) bridge
device		pccard		# PC Card (16-bit) bus
device		cardbus		# CardBus (32-bit) bus

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports
device		uart		# Generic UART driver

# Parallel port
device		ppc
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		plip		# TCP/IP over parallel
device		ppi		# Parallel port interface device
#device		vpo		# Requires scbus and da

# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to sio, uart and/or ppc drivers):
#device		puc

# PCI Ethernet NICs.
device		de		# DEC/Intel DC21x4x (``Tulip'')
device		em		# Intel PRO/1000 adapter Gigabit Ethernet Card
device		ixgb		# Intel PRO/10GbE Ethernet Card
device		le		# AMD Am7900 LANCE and Am79C9xx PCnet
device		txp		# 3Com 3cR990 (``Typhoon'')
device		vx		# 3Com 3c590, 3c595 (``Vortex'')

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
device		bce		# Broadcom BCM5706/BCM5708 Gigabit Ethernet
device		bfe		# Broadcom BCM440x 10/100 Ethernet
device		bge		# Broadcom BCM570xx Gigabit Ethernet
device		dc		# DEC/Intel 21143 and various workalikes
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
device		lge		# Level 1 LXT1001 gigabit Ethernet
device		msk		# Marvell/SysKonnect Yukon II Gigabit Ethernet
device		nfe		# nVidia nForce MCP on-board Ethernet
device		nge		# NatSemi DP83820 gigabit Ethernet
#device		nve		# nVidia nForce MCP on-board Ethernet Networking
device		pcn		# AMD Am79C97x PCI 10/100 (precedence over 'le')
device		re		# RealTek 8139C+/8169/8169S/8110S
device		rl		# RealTek 8129/8139
device		sf		# Adaptec AIC-6915 (``Starfire'')
device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
device		sk		# SysKonnect SK-984x & SK-982x gigabit Ethernet
device		ste		# Sundance ST201 (D-Link DFE-550TX)
device		stge		# Sundance/Tamarack TC9021 gigabit Ethernet
device		ti		# Alteon Networks Tigon I/II gigabit Ethernet
device		tl		# Texas Instruments ThunderLAN
device		tx		# SMC EtherPower II (83c170 ``EPIC'')
device		vge		# VIA VT612x gigabit Ethernet
device		vr		# VIA Rhine, Rhine II
device		wb		# Winbond W89C840F
device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.  pccard NICs included.
device		cs		# Crystal Semiconductor CS89x0 NIC
# 'device ed' requires 'device miibus'
device		ed		# NE[12]000, SMC Ultra, 3c503, DS8390 cards
device		ex		# Intel EtherExpress Pro/10 and Pro/10+
device		ep		# Etherlink III based cards
device		fe		# Fujitsu MB8696x based cards
device		ie		# EtherExpress 8/16, 3C507, StarLAN 10 etc.
device		sn		# SMC's 9000 series of Ethernet chips
device		xe		# Xircom pccard Ethernet

# Wireless NIC cards
device		wlan		# 802.11 support
device		wlan_wep	# 802.11 WEP support
device		wlan_ccmp	# 802.11 CCMP support
device		wlan_tkip	# 802.11 TKIP support
device		wlan_amrr	# AMRR transmit rate control algorithm
device		wlan_scan_ap	# 802.11 AP mode scanning
device		wlan_scan_sta	# 802.11 STA mode scanning
device		an		# Aironet 4500/4800 802.11 wireless NICs.
device		ath		# Atheros pci/cardbus NIC's
device		ath_hal		# Atheros HAL (Hardware Access Layer)
device		ath_rate_sample	# SampleRate tx rate control for ath
device		awi		# BayStack 660 and others
device		ral		# Ralink Technology RT2500 wireless NICs.
device		wi		# WaveLAN/Intersil/Symbol 802.11 wireless NICs.
#device		wl		# Older non 802.11 Wavelan wireless NIC.

# Pseudo devices.
device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
device		sl		# Kernel SLIP
device		ppp		# Kernel PPP
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"
device		gif		# IPv6 and IPv4 tunneling
device		faith		# IPv6-to-IPv4 relaying (translation)
device		firmware	# firmware assist module

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device		bpf		# Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		ehci		# EHCI PCI->USB interface (USB 2.0)
device		usb		# USB Bus (required)
#device		udbp		# USB Double Bulk Pipe devices
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ukbd		# Keyboard
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse
device		ural		# Ralink Technology RT2500USB wireless NICs
device		rum		# Ralink Technology RT2501USB wireless NICs
device		urio		# Diamond Rio 500 MP3 player
device		uscanner	# Scanners
# USB Ethernet, requires miibus
device		aue		# ADMtek USB Ethernet
device		axe		# ASIX Electronics USB Ethernet
device		cdce		# Generic USB over Ethernet
device		cue		# CATC USB Ethernet
device		kue		# Kawasaki LSI USB Ethernet
device		rue		# RealTek RTL8150 USB Ethernet

# FireWire support
device		firewire	# FireWire bus code
device		sbp		# SCSI over FireWire (Requires scbus and da)
device		fwe		# Ethernet over FireWire (non-standard!)
device		fwip		# IP over FireWire (RFC 2734,3146)
device		dcons		# Dumb console driver
device		dcons_crom	# Configuration ROM for dcons

# ---
# enable bridging
device		if_bridge

# enable IPsec
options		IPSEC
# options		IPSEC_ESP
options		IPSEC_FILTERTUNNEL
options		IPSEC_DEBUG
device		crypto

# enable pf
device		pf
device		pflog
device		pfsync

# enable ALTQ
options		ALTQ
options		ALTQ_CBQ
options		ALTQ_RED
options		ALTQ_RIO
options		ALTQ_HFSC
options		ALTQ_PRIQ
options		ALTQ_NOPCC

# enable kernel debugger
options		KDB
options		DDB
options		GDB


[-- Attachment #3 --]
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE #2: Wed Oct  8 22:18:29 PDT 2008
    root@Pavilion.genovanetworks.com:/usr/src/sys/i386/compile/MYKERNEL
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (598.48-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 268423168 (255 MB)
avail memory = 248664064 (237 MB)
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Sep 30 2008 09:57:45)
cryptosoft0: <software crypto> on motherboard
acpi0: <ASUS Kestrel> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, ff00000 (3) failed
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
cpu0: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> on hostb0
agp0: aperture size is 256M
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vgapci0: <VGA-compatible display> mem 0xe0000000-0xe0ffffff,0xe2000000-0xe3ffffff irq 11 at device 0.0 on pci1
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C596B UDMA66 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd800-0xd80f at device 7.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 9 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge, HOST-PCI> at device 7.3 (no driver attached)
rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xd000-0xd0ff mem 0xdf800000-0xdf8000ff irq 9 at device 10.0 on pci0
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> PHY 0 on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:10:b5:49:06:3a
rl0: [ITHREAD]
pci0: <simple comms> at device 11.0 (no driver attached)
pci0: <multimedia, audio> at device 12.0 (no driver attached)
fdc0: <floppy drive controller> port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: reserved for low-level i/o
sio0: reserved for low-level i/o
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse, device ID 3
sio0: reserved for low-level i/o
sio0: reserved for low-level i/o
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xca7ff pnpid ORM0000 on isa0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
ppbus0: [ITHREAD]
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: reserved for low-level i/o
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio1: [FILTER]
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
aue0: <ADMtek USB To LAN Converter, class 0/0, rev 1.10/1.01, addr 2> on uhub0
miibus1: <MII bus> on aue0
acphy0: <ACXXX 10/100 media interface> PHY 1 on miibus1
acphy0:  100baseFX, 100baseFX-FDX, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
aue0: Ethernet address: 00:14:d1:15:63:3c
aue1: <ADMtek USB To LAN Converter, class 0/0, rev 1.10/1.01, addr 3> on uhub0
miibus2: <MII bus> on aue1
acphy1: <ACXXX 10/100 media interface> PHY 1 on miibus2
acphy1:  100baseFX, 100baseFX-FDX, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
aue1: Ethernet address: 00:18:e7:15:f5:a2
Timecounter "TSC" frequency 598477659 Hz quality 800
Timecounters tick every 1.000 msec
Fast IPsec: Initialized Security Association Processing.
hptrr: no controller detected.
ad0: 39082MB <Maxtor 54098U8 DA620CQ0> at ata0-master UDMA66
ad1: 76319MB <WDC WD800JB-00DUA3 75.13B75> at ata0-slave UDMA66
acd0: CDRW <LG CD-RW CED-8080B/1.05> at ata1-master UDMA33
acd1: DVDROM <Pioneer DVD-ROM ATAPIModel DVD-114 0124/E1.24> at ata1-slave UDMA33
Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 4 files 0
WARNING: /ad1 was not properly dismounted

[-- Attachment #4 --]
#0  doadump () at pcpu.h:195
#1  0xc07a2217 in boot (howto=260) at ../../../kern/kern_shutdown.c:409
#2  0xc07a250b in panic (fmt=Variable "fmt" is not available.
) at ../../../kern/kern_shutdown.c:563
#3  0xc04d21e7 in db_panic (addr=Could not find the frame base for "db_panic".
) at ../../../ddb/db_command.c:433
#4  0xc04d2945 in db_command_loop () at ../../../ddb/db_command.c:401
#5  0xc04d4375 in db_trap (type=12, code=0) at ../../../ddb/db_main.c:222
#6  0xc07c94e6 in kdb_trap (type=12, code=0, tf=0xcd0f3760)
    at ../../../kern/subr_kdb.c:502
#7  0xc0ad098f in trap_fatal (frame=0xcd0f3760, eva=0)
    at ../../../i386/i386/trap.c:890
#8  0xc0ad0c50 in trap_pfault (frame=0xcd0f3760, usermode=0, eva=0)
    at ../../../i386/i386/trap.c:812
#9  0xc0ad164a in trap (frame=0xcd0f3760) at ../../../i386/i386/trap.c:490
#10 0xc0ab6b6b in calltrap () at ../../../i386/i386/exception.s:139
#11 0xc04d05ba in sha1_result (ctxt=0xc26c8d80, digest0=0x0)
    at ../../../crypto/sha1.c:263
#12 0xc097d418 in SHA1Final_int (blk=0x0, ctx=0xc26c8d80)
    at ../../../opencrypto/xform.c:641
#13 0xc0977bcb in swcr_authprepare (axf=0xc0c2c70c, sw=0xc23372e0, 
    key=0xc2337c00 "12345678123456781234", klen=20)
    at ../../../opencrypto/cryptosoft.c:436
#14 0xc0979289 in swcr_newsession (dev=0xc21f6980, sid=0xcd0f3850, 
    cri=0xcd0f38a4) at ../../../opencrypto/cryptosoft.c:749
#15 0xc0975cf8 in crypto_newsession (sid=0xc26c8d78, cri=0xcd0f3880, 
    crid=50331648) at cryptodev_if.h:28
#16 0xc093714e in esp_init (sav=0xc26c8d00, xsp=0xc0c2a784)
    at ../../../netipsec/xform_esp.c:226
#17 0xc09244e3 in xform_init (sav=0xc26c8d00, xftype=3)
    at ../../../netipsec/ipsec.c:1967
#18 0xc092a76c in key_setsaval (sav=0xc26c8d00, m=Variable "m" is not available.
) at ../../../netipsec/key.c:3121
#19 0xc092aa64 in key_newsav (m=0xc23d8b00, mhp=0xcd0f39f4, sah=0xc26c8b80, 
    errp=0xcd0f3968, where=0xc0b7c3f2 "../../../netipsec/key.c", tag=4950)
    at ../../../netipsec/key.c:2754
#20 0xc09302fb in key_add (so=0xc24e47bc, m=0xc23d8b00, mhp=0xcd0f39f4)
    at ../../../netipsec/key.c:4950
#21 0xc0933047 in key_parse (m=0xc23d8b00, so=0xc24e47bc)
    at ../../../netipsec/key.c:6898
#22 0xc0934b28 in key_output (m=0xc23d8b00, so=0xc24e47bc)
    at ../../../netipsec/keysock.c:119
#23 0xc08501b9 in raw_usend (so=0xc24e47bc, flags=Variable "flags" is not available.
) at ../../../net/raw_usrreq.c:267
#24 0xc0933fe5 in key_send (so=0xc24e47bc, flags=0, m=0xc23d8b00, nam=0x0, 
    control=0x0, td=0xc26ab630) at ../../../netipsec/keysock.c:501
#25 0xc07f7875 in sosend_generic (so=0xc24e47bc, addr=0x0, uio=0xcd0f3be8, 
    top=0xc23d8b00, control=0x0, flags=0, td=0xc26ab630)
    at ../../../kern/uipc_socket.c:1240
#26 0xc07f383f in sosend (so=0xc24e47bc, addr=0x0, uio=0xcd0f3be8, top=0x0, 
    control=0x0, flags=0, td=0xc26ab630) at ../../../kern/uipc_socket.c:1286
#27 0xc07f9fc6 in kern_sendit (td=0xc26ab630, s=4, mp=0xcd0f3c64, flags=0, 
    control=0x0, segflg=UIO_USERSPACE) at ../../../kern/uipc_syscalls.c:789
#28 0xc07fd081 in sendit (td=0xc26ab630, s=4, mp=0xcd0f3c64, flags=0)
    at ../../../kern/uipc_syscalls.c:730
#29 0xc07fd198 in sendto (td=0xc26ab630, uap=0xcd0f3cfc)
    at ../../../kern/uipc_syscalls.c:841
#30 0xc0ad0fa5 in syscall (frame=0xcd0f3d38) at ../../../i386/i386/trap.c:1035
#31 0xc0ab6bd0 in Xint0x80_syscall () at ../../../i386/i386/exception.s:196
#32 0x00000033 in ?? ()

[-- Attachment #5 --]
FreeBSD Pavilion.genovanetworks.com 7.0-RELEASE FreeBSD 7.0-RELEASE #2: Wed Oct  8 22:18:29 PDT 2008     root@Pavilion.genovanetworks.com:/usr/src/sys/i386/compile/MYKERNEL  i386

[-- Attachment #6 --]
#spdadd 10.2.0.0/16 10.1.0.0/16 any -P out ipsec esp/tunnel/192.168.0.110-192.168.0.101/require ;
#spdadd 10.1.0.0/16 10.2.0.0/16 any -P in  ipsec esp/tunnel/192.168.0.101-192.168.0.110/require ;
add 192.168.0.101 192.168.0.110 esp-old 0x10001 -m any -E des-cbc "12345678" -A keyed-sha1 "12345678123456781234" ;
#add 192.168.0.110 192.168.0.101 esp-old 0x10002 -m ayn -E des-cbc "12345678" -A keyed-sha1 "test" ;

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?290865fd0810190626x6f43f39cv8a5f2faea80c1dbd>