Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: David Mosberger-Tang <davidm@AZStarNet.com>
Subject: Re: SRM rebooting
Date: Mon, 4 Mar 1996 09:24:25 -0700	[thread overview]
Message-ID: <199603041624.JAA28904@koala.azstarnet.com> (raw)

>>>>> On Mon, 4 Mar 1996 07:02:36 -0500 (EST), Jim Nance <Jim_Nance@avanticorp.com> said:

  Jim> Hi, I have seen some discussion about how to get a MILO booted
  Jim> kernel to reboot.  Has anyone given any thought to getting an
  Jim> SRM kernel to reboot?  My gut feeling is that it is probably
  Jim> easier since I believe that SRM stays in memory after the
  Jim> kernel is running, but I really do not know.  Does anyone have
  Jim> any ideas (Jay)?

Switching back to SRM is trivial and does work.  Problem is: you may
not see anything on the screen... :-)

What happens is that the SRM makes some specific assumptions on what
the state of the hw is at the point the call_pal HALT is executed.  In
particular, the graphics card needs to have the starting address reset
to the beginning of the memory (i.e., if you use hw scrolling and go
back into the SRM mode, the SRM console will write to the "middle" of
the screen, or worse, off-screen...).  Also, the virtual page table
location would need to be reset (Linux moves the address of the
virtually mapped page-table, which the SRM doesn't seem to like).
Finally, I remember that not reinitializing the PIC (interrupt
controller) may also cause problems.  This may have changed though
since I last used the SRM console.

In summary: it would take a routine

	reset_that_dang_hw_the_way_SRM_wants_it()

and you should be all set.  AFAIK, there is no documentation as to
what the SRM expects, so it would take some trial and error.

Getting MILO to work is probably more fun and of longer lasting value.

	--david

             reply	other threads:[~1996-03-04 16:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-04 16:24 David Mosberger-Tang [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-03-04 13:30 SRM rebooting Stephen J. Gaudet
1996-03-04 15:30 ` Jim Nance
1996-03-04 12:28 Ka'plaagh 04-Mar-1996 1232 +0000
1996-02-29 16:29 Milo: rebooting - some thoughts and an idea Ka'plaagh 29-Feb-1996 1632 +0000
1996-03-04 12:02 ` SRM rebooting Jim Nance
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