Re: Amiga: Writes to Zorro III cards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 1, 2020 at 4:19 PM Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx> wrote:

On Wed, 1 Apr 2020, Stefan Reinauer wrote:

When it fails/works, it fails/works consistently across several
rmmod/insmod cycles.

That implies incomplete hardware initialization or some other bug in the
driver initialization code.

(I see arp requests coming in on the Amiga in tcpdump, but they are
never answered)

If packets are arriving at the interface but the kernel ignores them, it
suggests that the packets are corrupt (e.g. invalid frame checksum).

You can check for corrupted packets with a network analyzer like
Wireshark. On a small system I would capture some traffic with 'tcpdump -i
eth0 -s0 -w traffic.pcap' and then move the pcap file to a host
with Wireshark installed.

Good news here (where's the brown paper bag); This fixes the network driver.

@@ -307,7 +307,7 @@ static void zz9000_eth_setup(struct net_device *dev)
        ether_setup(dev);

        dev->netdev_ops = &zz9000_netdev_ops;
-       dev->flags |= IFF_NOARP;
+       //dev->flags |= IFF_NOARP;
        dev->irq = IRQ_AMIGA_EXTER;
        memcpy(dev->dev_addr, zz9000_mac_addr, MAC_ADDR_LEN);



[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux