* Avanti network card config
@ 1998-05-09 2:10 Brian Wood
1998-05-09 17:02 ` Maciej W. Rozycki
0 siblings, 1 reply; 9+ messages in thread
From: Brian Wood @ 1998-05-09 2:10 UTC (permalink / raw)
To: axp-list
I have an AlphaStation 200 that I am trying to get going. The avanti-s
kernel from RedHat's site boots just fine from the SRM console and
everything, including networking, works fine.
I compiled a 2.0.33 kernel with the alpha-patches-2.0.32. Everything
works ok with this as well *except* the network interface.
The machine has a 10-base-T and a 10-base-2 (coax) port (no AUI port). I
am trying to get it to work with the coax port (which it does using the
RH avanti-s kernel). I have tried tweaking the tulip.c code to force the
media value to 0, 1 and 2 with no success.
The SRM console has commands to set the card to twisted or AUI, the book
shows no command to set it to coax but seems to imply that AUI is
10-base-2.
Anybody have any suggestions as to how to get the networking going on
the coax port?
--
Brian E.W. Wood - beww@intac.com
"Very Funny Scotty, Now BEAM DOWN MY CLOTHES"
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Avanti network card config
1998-05-09 2:10 Avanti network card config Brian Wood
@ 1998-05-09 17:02 ` Maciej W. Rozycki
1998-05-10 3:30 ` Brian E.W. Wood
0 siblings, 1 reply; 9+ messages in thread
From: Maciej W. Rozycki @ 1998-05-09 17:02 UTC (permalink / raw)
To: axp-list
On Fri, 8 May 1998, Brian Wood wrote:
> The SRM console has commands to set the card to twisted or AUI, the book
> shows no command to set it to coax but seems to imply that AUI is
> 10-base-2.
set ewa0_mode Twisted-Pair
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Avanti network card config
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
0 siblings, 1 reply; 9+ messages in thread
From: Brian E.W. Wood @ 1998-05-10 3:30 UTC (permalink / raw)
To: Maciej W. Rozycki; +Cc: axp-list
On 09-May-98 Maciej W. Rozycki wrote:
> On Fri, 8 May 1998, Brian Wood wrote:
>
>> The SRM console has commands to set the card to twisted or AUI, the book
>> shows no command to set it to coax but seems to imply that AUI is
>> 10-base-2.
>
> set ewa0_mode Twisted-Pair
I tried that and it didn't work, but thanks for the suggestion.
I don't believe that my problem is with media selection. The activity LED
flashes and when I remove the coax cable it stops so it would seem to be
looking at the right connector.
I have tried both the tulip and the D4X5 drivers and both of them fail to work.
But the avanti-s kernel from RH *does* work. Sure wish I knew how they compiled
it. Even compiling from RH's source tree I can't get a kernel that
works(networking that is, everything else is OK).
One possibility is the reason the owner of this machine wanted the kernel
re-compiled is that he wanted aliasing, tunneling, accounting, syn-cookies and
AX.25 support compiled in. It is possible that one of these has not been
properly alpha-tized. I know that at least some of the amateur-radio kernel
stuff does not compile cleanly on the alpha.
I'd tell this guy to compile it himself but he is my employer :-)
---
Brian E.W. Wood beww@intac.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Avanti network card config
1998-05-10 3:30 ` Brian E.W. Wood
@ 1998-05-11 18:58 ` Maciej W. Rozycki
0 siblings, 0 replies; 9+ messages in thread
From: Maciej W. Rozycki @ 1998-05-11 18:58 UTC (permalink / raw)
To: Brian E.W. Wood; +Cc: axp-list
On Sat, 9 May 1998, Brian E.W. Wood wrote:
> I have tried both the tulip and the D4X5 drivers and both of them fail
> to work.
How does this failure look like? Do both modules fail to load? If any
of them loads what does `ifconfig' show? Are there any packets sent?
Received? Dropped?
> But the avanti-s kernel from RH *does* work. Sure wish I knew how they
> compiled it. Even compiling from RH's source tree I can't get a kernel
> that works(networking that is, everything else is OK).
No idea here; I haven't used 2.0.x on an Alpha for ages. The 'tulip'
driver works here without any problems:
$ cat /proc/cpuinfo | egrep '(type|platform)'
system type : Avanti
platform string : AlphaServer 300 4/266
$ uname -sr
Linux 2.1.101
# cut -c32- /var/log/messages | egrep '(tulip|eth0)'
tulip.c:v0.83 10/19/97 becker@cesdis.gsfc.nasa.gov
eth0: Digital DS21040 Tulip at 0x10100, 00 00 f8 23 76 8f, IRQ 5.
> One possibility is the reason the owner of this machine wanted the
> kernel re-compiled is that he wanted aliasing, tunneling, accounting,
> syn-cookies and AX.25 support compiled in. It is possible that one of
> these has not been properly alpha-tized. I know that at least some of
> the amateur-radio kernel stuff does not compile cleanly on the alpha.
Just insert modules one at a time and find which one prevents 'tulip'
from initializing.
> I'd tell this guy to compile it himself but he is my employer :-)
You may always offer him your service. ;-)
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Avanti network card config
[not found] <XFMail.980511145621.beww@intac.com>
@ 1998-05-11 20:45 ` Maciej W. Rozycki
1998-05-11 20:58 ` Brian E.W. Wood
1998-05-13 3:51 ` Brian E.W. Wood
0 siblings, 2 replies; 9+ messages in thread
From: Maciej W. Rozycki @ 1998-05-11 20:45 UTC (permalink / raw)
To: Brian E.W. Wood; +Cc: axp-list
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 +
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Avanti network card config
1998-05-11 20:45 ` Maciej W. Rozycki
@ 1998-05-11 20:58 ` 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
1 sibling, 2 replies; 9+ messages in thread
From: Brian E.W. Wood @ 1998-05-11 20:58 UTC (permalink / raw)
To: Maciej W. Rozycki; +Cc: axp-list
On 11-May-98 Maciej W. Rozycki wrote:
>
> 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.
>
>
> 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.
Right now I'd settle for just finding out how avanti-s was compiled (what
patches etc.). It works fine but needs to have a few more things compiled in.
I don't know how long 2.0.34 will be and I don't know if it is a good idea to
give my boss a developmental kernel, although I will probably try out 2.1.x at
home. Does 2.1.101 work on an SX machine? I heard that the
2.1.x series didn't work on the SX, but that was some time ago. Does 2.1.101
need patching for the Alpha? I think I heard it did not.
OTOH, if the vendors have some really great deals at LinuxExpo who knows what I
may come home with :-)
>
>> 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 pretty sure I got it from RH. I also recall a mention on this list that the
"-s" was from the "clever gnomes at RH" and meant it was for use with SRM.
The kernels I compile that do not work properly are from 2.0.33 sources with
alpha-patches-2.0.32 applied. Are there other patches I should have applied?
>
>> 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.
I usually do, but I've put a lot of traffic about this problem on the list and
I figured I would wait 'till I get it figured out and then post a summary -
more or less the way the Sun-Managers and the Alpha-OSF lists work. I probably
wouldn't have made that crack about the GPL in a list message :-)
Much thanks for your input.
---
Brian E.W. Wood beww@intac.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Avanti network card config
1998-05-11 20:58 ` Brian E.W. Wood
@ 1998-05-11 22:55 ` Peter Rye
1998-05-12 7:02 ` Maciej W. Rozycki
1 sibling, 0 replies; 9+ messages in thread
From: Peter Rye @ 1998-05-11 22:55 UTC (permalink / raw)
To: beww; +Cc: macro, axp-list
>>>>> "Brian" == Brian E W Wood <beww@intac.com> writes:
Brian> On 11-May-98 Maciej W. Rozycki wrote:
>> 3. Use the current 2.1.x release -- 2.1.101 works for me but YMMV.
Brian> Right now I'd settle for just finding out how avanti-s was
Brian> compiled (what patches etc.). It works fine but needs to have a
Brian> few more things compiled in.
Brian> I don't know how long 2.0.34 will be and I don't know if it is a
Brian> good idea to give my boss a developmental kernel, although I
Brian> will probably try out 2.1.x at home. Does 2.1.101 work on an SX
Brian> machine? I heard that the 2.1.x series didn't work on the SX,
Brian> but that was some time ago. Does 2.1.101 need patching for the
Brian> Alpha? I think I heard it did not.
Well I've just got everything updated and running 2.1.101 here on an SX164.
No problems so far, using modules for just about everything.
The kernel source just required the __builtin_memset thingy commenting out
and compiled fairly cleanly using ecgs-1.0.2.
Some minor tweaking of header files was needed to get the updated ppp
(2.3.5) and mount (2.7.1) to compile.
The system is running a little faster, and the new kernel has solved the
business with minicom/pppd/uucp not liking port speeds over 38400.
I'm hoping the problem of emacs becoming unresponsive to the system (and load
avg increasing to ~2.0) will also disappear, although it's a bit early to
tell yet.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Avanti network card config
1998-05-11 20:58 ` Brian E.W. Wood
1998-05-11 22:55 ` Peter Rye
@ 1998-05-12 7:02 ` Maciej W. Rozycki
1 sibling, 0 replies; 9+ messages in thread
From: Maciej W. Rozycki @ 1998-05-12 7:02 UTC (permalink / raw)
To: Brian E.W. Wood; +Cc: axp-list
On Mon, 11 May 1998, Brian E.W. Wood wrote:
> Right now I'd settle for just finding out how avanti-s was compiled (what
> patches etc.). It works fine but needs to have a few more things compiled in.
If you get a different I/O address for the network interface, then it has
SRM_SETUP switched off. You should get all patches (applied?) in an Alpha
binary RPM for the kernel sources, which should be available from RH
mirrors.
> I don't know how long 2.0.34 will be and I don't know if it is a good idea to
> give my boss a developmental kernel, although I will probably try out 2.1.x at
> home. Does 2.1.101 work on an SX machine? I heard that the
> 2.1.x series didn't work on the SX, but that was some time ago. Does 2.1.101
> need patching for the Alpha? I think I heard it did not.
If 2.0.33 + patches from 'gatekeeper' work for SX, then 2.1.101 should
work too. The patches were merged into 2.1.92 and since `kmod' was fixed
for Alphas some versions later, 2.1.x work very well.
> The kernels I compile that do not work properly are from 2.0.33 sources with
> alpha-patches-2.0.32 applied. Are there other patches I should have applied?
Just SRM_SETUP switch off. Patches for it do not exist, though they
could possibly be backported from 2.1.x.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Avanti network card config
1998-05-11 20:45 ` Maciej W. Rozycki
1998-05-11 20:58 ` Brian E.W. Wood
@ 1998-05-13 3:51 ` Brian E.W. Wood
1 sibling, 0 replies; 9+ messages in thread
From: Brian E.W. Wood @ 1998-05-13 3:51 UTC (permalink / raw)
To: Maciej W. Rozycki; +Cc: axp-list
On 11-May-98 Maciej W. Rozycki wrote:
> 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.)
Well this one did it. Many thanks. I got aboot working on the HDD after going
through the usual "discovery" that it wants BSD-style partitions.
As you suggested, I can't do a clean re-boot, here's hoping 2.0.34 will solve
that.
Again thanks for your kind patience and assistance.
---
Brian E.W. Wood beww@intac.com
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1998-05-13 3:53 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-09 2:10 Avanti network card config 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
[not found] <XFMail.980511145621.beww@intac.com>
1998-05-11 20:45 ` Maciej W. Rozycki
1998-05-11 20:58 ` 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox