DPAA Ethernet traffice troubles with Linux kernel

mad skateman madskateman at gmail.com
Thu Feb 8 08:00:45 AEDT 2018


Hi,

I just found out that something goes wrong within the ARP table (well thats
what i think). I hope someone has a clue..

When i bootup the AmigaOne X5000 with the Ethernet cable connected, it just
never senses the presence of the UTP cable.
I must run the following command as root: mii-tool -R eth0 ... it Resets
the transceiver and the ethernet connection is ready to go.
But then... it randomly dies....

After some digging i found that in a working situation the ARP table is
filled with the correct info. Router address, and corresponding MAC, C mask
and Interface.

(Working)
skateman at X5000LNX:~$ arp -n
Address                  HWtype  HWaddress           Flags Mask
Iface
192.168.22.66            ether   08:5b:0e:fd:db:6a   C
eth0

No more traffic..it just suddenly dies...
skateman at X5000LNX:~$ ping www.google.com
ping: unknown host www.google.com

Rechecked the ARP... and found out it has lost the necessary info.
skateman at X5000LNX:~$ arp -n
Address                  HWtype  HWaddress           Flags Mask
Iface
192.168.22.66                    (incomplete)
eth0

Anyone??? :-)


On Tue, Feb 6, 2018 at 12:20 PM, Christian Zigotzky <chzigotzky at xenosoft.de>
wrote:

> Hello,
>
> I have tried to figure out why there is a problem with the buffer space
> but unfortunately without any success. Any ideas? Could you please watch
> Skateman's video? [1]
>
> Thanks,
> Christian
>
> [1] https://drive.google.com/file/d/18RhksfcavRJPr86asQDTzrmsN20D0Xim/view
>
>
> On 03 February 2018 at 12:54PM, mad skateman wrote:
> >
> > For those interested... i have recorded a video of my X5000 DPAA
> Ethernet, and the weird problems..
> > In this Video i am also transfering hundereds of megabytes from my NAS
> to the X5000.
> > You will also see pings die... mostly after the 12th packet and giving
> the no buffer space error..
> > Hopefully someone might have a clue about what is happening.
> >
> > https://drive.google.com/file/d/18RhksfcavRJPr86asQDTzrmsN20D0Xim/view
> >
> > On Wed, Jan 17, 2018 at 3:43 PM, Madalin-cristian Bucur <
> madalin.bucur at nxp.com> wrote:
> >
> >     > -----Original Message-----
> >     > From: Madalin-cristian Bucur
> >     > Sent: Wednesday, January 17, 2018 4:25 PM
> >     > To: David S . Miller <davem at davemloft.net>
> >     > Cc: linuxppc-dev at lists.ozlabs.org; netdev at vger.kernel.org;
> >     > madskateman at gmail.com; 'Madalin-cristian Bucur' <
> madalin.bucur at nxp.com>;
> >     > Andrew Lunn <andrew at lunn.ch>; Joakim Tjernlund
> >     > <Joakim.Tjernlund at infinera.com>
> >     > Subject: RE: DPAA Ethernet traffice troubles with Linux kernel
> >     >
> >     > > -----Original Message-----
> >     > > From: netdev-owner at vger.kernel.org [mailto:
> netdev-owner at vger.kernel.org]
> >     > > On Behalf Of Madalin-cristian Bucur
> >     > > Sent: Wednesday, January 17, 2018 4:16 PM
> >     > > To: Andrew Lunn <andrew at lunn.ch>; Joakim Tjernlund
> >     > > <Joakim.Tjernlund at infinera.com>
> >     > > Cc: linuxppc-dev at lists.ozlabs.org; netdev at vger.kernel.org;
> >     > > madskateman at gmail.com; David S . Miller <davem at davemloft.net>
> >     > > Subject: RE: DPAA Ethernet traffice troubles with Linux kernel
> >     > >
> >     > > > -----Original Message-----
> >     > > > From: Andrew Lunn [mailto:andrew at lunn.ch]
> >     > > > Sent: Wednesday, January 17, 2018 3:44 PM
> >     > > > To: Joakim Tjernlund <Joakim.Tjernlund at infinera.com>
> >     > > > Subject: Re: DPAA Ethernet traffice troubles with Linux kernel
> >     > > >
> >     > > > > That doesn't work really, having users to hit the bug, debug
> it, fix
> >     > > it
> >     > > > and then
> >     > > > > find it fixed already in upstream, then specifically request
> it to
> >     > be
> >     > > > backported to stable.
> >     > > > > I don't need this fix to be backported, already got it.
> Someone else
> >     > > > might though.
> >     > > >
> >     > > > The "someone else might though" is a big point of asking for
> it to
> >     > > > added to stable. The other reason is it means one less patch
> you need
> >     > > > to maintain in your build.
> >     > >
> >     > > I've sent that patch [1] for net but I guess the timing was
> wrong and
> >     > > it was merged to net-next.
> >     > >
> >     > > > > I would be interested in bug fixes upstream which fixes:
> >     > > >
> >     > > > Did you try upstream? Does it give the same errors?
> >     > > >
> >     > > >     Andrew
> >     > >
> >     > > [1] https://patchwork.kernel.org/patch/10146119/
> >     > >
> >     > > Madalin
> >     >
> >     > Hi Dave,
> >     >
> >     > Can you please add the fix [1] to stable?
> >     >
> >     > Thank you,
> >     > Madalin
> >
> >     Sorry,
> >
> >     I've provided the wrong link towards the patch (v1 instead of v3),
> >     here's the correct one:
> >
> >     https://patchwork.kernel.org/patch/10151969/
> >
> >     Madalin
> >
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20180207/890b2693/attachment-0001.html>


More information about the Linuxppc-dev mailing list