On Tue, Aug 25, 2009 at 11:25:53AM -0700, Pyun YongHyeon wrote: > > Try attached patch and let me know how it goes on your box. > You can see statistics counters maintained in driver with sysctl. > "sysctl dev.msk.0.stats" will show some numbers if it can see > packets on wire.
With attached patch NIC doesn't see link again. All counters in dev.msk.0.stats are 0s. mskc0: <D-Link 560SX Gigabit Ethernet> port 0x4000-0x40ff mem 0xdc100000-0xdc103fff irq 16 at device 0.0 on pci1 msk0: <Marvell Technology Group Ltd. Yukon XL Id 0xb3 Rev 0x03> on mskc0 msk0: Ethernet address: 00:21:91:52:4f:09 miibus1: <MII bus> on msk0 e1000phy0: <Marvell 88E1112 Gigabit PHY> PHY 0 on miibus1 e1000phy0: 1000baseSX, 1000baseSX-FDX, auto mskc0: [FILTER] # ifconfig msk0 msk0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=11a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4> ether 00:21:91:52:4f:09 media: Ethernet autoselect # ifconfig msk0 up # ifconfig msk0 msk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=11a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4> ether 00:21:91:52:4f:09 media: Ethernet autoselect (none) status: no carrier # ifconfig -m msk0 msk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=11a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4> capabilities=11a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4> ether 00:21:91:52:4f:09 media: Ethernet autoselect (none) status: no carrier supported media: media autoselect media 1000baseSX mediaopt full-duplex media 1000baseSX media none -- Eugene Perevyazko _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"