Date: Tue, 09 May 2000 20:39:01 -0600 From: Brett Bump <bbump@mail.enetis.net> To: Andrew Gallatin <gallatin@cs.duke.edu>, freebsd-alpha@freebsd.org Subject: Re: 3300/3305 and 5300/5305 Problems Message-ID: <3918CBC5.C9495F35@mail.enetis.net> References: <Pine.LNX.4.10.10005061257280.19862-100000@server.engec.com.br> <39148C07.E97DCEAF@mail.enetis.net> <14614.49806.293997.4055@grasshopper.cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Gallatin wrote:
> Brett,
>
> Can you build a debugging kernel (eg, config -g) and map that PC to a
> source code line? Also, can you print out the return address from the
> SRM console & map that to a symbol? Eg:
Ok Andrew, here is what we come up with:
halt code = 2
kernel stack not valid halt
PC = fffffc000049704c
boot failure
>>>e ra
gpr: 1A( R26) FFFFFC000048F9A8
>>>
Gdb tells me:
(gdb) l *0xfffffc000049704c
0xfffffc000049704c is in vm_map_lookup (../../vm/vm_map.c:2470).
2465 vm_map_entry_t *out_entry, /* OUT */
2466 vm_object_t *object, /* OUT */
2467 vm_pindex_t *pindex, /* OUT */
2468 vm_prot_t *out_prot, /* OUT */
2469 boolean_t *wired) /* OUT */
2470 {
2471 vm_map_entry_t entry;
2472 vm_map_t map = *var_map;
2473 vm_prot_t prot;
2474 vm_prot_t fault_type = fault_typea;
(gdb) l *0xfffffc000048f9a8
0xfffffc000048f9a8 is in vm_fault (../../vm/vm_fault.c:206).
201 /*
202 * Find the backing store object and offset into it to begin the
203 * search.
204 */
205 fs.map = map;
206 if ((result = vm_map_lookup(&fs.map, vaddr,
207 fault_type, &fs.entry, &fs.first_object,
208 &fs.first_pindex, &prot, &wired)) != KERN_SUCCESS) {
209 if ((result != KERN_PROTECTION_FAILURE) ||
210 ((fault_flags & VM_FAULT_WIRE_MASK) != VM_FAULT_
USER_WIRE)) {
(gdb)
Hope this helps.
Brett
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3918CBC5.C9495F35>
