[ntp:questions] chu and wwv audio driver problems in debian lenny

Steve Kostecke kostecke at ntp.org
Tue Nov 25 14:13:05 UTC 2008


On 2008-11-25, jimmyterrence at gmail.com <jimmyterrence at gmail.com> wrote:

> remote        refid   st t when poll reach  delay  offset  jitter
>==================================================================
> CHU_AUDIO(0)  0.0.0.0  1 l    -   64    0   0.000   0.000   0.001

In the future, please consider condensing your ntpq -p output (as done
above) so that it does not wrap.

> /etc/ntp.audio0
>
> idev /dev/oss/ich0/pcm0
> cdev /dev/oss/ich0/mix0
> source line
> agc line
> monitor line

What does 'ossinfo' show?

> time:~# ntpd -D2
> ntpd: illegal option -- D

You need to rebuild with debugging enabled.

1. As root, edit your /etc/apt/sources.list and add a 'deb-src' line
that matches your main 'deb' line. e.g.

deb http://mirrors.kernel.org/debian/ testing main
deb-src http://mirrors.kernel.org/debian/ testing main

2. As root do the following to set up the build environment

	# apt-get update
	# apt-get build-dep ntp

3. Switch back to a non-root user and

	$ cd /parent/directory/for/this/build
	$ apt-get source ntp

4. Enter the ntp source directory and edit ./debian/rules and change
'--disable-debugging' to '--enable-debugging' in the configure line.

5. To just build the ntpd binary run './debian/rules binary' and look in
the ./ntpd directory.

6. To build a local package run 'debuild -us -uc'. The deb package
will be in the parent dirctory. You can install this deb with 'dpkg -i
ntp-package-name.deb'.

Please feel free to stop by #ntp on irc.freenode.net for more
assistance.

-- 
Steve Kostecke <kostecke at ntp.org>
NTP Public Services Project - http://support.ntp.org/




More information about the questions mailing list