* CONFIG_ALPHA_SRM_SETUP breaks de4x5.c?
@ 1998-07-11 8:20 B. James Phillippe
1998-07-11 11:53 ` Maciej W. Rozycki
1998-07-12 18:27 ` Jay.Estabrook
0 siblings, 2 replies; 4+ messages in thread
From: B. James Phillippe @ 1998-07-11 8:20 UTC (permalink / raw)
To: RedHat AXP list
Hello Alphalinuxers,
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...)
thanks,
-bp
--
B. James Phillippe <bryan@terran.org>
Linux Software Engineer, WGT Inc.
http://earth.terran.org/~bryan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: CONFIG_ALPHA_SRM_SETUP breaks de4x5.c?
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
1 sibling, 0 replies; 4+ messages in thread
From: Maciej W. Rozycki @ 1998-07-11 11:53 UTC (permalink / raw)
To: RedHat AXP list
On Sat, 11 Jul 1998, B. James Phillippe wrote:
> 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.
The addresses are OK, it's the way SRM sets them. Maybe the IRQ routing
setup is still wrong with 2.0.35 -- the 2.0.32 Alpha patches used to be
incorrect in this matter. It was fixed in the 2.1 line some time ago.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: CONFIG_ALPHA_SRM_SETUP breaks de4x5.c?
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
1998-07-13 5:40 ` B. James Phillippe
1 sibling, 1 reply; 4+ messages in thread
From: Jay.Estabrook @ 1998-07-12 18:27 UTC (permalink / raw)
To: axp-list
>>> "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
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: CONFIG_ALPHA_SRM_SETUP breaks de4x5.c?
1998-07-12 18:27 ` Jay.Estabrook
@ 1998-07-13 5:40 ` B. James Phillippe
0 siblings, 0 replies; 4+ messages in thread
From: B. James Phillippe @ 1998-07-13 5:40 UTC (permalink / raw)
To: axp-list
On Sun, 12 Jul 1998 Jay.Estabrook@digital.com wrote:
>
> >>> "B. James Phillippe" said:
> >
> > 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
>
> 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.
[explanation deleted]
> 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.
Yes, I'm concerned with graceful reboot, and yes, I'm willing to be a
test-case. In fact, I've got debugging this problem on my list of things
to do. Thanks for the explanation, I'll be working on more tests. In the
meantime, I have found that the problem with ipfwadm on RedHat-5.1 is
because the packet and byte counters in ip_fw are defined as longs in the
kernel and u_int32_t in glibc. My suspicion is that glibc should define
them as long. There looks to be this problem with netstat, as well (but I
havn't looked into it). Thoughts?
-bp
--
B. James Phillippe <bryan@terran.org>
Linux Software Engineer, WGT Inc.
http://earth.terran.org/~bryan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-07-13 5:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1998-07-13 5:40 ` B. James Phillippe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox