[Macchiato] macchiatobin problem

Baruch Siach baruch at tkos.co.il
Sun Nov 11 16:51:06 GMT 2018


Hi Alpha,

It looks like you did not enable CONFIG_SFP in your kernel
configuration.

How do you measure the latency? What latency time do you see?

baruch

alpha_one_x86 writes:
> Hi, now the vanilla kernel not work, see the attached file.
>
> I have configured macchiatobin as: gateway, NAT, router, firewall, tunnel.
>
> Same as my previous x86 config, but on macchiatobin I have see I have
> random latency peak.
>
> No problem of latency when I connect directly my self to the modem/ONU
> GPON, only via macchiatobin as gateway.
>
> Cheers,
>
>
> On 11/11/18 09:27, Baruch Siach wrote:
>> Hi Alpha,
>>
>> Please share the full kernel log.
>>
>> Thanks,
>> baruch
>>
>> alpha_one_x86 writes:
>>> See the attached file.
>>>
>>> eth0 -> SFP+ with 10G module (https://www.fs.com/products/11555.html):
>>> working
>>>
>>> eth3 (at right) -> SFP with 1G module
>>> (https://www.fs.com/products/48929.html): not working
>>>
>>> The 1G module work on any other network SFP switch I have.
>>>
>>> [ 2.612319] mvpp2 f4000000.ethernet eth3: Using firmware node mac
>>> address 00:51:82:11:22:03
>>> [ 19.138870] mvpp2 f4000000.ethernet eth3: configuring for
>>> inband/2500base-x link mode
>>> [ 19.140184] IPv6: ADDRCONF(NETDEV_UP): eth3: link is not ready
>>>
>>> I test the patch later.
>>>
>>> Cheers,
>>>
>>>
>>> On 11/05/18 14:21, Baruch Siach wrote:
>>>> Hi Alpha,
>>>>
>>>> In which SFP cage have you tested the 10G module and the 1G module?
>>>>
>>>> What 1G and 10G modules are you using?
>>>>
>>>> Please share the kernel log of the working and non-working modules.
>>>>
>>>> By the way, Russell King has just posted upstream kernel support for the 
>>>> Single Shot. You might want to give it a try.
>>>>
>>>>   https://patchwork.kernel.org/patch/10668803/
>>>>
>>>> baruch
>>>>
>>>> On Mon, Nov 05, 2018 at 06:58:01AM -0400, alpha_one_x86 wrote:
>>>>> No, the config was
>>>>>
>>>>> CONFIG_SFP=y
>>>>>
>>>>> but I continue to have the bug.
>>>>>
>>>>> 1G module into SFP port *not* work.
>>>>>
>>>>> 10G module into SFP+ port work.
>>>>>
>>>>> Cheers,
>>>>>
>>>>>
>>>>> On 11/05/18 04:28, Baruch Siach wrote:
>>>>>> So all is OK now, right?
>>>>>>
>>>>>> Are you using a 1G or a 10G module?
>>>>>>
>>>>>> baruch
>>>>>>
>>>>>> On Sun, Nov 04, 2018 at 08:04:08AM -0400, alpha_one_x86 wrote:
>>>>>>> The CONFIG_SFP is enabled and eth0 SFP+ with 10G transceiver is working.
>>>>>>>
>>>>>>> Checked via:
>>>>>>>
>>>>>>> zcat /proc/config.gz | grep CONFIG_SFP
>>>>>>> CONFIG_SFP=y
>>>>>>>
>>>>>>> Cheers,
>>>>>>>
>>>>>>> On 11/04/18 07:46, Baruch Siach wrote:
>>>>>>>> alpha_one_x86 writes:
>>>>>>>>> For now I run with this kernel without problem.
>>>>>>>>>> Do you see your SFP module detected?
>>>>>>>>>>
>>>>>>>>>> Please send your full kernel log.
>>>>>>>>> How I see this?
>>>>>>>> You should see messages with the sfp-ethX: prefix.
>>>>>>>>
>>>>>>>>> See the attached file
>>>>>>>> Your kernel log indicates that you don't enable CONFIG_SFP.
>>>>>>>>
>>>>>>>>>>> I try do work:
>>>>>>>>>>>
>>>>>>>>>>> https://www.fs.com/products/48929.html Cisco GLC-LH-SM-20 Compatible
>>>>>>>>>>> 1000BASE-LX/LH SFP 1310nm 20km DOM Transceiver Module
>>>>>>>>>>>
>>>>>>>>>>> But failed, maybe not dynamically down to 1G.
>>>>>>>>>> Recent mainline kernel can configure Ethernet port speed dynamically. I
>>>>>>>>>> tested it here with 1G optic modules. The trouble is that SFP
>>>>>>>>>> configuration is not always correct.
>>>>>>>>>>
>>>>>>>>> Can you send me more tips to have more info about this please?
>>>>>>>>> And how see the SFP info as Db, power, ...?
>>>>>>>> The ethtool -m command print provide the decoded information from the
>>>>>>>> SFP module EEPROM, once you enable CONFIG_SFP.
>>>>>>>>
>>>>>>>> baruch


-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -



More information about the Macchiato mailing list