Subject: Re: DEFPA FDDI card on PPC machines
To: None <port-powerpc@netbsd.org, port-prep@netbsd.org>
From: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
List: port-prep
Date: 10/13/2002 18:47:30
On 2002.10.13 05:59 Matt Thomas wrote:

> At 08:42 PM 10/12/2002, Izumi Tsutsui wrote:
> >I guess this is endianness problem.
This is my suspicion too. Or maybe a PPC specific problem? Unfortunately
this PREP machine is the only NetBSD capable PCI big endian machine in
my collection.=20

> That might work but the driver is telling the card to swap
> endianness for DMA so that would confuse it even more.
Hmmm.=20

> I'll try to look at it in a week or two (in a sparc64 machine).
Fine, that will clear the PPC <=3D> endianness question.=20

According to the mentioned PR 13566 I made a test a few minutes ago: I
pinged a non existing host from my PREP machine. I can see the arp
requests on an other host on the same fiber ring running tcpdump. So
sending is (seams to be) no problem. It hangs when a packet is received.
If I run "tcpdump -ni tpa0" on the PREP machine it hangs immediately on
reception of the first packet. [1]

BTW: If I do a "ifconfig fpa0 10.0.0.1" on the PREP machine I get=20
18:17:23.552157 arp who-has 10.0.0.1 tell 10.0.0.1
on my Alpha (running Tru64 UNIX) and=20
11:49:08.229509 arp who-has 10.0.0.1 tell 10.0.0.1
on my MicroVAX 3100m95 running NetBSD 1.6B that is connected via an
Ethernet switch with FDDI uplink (Cabletron ESX-1320). My DECsystem
5000/240 running NetBSD 1.6 with a DEFTA says on fta0:
18:21:15.768394 00 ff:ff:ff:0:a0:24 0:0:54:ff:ff:ff 52:=20
                         61dc 8eaa aa03 0000 0008 0600 0108 0006
                         0400 0100 a024 61dc 8e0a 0000 0100 0000
                         0000 000a 0000 01
and on le0
18:23:46.865520 arp who-has 10.0.0.1 tell 10.0.0.1

So is there an other bug around?=20

[1] But at one time I got:
[toor@SirTobie root]$ tcpdump -ni fpa0=20
tcpdump: listening on fpa0
fpa0: Halted: halt code =3D 6 (DMA Error)
4 packets received by filter
0 packets dropped by kernel
[toor@SirTobie root]$ fpa0: Link Unavailable
fpa0: Link Available
fpa0: Unsolicited Event: Phy Port: Elasticy Buffer Error[1]
--=20



tsch=FC=DF,
         Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/