Date: Tue, 7 Sep 2010 13:25:54 -0700 From: Jack Vogel <jfvogel@gmail.com> To: FreeBSD stable <freebsd-stable@freebsd.org> Subject: Re: MSIX failure Message-ID: <AANLkTikdGGgpGhy4MJF_K-ttLvjQOBj%2BAb5r-a2uhJ_Y@mail.gmail.com> In-Reply-To: <AANLkTik1WUDxOR2g6TMDx1NrrniJr_qULMJxzVVe90Ur@mail.gmail.com> References: <20100906155350.GA50151@lordcow.org> <AANLkTinOxtfJ_BhJape3LDowynx1eOpOW7zCPTime%2BYi@mail.gmail.com> <AANLkTik1WUDxOR2g6TMDx1NrrniJr_qULMJxzVVe90Ur@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jfvogel@gmail.com> 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 <jfvogel@gmail.com> 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 <bsd@lordcow.org> 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: <Intel(R) PRO/1000 Network Connection 7.0.5> 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: <Intel(R) PRO/1000 Legacy Network Connection 1.0.1> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 >>> >>> options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC> >>> 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 >>> " >>> >> >> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikdGGgpGhy4MJF_K-ttLvjQOBj%2BAb5r-a2uhJ_Y>