age(4) corrupts packets

Pyun YongHyeon pyunyh at gmail.com
Sun Jan 18 17:52:39 PST 2009


On Sat, Jan 17, 2009 at 05:25:59PM +0200, Kostik Belousov wrote:
 > I have to use a machine with ASUS motherboard, that has age(4) ethernet
 > adapter. It seems that active use of the net causes corrupted frames,
 > like the following ssh disconnect (after doing find / in the shell):
 > Disconnecting: Corrupted MAC on input.
 > 
 > Machine runs reasonably latest stable/7.
 > 
 > Any advice ? Anything I should try to tweak ? Do you need additional
 > information ?
 > 

Would you show me the output of "sysctl dev.age.0.stats=1"?
Also try disabling Rx checksum offload(ifconfig age0 -rxcsum).

 > I can test patches on this box.
 > 
 > age0: <Attansic Technology Corp, L1 Gigabit Ethernet> mem 0xfeac0000-0xfeafffff irq 17 at device 0.0 on pci2
 > age0: Reserved 0x40000 bytes for rid 0x10 type 3 at 0xfeac0000
 > age0: PCI device revision : 0x00b0
 > age0: Chip id/revision : 0x9006
 > age0: 1280 Tx FIFO, 2364 Rx FIFO
 > age0: MSIX count : 0
 > age0: MSI count : 1
 > age0: attempting to allocate 1 MSI vectors (1 supported)
 > msi: routing MSI IRQ 256 to vector 52
 > age0: using IRQ 256 for MSI
 > age0: Using 1 MSI messages.
 > age0: Read request size : 512 bytes.
 > age0: TLP payload size : 128 bytes.
 > age0: PCI VPD capability not found!
 > miibus0: <MII bus> on age0
 > atphy0: <Atheros F1 10/100/1000 PHY> PHY 0 on miibus0
 > atphy0: OUI 0x001374, model 0x0001, rev. 5
 > atphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
 > age0: bpf attached
 > age0: Ethernet address: 00:1f:c6:b9:cc:a7
 > msi: Assigning MSI IRQ 256 to local APIC 0
 > 

-- 
Regards,
Pyun YongHyeon


More information about the freebsd-net mailing list