Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jay.Estabrook@digital.com
To: axp-list@redhat.com
Subject: Re: CONFIG_ALPHA_SRM_SETUP breaks de4x5.c?
Date: Sun, 12 Jul 1998 23:27:25 +0500	[thread overview]
Message-ID: <199807130327.XAA02825@alpha1.estabrook.org> (raw)
In-Reply-To: Your message of Sat, 11 Jul 1998 01:20:59 -0700. <Pine.LNX.3.96.980711011022.3216C-100000@earth.terran.org>


>>> "B. James Phillippe" said:
> 
> 	I'm running 2.0.35pre6 with the Alpha patches from
> ftp.uk.linux.org.  My system is Avanti (AS 200 4/233).  I have determined
> that if I compile with CONFIG_ALPHA_SRM_SETUP, the de4x5 driver does not
> work.  It detects my card (a DEC 21040) but with the wrong IRQ and IO
> address.  The card is always detected at 0x8000 and IRQ15 normally (and
> works like a champ), but with ...SRM_SETUP it is found at 0x10100 and IRQ5.
> Perhaps I need to better understand the purpose of SRM_SETUP.  I could find
> no documentation (I know, I know, I should read /usr/linux/arch/alpha...)

The intention of CONFIG_ALPHA_SRM_SETUP was to preserve, as much as
possible, the PCI bus configuration settings of the SRM console, instead of
letting the LINUX kernel set them, as is normally done.

The purpose of this was to see if it would allow "graceful" rebooting for
kernels booted directly from SRM console.

Our thinking was that perhaps the reason that a reboot would get "stuck"
between exiting the kernel and re-booting via SRM was that the PCI settings
had been changed and the devices/IRQs would no longer work as SRM expected.

This does seem to work on some platforms, but not (as well) on others, which
is one reason why you have to choose the "Experimental" stuff in order to be
asked the question. Another reason is that it is untested on many of the
Alpha platforms, including AS200.

If you're not concerned with "graceful" reboot, or not willing to be a test
case and perhaps have to do some debugging, don't choose this option.

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Motherboards - LINUX Project
Digital Equipment Corp.                 (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545  Jay.Estabrook@digital.com
-------------------------------------------------------------------------------



  parent reply	other threads:[~1998-07-13  3:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-11  8:20 CONFIG_ALPHA_SRM_SETUP breaks de4x5.c? B. James Phillippe
1998-07-11 11:53 ` Maciej W. Rozycki
1998-07-12 18:27 ` Jay.Estabrook [this message]
1998-07-13  5:40   ` B. James Phillippe
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