Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2005 10:02:18 +0000 (GMT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [RELENG_5 panic] top(1)
Message-ID:  <Pine.NEB.3.96L.1050128100142.68140D-100000@fledge.watson.org>
In-Reply-To: <20050128043403.GA11316@squash.dsto.defence.gov.au>

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

On Fri, 28 Jan 2005, Wilkinson, Alex wrote:

> Fatal trap 12: page fault while in kernel mode
> fault virtual address   = 0x24
> fault code              = supervisor read, page not present
> instruction pointer     = 0x8:0xc05238d9
> stack pointer           = 0x10:0xe8745b2c
> frame pointer           = 0x10:0xe8745b60
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                         = DPL 0, pres 1, def32 1, gran 1
> processor eflags        = resume, IOPL = 0
> current process         = 1575 (top)
> [thread pid 1575 tid 100176 ]
> Stopped at      turnstile_wait+0x269:   movl    0x24(%eax),%eax
> 
> db> tr
> Tracing pid 1575 tid 100176 td 0xc32ef960
> turnstile_wait(c2964640,c32ec77c,c32ef640,c2964640,c30e1a00) at
> turnstile_wait+0
> x269
> _mtx_lock_sleep(c32ec77c,c32ef960,0,0,0) at _mtx_lock_sleep+0x81
> sysctl_kern_proc(c06d1860,0,0,e8745c04,e8745c04) at
> sysctl_kern_proc+0x3ab

If you have a kernel with debugging symbols, could you convert
sysctl_kern_proc+0x3ab to a line number?  Thanks!

Robert N M Watson


> sysctl_root(3,e8745c04,0,c32ef960,1) at sysctl_root+0xa3
> userland_sysctl(c32ef960,e8745c70,3,0,bfbfe6dc) at
> userland_sysctl+0xf8
> __sysctl(c32ef960,e8745d14,18,80b7000,6) at __sysctl+0xb1
> syscall(2f,2f,2f,bfbfe6dc,bfbfe710) at syscall+0x1fa
> Xint0x80_syscall() at Xint0x80_syscall+0x1f
> --- syscall (202, FreeBSD ELF32, __sysctl), eip = 0x28137df3, esp =
> 0xbfbfe67c,
> 	ebp = 0xbfbfe6a8 
> 
> db> show pcpu
> cpuid        = 0
> curthread    = 0xc32ef960: pid 1575 "top"
> curpcb       = 0xe8745da0
> fpcurthread  = 0xc32ef960: pid 1575 "top"
> idlethread   = 0xc26644b0: pid 11 "idle"
> APIC ID      = 0
> currentldt   = 0x30
> db>
> 
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1050128100142.68140D-100000>