[LinuxPPS] LinuxPPS + kernel 2.6.34 = ok

Udo van den Heuvel udovdh at xs4all.nl
Mon May 24 13:32:29 CEST 2010


On 2010-05-24 13:27, Rodolfo Giometti wrote:
> On Mon, May 24, 2010 at 01:18:51PM +0200, Udo van den Heuvel wrote:
>>
>>>> How to investigate further?
>>>
>>> You should see into your serial driver when it calls dcd_change method
>>> (see serial_core.c).
>>
>> PPS_DEBUG is not enough?
> 
> No.

Hmm. :-(

xt_lscan: Warning: Pure RST received
PPS event on source 0 at 1274700678.1616193
capture assert seq #29 for source 0
PPS assert at 4294927927 on source #0
PPS event on source 0 at 1274700678.201625872
capture clear seq #29 for source 0
PPS clear at 4294927977 on source #0
[STSCAN] IN=ppp0 OUT= MAC= SRC=144.131.74.248 DST=80.101.128.228 LEN=52
TOS=0x00 PREC=0x00 TTL=112 ID=27080 DF PROTO=TCP SPT=16109 DPT=42074
WINDOW=68 RES=0x00 ACK FIN URGP=0
PPS event on source 0 at 1274700679.1639855
capture assert seq #30 for source 0
PPS assert at 4294928177 on source #0
PPS event on source 0 at 1274700679.201636878
capture clear seq #30 for source 0
PPS clear at 4294928227 on source #0
[STSCAN] IN=ppp0 OUT= MAC= SRC=144.131.74.248 DST=80.101.128.228 LEN=52
TOS=0x00 PREC=0x00 TTL=112 ID=27115 DF PROTO=TCP SPT=16109 DPT=42074
WINDOW=68 RES=0x00 ACK FIN URGP=0
PPS_FETCH: source 0
timeout 0.000000000
PPS event on source 0 at 1274700680.1629493
capture assert seq #31 for source 0
PPS assert at 4294928427 on source #0
PPS event on source 0 at 1274700680.201624281
capture clear seq #31 for source 0
PPS clear at 4294928477 on source #0
PPS_SETPARAMS: source 0
PPS_FETCH: source 0
timeout 0.000000000
[STSCAN] IN=ppp0 OUT= MAC= SRC=144.131.74.248 DST=80.101.128.228 LEN=52
TOS=0x00 PREC=0x00 TTL=112 ID=27198 DF PROTO=TCP SPT=16109 DPT=42074
WINDOW=68 RES=0x00 ACK FIN URGP=0
PPS event on source 0 at 1274700681.1617325
capture assert seq #32 for source 0
PPS assert at 4294928677 on source #0
PPS event on source 0 at 1274700681.201604326
PPS clear at 4294928727 on source #0
PPS_FETCH: source 0
timeout 0.000000000
PPS event on source 0 at 1274700682.1603696
capture assert seq #33 for source 0
PPS assert at 4294928927 on source #0
PPS event on source 0 at 1274700682.201594186
PPS clear at 4294928977 on source #0
PPS_FETCH: source 0
timeout 0.000000000
PPS event on source 0 at 1274700683.1592292
capture assert seq #34 for source 0
PPS assert at 4294929177 on source #0
INVALID: IN=ppp0 OUT= MAC= SRC=84.215.115.106 DST=80.101.128.228 LEN=56
TOS=0x00 PREC=0x00 TTL=15 ID=48587 PROTO=ICMP TYPE=3 CODE=0
[SRC=84.215.115.106 DST=84.215.115.106 LEN=17921 TOS=0x00 PREC=0x00
TTL=53 ID=0 DF PROTO=UDP SPT=6881 DPT=58290 LEN=306 ]
PPS event on source 0 at 1274700683.201586505
PPS clear at 4294929227 on source #0
PPS_FETCH: source 0
timeout 0.000000000
PPS event on source 0 at 1274700684.1577364
capture assert seq #35 for source 0
PPS assert at 4294929427 on source #0
[STSCAN] IN=ppp0 OUT= MAC= SRC=144.131.74.248 DST=80.101.128.228 LEN=52
TOS=0x00 PREC=0x00 TTL=112 ID=27419 DF PROTO=TCP SPT=16109 DPT=42074
WINDOW=68 RES=0x00 ACK FIN URGP=0
PPS event on source 0 at 1274700684.201576016
PPS clear at 4294929477 on source #0
[STSCAN] IN=ppp0 OUT= MAC= SRC=208.101.126.19 DST=80.101.128.228 LEN=249
TOS=0x00 PREC=0x00 TTL=115 ID=11664 DF PROTO=TCP SPT=13904 DPT=42613
WINDOW=67 RES=0x00 ACK PSH FIN URGP=0
PPS_FETCH: source 0
timeout 0.000000000
PPS event on source 0 at 1274700685.1563593
capture assert seq #36 for source 0
PPS assert at 4294929677 on source #0
PPS event on source 0 at 1274700685.201561411
PPS clear at 4294929727 on source #0
PPS_FETCH: source 0
timeout 0.000000000
PPS event on source 0 at 1274700686.1551789
capture assert seq #37 for source 0
PPS assert at 4294929927 on source #0
PPS event on source 0 at 1274700686.201550872
PPS clear at 4294929977 on source #0
PPS_FETCH: source 0
timeout 0.000000000
PPS event on source 0 at 1274700687.1537908
capture assert seq #38 for source 0
PPS assert at 4294930177 on source #0
PPS event on source 0 at 1274700687.201532481
PPS clear at 4294930227 on source #0
PPS_FETCH: source 0
timeout 0.000000000
PPS event on source 0 at 1274700688.1523740
capture assert seq #39 for source 0
PPS assert at 4294930427 on source #0
PPS event on source 0 at 1274700688.201519319
PPS clear at 4294930477 on source #0
PPS_FETCH: source 0
timeout 0.000000000
[STSCAN] IN=ppp0 OUT= MAC= SRC=80.61.208.136 DST=80.101.128.228 LEN=159
TOS=0x08 PREC=0x00 TTL=121 ID=6510 PROTO=TCP SPT=59857 DPT=6881
WINDOW=65392 RES=0x00 ACK PSH FIN URGP=0
PPS event on source 0 at 1274700689.1512756
capture assert seq #40 for source 0
PPS assert at 4294930677 on source #0
PPS event on source 0 at 1274700689.201510392
PPS clear at 4294930727 on source #0
PPS_FETCH: source 0
timeout 0.000000000
PPS event on source 0 at 1274700690.1500992
capture assert seq #41 for source 0
PPS assert at 4294930927 on source #0
PPS event on source 0 at 1274700690.201497021
PPS clear at 4294930977 on source #0
[STSCAN] IN=ppp0 OUT= MAC= SRC=144.131.74.248 DST=80.101.128.228 LEN=52
TOS=0x00 PREC=0x00 TTL=112 ID=27998 DF PROTO=TCP SPT=16109 DPT=42074
WINDOW=68 RES=0x00 ACK FIN URGP=0
PPS_FETCH: source 0
timeout 0.000000000
PPS event on source 0 at 1274700691.1484931
capture assert seq #42 for source 0
PPS assert at 4294931177 on source #0
PPS event on source 0 at 1274700691.201483071
PPS clear at 4294931227 on source #0
PPS_FETCH: source 0
timeout 0.000000000


> 
>> I'll have a look at 8250.c.
> 
> And serial_core.[ch].

Interesting. :-(

Udo



More information about the LinuxPPS mailing list