Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2005 08:01:52 +1000
From:      Matthew Sullivan <matthew@uq.edu.au>
To:        freebsd-current@freebsd.org
Subject:   Fatal Trap 12: Page fault while in kernel mode (racoon/amd64/5.3-RELEASE-p4)
Message-ID:  <41E44CD0.1000008@uq.edu.au>

next in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms000303080006040701010801
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi All,

Sorry, this is going to be a short introductory message rather than a 
full report initially due to lack of information.

I seem to be having problems with a new AMD64 'Firewall' I am building - 
the last part of the puzzle being configuring at least 1 VPN tunnel.

 From what I can gather racoon is the defacto for setting up IPSec 
tunnels on FreeBSD.  (I am still a relative newcomer to BSD being a 
Linux/Solaris fan to date - must say I am impressed)

...anyhow to the problem...

Installation of the OS was from 5.3/amd64 CD's

Kernel has been recompiled:
FreeBSD desperado.sorbs.net 5.3-RELEASE-p4 FreeBSD 5.3-RELEASE-p4 #0: 
Tue Jan 11 17:08:16 EST 2005     
root@desperado.sorbs.net:/usr/obj/usr/src/sys/DESPERADO  amd64

(everything pretty much standard, will make config available if 
requested - IPFIREWALL is enabled)

racoon compiled and installed from source (via Ports)

Upon running of the binary the kernel will instantly trap a page fault 
which begins:

Fatal Trap 12: Page fault while in kernel mode
fault virtual address = 0xffffffffc93009fc
fault code = supervisor read, page not present

I have recompiled the kernel with KDB and KDB_UNATTENDED however it 
appears the machine is totally locked in this state - it will not 
automatically reboot, it will not respond to [CTRL-ALT-ESC] it will not 
even respond to [CTRL-ALT-DEL] - the only thing it will respond to is 
"the big red button" ;-)

I have told it to save cores, however so far no cores.  The crash is 
reproducible everytime.  The fault process is recorded as racoon.

Any suggestions on solving or debugging this further would be greatly 
appreciated.

The machine is rack mounted and without remote management card so 
getting the rest of the trace information is not going to be easy.

Regards,

-- 
Matthew Sullivan
Specialist Systems Programmer
Information Technology Services
The University of Queensland


--------------ms000303080006040701010801
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIG7DCC
A3IwggJaoAMCAQICASowDQYJKoZIhvcNAQEEBQAwgaMxCzAJBgNVBAYTAkFVMRMwEQYDVQQI
EwpRdWVlbnNsYW5kMREwDwYDVQQHEwhCcmlzYmFuZTElMCMGA1UEChMcVGhlIFVuaXZlcnNp
dHkgb2YgUXVlZW5zbGFuZDEoMCYGA1UECxMfSW5mb3JtYXRpb24gVGVjaG5vbG9neSBTZXJ2
aWNlczEbMBkGA1UEAxMSQ2VydGlmaWNhdGUgU2VydmVyMB4XDTA0MDEyMTIzMzYyMVoXDTA2
MDEyMTIzMzYyMVowgbIxCzAJBgNVBAYTAkFVMSUwIwYDVQQKExxUaGUgVW5pdmVyc2l0eSBv
ZiBRdWVlbnNsYW5kMScwJQYDVQQLEx5JbmZvcm1hdGlvbiBUZWNub2xvZ3kgU2VydmljZXMx
FjAUBgoJkiaJk/IsZAEBEwZjY21hdHQxGTAXBgNVBAMTEE1hdHRoZXcgU3VsbGl2YW4xIDAe
BgkqhkiG9w0BCQEWEW1hdHRoZXdAdXEuZWR1LmF1MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJB
AJsUfrw/QUqKIzDverWc2F4GFFRZmIeO+bAl+7BM6x/9frMzOtygx4QGb4oQwtOE8Sda1aIs
v+yJF3Di9EuUyvMCAwEAAaNoMGYwDgYDVR0PAQH/BAQDAgXgMBEGCWCGSAGG+EIBAQQEAwIF
oDAfBgNVHSMEGDAWgBQmqtoyueiWTYZBinvsnzeOWLtUuzAgBgNVHREEGTAXgRVtYXR0aGV3
QGl0cy51cS5lZHUuYXUwDQYJKoZIhvcNAQEEBQADggEBAF2gZrkqZsZlHd4K/+yBN6qrpD61
hctDf7/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GhlIFVuaXZlcnNpdHkgb2YgUXVlZW5zbGFuZDEoMCYGA1UE
CxMfSW5mb3JtYXRpb24gVGVjaG5vbG9neSBTZXJ2aWNlczEbMBkGA1UEAxMSQ2VydGlmaWNh
dGUgU2VydmVyAgEqMIG8BgsqhkiG9w0BCRACCzGBrKCBqTCBozELMAkGA1UEBhMCQVUxEzAR
BgNVBAgTClF1ZWVuc2xhbmQxETAPBgNVBAcTCEJyaXNiYW5lMSUwIwYDVQQKExxUaGUgVW5p
dmVyc2l0eSBvZiBRdWVlbnNsYW5kMSgwJgYDVQQLEx9JbmZvcm1hdGlvbiBUZWNobm9sb2d5
IFNlcnZpY2VzMRswGQYDVQQDExJDZXJ0aWZpY2F0ZSBTZXJ2ZXICASowDQYJKoZIhvcNAQEB
BQAEQCay+KA5CdkLPNBDXj6ScOjX9ftT8mzD+3t7n0LZvc4MGc1kEJMX52ZYfs2z2l0cvDz7
DutMnIIl29YHXFsq6tEAAAAAAAA=
--------------ms000303080006040701010801--



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