[LinuxPPS] Which patch to use?

Udo van den Heuvel udovdh at xs4all.nl
Sun May 11 08:18:55 CEST 2008


Jordan Hayes wrote:
>>> I'm running stock Debian with a 2.6.18 kernel.
>>
>> Please upgrade. 2.6.25.x?
> 
> "apt-get upgrade" doesn't change this :-)

lynx www.kernel.org

>> Use ppsctl (see the Documentation dir for pps) or a patched setserial
>> (see the wiki) to enable PPS.
> 
> Ok, that seems to work, but:
> 
> # ./ppstest /dev/pps0
> trying PPS source "/dev/pps0"
> found PPS source "/dev/pps0"
> ok, found 1 source(s), now start fetching data...
> time_pps_fetch() error -1 (Connection timed out)
> time_pps_fetch() error -1 (Connection timed out)
> time_pps_fetch() error -1 (Connection timed out)
> time_pps_fetch() error -1 (Connection timed out)
> time_pps_fetch() error -1 (Connection timed out)
> time_pps_fetch() error -1 (Connection timed out)
> 
> But you're saying I should use -ter instead of the other patch?

-ter is the most recent one, yes.

> Ok, the compile takes about 7 hours on my machine ...

7!?
A p60 with 32 megs?
At least it is a partial compile since not all files change.
Just remove the older patch and then apply -ter.

patch -p1 -R < ../file-old.patch
and then
patch -p1 < ../file-ter.patch

or similar.


Udo



More information about the LinuxPPS mailing list