Re: DEFPA FDDI card on PPC machines

Jochen Kunz <[email protected]>
Newsgroups gmane.os.netbsd.ports.prep,gmane.os.netbsd.ports.powerpc
Message-ID <[email protected]>
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. 

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

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

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 
18:17:23.552157 arp who-has 10.0.0.1 tell 10.0.0.1
on my Alpha (running Tru64 UNIX) and 
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: 
                         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? 

[1] But at one time I got:
[toor@SirTobie root]$ tcpdump -ni fpa0 
tcpdump: listening on fpa0
fpa0: Halted: halt code = 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]
-- 



tschüß,
         Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.