Hi linuxptp users,

ptp4l code hangs when I run the master with sudo ./ptp4l -f
configs/default.cfg -i enp1s0 -2 -m.
I provided the information below.

sudo ./ptp4l -v
3.1-00193-g6bac465

*linux version*: 5.4.0-132-generic #148~18.04.1-Ubuntu SMP

*Crash dump:*
RIP: 0010:0x0
[  887.936559] Code: Bad RIP value.
[  887.936561] RSP: 0018:ffffb44f595a3db0 EFLAGS: 00010246
[  887.936563] RAX: 0000000000000000 RBX: ffffb44f595a3e30 RCX:
000000003b9ac9ff
[  887.936565] RDX: 0000000000000000 RSI: 0000000000000000 RDI:
ffff8ba9eeb949b0
[  887.936567] RBP: ffffb44f595a3dc8 R08: ffff8bb9f533ec38 R09:
0000000000000000
[  887.936568] R10: 0000000000000000 R11: 0000000000000000 R12:
ffff8ba9eeb18000
[  887.936570] R13: 0000000000000000 R14: 0000000000000000 R15:
0000000000000000
[  887.936572] FS:  00007fef83cb3b80(0000) GS:ffff8bbccf640000(0000)
knlGS:0000000000000000
[  887.936574] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  887.936576] CR2: ffffffffffffffd6 CR3: 0000001bcb794000 CR4:
0000000000340ee0
[  887.936577] Call Trace:
[  887.936584]  ptp_clock_adjtime+0xe1/0x110
[  887.936588]  pc_clock_adjtime+0x87/0xa0
[  887.936592]  do_clock_adjtime+0x43/0x70
[  887.936596]  __do_sys_clock_adjtime+0x46/0xa0
[  887.936601]  __x64_sys_clock_adjtime+0x16/0x20
[  887.936606]  do_syscall_64+0x57/0x190
[  887.936611]  entry_SYSCALL_64_after_hwframe+0x5c/0xc1
[  887.936613] RIP: 0033:0x7fef8301aee7
[  887.936616] Code: 73 01 c3 48 8b 0d a1 8f 2c 00 f7 d8 64 89 01 48 83 c8
ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 31 01 00 00 0f 05
<48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 71 8f 2c 00 f7 d8 64 89 01 48
[  887.936618] RSP: 002b:00007ffd0eaa0968 EFLAGS: 00000202 ORIG_RAX:
0000000000000131
[  887.936621] RAX: ffffffffffffffda RBX: 0000000000000000 RCX:
00007fef8301aee7
[  887.936622] RDX: 00007ffd0eaa0980 RSI: 00007ffd0eaa0980 RDI:
00000000ffffffdb
[  887.936623] RBP: 00007ffd0eaa0a60 R08: 0000000000000000 R09:
0000000000000000
[  887.936625] R10: 00007ffd0eaa0930 R11: 0000000000000202 R12:
000055af6926a740
[  887.936626] R13: 00007ffd0eaa0ca0 R14: 0000000000000000 R15:
0000000000000000


>From the dump logs, I find that it hangs in ptp_clock_adjtime function in
the kernel.

How to fix it? I guess this is not a driver issue.

Please let me know if any further information is required.

Thanks,
Aditya.

-- 


Disclaimer:- This footer text is to convey that this email is sent by one 
of the users of IITH. So, do not mark it as SPAM.
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to