From owner-freebsd-stable@FreeBSD.ORG Thu Apr 28 21:42:16 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 4DA481065674 for ; Thu, 28 Apr 2011 21:42:16 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 066928FC0C for ; Thu, 28 Apr 2011 21:42:15 +0000 (UTC) Received: by gwb15 with SMTP id 15so1595745gwb.13 for ; Thu, 28 Apr 2011 14:42:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=isDwZY+fY7aXAt61PHKPg2fIIYbpiXvD72/4BPMqlXU=; b=Wun6FvL6Ptg4KFKrfZ6hM4/HGSXNSgzfcNJlOXlNzrmngx8iG+Z7vLImvKCTZVUrP6 kpziqknUCULMmE84KdnGLOs+osZB2+TXBp+pILm1G3DqB0wpUy2phhJnfm4LrybPoT2J DsbSlZKnJKSxYJNiQxZyY0cmOQsM4R+KDnMcM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=juj5iWsrNpQCsntU89X5s/M7M2t+ktP1hn3jrDhUBzUTuDt7p9JrHpneu9Fb/PIaUk 88eGpcBf5v3S03P5xCK9fjz8nZ5C8+mARDLL6afM/aiqucjEh9kvBzMGYWNFvS17VXau mf/qd739iArM1+B23WbTdO5HAnJiJwipxrs9E= MIME-Version: 1.0 Received: by 10.150.166.17 with SMTP id o17mr3582363ybe.40.1304026934989; Thu, 28 Apr 2011 14:42:14 -0700 (PDT) Received: by 10.150.133.13 with HTTP; Thu, 28 Apr 2011 14:42:14 -0700 (PDT) In-Reply-To: <201104281728.37497.jhb@freebsd.org> References: <201104281728.37497.jhb@freebsd.org> Date: Thu, 28 Apr 2011 14:42:14 -0700 Message-ID: From: Jack Vogel To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Wiktor Niesiobedzki , freebsd-stable@freebsd.org 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 21:42:16 -0000 On Thu, Apr 28, 2011 at 2:28 PM, John Baldwin wrote: > On Thursday, April 28, 2011 5:17:11 pm Wiktor Niesiobedzki wrote: > > Hi, > > > > I really don't know (I haven't done that intentionally). There is > > nothing special in /var/log/messages: > > kadlubek# grep -i msix /var/log/messages > > Apr 28 21:37:03 kadlubek kernel: em0: Using MSIX interrupts with 0 > vectors > > > > Though sysctl suggests, that I haven't disabled MSIX: > > kadlubek# sysctl -a | grep -i msix > > hw.pci.enable_msix: 1 > > > > I've checked further pciconf output (now with -c option also) and there > is: > > em0@pci0:2:0:0: class=0x020000 card=0xa01f8086 chip=0x10d38086 rev=0x00 > hdr=0x00 > > vendor = 'Intel Corporation' > > device = 'Intel 82574L Gigabit Ethernet Controller (82574L)' > > class = network > > subclass = ethernet > > cap 01[c8] = powerspec 2 supports D0 D3 current D0 > > cap 05[d0] = MSI supports 1 message, 64 bit > > cap 10[e0] = PCI-Express 1 endpoint max data 128(256) link x1(x1) > > cap 11[a0] = MSI-X supports 5 messages in map 0x1c enabled > > > > So it looks, like the card supports MSI-X and has them enabled. > > > > Though my PCI Express bridges report as: > > pcib2@pci0:0:2:0: class=0x060400 card=0xc3231106 chip=0xa3641106 > > rev=0x80 hdr=0x01 > > vendor = 'VIA Technologies, Inc.' > > device = 'P4M900 PCI to PCI Bridge Controller' > > class = bridge > > subclass = PCI-PCI > > cap 10[40] = PCI-Express 1 root port max data 128(256) link x1(x1) > > cap 01[68] = powerspec 2 supports D0 D3 current D0 > > cap 05[70] = MSI supports 1 message, 64 bit > > cap 08[88] = HT MSI fixed address window disabled at 0xfee00000 > > cap 0d[98] = PCI Bridge card=0xc3231106 > > ecap 0001[100] = AER 1 0 fatal 0 non-fatal 0 corrected > > ecap 0002[140] = VC 1 max VC1 > > ecap 0005[180] = unknown 1 > > pcib3@pci0:0:3:0: class=0x060400 card=0xc3231106 chip=0xc3641106 > > rev=0x80 hdr=0x01 > > vendor = 'VIA Technologies, Inc.' > > device = 'P4M900 PCI to PCI Bridge Controller' > > class = bridge > > subclass = PCI-PCI > > cap 10[40] = PCI-Express 1 root port max data 128(256) link x1(x1) > > cap 01[68] = powerspec 2 supports D0 D3 current D0 > > cap 05[70] = MSI supports 1 message, 64 bit > > cap 08[88] = HT MSI fixed address window disabled at 0xfee00000 > > cap 0d[98] = PCI Bridge card=0xc3231106 > > ecap 0001[100] = AER 1 0 fatal 0 non-fatal 0 corrected > > ecap 0002[140] = VC 1 max VC1 > > ecap 0005[180] = unknown 1 > > > > pcib5@pci0:128:0:0: class=0x060400 card=0x00000000 chip=0x287c1106 > > rev=0x00 hdr=0x01 > > vendor = 'VIA Technologies, Inc.' > > device = 'VT8251 Standard PCIe Root Port' > > class = bridge > > subclass = PCI-PCI > > cap 10[40] = PCI-Express 1 root port max data 128(256) link x0(x2) > > cap 01[68] = powerspec 2 supports D0 D3 current D0 > > cap 05[70] = MSI supports 1 message, 64 bit, vector masks > > cap 08[88] = HT MSI fixed address window disabled at 0xfee00000 > > cap 0d[90] = PCI Bridge card=0x00000000 > > ecap 0001[100] = AER 1 0 fatal 0 non-fatal 0 corrected > > ecap 0002[140] = VC 1 max VC1 > > ecap 0005[180] = unknown 1 > > pcib6@pci0:128:0:1: class=0x060400 card=0x00000004 chip=0x287d1106 > > rev=0x00 hdr=0x01 > > vendor = 'VIA Technologies, Inc.' > > device = 'VT8251 Standard PCIe Root Port' > > class = bridge > > subclass = PCI-PCI > > cap 10[40] = PCI-Express 1 root port max data 128(256) link x0(x1) > > cap 01[68] = powerspec 2 supports D0 D3 current D0 > > cap 05[70] = MSI supports 1 message, 64 bit, vector masks > > cap 08[88] = HT MSI fixed address window disabled at 0xfee00000 > > cap 0d[90] = PCI Bridge card=0x00000004 > > > > 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. So, disable MSIX and MSI using sysctl, then the driver should use legacy when it loads. Still, I'd get a different motherboard, sucks to not have MSIX :( Jack