89K on alpha

Julian Highfield J.C.Highfield@lboro.ac.uk
Tue Aug 11 05:05:30 1998


> 0.89k on an Alpha with kernel 2.1.115 and ANA 6911A-txc
> fails, even with julians fixes.
> some errors when
> compiling with a recent egcs (egcs-2.91.52
> /usr/local/bin/gcc -D__KERNEL__ -I/var/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8   -c -o tulip.o tulip.c
> tulip.c: In function `tulip_probe':
> tulip.c:474: warning: suggest explicit braces to avoid ambiguous `else'

I think that is just a warning - it matches what I would expect to see in
a fussy compiler.

> tulip.c: In function `select_media':
> tulip.c:1530: warning: suggest explicit braces to avoid ambiguous `else'

As above.

> tulip.c: In function `tulip_timer':
> tulip.c:1621: warning: `mleaf' might be used uninitialized in this function
> tulip.c:1622: warning: `p' might be used uninitialized in this function

That, too.

> tulip.c: In function `tulip_close':
> tulip.c:2484: warning: cast from pointer to integer of different size
> tulip.c:2487: warning: cast from pointer to integer of different size

I suppose that is an error, but it only affects a couple of printf's.

> after it built the card is dead in the water, no link beat etc.
> 
> surprisingly i am working fine with version 0.87O
> 
> I usually get a  eth0: ***WARNING***: No MII transceiver found!
> but once when booting 89K it found one. then it didnt anymore. 
> confusing.

That is worrying. With the CSR15 hack in the driver it consistently
finds the MII transceiver for me (dual processor PII, 2.0.33, gcc).

> It would be greatly appreciated if the ANA card would work eventually...
> oh, this machine is still on a 10mbit BNC link.

I debugged these hacks with the 2.0 series of kernels with 10baseT 
and 100baseTX connections, not your 10base2. I think the different
network type is one reason why you are having a problem with them, 
though I would worry about the failure to find the MII transceiver 
first!

I've been concentrating on getting a driver that will reliably survive 
our network manager unplugging the network cable and plugging it back 
into random 10baseT and 100baseTX connections on the same network some
minutes later, but I am safe from 10base2 at the moment!

Regards,
        Julian.