Scott Ullrich
2010-Mar-17 16:08 UTC
msk gigabit NIC missed interrupts and watchdog timeouts
Hello, I am testing FreeBSD-8_STABLE updated as of a few minutes ago along with a msk type NIC. Having trouble with missed TX interrupts and watchdog timeouts. Tested http://svn.freebsd.org/changeset/base/205161 which made the NIC a little more stable but it finally exhibited the same issues after 10 minutes of load vs 1 minute. Does anyone have any suggestions on things that I can do to make this NIC more robust? pciconf -l shows: mskc0@pci0:2:0:0: class=0x020000 card=0x34588086 chip=0x436111ab rev=0x18 hdr=0x00 dmesg -a | grep msk shows: mskc0: <Marvell Yukon 88E8050 Gigabit Ethernet> port 0xc800-0xc8ff mem 0xdedfc000-0xdedfffff irq 16 at device 0.0 on pci2 msk0: <Marvell Technology Group Ltd. Yukon EC Id 0xb6 Rev 0x02> on mskc0 msk0: Ethernet address: 00:0e:0c:a4:54:ad miibus0: <MII bus> on msk0 mskc0: [FILTER] Thanks in advance for any pointers, etc Scott
Pyun YongHyeon
2010-Mar-17 16:37 UTC
msk gigabit NIC missed interrupts and watchdog timeouts
On Wed, Mar 17, 2010 at 11:07:43AM -0500, Scott Ullrich wrote:> Hello, > > I am testing FreeBSD-8_STABLE updated as of a few minutes ago along > with a msk type NIC. > > Having trouble with missed TX interrupts and watchdog timeouts. >Would you try latest msk(4) in HEAD? I think you can download if_msk.c and if_mskreg.h from HEAD and can build it on stable/8. Due to added interface capabilities you have to add the following code in the beginning of if_msk.c to build it on stable/8. #ifndef IFCAP_VLAN_HWTSO #define IFCAP_VLAN_HWTSO 0 #endif> Tested http://svn.freebsd.org/changeset/base/205161 which made the NIC > a little more stable but it finally exhibited the same issues after 10 > minutes of load vs 1 minute. > > Does anyone have any suggestions on things that I can do to make this > NIC more robust? > > pciconf -l shows: > mskc0@pci0:2:0:0: class=0x020000 card=0x34588086 chip=0x436111ab > rev=0x18 hdr=0x00 > > dmesg -a | grep msk shows: > mskc0: <Marvell Yukon 88E8050 Gigabit Ethernet> port 0xc800-0xc8ff > mem 0xdedfc000-0xdedfffff irq 16 at device 0.0 on pci2 > msk0: <Marvell Technology Group Ltd. Yukon EC Id 0xb6 Rev 0x02> on mskc0 > msk0: Ethernet address: 00:0e:0c:a4:54:ad > miibus0: <MII bus> on msk0 > mskc0: [FILTER] >Also show me the output of "devinfo -rv | grep phy".
Scott Ullrich
2010-Mar-17 18:06 UTC
msk gigabit NIC missed interrupts and watchdog timeouts
On Wed, Mar 17, 2010 at 11:36 AM, Pyun YongHyeon <pyunyh@gmail.com> wrote:> Would you try latest msk(4) in HEAD? I think you can download > if_msk.c and if_mskreg.h from HEAD and can build it on stable/8. > Due to added interface capabilities you have to add the following > code in the beginning of if_msk.c to build it on stable/8. > > #ifndef IFCAP_VLAN_HWTSO > #define IFCAP_VLAN_HWTSO ? ? ? ?0 > #endifNo problem. Just compiled a kernel containing the newest files.> Also show me the output of "devinfo -rv | grep phy".nas2# devinfo -rv | grep ph e1000phy0 pnpinfo oui=0x5043 model=0xc rev=0x2 at phyno=0 I am now testing the new kernel and it has been under load for quite a while. I shifted 2+ gigabytes through it and it seems OK now. Thanks for the help !! Scott