From owner-freebsd-alpha Tue May 9 19:39:22 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.enetis.net (mail.enetis.net [206.31.204.3]) by hub.freebsd.org (Postfix) with ESMTP id 78EFB37B55C for ; Tue, 9 May 2000 19:39:19 -0700 (PDT) (envelope-from bbump@mail.enetis.net) Received: from mail.enetis.net (rc-pm3-3-13.enetis.net [206.31.207.124]) by mail.enetis.net (8.9.1/8.9.1) with ESMTP id UAA29457; Tue, 9 May 2000 20:39:09 -0600 (MDT) Message-ID: <3918CBC5.C9495F35@mail.enetis.net> Date: Tue, 09 May 2000 20:39:01 -0600 From: Brett Bump X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: Andrew Gallatin , freebsd-alpha@freebsd.org Subject: Re: 3300/3305 and 5300/5305 Problems References: <39148C07.E97DCEAF@mail.enetis.net> <14614.49806.293997.4055@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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