LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 10-21-2007, 05:05 AM   #1
murgi
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
URGENT- NTP not using PPS


I am using
Kernel :2.6.23rc2
PPS patch: ntp -pps-2.6.23rc2.diff
NTP version: ntp-4.2.4P4

I have enabled PPS support as a module.Under this I have selected PPS debugging message,UART serial support.

I am using GPS Receiver TRIMBLE ACE 3 .
PPS from GPS receiver is fed to MAX232 and output of MAX232 is fed to DCD pin of serial port.The serial port I have used is ttys3.



The relevant part of my ntp.conf is

-------------------------------------------------------------

enable stats

statsdir /var/log

statics loopstats

logconfig = all
server 127.127.8.3 mode 138 prefer iburst
fudge 127.127.8.3 refid TSIP flag3 1 flag2 0 time1 0.042



server 127.127.1.0

fudge 127.127.1.0 stratum 10

-------------------------------------------------------------


These are the results after about half an hour:

-------------------------------------------------------------

ntpq -p


remote refid st t when poll reach delay offset jitter
xGENERIC(3) .TSIP. 0 1 39 64 377 0.000 -35.67 35.234

LOCAL(0) LOCAL(0) 1 20 64 377 0.000 0.000 0.004



-------------------------------------------------------------

ntptime


ntp_gettime() returns code 0 (OK)
time CAC57B62.7EC56000,SUN, Oct 21 2007 12:56:43.265, (.265534),
maximum error 1061671us, estimated error 2us
ntp_adjtime() returns code 0 (OK)
modes 0x0 (),
offset 0.000 us, frequency -0.000 ppm, interval 1 s,
maximum error 1121063 us, estimated error 2 us,
status 0x1 (PLL),
time constant 6, precision 1.000 us, tolerance 512 ppm,

------------------------------------------------------------

Information for generic driver is coming in log file.But no info regarding PPS is coming in log file.

But if I am runing the ppstest file I can see PPS data.



What could be the possible reason for PPS not being used?

Please feel free to ask if any more details is required...
 
Old 10-21-2007, 06:53 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Please do not mark threads as urgent. it is not urgent for the members of lq.org who kindly donate their time to help others. Additionally please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
boot sector and lilo collapse !!!!! URGENT URGENT URGEN !!!!! frelihm Linux - Software 21 12-02-2009 10:21 AM
Microsecond Precision From Garmin 18 LVC GPS unit with PPS Signal And NTP AwesomeMachine LinuxAnswers Discussion 1 08-16-2007 07:32 AM
OpenOffice Impress and PPS the_kid Linux - Software 0 04-26-2007 12:25 PM
NTP cannot work with timeserver, NTP-d can jerryvapps Linux - Networking 0 08-04-2004 02:04 PM
NTP cannot use server, NTP -d can jerryvapps Linux - Newbie 0 07-28-2004 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration