[LinuxPPS] ldattach + Debian Lenny - Epilogue

Rodolfo Giometti giometti at enneenne.com
Tue Jun 9 09:23:18 CEST 2009


On Mon, Jun 08, 2009 at 04:53:16PM +0200, Udo van den Heuvel wrote:
> Felix Joussein wrote:
>> Regarding the "not working" ldattach:
>> I think, I have not clearly said, what I meant, so here an other try:
>>
>> Using Kernel 2.6.30-rc5 + ntp-pps-v2.6.30-rc5-bis.diff:
>>
>> ldattach 18 /dev/ttyS0 creates /dev/pps0
>> ppstest does not retrieve any data, and the files "assert" and "clear"
>> don't increase.... standing still - both 0.00000000#0.
>>
>> Using Kernel  2.6.28 + ntp-pps-2.6.28-rc6-bis.diff:
>> ppsldisc /dev/ttyS0 creates /dev/pps0
>> ppstest works fine but ntp sync takes an eternity.
>
> The sync time might be due to bad parameter in the kernel, patch was 
> discussed on this list. Maybe 2.6.30? (anyone?)
>
>> And here is the bug surprise:    ldattach also works!
>>
>> Where else is the error? What causes the malfunction?

After doing ldattach can you see serial interrupts? Please, enable
debugging messages and check file /proc/interrupts in order to see if
serial interrupts are arriving.

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail: giometti at enneenne.com
Linux Device Driver                          giometti at linux.it
Embedded Systems                     phone:  +39 349 2432127
UNIX programming                     skype:  rodolfo.giometti



More information about the LinuxPPS mailing list