lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070314141253.GM22464@csclub.uwaterloo.ca>
Date:	Wed, 14 Mar 2007 10:12:53 -0400
From:	lsorense@...lub.uwaterloo.ca (Lennart Sorensen)
To:	Rodolfo Giometti <giometti@...eenne.com>
Cc:	linux-kernel@...r.kernel.org, linuxpps@...enneenne.com,
	Russell King <rmk+lkml@....linux.org.uk>,
	Jan Dittmer <jdi@....org>, Pavel Machek <pavel@....cz>
Subject: Re: [PATCH 1/1] LinuxPPS: Pulse per Second support for Linux

On Wed, Mar 14, 2007 at 03:06:23PM +0100, Rodolfo Giometti wrote:
> Some fixes up... see the git log for further info.

I looked at those, and they didn't sound important.  I will grab it
anyhow just for completeness.

> Unluckely you need a patched version of setserial (see the patch on my
> site). On the same site you can find a precompiled version which I use
> for my tests, maybe it works for you...

OK, that explains why it wasn't in setserial's code.

> This is a specific problem of NTPD not of LinuxPPS itself. I wrote
> some letters about this problem into NTP list but with no results.
> 
> The sysadm shoulkd use setserial to enable a serial port to become a
> PPS source and then NTPD should verify if such PPS source exists
> (using time_pps_findpath() & Co.).

Well I think I may just write a small tool to do the ioctl to enable it
so I don't need the full setserial around.

> Did you read this example on the wiki?
> 
>    giometti@...g:~/linuxpps$ cat /sys/class/pps/01/name
>    serial1 
>    giometti@...g:~/linuxpps$ cat /sys/class/pps/01/path
>    /dev/ttyS1 
>    giometti at jeeg:~/linuxpps/test$ sudo ln -sf /dev/ttyS1 /dev/gps0
>    giometti at jeeg:~/linuxpps/test$ sudo ./ppstest /dev/gps0
>    found PPS source #2 "serial1" on "/dev/ttyS1"
>    giometti at jeeg:~/linuxpps/test$ sudo ln -sf ktimer /dev/gps0
>    giometti at jeeg:~/linuxpps/test$ sudo ./ppstest /dev/gps0
>    found PPS source #0 "ktimer" on ""
> 
> it doesn't work for you?

I will have to try that again to be sure.  I may have got myself
confused when I first tried it.  One symlink I can deal with (that's
ntpd sillyness after all).

--
Len Sorensen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ