From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 00:10:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C4D41065670; Wed, 24 Nov 2010 00:10:08 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0EE5B8FC18; Wed, 24 Nov 2010 00:10:06 +0000 (UTC) Received: by fxm19 with SMTP id 19so6992947fxm.13 for ; Tue, 23 Nov 2010 16:10:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=CYaVsDPobFeIakVWYNsvbLL7oTxAFURG2Rd7ZqX7jyw=; b=mkbbBcCymrWjtvcemjSYqCTnA8OkBPpA4u45/BH5ge9M022mtEHUIDgObtXl0IW4CV HuX0HYU2VWcxVqxJ1m4xSE7XGY7CCN8KBhksb+YEqiIStPQ1xWcG0EoGRHIXfazqp4z1 881u6dlhjfoC6HnJnoIMhtPqivI8+73/fe3K0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=x4nsMfkbRfRt1Iv7ZkkiHyRoTE+IfcbiIE1rEE1ATBBXgUt8pZp5Tl4CZ5n2GyO+8/ hA8O+b0zVr+fg/tMaTTscxDurm7D/cyo9OlwS9jg3WQwGLEm8u8Cqf3IYZWSHjb+UxRg rwV8hJhk0wmKh5L5phBKyDo8KmcLiK4kGxkCA= MIME-Version: 1.0 Received: by 10.216.50.134 with SMTP id z6mr9118653web.15.1290557403784; Tue, 23 Nov 2010 16:10:03 -0800 (PST) Sender: yanegomi@gmail.com Received: by 10.216.198.27 with HTTP; Tue, 23 Nov 2010 16:10:03 -0800 (PST) In-Reply-To: <7EA93980-478A-418A-8FB1-3249097A7011@forsythia.net> References: <7EA93980-478A-418A-8FB1-3249097A7011@forsythia.net> Date: Tue, 23 Nov 2010 16:10:03 -0800 X-Google-Sender-Auth: c1sWr_dsZ8tuXGiHcCpkS_5OoPs Message-ID: From: Garrett Cooper To: Andrew Moran Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Stable , freebsd-questions@freebsd.org, Pyun YongHyeon Subject: Re: msk0 interface stops working when downloading X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2010 00:10:08 -0000 On Tue, Nov 23, 2010 at 3:25 PM, Andrew Moran wrote: > > Hey guys, > > After banging my head against this for a few hours, I've decided to ask f= or help. =A0 =A0 =A0I installed FreeBSD 8.1 amd64 on a Shuttle J1 4100 syst= em (tech specs here http://us.shuttle.com/J1_4100.aspx). =A0 I installed fr= om DVD and the install went fine. > > I notice when I pkg_add -r anything, =A0the network stops responding. > > Some details: > > 1) I can reproduce it 100% by downloading a large file. =A0 =A0 low traff= ic like the SSH connection does not trigger it. =A0 I think it's being trig= gered by traffic above a certain rate. > 2) I can recover by restarting the network interfaces (/etc/rc.d/netif st= op; =A0/etc/rc.d/netif start) > 3) I see no errors in dmesg or /var/log/messages. =A0Nothing at all. > 4) I've tried the following in /etc/sysctl.conf: > net.inet.tcp.tso=3D0 > net.inet.tcp.inflight.enable=3D0 > > and in /boot/loader.conf: > hw.pci.enable_msix=3D"0" > hw.pci.enable_msi=3D"0" > hw.bce.tso_enable=3D"0" > > But the problem persists. > > The interface is identified as: > > mskc0: port 0xe800-0xe8ff mem 0x= febfc000-0xfebfffff irq 17 at device 0.0 on pci2 > msk0: on m= skc0 > msk0: Ethernet address: 80:ee:73:01:60:7d > miibus0: on msk0 > e1000phy0: PHY 0 on miibus0 > e1000phy0: =A010baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, = 1000baseT-FDX, auto > mskc0: [ITHREAD] > > Does anyone know what could be causing this or how I can resolve it? =A0 = Any help is appreciated, thanks. 1. freebsd-stable is the proper list, not freebsd-current. 2. I have a similar chipset (not the same though) that hasn't had any issues for a while: $ pciconf -lv | grep -A 3 msk mskc0@pci0:2:0:0: class=3D0x020000 card=3D0x81f81043 chip=3D0x436411ab rev=3D0x12 hdr=3D0x00 vendor =3D 'Marvell Semiconductor (Was: Galileo Technology Ltd)' device =3D 'Yukon PCI-E Gigabit Ethernet Controller (88E8056)' class =3D network $ devinfo -v | grep -A 3 mskc0 mskc0 pnpinfo vendor=3D0x11ab device=3D0x4364 subvendor=3D0x104= 3 subdevice=3D0x81f8 class=3D0x020000 at slot=3D0 function=3D0 msk0 miibus0 e1000phy0 pnpinfo oui=3D0x5043 model=3D0xb rev=3D0x1 at p= hyno=3D0 $ uname -a FreeBSD orangebox.local 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r215607M: Sat Nov 20 21:22:34 UTC 2010 gcooper@orangebox.local:/usr/obj/usr/src/sys/ORANGEBOX amd64 Sorry for not grabbing the full dmesg output, but unfortunately I have BUS_DEBUG turned on for this test box, which blows out my syslog buffer at boot :). I've CCed yongari@ for comment. Thanks, -Garrett