From owner-freebsd-stable@FreeBSD.ORG Thu Apr 28 22:27:04 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CAC81065672 for ; Thu, 28 Apr 2011 22:27:04 +0000 (UTC) (envelope-from bsd@vink.pl) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1402B8FC1F for ; Thu, 28 Apr 2011 22:27:03 +0000 (UTC) Received: by pvg11 with SMTP id 11so2689155pvg.13 for ; Thu, 28 Apr 2011 15:27:03 -0700 (PDT) Received: by 10.68.31.169 with SMTP id b9mr4392395pbi.207.1304029623588; Thu, 28 Apr 2011 15:27:03 -0700 (PDT) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx.google.com with ESMTPS id o20sm1474027pbt.50.2011.04.28.15.27.02 (version=SSLv3 cipher=OTHER); Thu, 28 Apr 2011 15:27:03 -0700 (PDT) Received: by pwj8 with SMTP id 8so1987459pwj.13 for ; Thu, 28 Apr 2011 15:27:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.15.36 with SMTP id u4mr4390290pbc.20.1304029622494; Thu, 28 Apr 2011 15:27:02 -0700 (PDT) Received: by 10.68.42.40 with HTTP; Thu, 28 Apr 2011 15:27:02 -0700 (PDT) In-Reply-To: References: <201104281728.37497.jhb@freebsd.org> Date: Fri, 29 Apr 2011 00:27:02 +0200 Message-ID: From: Wiktor Niesiobedzki To: Jack Vogel Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org, John Baldwin Subject: Re: No data received with Intel Corporation Gigabit CT Desktop Adapter (82574L) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2011 22:27:04 -0000 2011/4/28 Jack Vogel : > On Thu, Apr 28, 2011 at 2:28 PM, John Baldwin wrote: >> >> On Thursday, April 28, 2011 5:17:11 pm Wiktor Niesiobedzki wrote: >> > Though they mention that HT MSI windows is disabled. I'm not sure, >> > whether this matters. >> >> Yes, that is probably what breaks this. >> >> -- >> John Baldwin > > Opps, missed that, thanks John.=C2=A0 So, disable MSIX and MSI using sysc= tl, > then the driver should use legacy when it loads. > > Still, I'd get a different motherboard, sucks to not have MSIX :( > Thanks for hints. I've disabled MSIX and MSI: kadlubek# sysctl hw.pci | grep msi hw.pci.honor_msi_blacklist: 1 hw.pci.enable_msix: 0 hw.pci.enable_msi: 0 and reloaded if_em module. During initialization it confirmed, that will not use MSI(X): em0: port 0xdc00-0xdc1f mem 0xfe9e0000-0xfe9fffff,0xfe900000-0xfe97ffff,0xfe9dc000-0xfe9dffff irq 24 at device 0.0 on pci2 em0: MSIX: insufficient vectors, using MSI em0: No MSI/MSIX using a Legacy IRQ em0: [FILTER] em0: Ethernet address: 00:1b:21:9d:52:1b em0: link state changed to UP Though behavior hasn't change - I still see outgoing packets, and no incoming traffic. As far as I see, linux driver does that automagically, when no MSI(-X) is available, then it fallbacks to IRQ: [ 16.377387] e1000e 0000:02:00.0: (unregistered net_device): Failed to initialize MSI-X interrupts. Falling back to MSI interrupts. [ 16.377511] e1000e 0000:02:00.0: (unregistered net_device): Failed to initialize MSI interrupts. Falling back to legacy interrupts. Does anything come to your mind, that I can do, to debug, why this card is not working? Cheers, Wiktor