Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2011 00:27:02 +0200
From:      Wiktor Niesiobedzki <bsd@vink.pl>
To:        Jack Vogel <jfvogel@gmail.com>
Cc:        freebsd-stable@freebsd.org, John Baldwin <jhb@freebsd.org>
Subject:   Re: No data received with Intel Corporation Gigabit CT Desktop Adapter (82574L)
Message-ID:  <BANLkTinFtxYBMeSKXBkeU6Lg=DeMJ=arbA@mail.gmail.com>
In-Reply-To: <BANLkTikY182RVRpn_WP0dAQrqQGROMoF=Q@mail.gmail.com>
References:  <BANLkTim-ve2_du3JoZ7NmLLv4OU%2Bk9F-eQ@mail.gmail.com> <BANLkTi=t87a-L3WJY%2Be1G6Jy-w4PhgQz-Q@mail.gmail.com> <BANLkTinSHNK6hkg_LU0K8BPqKqCf8wwipg@mail.gmail.com> <201104281728.37497.jhb@freebsd.org> <BANLkTikY182RVRpn_WP0dAQrqQGROMoF=Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/4/28 Jack Vogel <jfvogel@gmail.com>:
> On Thu, Apr 28, 2011 at 2:28 PM, John Baldwin <jhb@freebsd.org> 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: <Intel(R) PRO/1000 Network Connection 7.1.9> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTinFtxYBMeSKXBkeU6Lg=DeMJ=arbA>