Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2005 13:02:08 +1000
From:      Matthew Sullivan <matthew@uq.edu.au>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Fatal Trap 12: Page fault while in kernel mode (racoon/amd64/5.3-RELEASE-p4)
Message-ID:  <41E73630.7050301@uq.edu.au>
In-Reply-To: <4781326B-65D4-11D9-A004-000D93C47836@xcllnt.net>
References:  <41E44CD0.1000008@uq.edu.au> <41E5F22A.6010607@uq.edu.au> <20050113093955.P12838@carver.gumbysoft.com> <41E721A7.3010302@uq.edu.au> <4781326B-65D4-11D9-A004-000D93C47836@xcllnt.net>

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

[-- Attachment #1 --]
Marcel Moolenaar wrote:

> On Jan 13, 2005, at 5:34 PM, Matthew Sullivan wrote:
>
>>>
>>> Hm, null pointer+offset dereference. Are you using IPSEC or 
>>> FAST_IPSEC in
>>> your kernel?  When did you grab the sources last?
>>>
>> IPSEC (see: http://www.au.sorbs.net/~matthew/freebsd/ for all kernel, 
>> config, cores and info I can give)
>>
>> Source was updated after finding this issue (within the last 10 days) 
>> and it made no difference.
>
>
> Note that "setkey -D" should be enough to trigger the page fault on 
> amd64.
> Note also that i386 and ia64 don't have this problem. I don't know about
> alpha or sparc64, but it looks amd64 specific.

Yup, with the same config there was no issue on my PII 450 so I guessed 
it was either AMD64 or a general 64-Bit issue

and the setkey -D ... you're not wrong ;-)

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x39
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xffffffff80307a70
stack pointer           = 0x10:0xffffffff94f08860
frame pointer           = 0x10:0xffffffff94f08960
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 2736 (setkey)
[thread 100095]
Stopped at      keydb_newsecasvar+0x100:        decl    %ecx
db> where      
keydb_newsecasvar() at keydb_newsecasvar+0x100
raw_usend() at raw_usend+0x60
key_send() at key_send+0xa
sosend() at sosend+0x626
kern_sendit() at kern_sendit+0x113
sendit() at sendit+0x5f
sendto() at sendto+0x4d
syscall() at syscall+0x50c
Xfast_syscall() at Xfast_syscall+0xa8
--- syscall (133, FreeBSD ELF64, sendto), rip = 0x80079cda8, rsp = 
0x7fffffff6c58, rbp = 0x7fffffffed20 ---

Regards,

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


[-- Attachment #2 --]
0	*H
010	+0	*H
0r0Z*0
	*H
010	UAU10U
Queensland10UBrisbane1%0#U
The University of Queensland1(0&UInformation Technology Services10UCertificate Server0
040121233621Z
060121233621Z010	UAU1%0#U
The University of Queensland1'0%UInformation Tecnology Services10
	&,dccmatt10UMatthew Sullivan1 0	*H
	matthew@uq.edu.au0\0
	*H
K0HA~?AJ#0z^TY%L~3:ܠDŽoӄ'Zբ,pKh0f0U0	`HB0U#0&2MA{7XT0 U0matthew@its.uq.edu.au0
	*H
]f*fe
7>Că3$K:C%˜pr0(;wP@H$U ҷs;#BdYMz9 Z ȥ-Z=53Fl .jٍ\]W)R+,!6Ampz:3 JFwH2LRD"ױTb^#)/xgBRr{(1&fcv@Jpc4fcy{SaU0r0Z*0
	*H
010	UAU10U
Queensland10UBrisbane1%0#U
The University of Queensland1(0&UInformation Technology Services10UCertificate Server0
040121233621Z
060121233621Z010	UAU1%0#U
The University of Queensland1'0%UInformation Tecnology Services10
	&,dccmatt10UMatthew Sullivan1 0	*H
	matthew@uq.edu.au0\0
	*H
K0HA~?AJ#0z^TY%L~3:ܠDŽoӄ'Zբ,pKh0f0U0	`HB0U#0&2MA{7XT0 U0matthew@its.uq.edu.au0
	*H
]f*fe
7>Că3$K:C%˜pr0(;wP@H$U ҷs;#BdYMz9 Z ȥ-Z=53Fl .jٍ\]W)R+,!6Ampz:3 JFwH2LRD"ױTb^#)/xgBRr{(1&fcv@Jpc4fcy{SaU1@0<0010	UAU10U
Queensland10UBrisbane1%0#U
The University of Queensland1(0&UInformation Technology Services10UCertificate Server*0	+-0	*H
	1	*H
0	*H
	1
050114030208Z0#	*H
	1D1̐ctG}K0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UAU10U
Queensland10UBrisbane1%0#U
The University of Queensland1(0&UInformation Technology Services10UCertificate Server*0*H
	1010	UAU10U
Queensland10UBrisbane1%0#U
The University of Queensland1(0&UInformation Technology Services10UCertificate Server*0
	*H
@br!="Dg,Vp'y̻.Ƶ?h_ץݡmzUFCSN
help

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