Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To: "Brian E.W. Wood" <beww@intac.com>
Cc: axp-list@redhat.com
Subject: Re: Avanti network card config
Date: Mon, 11 May 1998 22:45:20 +0200 (MET DST)	[thread overview]
Message-ID: <Pine.GSO.3.96.980511215919.28481C-100000@delta.ds2.pg.gda.pl> (raw)
In-Reply-To: <XFMail.980511145621.beww@intac.com>

On Mon, 11 May 1998, Brian E.W. Wood wrote:

> I'm not using modules, I have heard they are somewhat broken on the alpha.
> ifconfig shows the interface up but all packets dropped.

 I had similar symptoms one day.  Their reason was the CPU losing
interrupts.  In fact, the PCI-ISA bridge (if that tells you anything...)
had the PCI to ISA IRQ routing broken.

 As of modules -- they work flawlessly in 2.1.x without any extra steps.
AFAIK, there is a way to make them work perfectly with 2.0.x, but I never
bothered to find out how.

> Hmmm.... this is interesting. The avanti-s kernel (which works) has the
> tulip at 0x5000. When I compile a kernel it winds up at 0x10100 like
> yours, and it does not work. The machine is an AS-200 4/166. I have
> found the diag utility at Becker's site and it can apparently re-assign
> the address on the fly so this may help. Looks like maybe the built-in
> 21040 is at a non-standard place and pci.h is telling it it should be in
> the "normal" place? 

 I guess you are using a 2.0.x and a CONFIG_ALPHA_SRM_SETUP configuration. 
The problem is currently fixed in the 2.1.x series.  You may choose one of
the following solutions: 

1. Disable CONFIG_ALPHA_SRM_SETUP.  You won't be able to halt/reboot
cleanly.  It will be OK from Linux's side: you will just have to type
'init' within SRM after halt.  And you will see somewhat annoying
behaviour of reboot.  (Well, I suppose you observe this behaviour anyway,
as there is a small omission present in 2.0.33, which prevents
CONFIG_ALPHA_SRM_SETUP from having a positive impact on Avanti machines.) 
;-) 

2. Wait for 2.0.34 be released by Alan.  Hopefully Jay will survive an
extra overload caused by the need of preparing patches for Alpha/2.0.34
and they will finally appear on 'gatekeeper'.

3. Use the current 2.1.x release -- 2.1.101 works for me but YMMV.

> Clearly the address is the problem. Again I wish I knew what RedHat did
> to get their kernel to work. I really hate it when they do something and
> do not document it or make the source they used available, Isn't this
> what the GPL is supposed to prevent? 

 Apparently, you did not use the RH's kernel but the one from
'gatekeeper'.  Or did RH apply that patch finally? 

> I'm also booting from the SRM console and the SRM PCI support is
> labelled as "new". I may try blowing ARC into the flash and booting from
> that although I don't see why that should matter since my other PCI
> stuff like scsi works fine. 

 I wouldn't do that.  ARC is not so nice as SRM and also it prints that
nasty "Copyright Microsoft...".  SCSI works by accident -- the IRQ route
happens to be correct for this slot.

> Thanks for the note, I think the 0x10100 address you reported is
> significant to me. 

 It just hints that SRM PCI configuration is in use -- Linux does not set
up devices in such a way because, the I/O space on Intels is limited to 64
kB.

 BTW, cc to axp-list as others may be interested, too.

  Maciej

--
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


       reply	other threads:[~1998-05-11 20:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <XFMail.980511145621.beww@intac.com>
1998-05-11 20:45 ` Maciej W. Rozycki [this message]
1998-05-11 20:58   ` Avanti network card config Brian E.W. Wood
1998-05-11 22:55     ` Peter Rye
1998-05-12  7:02     ` Maciej W. Rozycki
1998-05-13  3:51   ` Brian E.W. Wood
1998-05-09  2:10 Brian Wood
1998-05-09 17:02 ` Maciej W. Rozycki
1998-05-10  3:30   ` Brian E.W. Wood
1998-05-11 18:58     ` 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