From owner-freebsd-net@freebsd.org Thu May 12 05:58:44 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4E22AB38AC8 for ; Thu, 12 May 2016 05:58:44 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pa0-x241.google.com (mail-pa0-x241.google.com [IPv6:2607:f8b0:400e:c03::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 17D5D186D for ; Thu, 12 May 2016 05:58:44 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by mail-pa0-x241.google.com with SMTP id i5so5232079pag.3 for ; Wed, 11 May 2016 22:58:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-disposition:in-reply-to:user-agent; bh=tOhHEVnriwrHQEmvKnc1vZYSiz3MOoXltydNtf+h+lE=; b=y4aQbsivwH+xt7RlxYLZXxrV+ofQ2mmGnD0vjupk9kosXhrao1Gt4i5/W0EnAeeD61 KKp+V90awu/FUc/zM9Zr1lcpV9VJpspsK1DHbH3Bj7eMwIlqPLyd7+vPUPDeSnM/eTOO FdurFMLp3QAngYzLpIvEq/d6SHBO/W7u3ZuJRSZaYgmsOKXVl/CPYS7HyCyuNu9vBl+6 yAkcdUsxhkRAT4NditBgTQk4ijAWv/OPj7w3ibNVoOXaakPXYqdhQ1jRt+FcIBgs0tib f0/AoJ1ZeLjhMseSMMi6BFca/ndewKApUL/ZGNzCB8MaR9o/wZhvY+Bom8aMjfoTONaI fe9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:message-id:reply-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=tOhHEVnriwrHQEmvKnc1vZYSiz3MOoXltydNtf+h+lE=; b=WLwkl7Q7OMBg8TSwRG89zAbdW5R7dhzE+ds12p5O1IoDWoiGpZPWDfTl0/ndc1QScS WOQ9z+jvG8YR6AZAKQie1rQn1Q4J57VyFn6ZYdxBLsv1MeDuso/4+2NwRhSdhPa13kaA VwgYV9K8zuL0uIKwvU8nzi6ecWZ/aOa0irEVAPj5Y0xXs1dsP2axq/zkzCp0MBJLM/uV 2TRvwjVHt3B2zcUyiZwS8YLDZuwbtw5zUsdEXcr8FDefxskyCWss8alsB0RPSPso9vqN dlol8SFsPPji2BdG/0i6V86t55db8BkybXu3RDcilchU4WgJsnWCJ+gNr3iclC/Q7q2V aE+w== X-Gm-Message-State: AOPr4FWKsk7CAV/7SEMqLSTizQyeQAq+8lu/jFfXZ8cpPdWLjtKcKcXEh9xYQ27fnzOX0A== X-Received: by 10.66.162.39 with SMTP id xx7mr10871358pab.97.1463032723778; Wed, 11 May 2016 22:58:43 -0700 (PDT) Received: from localhost ([106.247.248.2]) by smtp.gmail.com with ESMTPSA id u65sm16534361pfa.9.2016.05.11.22.58.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 May 2016 22:58:42 -0700 (PDT) From: YongHyeon PYUN X-Google-Original-From: "YongHyeon PYUN" Received: by localhost (sSMTP sendmail emulation); Thu, 12 May 2016 14:58:34 +0900 Date: Thu, 12 May 2016 14:58:34 +0900 To: Yuri Cc: freebsd-net@freebsd.org Subject: Re: Marvell Yukon (msk) network card causes the "sticky mouse" problem: mouse stops for extended periods of time Message-ID: <20160512055834.GA1198@michelle.fasterthan.co.kr> Reply-To: pyunyh@gmail.com References: <572CC657.8040207@rawbw.com> <572E0AF1.5060307@grosbein.net> <572E18E3.30300@rawbw.com> <20160508093305.GA1558@michelle.fasterthan.co.kr> <57341899.2040600@rawbw.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57341899.2040600@rawbw.com> User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2016 05:58:44 -0000 On Wed, May 11, 2016 at 10:46:01PM -0700, Yuri wrote: > On 05/08/2016 02:33, YongHyeon PYUN wrote: > >msk(4) will try to use MSI unless not configured to do so the IRQ > >wouldn't be shared with other devices. If msk(4) is using MSI you > >should see a high irq number greater than or equal to 256 in vmstat > >output. Given that you're seeing issues with MSI, try disabling > >MSI for msk(4). Add the following tunable to /boot/loader.conf and > >reboot. > > > >hw.msk.msi_disable="1" > > For some reason hw.msk.msi_disable isn't found: > # sysctl hw.msk.msi_disable=1 > sysctl: unknown oid 'hw.msk.msi_disable' > even though it is defined in sys/dev/msk/if_msk.c and if_msk module is > loaded. hw.msk.msi_disable is a loader tunable so you can't check it with sysctl(8). Add the tunable to boot/loader.conf to take it effect. See loader.conf(5) for more information.