[LinuxPPS] Re: Can't configure multiple pps sources in ntpd
Rodolfo Giometti
giometti at linux.it
Mon Oct 23 01:01:26 CEST 2006
On Sun, Oct 22, 2006 at 06:53:58PM -0400, linux at horizon.com wrote:
> > Please, try this patch:
>
> Yes, that also solves the first problem, and much more simply. It doesn't
Great.
> solve the second one, however, so I still have only one PPS source:
>
> 22:51:34.634065 socket(PF_NETLINK, SOCK_RAW, 17) = 8
> 22:51:34.634208 bind(8, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
> 22:51:34.634334 sendmsg(8, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\264\0\0\0\0\0\0\0\0\0\0\0\220K\0\0\10\0\0\0\0\0\0\0\364\337\2P\300\364\2P\20$\255\257\254#\255\257?\210\366O\300\364\2P0\0\0\0\364\337\2P\354#\255\257\20$\255\257\326J\366O\202:\373O0\0\0\0\354#\255\257\240\37\255\257\264\37\255\257\300\364\2P9\0"..., 180}], msg_controllen=0, msg_flags=0}, 0) = 180
> 22:51:34.634678 recvmsg(8, 0xafad226c, 0) = ? ERESTARTSYS (To be restarted)
> 22:51:35.560748 --- SIGALRM (Alarm clock) @ 0 (0) ---
> 22:51:35.560852 sigreturn() = ? (mask now [])
> 22:51:35.561030 close(8) = 0
> 22:51:35.561208 time([1161557495]) = 1161557495
> 22:51:35.561362 send(3, "<27>Oct 22 22:51:35 ntpd[19344]: refclock: no available PPS source in the system", 80, MSG_NOSIGNAL) = 80
This is your «second» problem? What do you get if try reading file
/proc/pps/sources?
Ciao,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti at enneenne.com
Linux Device Driver giometti at gnudd.com
Embedded Systems giometti at linux.it
UNIX programming phone: +39 349 2432127
More information about the LinuxPPS
mailing list