Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jay Estabrook <Jay.Estabrook@compaq.com>
To: axp-list@redhat.com
Subject: Re: PC164 SRM problem
Date: Mon, 15 Oct 2001 14:05:23 -0400	[thread overview]
Message-ID: <20011015140523.A28275@linux04.mro.cpqcorp.net> (raw)
In-Reply-To: <3BCB09BA.A8CB1880@voicenet.com>; from gatgul@voicenet.com on Mon, Oct 15, 2001 at 12:07:22PM -0400

On Mon, Oct 15, 2001 at 12:07:22PM -0400, Uncle George wrote:
> Jay Estabrook wrote:
> 
> > Alpha Linux does its own setting up of PCI bus resources; in the 2.2
> > kernels, if booted from SRM, we saved away the original PCI bus
> > settings, and restored them during shutdown. This doesn't happen under
> > the 2.4 kernels, and some SRM consoles are more sensitive to the
> > changed settings than others.
>
> Gee, isnt this dangerous. I would presume that u save the settings
> because you want to change the settings.  It would seem that if u
> pulled the plug on the kernel ( turn off power, hit the reset switch
> ) your SRM is ( about to be ) confused ? Or is the SRM confused when
> transfer of control happens from the kernel to the SRM, and the SRM
> does not recognize the environment that it once knew.

Well, SRM doesn't save it's settings, or get them from NVRAM; ie it's
not like ISA/EISA configuration info. It rebuilds PCI settings every
time it powers on. So "pulling the plug" won't confuse it.

However, once it *is* running, it doesn't expect the settings to
change out from underneath it (T64 and VMS don't do it :-).  Linux
does, and when exiting from kernel to SRM during shutdown, then it
really *does* get confused. I believe the mchecks or PCI errors and
such are caused when SRM tries to use either its own registers or its
data from memory that now no longer accurately reflect the PCI
configuration.

--Jay++

-----------------------------------------------------------------------------
Jay A Estabrook                            Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K20         (508) 467-2080
200 Forest Street, Marlboro MA 01752       Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------




  reply	other threads:[~2001-10-15 18:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-15 11:18 PC164 SRM problem Heid Oliver
2001-10-15 14:07 ` Jay Estabrook
2001-10-15 16:07   ` Uncle George
2001-10-15 18:05     ` Jay Estabrook [this message]
2001-10-15 18:55       ` Matthew Jacob
2001-10-16  9:33       ` Ivan Kokshaysky
2001-10-16 11:55         ` Jay Estabrook
2001-10-16 11:43       ` Maciej W. Rozycki
2001-10-16 13:07         ` Ivan Kokshaysky
2001-10-16 13:50           ` Maciej W. Rozycki
2001-10-16 15:13             ` Ivan Kokshaysky
2001-10-17 10:47               ` Maciej W. Rozycki
2001-10-17 14:18                 ` Ivan Kokshaysky
2001-10-17 15:10                   ` Maciej W. Rozycki
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