NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-sparc64/49655: PPS_SYNC option not supported on sab driver for Sun Ultra 5 serial ports (sparc64)
>Number: 49655
>Category: port-sparc64
>Synopsis: PPS_SYNC option not supported on sab driver for Sun Ultra 5 serial ports (sparc64)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-sparc64-maintainer
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Feb 10 19:35:00 +0000 2015
>Originator: Arun Venkataraman
>Release: 6.1.5
>Organization:
Arecibo Observatory
>Environment:
NetBSD netbsd0 6.1.5 NetBSD 6.1.5 (netbsd0) #1: Tue Feb 10 01:15:10 UTC 2015 root@netbsd0:/usr/src/sys/arch/sparc64/compile/netbsd0 sparc64
>Description:
Sun Ultra 5 serial ports are attached via the sab(4) driver (Infineon 82532 Enhanced Serial Communication Controller). This driver currently does not provide the PPS_SYNC option enabling a kernel serial line discipline for external reference clocks. NetBSD currently supports the PPS_SYNC option in com(4) and zsc(4) neither of which are available on the Ultra5, limiting accuracy of NTP time. Attempt to use the NTP4 daemon with a PPS refclock is rejected with "Interrupted system call". The pps-api utility packaged with ntp-4.2.8 returns for /dev/ttyh1 or /dev/dtyh1:
pps-api: time_pps_getcap: Inappropriate ioctl for device
Request adding PPS_SYNC support in the sab driver.
>How-To-Repeat:
Fetch and build current net/ntp4 via pkgsrc
Use a NetBSD kernel with NTP and PPS_SYNC options compiled in
Either:
Create PPSAPI devices for NTP ( /dev/pps1 -> /dev/ttyh1 )
Add a PPS peer in ntp.conf (refclock driver 127.127.22.1)
(Re)start NTP daemon
OR
Build and run the ntp-4.2.8/util/pps-api diagnostic to detect PPS signals.
>Fix:
Request adding PPS line discipline support in sab(4) preferably via CD pin as specified in the PPSAPI RFC.
Home |
Main Index |
Thread Index |
Old Index