Download - CNS Systems, Inc.
Transcript
CNS Clock and Tac32 CNS Systems, Inc. # make dep (build dependencies) # make bzImage (build compressed kernel image) # make modules (build loadable modules) # make modules_install # make install (install loadable modules) (install kernel and initrd images in /boot) You may see lots of warnings during the compile phases; these are “normal”. At the end of the make bzImage you will see an error that the kernel image is too big for a floppy. You can safely ignore this. After the make install completes, you should have a new kernel image in /boot, with an extension of NANO. This is your new, nanosecond-enabled kernel. This phase also updates the /etc/grub.conf file, which is the boot loader configuration file. This leaves the previous kernel in the boot prompt list, so you can return to it if the new kernel fails to boot. The new kernel is added to the list. There is a default=1 line in the file, which indicates the second entry is the default. Once you have booted the new kernel and decided it is running cleanly, change this to default=0 to boot the new kernel automatically. Compile and install NTP from ntp.org The latest production release of NTP can be downloaded from http://www.ntp.org/downloads.html. The NTP that is distributed with the RedHat release does not contain the correct drivers for the Motorola Oncore receiver used in the CNS Clock. The current release files are in /usr/src/patches/ntp-4.2.0. In the directory, run the following command: ./configure After the configuration, ensure that the Oncore driver is included in the build by looking in the config.h file for the following lines: /* Motorola UT Oncore GPS */ #define CLOCK_ONCORE 1 /* Do we have support for SHMEM_STATUS? */ #define ONCORE_SHMEM_STATUS 1 /* Define to 1 if you have the <sys/timepps.h> header file. */ #define HAVE_SYS_TIMEPPS_H 1 /* Define to 1 if you have the <sys/timex.h> header file. */ #define HAVE_SYS_TIMEX_H 1 If these are correct, run the following: # make # make install 71 © 1998-2006 CNS Systems, Inc.