Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Craig P Prescott <prescott@phys.ufl.edu>
To: axp-list@redhat.com
Subject: Re: tbia() on DEC 3000 question
Date: Wed, 18 Aug 1999 05:36:45 -0400	[thread overview]
Message-ID: <199908180936.FAA15756@neptune.phys.ufl.edu> (raw)
In-Reply-To: Your message of "Mon, 16 Aug 1999 17:16:55 PDT." <19990816171655.A26946@twiddle.net>


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


  reply	other threads:[~1999-08-18  9:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-16  7:24 tbia() on DEC 3000 question Craig P Prescott
1999-08-16  8:36 ` Wes Bauske
1999-08-16  8:50   ` Craig P Prescott
1999-08-16  8:37 ` Richard Henderson
1999-08-16 10:16   ` Craig P Prescott
1999-08-17  0:16     ` Richard Henderson
1999-08-18  9:36       ` Craig P Prescott [this message]
1999-08-18  9:35         ` Diagram for DEC3000 power supply Jason Irons
1999-08-18 23:49         ` tbia() on DEC 3000 question Richard Henderson
1999-08-19 18:45           ` Craig P Prescott
1999-08-19 23:02             ` Richard Henderson
1999-08-20  2:10 ` Ping all: DEC 3000 support question Ken Shiring
1999-08-20  7:11   ` Craig P Prescott
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox