From owner-freebsd-stable@FreeBSD.ORG Tue Sep 7 20:25:56 2010 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 8928810656B6 for ; Tue, 7 Sep 2010 20:25:56 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1131C8FC0C for ; Tue, 7 Sep 2010 20:25:55 +0000 (UTC) Received: by ewy4 with SMTP id 4so2973272ewy.13 for ; Tue, 07 Sep 2010 13:25:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=FKunFlQK+vWC2IQXr6U9jEQL6f5pqPRfNX+Vg6e0qa4=; b=Odqxzvcf4u6e5jIJ5dQdV72zom0o1NSatbjdJM+0C9BFBIBEXJanMYhufuEIr6A0MS 973W959O+h3zrysYSWLDn2cfjauESIEQixtnB0TnvDwPd3/hvqiA4oCE/KsHX1QhCU0Y ANzkrY7ycX/aNSL5Xalfi04duCmN0ft+oA9rM= 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 :content-type; b=cNXBlc0iXc0Fthdh6iDUHPYreIMzKeLh8Xoa1RVgXcCPNLWDovFUXDwpGZ04vSqr6e A0p/kQNS2BkorTmiKiOwhXJ2XetnHwFigCZPrDEY55n0hn/EBYXzElfuxs4Egt5Aifpp tcAK4yfXCbAhh60x3F7lxk0ew8RtFzxqpx6eU= MIME-Version: 1.0 Received: by 10.216.155.206 with SMTP id j56mr2033523wek.67.1283891154703; Tue, 07 Sep 2010 13:25:54 -0700 (PDT) Received: by 10.216.49.78 with HTTP; Tue, 7 Sep 2010 13:25:54 -0700 (PDT) In-Reply-To: References: <20100906155350.GA50151@lordcow.org> Date: Tue, 7 Sep 2010 13:25:54 -0700 Message-ID: From: Jack Vogel To: FreeBSD stable Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: MSIX failure 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: Tue, 07 Sep 2010 20:25:56 -0000 I've looked at the code, this message was misleading, what really happens is that the driver fails to be able to setup either MSIX OR MSI, when this happens it will fall back and use a Legacy interrupt, so its non-fatal and the device should work anyway. The only real reason you should see this is a) you used sysctl and turned msi and msix off, or b) a real hardware problem in the chipset has caused the failure. All devices em drives (as opposed to lem) are PCI Express and so by definition they have MSI and MSIX available. I have just checked in a new delta to em in HEAD that corrects some other issues, and I have added a changed message that will be less confusing. Regards, Jack On Tue, Sep 7, 2010 at 10:00 AM, Jack Vogel wrote: > Email to Gareth de Vaux is bouncing :( > > First off, this device was not supported in 8.0 REL, what were you running > that last > worked? > > Do you have MSI disabled on this system of yours, the reason for this > message > is that both MSIX and MSI setup failed, your device should succeed with > MSI. > > Tell me more about the system please? > > Jack > > > > On Mon, Sep 6, 2010 at 11:36 AM, Jack Vogel wrote: > >> In the future make sure that you put E1000 or EM in the title otherwise I >> might miss it, >> fortunately I looked at this :) >> >> I'm on a holiday weekend, I will investigate this tomorrow. >> >> Jack >> >> >> >> On Mon, Sep 6, 2010 at 8:53 AM, Gareth de Vaux wrote: >> >>> Hi all, I moved from 8.0-RELEASE to last week's -STABLE: >>> >>> $ uname -v >>> FreeBSD 8.1-STABLE #0: Thu Sep 2 16:38:02 SAST 2010 root@XXXXX >>> :/usr/obj/usr/src/sys/GENERIC >>> >>> and all seems well except my network card is unusable. On boot up: >>> >>> em0: port 0x3040-0x305f mem >>> 0xe3200000-0xe321ffff,0xe3220000-0xe3220fff irq 10 at device 25.0 on pci0 >>> em0: Setup MSIX failure >>> em0: [FILTER] >>> em0: Ethernet address: 00:27:0e:1e:5e:e3 >>> >>> em1: port >>> 0x1000-0x103f mem 0xe3120000-0xe313ffff,0xe3100000-0xe311ffff irq 9 at >>> device 1.0 on pci5 >>> em1: [FILTER] >>> em1: Ethernet address: 00:1b:21:5b:f2:18 >>> >>> >>> em0 is a PCI 'Intel(R) PRO/1000 GT Desktop Adapter' which worked up until >>> now. >>> em1 is onboard which didn't work with 8.0-RELEASE either. >>> >>> >>> $ ifconfig em0 >>> em0: flags=8843 metric 0 mtu 1500 >>> >>> options=219b >>> ether 00:27:0e:1e:5e:e3 >>> inet XXXXXXXX >>> media: Ethernet autoselect >>> status: no carrier >>> >>> >>> pciconf -lv: >>> >>> em0@pci0:0:25:0: class=0x020000 card=0x00008086 chip=0x10f08086 >>> rev=0x05 hdr=0x00 >>> vendor = 'Intel Corporation' >>> class = network >>> subclass = ethernet >>> >>> em1@pci0:5:1:0: class=0x020000 card=0x13768086 chip=0x107c8086 rev=0x05 >>> hdr=0x00 >>> vendor = 'Intel Corporation' >>> device = 'Gigabit Ethernet Controller (Copper) rev 5 (82541PI)' >>> class = network >>> subclass = ethernet >>> >>> (no device listing for em0) >>> >>> Swapping the PCI card with a PCI-X version gives the same behaviour. >>> Setting >>> hw.pci.enable_msix and hw.pci.enable_msi to 0 doesn't help in either >>> case. >>> _______________________________________________ >>> freebsd-stable@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >>> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org >>> " >>> >> >> >