[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#759399: adjtimex(8) manpage needs minor update



Package: adjtimex
Version: 1.29-2.2
Severity: minor

Dear Maintainer,


Under the -p, --print section the time_status kernel variable needs updating.
It does not discuss time_status for kernels newer than 2.6.

I noticed because on my 3.2 systems I have time_status of 8193, so apparently
8192 is a new value that needs to be added.

New values from the kernel source:
#define STA_NANO    0x2000  /* resolution (0 = us, 1 = ns) (ro) */
#define STA_MODE    0x4000  /* mode (0 = PLL, 1 = FLL) (ro) */
#define STA_CLK     0x8000  /* clock source (0 = A, 1 = B) (ro) */

Here't the complete 3.2 list for ease of access.
#define STA_PLL     0x0001  /* enable PLL updates (rw) */
#define STA_PPSFREQ 0x0002  /* enable PPS freq discipline (rw) */
#define STA_PPSTIME 0x0004  /* enable PPS time discipline (rw) */
#define STA_FLL     0x0008  /* select frequency-lock mode (rw) */

#define STA_INS     0x0010  /* insert leap (rw) */
#define STA_DEL     0x0020  /* delete leap (rw) */
#define STA_UNSYNC  0x0040  /* clock unsynchronized (rw) */
#define STA_FREQHOLD    0x0080  /* hold frequency (rw) */

#define STA_PPSSIGNAL   0x0100  /* PPS signal present (ro) */
#define STA_PPSJITTER   0x0200  /* PPS signal jitter exceeded (ro) */
#define STA_PPSWANDER   0x0400  /* PPS signal wander exceeded (ro) */
#define STA_PPSERROR    0x0800  /* PPS signal calibration error (ro) */

#define STA_CLOCKERR    0x1000  /* clock hardware fault (ro) */
#define STA_NANO    0x2000  /* resolution (0 = us, 1 = ns) (ro) */
#define STA_MODE    0x4000  /* mode (0 = PLL, 1 = FLL) (ro) */
#define STA_CLK     0x8000  /* clock source (0 = A, 1 = B) (ro) */

Thanks.

-- System Information:
Debian Release: 7.6
  APT prefers stable
  APT policy: (900, 'stable'), (350, 'proposed-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages adjtimex depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  libc6                  2.13-38+deb7u3

adjtimex recommends no packages.

Versions of packages adjtimex suggests:
ii  ntpdate  1:4.2.6.p5+dfsg-2.snl

-- debconf-show failed


Reply to: