Sorry I missed the part where it is stated that you are using ZyncMP and that 
supports timestamping. So, disregard the below message.

-Vedang

On 2/27/19, 2:23 PM, "Patel, Vedang" <[email protected]> wrote:

    
    
    On 2/27/19, 2:20 PM, "Keller, Jacob E" <[email protected]> wrote:
    
        > -----Original Message-----
        > From: Paul Thomas [mailto:[email protected]]
        > Sent: Wednesday, February 27, 2019 2:06 PM
        > To: [email protected]
        > Subject: [Linuxptp-devel] strangeness
        
        > Using gdb I was able to narrow this down to the ioctl(fd,
        > SIOCSHWTSTAMP, &ifreq); on line 88 of sk.c. When single stepping with
        > gdb before this line ssh still works fine, after this it is broken
        > until a reboot.
        > 
        
        This sounds very suspicious of a driver bug in the driver's 
SIOCHWTSTAMP handler.
        
        > So tomorrow I was planning to try and create a standalone testcase
        > with the ioctl() and then try to map that in the kernel driver some. I
        > thought I would go ahead and post this in case anyone else had any
        > thoughts.
        > 
        > HW/SW setup:
        > This is on an arm64 system (xilinx zynqmp) using the macb ethernet 
driver:
        > 
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841740/Macb+Driver
        > 
        
        I would think the best bet is to investigate the macb ethernet driver 
and see what it does, and if anything looks like it would break SSH connections.
    
    Also, in the "missing features" section of the above link, I see: 
    * No IEEE 1588 support for Zynq as the timestamp implementation in IP is 
not accurate enough.
    
    This makes me think that timestamping is not supported and the ioctl 
corresponding to that is not handled properly in the driver.
    
    Thanks,
    Vedang
    
        
        Thanks,
        Jake
        
        
        _______________________________________________
        Linuxptp-devel mailing list
        [email protected]
        https://lists.sourceforge.net/lists/listinfo/linuxptp-devel
        
    
    


_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to