kern/128009: setkey(8) coredumps freebsd7 on sha1_result line 263 page fault

alan yang alancyang at gmail.com
Sun Oct 19 13:47:11 UTC 2008


it panic.

pl see attachment on related.

sorry about the late info.

On Mon, Oct 13, 2008 at 1:30 AM,  <vwe at 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MYKERNEL
Type: application/octet-stream
Size: 11940 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bugs/attachments/20081019/959d5823/MYKERNEL.obj
-------------- next part --------------
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 at 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
-------------- next part --------------
#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 ?? ()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kmsg
Type: application/octet-stream
Size: 178 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bugs/attachments/20081019/959d5823/kmsg.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setkey.conf
Type: application/octet-stream
Size: 413 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bugs/attachments/20081019/959d5823/setkey.obj


More information about the freebsd-bugs mailing list