From: David G. <dav...@po...> - 2013-08-11 22:21:57
|
Hi, I'm having trouble getting Linuxptp-1.3 to sync with my switch. switch: Netgear GS716Tv2 FW=5.4.1.13 with AVB (GS716TAV-10000S) license comp: Linux Mint 15 with Intel I210 NIC $ lspci |grep I210 02:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03) $ ethtool -T eth2 Time stamping parameters for eth2: Capabilities: hardware-transmit (SOF_TIMESTAMPING_TX_HARDWARE) hardware-receive (SOF_TIMESTAMPING_RX_HARDWARE) hardware-raw-clock (SOF_TIMESTAMPING_RAW_HARDWARE) PTP Hardware Clock: 0 Hardware Transmit Timestamp Modes: off (HWTSTAMP_TX_OFF) on (HWTSTAMP_TX_ON) Hardware Receive Filter Modes: none (HWTSTAMP_FILTER_NONE) all (HWTSTAMP_FILTER_ALL) $ lsmod |grep ptp ptp 18621 1 igb pps_core 14080 1 ptp =============== $ sudo ptp4l -mP2sl 7 -i eth2 ptp4l[162693.120]: selected /dev/ptp0 as PTP clock ptp4l[162693.121]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000 ptp4l[162693.139]: driver changed our HWTSTAMP options ptp4l[162693.139]: tx_type 1 not 1 ptp4l[162693.139]: rx_filter 1 not 12 ptp4l[162693.139]: port 1: INITIALIZING to LISTENING on INITIALIZE ptp4l[162693.139]: port 0: INITIALIZING to LISTENING on INITIALIZE ptp4l[162693.266]: port 1: setting asCapable ptp4l[162694.139]: port 1: delay timeout ptp4l[162695.139]: port 1: delay timeout ptp4l[162696.139]: port 1: delay timeout ptp4l[162697.139]: port 1: delay timeout ptp4l[162698.140]: port 1: delay timeout ptp4l[162699.139]: port 1: announce timeout ptp4l[162699.153]: driver changed our HWTSTAMP options ptp4l[162699.153]: tx_type 1 not 1 ptp4l[162699.153]: rx_filter 1 not 12 ptp4l[162699.153]: selected best master clock a0369f.fffe.1cdd3b ptp4l[162699.153]: port 1: delay timeout ptp4l[162700.153]: port 1: delay timeout ptp4l[162701.153]: port 1: delay timeout ptp4l[162702.153]: port 1: delay timeout ptp4l[162703.153]: port 1: delay timeout ptp4l[162704.153]: port 1: delay timeout ptp4l[162705.139]: port 1: announce timeout ptp4l[162705.156]: driver changed our HWTSTAMP options ptp4l[162705.156]: tx_type 1 not 1 ptp4l[162705.156]: rx_filter 1 not 12 ptp4l[162705.156]: selected best master clock a0369f.fffe.1cdd3b ptp4l[162705.156]: port 1: delay timeout ^Cptp4l[162705.651]: caught signal 2 The line 'ptp4l[162693.139]: rx_filter 1 not 12' I think means HWTSTAMP_FILTER_PTP_V2_L2_EVENT is not a capability. Wireshark shows the switch responding, but apparently ptp4l isn't hearing it. Help walk me through debugging this. Tnks. -- David Gravereaux <dav...@po...> |