lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 9 Aug 2021 09:28:13 -0700
From:   Dario Alcocer <dalcocer@...ixd.com>
To:     Andrew Lunn <andrew@...n.ch>
Cc:     netdev@...r.kernel.org
Subject: Re: Marvell switch port shows LOWERLAYERDOWN, ping fails

On 8/7/21 11:57 AM, Andrew Lunn wrote:
> On Fri, Aug 06, 2021 at 04:46:08PM -0700, Dario Alcocer wrote:
>> Any ideas on how to get ICMP working, using the DSA single-port
>> configuration example, are welcome.
> 
> Take a look at the port statistics. ethtool -S lan1 ? Do the counters
> show the packets being sent out? They are probably broadcast packets,
> ARP, not unicast ICMP.
> 
> Also ethtool -S eth0
> 
> At the end of the list, you see statistics for the CPU port.
> 
>     Andrew
> 

Andrew,

Well, I discovered that what I thought was physically lan1 was actually 
lan4, just as you had mentioned in an earlier message. :-)

The ping test is working now with the lan4 link peer.

However, I did notice something interesting in the output from 
mv88e6xxx_dump for the DSA ports. Apparently, the SERDES link between 
the two switch chips is not passing traffic, since no frames are 
received by either chip (note the "RX frame count" values below.) 
Interestingly, both DSA ports report link is up, but that may be because :

root@...i:~# mv88e6xxx_dump --port 4 --device mdio_bus/stmmac-0:1a
00 Port status                            0x1e0f
       Pause Enabled                        0
       My Pause                             0
       802.3 PHY Detected                   1
       Link Status                          Up
       Duplex                               Full
       Speed                                1000 Mbps
       EEE Enabled                          0
       Transmitter Paused                   0
       Flow Control                         0
       Config Mode                          0xf
01 Physical control                       0x003e
       RGMII Receive Timing Control         Default
       RGMII Transmit Timing Control        Default
       200 BASE Mode                        100
       Flow Control's Forced value          0
       Force Flow Control                   0
       Link's Forced value                  Up
       Force Link                           1
       Duplex's Forced value                Full
       Force Duplex                         1
       Force Speed                          1000 Mbps
...
04 Port control                           0x053f
       Source Address Filtering controls    Disabled
       Egress Mode                          Unmodified
       Ingress & Egress Header Mode         0
       IGMP and MLD Snooping                1
       Frame Mode                           DSA
...
13 RX frame count                         0x0000
...
root@...i:~# mv88e6xxx_dump --port 4 --device mdio_bus/stmmac-0:1e
00 Port status                            0x1e0f
       Pause Enabled                        0
       My Pause                             0
       802.3 PHY Detected                   1
       Link Status                          Up
       Duplex                               Full
       Speed                                1000 Mbps
       EEE Enabled                          0
       Transmitter Paused                   0
       Flow Control                         0
       Config Mode                          0xf
01 Physical control                       0x003e
       RGMII Receive Timing Control         Default
       RGMII Transmit Timing Control        Default
       200 BASE Mode                        100
       Flow Control's Forced value          0
       Force Flow Control                   0
       Link's Forced value                  Up
       Force Link                           1
       Duplex's Forced value                Full
       Force Duplex                         1
       Force Speed                          1000 Mbps
...
04 Port control                           0x053f
       Source Address Filtering controls    Disabled
       Egress Mode                          Unmodified
       Ingress & Egress Header Mode         0
       IGMP and MLD Snooping                1
       Frame Mode                           DSA
...
13 RX frame count                         0x0000
...

This probably explains why the none of the ports on the first chip 
(lan1, lan2, and lan3) work when running the ping test.

I will need to check with the hardware folks. The schematic indicates 
some DNP parts that may, in fact, have not been installed. ;-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ