Hi Guys,

Thanks a lot for the tips. I stopped the network manager and everything
worked fine.

I am also copying some notes I took as a part of learning from this bug.
Since these emails are archived, I thought it might help someone else
having this issue.



Network Manager issues:

The server network manager started doing weird things and was messing up
the SFP connection to the USRP. It is recommended that the network manager
is disabled on the server - else it can potentially interrupt your testing.

Details:

One symptom: SFP connection was going down and coming up every 45 seconds
for eg. It would be down for a second and come back up. Therefore say if I
was collecting data onto a file for 60 seconds, data collection would stop.
This is detrimental to our testing.

How do we know that the connection is down: when you have a serial
connection on to the USRP and have a screen session in place, error
messages are displayed onto the screen/terminal. This displays if the
connection is up or down.

Exact command used:

   1.

   To stop network manager: sudo service network-manager stop
   2.

   sudo ifconfig eth0 down (eth0 is a placeholder for the network you are
   referring to)
   3.

   setting IP via ifconfig utility. sudo ifconfig eth0 [static IP address:
   say 192.168.6.10] netmask [netmask - typically 255.255.255.0] up
   4.

   ifconfig etho - check IP, netmask and gateway are all set correctly (GW
   should be something like 192.168.6.1. If not set gateway explicitly via
   ifconfig)

The network manager might come back up on a reboot. You will have to issue
the command on every reboot or check for other methods online for a
persistent setting.
Regards
Venkatesh

On Thu, Sep 3, 2020 at 12:41 PM Venkatesh Sathyanarayanan <
[email protected]> wrote:

> Thanks a lot Michael and cedric for taking time to answer my questions.. I
> will try to stop the network manager and see if that helps.
>
> Regards
> Venkatesh
>
> On Thursday, September 3, 2020, Michael Dickens <[email protected]>
> wrote:
>
>> In my experience, this happens when the networking isn't stable, which
>> can be for all sorts of reasons:
>>
>> * connectors / cables are flaky;
>>
>> * host SW configuration isn't quite correct;
>>
>> * actual NIC has issues, HW or FW / configuration;
>>
>> * USRP NIC has issues ... very rare, but it can happen;
>>
>> * USRP FPGA has issues ... again rare, but it can happen;
>>
>> * USRP filesystem has issues ... could be the FS itself, or
>> configuration ... this happens sometimes & is usually resolved by
>> overwriting the whole SDcard filesystem & starting from "go" there.
>>
>> If you're Linux has the network manager, that doesn't help things since
>> it thinks it knows better than you what to be doing.
>>
>> There is no "one size fits all" answer unfortunately; just investigate
>> the networking & make sure all of the parts are functional.
>>
>> Hope this is useful! - MLD
>>
>> On Thu, Sep 3, 2020 at 3:30 AM Cedric Roux via USRP-users <
>> [email protected]> wrote:
>>
>>> maybe network manager (if you have that thing running) on the
>>> computer doing funny things with the interface? I had this
>>> issue with some 4g dongles in the past.
>>>
>>> On 2020-09-03 01:01, Venkatesh Sathyanarayanan via USRP-users wrote:
>>> > Hi,
>>> >
>>> > Small correction:
>>> >
>>> > *Questions:*
>>> > I notice that the test stops when the link goes down every 45 seconds.
>>> > This happens for all types of tests(with and without GUI).
>>> > Kindly let me know how to debug this - i.e. why the link goes down
>>> every
>>> > 45 seconds?
>>> >
>>> > Regards
>>> > Venkatesh
>>> >
>>> > On Wed, Sep 2, 2020 at 3:10 PM Venkatesh Sathyanarayanan
>>> > <[email protected] <mailto:[email protected]>> wrote:
>>> >
>>> >     Hi,
>>> >
>>> >
>>> >     *Setup details:*
>>> >     I am using an USRP N310 and I have the host computer connected to
>>> >     the USRP via SFP cable. I additionally have a serial connection
>>> >     between the two and have a screen session running.
>>> >
>>> >     *Observation:*
>>> >     On the screen session, I noticed the following messages:
>>> >     [ 2151.041079] nixge 40000000.ethernet sfp0: Link is Up -
>>> >     10Gbps/Full - flow control off
>>> >     [ 2195.841088] nixge 40000000.ethernet sfp0: Link is Down
>>> >     [ 2196.961090] nixge 40000000.ethernet sfp0: Link is Up -
>>> >     10Gbps/Full - flow control off
>>> >     [ 2241.761098] nixge 40000000.ethernet sfp0: Link is Down
>>> >     [ 2242.881106] nixge 40000000.ethernet sfp0: Link is Up -
>>> >     10Gbps/Full - flow control off
>>> >     [ 2287.681109] nixge 40000000.ethernet sfp0: Link is Down
>>> >     [ 2288.801114] nixge 40000000.ethernet sfp0: Link is Up -
>>> >     10Gbps/Full - flow control off
>>> >     [ 2333.601129] nixge 40000000.ethernet sfp0: Link is Down
>>> >     [ 2334.721127] nixge 40000000.ethernet sfp0: Link is Up -
>>> >     10Gbps/Full - flow control off
>>> >     [ 2379.521132] nixge 40000000.ethernet sfp0: Link is Down
>>> >     [ 2380.641137] nixge 40000000.ethernet sfp0: Link is Up -
>>> >     10Gbps/Full - flow control off
>>> >     [ 2425.441143] nixge 40000000.ethernet sfp0: Link is Down
>>> >     [ 2426.561149] nixge 40000000.ethernet sfp0: Link is Up -
>>> >     10Gbps/Full - flow control off
>>> >     [ 2471.361159] nixge 40000000.ethernet sfp0: Link is Down
>>> >     [ 2472.481166] nixge 40000000.ethernet sfp0: Link is Up -
>>> >     10Gbps/Full - flow control off
>>> >     [ 2517.281166] nixge 40000000.ethernet sfp0: Link is Down
>>> >     [ 2518.401171] nixge 40000000.ethernet sfp0: Link is Up -
>>> >     10Gbps/Full - flow control off
>>> >
>>>  
>>> ..........................................................................................................................................................................
>>> >
>>>  
>>> ..........................................................................................................................................................................
>>> >
>>> >
>>>  
>>> ..........................................................................................................................................................................
>>> >
>>>  
>>> ..........................................................................................................................................................................
>>> >
>>> >     *Questions:*
>>> >     When I have a GNU radio GRC running with an active GUI displaying
>>> >     the spectrum, I see that it halts at the time when the link goes
>>> down.
>>> >     When I run a file with no GUI active - say IQ samples saved to a
>>> >     file, things running in the background and I do not see any
>>> >     interruption.
>>> >
>>> >      1. Kindly let me know why I am seeing this issue of link going
>>> down
>>> >         every 45 seconds and
>>> >      2. also if this could potentially affect my tests (all my tests
>>> are
>>> >         without any GUI.)
>>> >
>>> >
>>> >     Regards
>>> >     Venkatesh
>>> >
>>> >
>>> > _______________________________________________
>>> > USRP-users mailing list
>>> > [email protected]
>>> > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>>> >
>>>
>>> _______________________________________________
>>> USRP-users mailing list
>>> [email protected]
>>> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>>>
>>
_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to