Re: Suggested 1000BASE-LX adapter

2015-10-27 Thread Stuart Henderson
On 2015-10-27, Federico Giannici  wrote:
> On 10/27/15 16:33, Stuart Henderson wrote:
>> On 2015-10-27, Federico Giannici  wrote:
>>> On 10/27/15 15:31, Chris Cappuccio wrote:
 Federico Giannici [giann...@neomedia.it] wrote:
> I have to install in an OpenBSD 5.8 amd64 a PCI-E ethernet card supporting
> 1000BASE-LX (i.e. 1Gbps with Single Mode Fiber).
>
> Usually we use Intel cards (em driver) but I found that the only Intel LX
> card has a PCI-X bus!
>
> What reliable LX NIC with PCI-E do you suggest?
>

 If you have trouble finding SFP versions of em cards, you can always try
 SFP+ versions of ix cards. They work with 1Gbps SFP and are readily 
 available
 from several vendors.
>>
>> I can confirm this works as of 5.8.
>>
>> ix1: flags=8843 mtu 1500
>>  media: Ethernet autoselect (1000baseLX full-duplex,rxpause,txpause)
>>
>> In earlier releases you would have got 'Unsupported SFP+ Module' when
>> attaching the interface.
>
> Yes, I saw that change in the ix source, so I expected the 5.8 to make 
> it work, but it didn't...
>
>
>>> We do have an ix card, the Intel X520-LR1.
>>> I read that it is supposed to work as 1000BASE-LX too but we were not
>>> able to make it work! It never gives the link.
>>>
>>> If we try to set 1000BASE-LX as media type it gives error.
>>>
>>> isengard:/home/giannici> ifconfig ix2 media
>>> ix2: flags=8802 mtu 1500
>>>   lladdr 00:1b:21:91:5f:20
>>>   priority: 0
>>>   media: Ethernet autoselect
>>>   status: no carrier
>>>   supported media:
>>>   media 10GbaseLR mediaopt full-duplex
>>>   media autoselect
>>>
>>> Are you sure that it is supposed to work as 1000BASE-LX with OpenBSD 5.8?
>>>
>>> Thanks.
>>>
>>>
>>
>> I think you're trying to use a 10GbaseLR SFP+ for this, that won't work -
>> you need an 1000baseLX SFP.
>
> I tried with a couple of different 1000baseLX SFPs.
> Now I'm waiting for a Cisco one, as Chris said these worked for him...
>
> Thanks.
>
>

FWIW I used an HP-coded flexoptix (reason for choosing that was so I could
move it to a switch if the ix(4) plan didn't work out).

How does your full dmesg look?

Maybe try building with IX_DEBUG defined and see if that gives clues?
Or change '#define DBG 0' to 1 in ixgbe.h?



Re: Suggested 1000BASE-LX adapter

2015-10-27 Thread Federico Giannici

On 10/27/15 16:33, Stuart Henderson wrote:

On 2015-10-27, Federico Giannici  wrote:

On 10/27/15 15:31, Chris Cappuccio wrote:

Federico Giannici [giann...@neomedia.it] wrote:

I have to install in an OpenBSD 5.8 amd64 a PCI-E ethernet card supporting
1000BASE-LX (i.e. 1Gbps with Single Mode Fiber).

Usually we use Intel cards (em driver) but I found that the only Intel LX
card has a PCI-X bus!

What reliable LX NIC with PCI-E do you suggest?



If you have trouble finding SFP versions of em cards, you can always try
SFP+ versions of ix cards. They work with 1Gbps SFP and are readily available
from several vendors.


I can confirm this works as of 5.8.

ix1: flags=8843 mtu 1500
 media: Ethernet autoselect (1000baseLX full-duplex,rxpause,txpause)

In earlier releases you would have got 'Unsupported SFP+ Module' when
attaching the interface.


Yes, I saw that change in the ix source, so I expected the 5.8 to make 
it work, but it didn't...




We do have an ix card, the Intel X520-LR1.
I read that it is supposed to work as 1000BASE-LX too but we were not
able to make it work! It never gives the link.

If we try to set 1000BASE-LX as media type it gives error.

isengard:/home/giannici> ifconfig ix2 media
ix2: flags=8802 mtu 1500
  lladdr 00:1b:21:91:5f:20
  priority: 0
  media: Ethernet autoselect
  status: no carrier
  supported media:
  media 10GbaseLR mediaopt full-duplex
  media autoselect

Are you sure that it is supposed to work as 1000BASE-LX with OpenBSD 5.8?

Thanks.




I think you're trying to use a 10GbaseLR SFP+ for this, that won't work -
you need an 1000baseLX SFP.


I tried with a couple of different 1000baseLX SFPs.
Now I'm waiting for a Cisco one, as Chris said these worked for him...

Thanks.



Re: Suggested 1000BASE-LX adapter

2015-10-27 Thread Chris Cappuccio
Federico Giannici [giann...@neomedia.it] wrote:
> 
> We do have an ix card, the Intel X520-LR1.
> I read that it is supposed to work as 1000BASE-LX too but we were not able
> to make it work! It never gives the link.
> 
> If we try to set 1000BASE-LX as media type it gives error.
> 
> isengard:/home/giannici> ifconfig ix2 media
> ix2: flags=8802 mtu 1500
> lladdr 00:1b:21:91:5f:20
> priority: 0
> media: Ethernet autoselect
> status: no carrier
> supported media:
> media 10GbaseLR mediaopt full-duplex
> media autoselect
> 
> Are you sure that it is supposed to work as 1000BASE-LX with OpenBSD 5.8?
> 

I've used it with various SuperMicro ix cards. Nothing quite as new as the X520.

Have you tried 'ifconfig up' ?



Re: Suggested 1000BASE-LX adapter

2015-10-27 Thread Chris Cappuccio
Federico Giannici [giann...@neomedia.it] wrote:
> On 10/27/15 16:17, Chris Cappuccio wrote:
> >Federico Giannici [giann...@neomedia.it] wrote:
> >>
> >>We do have an ix card, the Intel X520-LR1.
> >>I read that it is supposed to work as 1000BASE-LX too but we were not able
> >>to make it work! It never gives the link.
> >>
> >>If we try to set 1000BASE-LX as media type it gives error.
> >>
> >>isengard:/home/giannici> ifconfig ix2 media
> >>ix2: flags=8802 mtu 1500
> >> lladdr 00:1b:21:91:5f:20
> >> priority: 0
> >> media: Ethernet autoselect
> >> status: no carrier
> >> supported media:
> >> media 10GbaseLR mediaopt full-duplex
> >> media autoselect
> >>
> >>Are you sure that it is supposed to work as 1000BASE-LX with OpenBSD 5.8?
> >>
> >
> >I've used it with various SuperMicro ix cards. Nothing quite as new as the 
> >X520.
> >
> >Have you tried 'ifconfig up' ?
> 
> Yes, nothing changes...

Well this doesn't bode well for my original idea :)

These SuperMicro single and dual port work with Cisco LX/LH SFPs:

ix0 at pci2 dev 0 function 0 "Intel 82599" rev 0x01: msi, address 
6c:b3:11:3b:43:4b
ix1 at pci2 dev 0 function 1 "Intel 82599" rev 0x01: msi, address 
6c:b3:11:3b:43:4d

ix0 at pci1 dev 0 function 0 "Intel 82599EN" rev 0x01: msi, address 
00:25:90:e1:c2:dd

Chris



Re: Suggested 1000BASE-LX adapter

2015-10-27 Thread Stuart Henderson
On 2015-10-27, Federico Giannici  wrote:
> On 10/27/15 15:31, Chris Cappuccio wrote:
>> Federico Giannici [giann...@neomedia.it] wrote:
>>> I have to install in an OpenBSD 5.8 amd64 a PCI-E ethernet card supporting
>>> 1000BASE-LX (i.e. 1Gbps with Single Mode Fiber).
>>>
>>> Usually we use Intel cards (em driver) but I found that the only Intel LX
>>> card has a PCI-X bus!
>>>
>>> What reliable LX NIC with PCI-E do you suggest?
>>>
>>
>> If you have trouble finding SFP versions of em cards, you can always try
>> SFP+ versions of ix cards. They work with 1Gbps SFP and are readily available
>> from several vendors.

I can confirm this works as of 5.8.

ix1: flags=8843 mtu 1500
media: Ethernet autoselect (1000baseLX full-duplex,rxpause,txpause)

In earlier releases you would have got 'Unsupported SFP+ Module' when
attaching the interface.

> We do have an ix card, the Intel X520-LR1.
> I read that it is supposed to work as 1000BASE-LX too but we were not 
> able to make it work! It never gives the link.
>
> If we try to set 1000BASE-LX as media type it gives error.
>
> isengard:/home/giannici> ifconfig ix2 media
> ix2: flags=8802 mtu 1500
>  lladdr 00:1b:21:91:5f:20
>  priority: 0
>  media: Ethernet autoselect
>  status: no carrier
>  supported media:
>  media 10GbaseLR mediaopt full-duplex
>  media autoselect
>
> Are you sure that it is supposed to work as 1000BASE-LX with OpenBSD 5.8?
>
> Thanks.
>
>

I think you're trying to use a 10GbaseLR SFP+ for this, that won't work -
you need an 1000baseLX SFP.



Re: Suggested 1000BASE-LX adapter

2015-10-27 Thread Federico Giannici

On 10/27/15 16:17, Chris Cappuccio wrote:

Federico Giannici [giann...@neomedia.it] wrote:


We do have an ix card, the Intel X520-LR1.
I read that it is supposed to work as 1000BASE-LX too but we were not able
to make it work! It never gives the link.

If we try to set 1000BASE-LX as media type it gives error.

isengard:/home/giannici> ifconfig ix2 media
ix2: flags=8802 mtu 1500
 lladdr 00:1b:21:91:5f:20
 priority: 0
 media: Ethernet autoselect
 status: no carrier
 supported media:
 media 10GbaseLR mediaopt full-duplex
 media autoselect

Are you sure that it is supposed to work as 1000BASE-LX with OpenBSD 5.8?



I've used it with various SuperMicro ix cards. Nothing quite as new as the X520.

Have you tried 'ifconfig up' ?


Yes, nothing changes...



Re: Suggested 1000BASE-LX adapter

2015-10-27 Thread Federico Giannici

On 10/27/15 15:31, Chris Cappuccio wrote:

Federico Giannici [giann...@neomedia.it] wrote:

I have to install in an OpenBSD 5.8 amd64 a PCI-E ethernet card supporting
1000BASE-LX (i.e. 1Gbps with Single Mode Fiber).

Usually we use Intel cards (em driver) but I found that the only Intel LX
card has a PCI-X bus!

What reliable LX NIC with PCI-E do you suggest?



If you have trouble finding SFP versions of em cards, you can always try
SFP+ versions of ix cards. They work with 1Gbps SFP and are readily available
from several vendors.


We do have an ix card, the Intel X520-LR1.
I read that it is supposed to work as 1000BASE-LX too but we were not 
able to make it work! It never gives the link.


If we try to set 1000BASE-LX as media type it gives error.

isengard:/home/giannici> ifconfig ix2 media
ix2: flags=8802 mtu 1500
lladdr 00:1b:21:91:5f:20
priority: 0
media: Ethernet autoselect
status: no carrier
supported media:
media 10GbaseLR mediaopt full-duplex
media autoselect

Are you sure that it is supposed to work as 1000BASE-LX with OpenBSD 5.8?

Thanks.



Re: Suggested 1000BASE-LX adapter

2015-10-27 Thread Chris Cappuccio
Federico Giannici [giann...@neomedia.it] wrote:
> I have to install in an OpenBSD 5.8 amd64 a PCI-E ethernet card supporting
> 1000BASE-LX (i.e. 1Gbps with Single Mode Fiber).
> 
> Usually we use Intel cards (em driver) but I found that the only Intel LX
> card has a PCI-X bus!
> 
> What reliable LX NIC with PCI-E do you suggest?
> 

If you have trouble finding SFP versions of em cards, you can always try
SFP+ versions of ix cards. They work with 1Gbps SFP and are readily available
from several vendors.

Chris



Re: Suggested 1000BASE-LX adapter

2015-10-27 Thread David Dahlberg
Am Dienstag, den 27.10.2015, 13:01 +0100 schrieb Federico Giannici:
> I have to install in an OpenBSD 5.8 amd64 a PCI-E ethernet card 
> supporting 1000BASE-LX (i.e. 1Gbps with Single Mode Fiber).
> 
> Usually we use Intel cards (em driver) but I found that the only Intel
> LX card has a PCI-X bus!

We have a couple of those, they are em(4), I used them with 1000BASE-
LX10 SFPs of the same vendor:

http://www.allnet.de/en/allnet-brand/produkte/switches/netzwerkkarten/p/
allnet-all0130-2sfp-pcie-1000m-dual-sfp-fiber-card-adapter-lc-fiber-
opticef/


> What reliable LX NIC with PCI-E do you suggest?

I cannot really tell you anything about the reliability. I have not
tried to stress them yet, nor did I use those NICs continuously over a
prolonged period.

David



Suggested 1000BASE-LX adapter

2015-10-27 Thread Federico Giannici
I have to install in an OpenBSD 5.8 amd64 a PCI-E ethernet card 
supporting 1000BASE-LX (i.e. 1Gbps with Single Mode Fiber).


Usually we use Intel cards (em driver) but I found that the only Intel 
LX card has a PCI-X bus!


What reliable LX NIC with PCI-E do you suggest?

Thanks.