Re: msk0 interface stops working when downloading

From: Andrew Moran <amoran_at_forsythia.net>
Date: Mon, 28 Mar 2011 13:19:29 -0700
To close the loop on this, I upgraded the latest freebsd current (8.2) and it now seems to work with the integrated chip.    Huzzah.

--Andy


On Dec 2, 2010, at 10:10 PM, Andrew Moran wrote:

> Good to know about the GB switch vs 100MB switch. 
> 
> But rather than downgrade my switch, I went ahead and bought a NIC and installed it and will just ignore the onboard Marvel one until it someday works :) 
> 
> --Andy
> 
> On Nov 29, 2010, at 11:03 AM, Gary Gatten wrote:
> 
>> 
>> 
>> -----Original Message-----
>> From: owner-freebsd-questions_at_freebsd.org [mailto:owner-freebsd-questions_at_freebsd.org] On Behalf Of John Baldwin
>> Sent: Monday, November 29, 2010 8:54 AM
>> To: freebsd-current_at_freebsd.org
>> Cc: Andrew Moran; freebsd-questions_at_freebsd.org
>> Subject: Re: msk0 interface stops working when downloading
>> 
>> On Tuesday, November 23, 2010 6:25:06 pm Andrew Moran wrote:
>>> 
>>> Hey guys,
>>> 
>>> After banging my head against this for a few hours, I've decided to ask for 
>> help.      I installed FreeBSD 8.1 amd64 on a Shuttle J1 4100 system (tech 
>> specs here http://us.shuttle.com/J1_4100.aspx).   I installed from DVD and the 
>> install went fine.
>>> 
>>> I notice when I pkg_add -r anything,  the network stops responding. 
>>> 
>>> Some details:
>>> 
>>> 1) I can reproduce it 100% by downloading a large file.     low traffic like 
>> the SSH connection does not trigger it.   I think it's being triggered by 
>> traffic above a certain rate. 
>>> 2) I can recover by restarting the network interfaces (/etc/rc.d/netif stop;  
>> /etc/rc.d/netif start)
>>> 3) I see no errors in dmesg or /var/log/messages.  Nothing at all.
>>> 4) I've tried the following in /etc/sysctl.conf:
>>> net.inet.tcp.tso=0
>>> net.inet.tcp.inflight.enable=0
>>> 
>>> and in /boot/loader.conf:
>>> hw.pci.enable_msix="0"
>>> hw.pci.enable_msi="0"
>>> hw.bce.tso_enable="0"
>>> 
>>> But the problem persists.
>>> 
>>> The interface is identified as:
>>> 
>>> mskc0: <Marvell Yukon 88E8057 Gigabit Ethernet> port 0xe800-0xe8ff mem 
>> 0xfebfc000-0xfebfffff irq 17 at device 0.0 on pci2
>>> msk0: <Marvell Technology Group Ltd. Yukon Ultra 2 Id 0xba Rev 0x00> on 
>> mskc0
>>> msk0: Ethernet address: 80:ee:73:01:60:7d
>>> miibus0: <MII bus> on msk0
>>> e1000phy0: <Marvell 88E1149 Gigabit PHY> PHY 0 on miibus0
>>> e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
>> 1000baseT-FDX, auto
>>> mskc0: [ITHREAD]
>> 
>> When I've seen this on my netbook I did a tcpdump on another machien on the 
>> same hub and found that my msk0 device was spewing an endless stream of pause 
>> frames.  I've only had this problem with a gigE switch, it works fine for me 
>> on a 10/100 switch.
>> 
>> -- 
>> John Baldwin
>> _______________________________________________
>> freebsd-questions_at_freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe_at_freebsd.org"
>> 
>> 
>> " When I've seen this on my netbook I did a tcpdump on another machien on the same hub and found that my msk0 device was spewing an endless stream of pause frames. "
>> 
>> If there's an option to disable Ethernet flow control, (commonly used on Gig stuff) perhaps disabling it will prevent the unwanted "spewing".  Unwaanted spewing is always bad.
>> 
>> 
>> 
>> 
>> 
>> <font size="1">
>> <div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'>
>> </div>
>> "This email is intended to be reviewed by only the intended recipient
>> and may contain information that is privileged and/or confidential.
>> If you are not the intended recipient, you are hereby notified that
>> any review, use, dissemination, disclosure or copying of this email
>> and its attachments, if any, is strictly prohibited.  If you have
>> received this email in error, please immediately notify the sender by
>> return email and delete this email from your system."
>> </font>
>> 
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
Received on Mon Mar 28 2011 - 19:19:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:12 UTC