From: Craig P Prescott <prescott@phys.ufl.edu>
To: axp-list@redhat.com
Subject: Re: tbia() on DEC 3000 question
Date: Thu, 19 Aug 1999 14:45:43 -0400 [thread overview]
Message-ID: <199908191845.OAA02750@neptune.phys.ufl.edu> (raw)
In-Reply-To: Your message of "Wed, 18 Aug 1999 16:49:32 PDT." <19990818164932.C15520@twiddle.net>
Hello, Richard;
*Thank you* for your explicit explanation of what happens in
paging_init()! This is very useful to me, as I am clearly lacking
much knowledge of how everything works.
On Wed, 18 Aug 1999 16:49:32 -0700, Richard Henderson wrote:
> On Wed, Aug 18, 1999 at 05:36:45AM -0400, Craig P Prescott wrote:
> > I'm sure I'm doing something silly...
>
> I don't think you are. This _should_ just all work. Since it
Ummm... I'm note sure how to break it to you...
> > 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()
>
> Yes. You can't call srm_printk after that tbia above.
Ermm... This has been the problem the whole time. I had done this:
srm_printk("Going to tbia()...\n");
tbia();
...
srm_printk("returning from paging_init().\n");
(*embarrassment*). Initially, I had srm_printk's everywhere, in order
to get some feedback prior to console_init.
But now, after removing all the srm_printk() calls after that tbia(),
no more DBLE MCHK. THe boot attempt now hangs - and whenever I hit
the halt button, no matter how long I wait, I get
?01 EXT HALT
PC= FFFFFC00.00318FCC PSL= 00000000.00000007
Now, I look into System.map
<snip>
fffffc0000318f60 T time_init
fffffc00003193e0 T do_gettimeofday
</snip>
so I am sitting someplace in time_init! Ok - I am back at it.
So just to make sure - there is no way to get feedback from the kernel
between the tbia() in paging_init() and console_init()? If so, I
guess I just try to get past various hangs and machine checks as they
come up by checking System.map to see where the problems were. Is
there a better way?
> How much documentation are you working with here? Or are you
> just winging it? I know NetBSD works on the 3000; you might
> compare our vm startup code with theirs.
here's most of the docs I have
* Alpha Architecture Reference Manual (1st edition)
* DEC 3000 300/400/500/600/700/800/900 AXP Models System Programmer's Manual
* David Rusling's "The Linux Kernel"
* All the Turbochannel docs I could find...
* Turbochannel Hardware Specification
* Turbochannel Firmware Specification
* Turbochannel System Parameters
* Turbochannel Interface ASIC Functional Specification
* PMAG-BA Turbochannel Color Framebuffer Functional Specification
* PMAD-AA Turbochannel Ethernet Module Functional Specification
* PMAZ-AA Turbochannel SCSI Module Functional Specification
as well as the docs for the Zilog serial communications port, the
NCR 53c94 SCSI controller, the AMD 7990 Lance ethernet, and the AMD
79C30A for the ISDN.
I also have some docs on the more recent Alpha hardware to help see
how the already-working code works...
I read through a bunch of it, and it is just *a lot*... The DEC 3000
300/400/500/600/700/800/900 AXP Models System Programmer's Manual
(that's a mounthful) seems choked with information - I'm sure I'll be
relying on it soon.
I've browsed a bit through the NetBSD alpha sources - funny, should
have done that sooner, though I probably would've made the same
mistake anyway (they have a comment near their tbia call which says
"NO OUTPUT ALLOWED UNTIL FURTHER NOTICE"). I am sure their sources
will be *very* useful, too, and not just for the vm code.
Of course, if anyone has docs which may be useful and I've not listed,
I'd love to hear about them.
So far, though, I haven't done too much. I've added "pelican" and
"flamingo" machine vectors, made the makefile and config.in mods,
etc., and imported some of the turbochannel stuff from the Decstation
port. A lot of stuff is just dummied out in what I have done, 'cuz
I'm not sure what to put there yet (PCI stuff, for example).
Many Thanks,
Craig
next prev parent reply other threads:[~1999-08-19 18:45 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
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 [this message]
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