Problem of ethernet connection with some ethernet switch

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem of ethernet connection with some ethernet switch

1,140 Views
LéoEaton
Contributor I

Hi,

We are using an Imx6 DL card on which we run a linux kernel 4.19.288.

We encounter a problem when we try to go through a 16 ports ethernet switch (NetGear JGS516) the connection is not even detected (no leds on) just like nothing was connected. The same card on a 5 or 8 ports switch (GS 105 for example) works perfectly. Those switches are non programmable switches and the datasheets accept the same cables, same protocols and same speed.

The 16 ports switch works perfectly with other systems and devices. 

I give you also the settings of my network obtained with the ethtool command on linux:

Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 7
Transceiver: external
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Link detected: yes

Besides the maximum speed is indicated in my kernel device-tree and set to 100Mb/s.

I have read on your forum that I seem not to be the only one concerned by this problem but I couldn't find any solutions.  

 

Could it be a power supply problem ? Or is there a setting to change I miss ? 

0 Kudos
14 Replies

793 Views
LéoEaton
Contributor I

Hello,

I shared with you the schematic as I understood your question by e-mail. Did you receive it ? 

Regards,

0 Kudos

786 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @LéoEaton,

I hope you are doing well.

Thanks for the device tree, I checked it, and It appears okay.
Can you share the connection diagram as well as the schematic for both failed and non-failed cases?

It will help us to narrow down the issue.

Thanks & Regards,
Sanket Parekh

0 Kudos

1,090 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @LéoEaton,

I hope you are doing well.

Please share the dmesg logs to debug the issue with the help of the error logs.
Please make sure to check whether the auto-negotiation is disabled or not.
Please make sure to check the power supply is well-established.
Please check that there are no hardware damages.

Thanks & Regards,
Sanket Parekh

0 Kudos

1,030 Views
LéoEaton
Contributor I

I sent you an email with the dmesg logs did you receive it ?  

0 Kudos

1,017 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @LéoEaton,

I hope you are doing well.

3) As I showed you the output of the ethtool command, I see that auto-negotiation is on, if there is another way to confirm that please let me know
->Well one can see the output of the below given command to check the auto-negotiation-related details.
ethtool <eth0>

->One can identify the below things.
Supports auto-negotiation: Yes
Advertised auto-negotiation: Yes

Can you check by trying the below-given solution below in the link provided?
https://access.redhat.com/solutions/20057

Meantime I will try to narrow down the issue and will share If I find any.

Thanks & Regards,
Sanket Parekh

0 Kudos

989 Views
LéoEaton
Contributor I

Hello,
Thank you for your replies.
I've tried the solution you sent me, meaning modifying the ssh_config file by adding the line

GSSAPIAuthentication yes

But unfortunatly it still doesn't work. 
Just to be sure the problem is well understood. The Imx6 is connected to the Ethernet switch by a simple Ethernet cable and it is the only cable connected to the switch. I don't think there is any key verification in this case as it not even recongnized by the switch (no led of presence nor speed). Every other devices I've tested are at least detected by the switch. The Imx6 is detected by smaller switches (5 or 8 ports) but not by this 16 ports switch.

0 Kudos

979 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @LéoEaton,

I hope you are doing well.

I have a few queries to ask, Please find them below.

Have you checked the same using the latest BSP as it offers the latest drivers and firmware to work with, I suggest you please check it.
Please also share the device tree file to cross-check.

Thanks & Regards,
Sanket Parekh

0 Kudos

971 Views
LéoEaton
Contributor I

Hi,


I sent you an email with device tree files asked.

Best regards,

0 Kudos

959 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @LéoEaton,

I hope you are doing well.

Thanks for the device tree, I checked it, and It seems okay.
Can you share the connection diagram as well as the schematic for both failed and non-failed cases?
It will help us to narrow down the issue.

Thanks & Regards,
Sanket Parekh

0 Kudos

631 Views
LéoEaton
Contributor I

Hi,

For the schematic I'm not sure what you expect from me but I will try :

 

The following "schematic" doesn't work, the switch is not detecting the ethernet connection, just like the ethernet cable was not connected to the Imx6 :

Imx6 ==Ethernet cable==> Switch netgear JGS516 (16 ports)

 

The folowing "schematics" does work and the ethernet connection is established :

Imx6 == Ethernet cable ==> Switch netgear GS105 (5 ports)

Imx6 == Ethernet cable ==> Switch netgear GS105 (5 ports) ==Ethernet cable==> Switch netgear JGS516 (16 ports)

0 Kudos

584 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @LéoEaton,

I hope you are doing well.

"For the schematic, I'm not sure what you expect from me but I will try:"
->No problem, I am sharing one example of a basic schematic with you for your reference, taking a reference from that you can have an idea regarding the schematic that is being used that may cause the problem, so one can share it with me to debug the issue further,

https://www.nxp.com/downloads/en/bsdl/IMX8MMINI-BSDL.bsdl

https://www.nxp.com/webapp/Download?colCode=8MMINILPD4-EVK-DESIGNFILES

 

I hope this helps!

Thanks & Regards,
Sanket Parekh

0 Kudos

935 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @LéoEaton,

I hope you are doing well.

Any updates from your side?

 

Thanks & Regards,
Sanket Parekh

0 Kudos

905 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @LéoEaton,

Any updates from your side?

Thanks & Regards,
Sanket Parekh

0 Kudos

740 Views
LéoEaton
Contributor I

Hello,

I shared with you the schematic as I understood your question by e-mail. Did you receive it ? 

Regards,

0 Kudos