From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21967 invoked from network); 11 May 1998 20:54:06 -0000 Received: from delta.ds2.pg.gda.pl (macro@153.19.170.1) by mail2.redhat.com with SMTP; 11 May 1998 20:54:06 -0000 Received: from localhost (macro@localhost) by delta.ds2.pg.gda.pl (8.8.8/8.8.8) with SMTP id WAA27461; Mon, 11 May 1998 22:45:21 +0200 (MET DST) Date: Mon, 11 May 1998 22:45:20 +0200 (MET DST) From: "Maciej W. Rozycki" Reply-To: "Maciej W. Rozycki" To: "Brian E.W. Wood" cc: axp-list@redhat.com Subject: Re: Avanti network card config In-Reply-To: Message-ID: Organization: Technical University of Gdansk MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 +