Hi,
I am completely new to alpha linux and no network expert, so please
forgive me if any of this is too naive. Perhaps it is so well known
that it never shows up in the archives or in many deja vu searches.
I'll describe the problem momentarily, but the thing on the top of my
stack right now is my unsuccessful effort to try to replace the tulip
driver with the most current one. I am unable to compile the driver
because of what appears to be a bug in the kernel (2.2.5 and
2.2.12). FWIW, I am running RH6.0 on a miata. Here's what I get.
In file included from /usr/include/asm/semaphore.h:11,
from /usr/include/linux/fs.h:161,
from /usr/include/linux/capability.h:13,
from /usr/include/linux/binfmts.h:5,
from /usr/include/linux/sched.h:8,
from tulip.c:118:
usr/include/asm/current.h:4: global register variable follows a function
definition
usr/include/asm/current.h:4: warning: call-clobbered register used
for global register variable
Has noone compiled a tulip driver for these kernels? Since the
tulip.c in the kernel sources apparently leads to to a current.h
which is identical, it seems that redhat can. How'd they do that?
Now the original problem. I tried to setup networking as closely as
possible to what I have on an Intel RH6.1 box (which also uses a
tulip card) to get a very simple home network. The Intel box seems
to get along well with a win95 box that I use to pay the bills. I can
see activity at the hub from the alpha, which is apparently arp
who-has requests, but nothing else in the network hears anything nor
can the alpha hear anyone else. Pinging the host under its network
name works ok. It's quite possible that I have overlooked something,
and I'd very much appreciate a hint if that's the case.
Many thanks,
Mike
This is what I have.
/etc/sysconfig/networks/scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.0.2
NETMASK=255.255.255.0
GATEWAY=192.168.0.2
NS1=192.168.0.1
HOSTNAME=dagmar.local.net
DOMAIN=local.net
/etc/sysconfig/network
NETWORKING=yes
FORWARD_IPV4=no
HOSTNAME=dagmar.local.net
DOMAINNAME=local.net
GATEWAY=
GATEWAYDEV=
/etc/hosts
127.0.0.1 localhost localhost.localdomain
198.168.0.1 tivoli.local.net tivoli
192.168.0.2 dagmar.local.net dagmar
198.168.0.3 win.local.net win
/etc/resolv.conf
search local.net
nameserver 192.168.0.1
ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:00:F8:75:DD:7A
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:1245 dropped:0 overruns:0 frame:0
TX packets:0 errors:44035 dropped:0 overruns:0 carrier:132105
collisions:0 txqueuelen:100
Interrupt:24 Base address:0x8000
cat /proc/pci
PCI devices found:
Bus 0, device 3, function 0:
Ethernet controller: DEC DC21142 (rev 48).
Medium devsel. Fast back-to-back capable. IRQ 24. Master Capable.
Latency=32. Min Gnt=20.Max Lat=40.
I/O at 0x8000 [0x8001].
Non-prefetchable 32 bit memory at 0x9000000 [0x9000000].
tulip-diag ee
system type: Miata
system vari: 0
cpu model: EV56
ioperm: turn_on 1 io.base 0
ioperm: mmap of len 0x200000 returned 0x2000034e000
ioperm: mprotect returned 0
tulip-diag.c:v1.19 10/2/99 Donald Becker ([EMAIL PROTECTED])
Index #1: Found a Digital DS21143 Tulip adapter at 0x8000.
Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
Transmit started, Receive started, half-duplex.
The Rx process state is 'Waiting for packets'.
The Tx process state is 'Idle'.
The transmit threshold is 128.
The NWay status register is 000020c6.
EEPROM size is 6.
PCI Subsystem IDs, vendor 0000, device 0000.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:00:F8:75:DD:7A.
EEPROM transceiver/media description for the Digital DS21143 Tulip chip.
Leaf node at offset 30, default media type 0800 (Autosense).
5 transceiver description blocks:
Media 10baseT, block type 2, length 6.
Serial transceiver for 10baseT (media type 0).
GP pin direction 08ff GP pin data 00f0.
Media 10baseT-Full Duplex, block type 2, length 6.
Serial transceiver for 10baseT-Full Duplex (media type 4).
GP pin direction 08ff GP pin data 00f0.
Media 10base2, block type 2, length 6.
Serial transceiver for 10base2 (media type 1).
GP pin direction 08ff GP pin data 00f0.
Media AUI, block type 2, length 6.
Serial transceiver for AUI (media type 2).
GP pin direction 08ff GP pin data 00f0.
Media MII, block type 3, length 17.
MII interface PHY 0 (media type 11).
21143 MII initialization sequence is 2 words: 08ff 00f0.
21143 MII reset sequence is 0 words:.
Media capabilities are 7800, advertising 01e1.
Full-duplex map 5000, Threshold map 1800.
No MII interrupt.
EEPROM contents:
0000 0000 0000 0000 0000 0000 0000 0000
0000 0103 0000 75f8 7add 1e00 0000 0800
8605 0002 08ff 00f0 0286 ff04 f008 8600
0102 08ff 00f0 0286 ff02 f008 9100 0003
ff02 f008 0000 7800 01e0 5000 1800 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 ca0d
ID block CRC 0xe3 (vs. 00).
Full contents CRC 0xca0d (read as 0xca0d).
MII PHY found at address 5, status 0x786f.
MII PHY #5 transceiver registers:
3100 786f 2000 5c01 01e1 40a1 0001 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0001 8060
8020 0c25 0000 1800 a3b9 0082 0405 001d.
Internal autonegotiation state is 'Ability detect'.