From: Richard Henderson <rth@twiddle.net>
To: axp-list@redhat.com
Subject: Re: tbia() on DEC 3000 question
Date: Thu, 19 Aug 1999 16:02:55 -0700 [thread overview]
Message-ID: <19990819160255.A10250@twiddle.net> (raw)
In-Reply-To: <199908191845.OAA02750@neptune.phys.ufl.edu>; from Craig P Prescott on Thu, Aug 19, 1999 at 02:45:43PM -0400
On Thu, Aug 19, 1999 at 02:45:43PM -0400, Craig P Prescott wrote:
> 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");
Oh dear. Yes, that would be a problem.
> ... so I am sitting someplace in time_init! Ok - I am back at it.
I've seen stuff like this on other machines. There is a loop
therein where we're not believing the machine's cycle count
that we got from the console, so we count how many cycles
between ticks of the rtc.
Except for reasons unexplainable the rtc isn't ticking, so we
sit in the tight polling loop forever.
I've never figured that one out. Nor similar problems in which
the rtc ticks much faster than realtime. Note that this is _not_
any of the interval timers on the rtc that I'm polling -- it's
the time-of-year clock that I'm waiting to advance to the next
second. Which makes things doubly confusing.
A quick way around this is to add `cycle=250000000' (250Mhz) or
whatever is appropriate to the command line args. That'll skip
the polling loop.
> So just to make sure - there is no way to get feedback from the kernel
> between the tbia() in paging_init() and console_init()?
See ftp://ftp.twiddle.net/pub/rth/d-sercon. It's an old patch,
so it probably won't apply without help, but it's object is to
get output to the serial console immediately after setup_arch
(which is before paging_init, btw).
> * 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...
Ok, you look fairly well set up then.
r~
next prev parent reply other threads:[~1999-08-19 23:03 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
1999-08-19 23:02 ` Richard Henderson [this message]
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