From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 17991 invoked from network); 18 Aug 1999 09:37:07 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 18 Aug 1999 09:37:07 -0000 Received: from neptune.phys.ufl.edu (neptune-gw.phys.ufl.edu [128.227.64.7]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id FAA23707 for ; Wed, 18 Aug 1999 05:37:04 -0400 Received: from hee.phys.ufl.edu (hee.phys.ufl.edu [128.227.89.254]) by neptune.phys.ufl.edu (8.8.8/8.8.8) with ESMTP id FAA15756 for ; Wed, 18 Aug 1999 05:36:45 -0400 (EDT) Message-Id: <199908180936.FAA15756@neptune.phys.ufl.edu> To: axp-list@redhat.com Subject: Re: tbia() on DEC 3000 question In-Reply-To: Your message of "Mon, 16 Aug 1999 17:16:55 PDT." <19990816171655.A26946@twiddle.net> Date: Wed, 18 Aug 1999 05:36:45 -0400 From: Craig P Prescott Hello; Thanks very much for your reply - I want to make sure I understand it. On Mon, 16 Aug 1999 17:16:55 -0700, Richard Henderson wrote: > Hmm. If you are faulting at this point, this means that the > empty page tables we set up are actually being used. This > suggests that the KSEG superpage is not enabled. The empty pages being what we flushed in free_area_init()... This enabling of the KSEG superpage - I am not sure how this happens, but it sounds like something I could check. Is that the significance of paging_init()'s clear_bit(PG_reserved, &mem_map[pfn++].flags); > Alternately, that PC is very suspicious. In-kernel addresses > should all reference KSEG. So code addresses should begin > about 0xfffffc0000310000. If you'd actually been executing > with PC = 0x60401, we've just removed the mapping out from > under you, causing the fault. This scenario puts blame on > the bootstrap code that jumps into the kernel image. Ok. removed the mapping - again, because we've flushed everything in free_area_init()? > It may be though that 0x60401 is merely the physical address > within the PALcode that took the double fault, which would > make that number perfectly reasonable. I'm just not sure > how to interpret that line. Perhaps some of what follows is not totally tangential to the above. The top of System.map reads fffffc0000300000 A swapper_pg_dir fffffc0000310000 A _text fffffc0000310000 T __start and the bottom finishes with fffffc00004657e8 A _end I had sprinkled some srm_printk (is this ok to do??) calls around (I am working from a serial console), and just prior to paging_init() memory_start is 0xfffffc00004657e8 memory_end is 0xfffffc0008000000 (the 3000/500 has 128 Megs of RAM) and inside paging_init(), just after free_area_init(), start_mem becomes 0xfffffc00005a67e8 Are these starting values sensible? I'm sure I'm doing something silly, I just don't know what. Thanks again for your help. Cheers, Craig --- Craig P Prescott (352) 846-3145 (Phone) 2011 New Physics Building (352) 392-8863 (Fax) University of Florida, Gainesville, FL 32611 prescott@phys.ufl.edu