[793] in linux-net channel archive
Re: eth_copy_and_sum(), 8390s and Alphas.
daemon@ATHENA.MIT.EDU (Mikael Nykvist)
Sat Jul 29 15:25:28 1995
From: Mikael Nykvist <viper@ludd.luth.se>
To: linux-net@vger.rutgers.edu, gpg109@rsphy1.anu.edu.au
Date: Fri, 28 Jul 1995 19:53:53 +0200 (MET DST)
Hi Paul.
Paul wrote:
>In the process, I made all the memcpy() calls into the appropriate
>memcpy_{from,to}io() calls and removed some HZ == 100 assumptions, so
>that the Alpha guys can try and run any of the shared memory 8390 cards.
>This also gets rid of a lot of type casts as a nice side effect.
>I'd be interested in any feedback from alpha users. (NB: I am not
>subscribed to linux-alpha.)
Ok.. I took a clean 1.3.13 sourcetree, applied Linus axp-diff-1.3.10 and
Davids axp-diff-1.3.10-noname. After that I applied your 8390 patches.
No rejects.
I have access to an 8bit 3c503 card, (configed to bnc,irq 5,0x280,0xc8000,
8k RAM), and the only included ethernet adapter was the 3c503 (I normally
compile in the ne2k driver,but I thought they might collide or something..).
This card works perfect under FreeBSD 2.0.5 with these settings.I have
never tried using this card under a Linux/x86 machine.But I cant C any
reason why it shouldnt work.
If I dont send the "ether" parameters at the bootpromt, the kernel dies
with a "Unable to handle kernel paging request at virtual adress 0x000ddffc"
when it probes for the the card. (It also dumps the registers and stuff,
if you want the output or want me to try something, plz mail me.)
When I send the ether parameters at the prompt, it boots fine, finds the
hw ethernetadress. Ifconfig and route seems to work ok (I use the same
settings as before which works perfect with my ne2k).
But I cant reach the net. Both netstat and ifconfig says I send away
packets (Tx ok increases when I ping), but on the other side I doesnt
recieve a packet. If I try to ping from the other side, I never get
a reply. (" Network is down"), and the Rx Ok on the alpha doesnt increase..
Any suggestions? At the moment I dont have a kernel-gdb setup, so I cant
debug anything for you. My ne2k clone doesnt have shared mem, so I cant
try your patch on that card.
Keep up the good work!
/Mikael
--
Mikael Nykvist, viper@ludd.luth.se
Running Linux/Alpha at 233Mhz!!!. http://www.ludd.luth.se/~viper/