IPsec: panic/reboot with 5.4-STABLE

David Boyd David.Boyd at insightbb.com
Mon Nov 7 11:12:00 PST 2005


Panics occur as often as every few hours (usually once or twice a day) on
eight identical systems used as VPN devices in hospital radiology appliance
maintenance network.  System were upgraded to 5.4-STABLE because panic(s)
was followed by hang in 5.4-RELEASE.

One other system running 4.10-RELEASE on Soekris Net4801 doesn't experience
this problem.

dmesg output:

WARNING: pseudo-random number generator used for IPsec processing


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x23
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc06c9530
stack pointer	        = 0x10:0xcc7378f4
frame pointer	        = 0x10:0xcc737904
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 498 (isakmpd)
trap number		= 12
panic: page fault
Uptime: 18h55m51s
Dumping 255 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
Dump complete
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...
Copyright (c) 1992-2005 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 5.4-STABLE #1: Fri Oct 14 10:37:20 EDT 2005
    root at flash-143.support.arh.org:/usr/obj/var/cvsup/usr/src/sys/RADIOLOGY
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 1500MHz (1496.34-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf07  Stepping = 7
  Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,M
CA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory  = 268173312 (255 MB)
avail memory = 252772352 (241 MB)
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <GATEWA N0CPP063> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82850 host to AGP bridge> mem 0xf8000000-0xfbffffff at device
0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc00-0xdc7f mem
0xff9ffc00-0xff9ffc7f irq 3 at device 10.0 on pci2
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:04:76:bb:82:cc
rl0: <D-Link DFE-530TX+ 10/100BaseTX> port 0xd800-0xd8ff mem
0xff9ff800-0xff9ff8ff irq 9 at device 11.0 on pci2
miibus1: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0d:88:35:27:a3
rl1: <D-Link DFE-530TX+ 10/100BaseTX> port 0xd400-0xd4ff mem
0xff9ff400-0xff9ff4ff irq 10 at device 12.0 on pci2
miibus2: <MII bus> on rl1
rlphy1: <RealTek internal media interface> on miibus2
rlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl1: Ethernet address: 00:0d:88:35:27:89
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 UDMA100 controller> port
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xef40-0xef5f
irq 5 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xef80-0xef9f
irq 9 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <floppy drive controller> port
0x3f7,0x3f4-0x3f5,0x3f2-0x3f3,0x3f0-0x3f1 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A, console
ppc0: <ECP parallel printer port> port 0x778-0x77f,0x378-0x37f irq 7 drq 3
on acpi0
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
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
orm0: <ISA Option ROMs> at iomem 0xc8000-0xc87ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1496337224 Hz quality 800
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default
to accept, logging limited to 100 packets/entry by default
ad0: FAILURE - SET_MULTI status=51<READY,DSC,ERROR> error=4<ABORTED>
ad0: 19470MB <QUANTUM FIREBALLlct20 20/APL.0900> [39560/16/63] at
ata0-master UDMA100
acd0: CDROM <TOSHIBA CD-ROM XM-5702B/2826> at ata1-master PIO3
cd0 at ata1 bus 0 target 0 lun 0
cd0: <TOSHIBA CD-ROM XM-5702B 2826> Removable CD-ROM SCSI-0 device
cd0: 11.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /u was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 4 files 1
WARNING: pseudo-random number generator used for IPsec processing
key_delete: no SA found.
key_delete: no SA found.


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x7f03704e
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc071acac
stack pointer	        = 0x10:0xcc73dba4
frame pointer	        = 0x10:0xcc73dbb0
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 48 (syncer)
trap number		= 12
panic: page fault
Uptime: 8h57m20s
Dumping 255 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
Dump complete
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...
Copyright (c) 1992-2005 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 5.4-STABLE #1: Fri Oct 14 10:37:20 EDT 2005
    root at flash-143.support.arh.org:/usr/obj/var/cvsup/usr/src/sys/RADIOLOGY
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 1500MHz (1496.34-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf07  Stepping = 7
  Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,M
CA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory  = 268173312 (255 MB)
avail memory = 252772352 (241 MB)
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <GATEWA N0CPP063> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82850 host to AGP bridge> mem 0xf8000000-0xfbffffff at device
0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc00-0xdc7f mem
0xff9ffc00-0xff9ffc7f irq 3 at device 10.0 on pci2
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:04:76:bb:82:cc
rl0: <D-Link DFE-530TX+ 10/100BaseTX> port 0xd800-0xd8ff mem
0xff9ff800-0xff9ff8ff irq 9 at device 11.0 on pci2
miibus1: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0d:88:35:27:a3
rl1: <D-Link DFE-530TX+ 10/100BaseTX> port 0xd400-0xd4ff mem
0xff9ff400-0xff9ff4ff irq 10 at device 12.0 on pci2
miibus2: <MII bus> on rl1
rlphy1: <RealTek internal media interface> on miibus2
rlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl1: Ethernet address: 00:0d:88:35:27:89
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 UDMA100 controller> port
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xef40-0xef5f
irq 5 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xef80-0xef9f
irq 9 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <floppy drive controller> port
0x3f7,0x3f4-0x3f5,0x3f2-0x3f3,0x3f0-0x3f1 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A, console
ppc0: <ECP parallel printer port> port 0x778-0x77f,0x378-0x37f irq 7 drq 3
on acpi0
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
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
orm0: <ISA Option ROMs> at iomem 0xc8000-0xc87ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1496336256 Hz quality 800
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default
to accept, logging limited to 100 packets/entry by default
ad0: FAILURE - SET_MULTI status=51<READY,DSC,ERROR> error=4<ABORTED>
ad0: 19470MB <QUANTUM FIREBALLlct20 20/APL.0900> [39560/16/63] at
ata0-master UDMA100
acd0: CDROM <TOSHIBA CD-ROM XM-5702B/2826> at ata1-master PIO3
cd0 at ata1 bus 0 target 0 lun 0
cd0: <TOSHIBA CD-ROM XM-5702B 2826> Removable CD-ROM SCSI-0 device
cd0: 11.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /u was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 4 files 1
WARNING: pseudo-random number generator used for IPsec processing
IPv4 ESP input: no key association found for spi 3082824311
IPv4 ESP input: no key association found for spi 3082824311
IPv4 ESP input: no key association found for spi 3082824311
IPv4 ESP input: no key association found for spi 3082824311
IPv4 ESP input: no key association found for spi 3082824311
IPv4 ESP input: no key association found for spi 3082824311
IPv4 ESP input: no key association found for spi 3082824311
IPv4 ESP input: no key association found for spi 3082824311
IPv4 ESP input: no key association found for spi 3082824311
IPv4 ESP input: no key association found for spi 3082824311
IPv4 ESP input: no key association found for spi 3082824311
IPv4 ESP input: no key association found for spi 3082824311
IPv4 ESP input: no key association found for spi 3082824311
key_delete: no SA found.
key_delete: no SA found.


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x280
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc06c9530
stack pointer	        = 0x10:0xd10c78f4
frame pointer	        = 0x10:0xd10c7904
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 496 (isakmpd)
trap number		= 12
panic: page fault
Uptime: 16h45m12s
Dumping 255 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
Dump complete
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...
Copyright (c) 1992-2005 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 5.4-STABLE #1: Fri Oct 14 10:37:20 EDT 2005
    root at flash-143.support.arh.org:/usr/obj/var/cvsup/usr/src/sys/RADIOLOGY
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 1500MHz (1496.33-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf07  Stepping = 7
  Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,M
CA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory  = 268173312 (255 MB)
avail memory = 252772352 (241 MB)
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <GATEWA N0CPP063> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82850 host to AGP bridge> mem 0xf8000000-0xfbffffff at device
0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc00-0xdc7f mem
0xff9ffc00-0xff9ffc7f irq 3 at device 10.0 on pci2
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:04:76:bb:82:cc
rl0: <D-Link DFE-530TX+ 10/100BaseTX> port 0xd800-0xd8ff mem
0xff9ff800-0xff9ff8ff irq 9 at device 11.0 on pci2
miibus1: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0d:88:35:27:a3
rl1: <D-Link DFE-530TX+ 10/100BaseTX> port 0xd400-0xd4ff mem
0xff9ff400-0xff9ff4ff irq 10 at device 12.0 on pci2
miibus2: <MII bus> on rl1
rlphy1: <RealTek internal media interface> on miibus2
rlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl1: Ethernet address: 00:0d:88:35:27:89
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 UDMA100 controller> port
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xef40-0xef5f
irq 5 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xef80-0xef9f
irq 9 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <floppy drive controller> port
0x3f7,0x3f4-0x3f5,0x3f2-0x3f3,0x3f0-0x3f1 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A, console
ppc0: <ECP parallel printer port> port 0x778-0x77f,0x378-0x37f irq 7 drq 3
on acpi0
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
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
orm0: <ISA Option ROMs> at iomem 0xc8000-0xc87ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1496334708 Hz quality 800
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default
to accept, logging limited to 100 packets/entry by default
ad0: FAILURE - SET_MULTI status=51<READY,DSC,ERROR> error=4<ABORTED>
ad0: 19470MB <QUANTUM FIREBALLlct20 20/APL.0900> [39560/16/63] at
ata0-master UDMA100
acd0: CDROM <TOSHIBA CD-ROM XM-5702B/2826> at ata1-master PIO3
cd0 at ata1 bus 0 target 0 lun 0
cd0: <TOSHIBA CD-ROM XM-5702B 2826> Removable CD-ROM SCSI-0 device
cd0: 11.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /u was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
WARNING: pseudo-random number generator used for IPsec processing

kgdb output:

[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so:
Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x652f6284
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc06c9530
stack pointer	        = 0x10:0xcc72b8f4
frame pointer	        = 0x10:0xcc72b904
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 480 (isakmpd)
trap number		= 12
panic: page fault
Uptime: 7h45m52s
Dumping 255 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240

#0  doadump () at pcpu.h:160
160		__asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) bt
#0  doadump () at pcpu.h:160
#1  0xc06163a4 in boot (howto=260) at
/var/cvsup/usr/src/sys/kern/kern_shutdown.c:412
#2  0xc0616638 in panic (fmt=0xc07dfc4e "%s")
    at /var/cvsup/usr/src/sys/kern/kern_shutdown.c:568
#3  0xc07944b0 in trap_fatal (frame=0xcc72b8b4, eva=1697604228)
    at /var/cvsup/usr/src/sys/i386/i386/trap.c:817
#4  0xc079421b in trap_pfault (frame=0xcc72b8b4, usermode=0, eva=1697604228)
    at /var/cvsup/usr/src/sys/i386/i386/trap.c:735
#5  0xc0793e5d in trap (frame=
      {tf_fs = -1049886696, tf_es = 16, tf_ds = 16, tf_edi = 3, tf_esi
= -1047134208, tf_ebp = -864896764, tf_isp = -864896800, tf_ebx
= -1049820928, tf_edx = 1, tf_ecx = -1687724405, tf_eax = 1697604196,
tf_trapno = 12, tf_err = 0, tf_eip = -1066625744, tf_cs = 8, tf_eflags =
66050, tf_esp = 0, tf_ss = -1049820928}) at
/var/cvsup/usr/src/sys/i386/i386/trap.c:425
#6  0xc0783daa in calltrap () at
/var/cvsup/usr/src/sys/i386/i386/exception.s:140
#7  0xc16c0018 in ?? ()
#8  0x00000010 in ?? ()
#9  0x00000010 in ?? ()
#10 0x00000003 in ?? ()
#11 0xc1960000 in ?? ()
#12 0xcc72b904 in ?? ()
#13 0xcc72b8e0 in ?? ()
#14 0xc16d0100 in ?? ()
#15 0x00000001 in ?? ()
#16 0x9b675e8b in ?? ()
#17 0x652f6264 in ?? ()
#18 0x0000000c in ?? ()
#19 0x00000000 in ?? ()
#20 0xc06c9530 in key_getsavbyspi (sah=0xc1960000, spi=0)
    at /var/cvsup/usr/src/sys/netkey/key.c:2981
#21 0xc06cc0f1 in key_delete (so=0xc178e654, m=0xc16d0100, mhp=0xcc72ba60)
    at /var/cvsup/usr/src/sys/netkey/key.c:5428
#22 0xc06ce1dd in key_parse (m=0xc16d0100, so=0xc178e654)
    at /var/cvsup/usr/src/sys/netkey/key.c:7134
#23 0xc06cf99f in key_output (m=0xc16d0100) at
/var/cvsup/usr/src/sys/netkey/keysock.c:131
#24 0xc068a258 in raw_usend (so=0x0, flags=0, m=0x0, nam=0x0, control=0x0,
td=0xc15f3000)
    at /var/cvsup/usr/src/sys/net/raw_usrreq.c:263
#25 0xc06cff07 in key_send (so=0xc178e654, flags=0, m=0xc16d0100, nam=0x0,
control=0x0,
    p=0xc15f3000) at /var/cvsup/usr/src/sys/netkey/keysock.c:442
#26 0xc064c2b3 in sosend (so=0xc178e654, addr=0x0, uio=0xc19b6100,
top=0xc16d0100,
    control=0x0, flags=0, td=0xc15f3000) at
/var/cvsup/usr/src/sys/kern/uipc_socket.c:835
#27 0xc063bac6 in soo_write (fp=0x0, uio=0xc19b6100, active_cred=0xc14fbd80,
flags=0,
    td=0xc15f3000) at /var/cvsup/usr/src/sys/kern/sys_socket.c:118
#28 0xc0635dbb in dofilewrite (td=0xc15f3000, fd=5, fp=0xc1717088,
auio=0xc19b6100, offset=Unhandled dwarf expression opcode 0x93

) at file.h:245
#29 0xc0635c5b in kern_writev (td=0xc15f3000, fd=5, auio=0xc19b6100)
    at /var/cvsup/usr/src/sys/kern/sys_generic.c:401
#30 0xc0635c04 in writev (td=0xc15f3000, uap=0xcc72bd04)
    at /var/cvsup/usr/src/sys/kern/sys_generic.c:387
#31 0xc07947bb in syscall (frame=
      {tf_fs = 134742063, tf_es = 47, tf_ds = -1078001617, tf_edi =
134793152, tf_esi = -1078007488, tf_ebp = -1078007384, tf_isp = -864895644,
tf_ebx = 5, tf_edx = 23, tf_ecx = 0, tf_eax = 121, tf_trapno = 0, tf_err =
2, tf_eip = 673149675, tf_cs = 31, tf_eflags = 658, tf_esp = -1078007524,
tf_ss = 47}) at /var/cvsup/usr/src/sys/i386/i386/trap.c:1009
#32 0xc0783dff in Xint0x80_syscall () at
/var/cvsup/usr/src/sys/i386/i386/exception.s:201
#33 0x0808002f in ?? ()
#34 0x0000002f in ?? ()
#35 0xbfbf002f in ?? ()
#36 0x0808c7c0 in ?? ()
#37 0xbfbee940 in ?? ()
#38 0xbfbee9a8 in ?? ()
#39 0xcc72bd64 in ?? ()
#40 0x00000005 in ?? ()
#41 0x00000017 in ?? ()
#42 0x00000000 in ?? ()
#43 0x00000079 in ?? ()
#44 0x00000000 in ?? ()
#45 0x00000002 in ?? ()
#46 0x281f72eb in ?? ()
#47 0x0000001f in ?? ()
#48 0x00000292 in ?? ()
#49 0xbfbee91c in ?? ()
#50 0x0000002f in ?? ()
#51 0x00000000 in ?? ()
#52 0x00000000 in ?? ()
#53 0x00000000 in ?? ()
#54 0x00000000 in ?? ()
#55 0x0f998000 in ?? ()
#56 0xc18851c4 in ?? ()
#57 0xc15f3000 in ?? ()
#58 0xcc72baa8 in ?? ()
#59 0xcc72ba90 in ?? ()
#60 0xc14fe480 in ?? ()
#61 0xc0625fd7 in sched_switch (td=0xbfbee940, newtd=0x5, flags=Cannot
access memory at address 0xbfbee9b8
)
    at /var/cvsup/usr/src/sys/kern/sched_4bsd.c:881
Previous frame inner to this frame (corrupt stack?)
(kgdb) quit

kernel configuration input:

#
# RADIOLOGY -- Custom kernel configuration file for FreeBSD/i386
#
# $FreeBSD: src/sys/i386/conf/RADIOLOGY,v 5.06.01.1 2005/06/01 10:00:00
dbboyd Exp $

makeoptions	DEBUG=-g

include 	GENERIC

nooption	SMP
nooption	INET6

nodevice	eisa

nooption 	NFSCLIENT
nooption 	NFSSERVER
nooption 	NFS_ROOT

ident		RADIOLOGY

options 	IPFIREWALL
options 	IPFIREWALL_FORWARD
options 	IPFIREWALL_VERBOSE
options 	IPFIREWALL_VERBOSE_LIMIT=100
options 	IPFIREWALL_DEFAULT_TO_ACCEPT

option		IPSTEALTH

option		IPSEC
option		IPSEC_ESP
option		IPSEC_DEBUG

options		DEVICE_POLLING
options		HZ=1000

device		atapicam

#
#
#
#



More information about the freebsd-net mailing list