Originally posted by: SystemAdmin
Thanks again for your reply. I started xntpd with the debugging mode as you suggested. I sent it to a file, and this is what it said:
28 Nov 12:11:46 xntpd
213120: logging to file /tmp/ntp.log
28 Nov 12:11:46 xntpd
213120: 3.4y
adding new filegen
adding new filegen
adding new filegen
adding new filegen
28 Nov 12:11:46 xntpd
213120: Clock init couldn't find kernel as either /vmunix or /unix
Now, I'm running the 64-bit kernel, so /unix_64 is present, but it appears this is looking for just /unix. The weird thing is that it runs fine on another partition that was loaded with the same set of OS cds and is also running 64-bit mode.
The following is the last screen of output from the trace:
217232: kfcntl(3, F_SETFD, 0x00000001) = 0
217232: connext(3, 0xF029AFCC, 16) = 0
217232: _getpid() = 217232
217232: open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC) = 4
217232: kioctl(4, 22528, 0x00000000, 0x00000000) Err#19 ENODEV
217232: kioctl(4, 22528, 0x00000000, 0x00000000) Err#19 ENODEV
217232: kwrite(4, " 3 . 4 y\n", 5) = 5
217232: close(4) = 0
217232: send(3, 0x2FF21E04, 40, 0) = 40
217232: _setpriority(0, 0, -12) = 0
217232: _sigaction(2, 0x2FF22C20, 0x00000000) = 0
217232: _sigaction(3, 0x2FF22C20, 0x00000000) = 0
217232: _sigaction(15, 0x2FF22C20, 0x00000000) = 0
217232: _sigaction(30, 0x2FF22C20, 0x00000000) = 0
217232: _sigaction(31, 0x2FF22C20, 0x00000000) = 0
217232: _sigaction(13, 0x2FF22C20, 0x00000000) = 0
217232: open("/dev/kmem", O_RDONLY) = 4
217232: statx("/kernel/unix", 0x2FF22B18, 76, 0) Err#2 ENOENT
217232: statx("/unix", 0x2FF22B18, 76, 0) = 0
217232: open("/unix", O_RDONLY|O_LARGEFILE) = 5
217232: kioctl(5, 22528, 0x00000000, 0x00000000) Err#25 ENOTTY
217232: kioctl(5, 22528, 0x00000000, 0x00000000) Err#25 ENOTTY
217232: kread(5, "\0\0\0\0\0\0\0\0\0\0\0\0".., 4096) = 0
217232: close(5) = 0
217232: open("/usr/lib/nls/msg/en_US/xntpd.cat", O_RDONLY) = 5
217232: kioctl(5, 22528, 0x00000000, 0x00000000) Err#25 ENOTTY
217232: kfcntl(5, F_SETFD, 0x00000001) = 0
217232: kioctl(5, 22528, 0x00000000, 0x00000000) Err#25 ENOTTY
217232: kread(5, "\0\001 ù\01B\01B I S O 8".., 4096) = 4096
217232: lseek(5, 0, 1) = 4096
217232: lseek(5, 376, 1) = 4472
217232: kread(5, "\01A\002\001\01A\0\0 ^ È".., 4096) = 4096
217232: lseek(5, 0, 1) = 8568
217232: lseek(5, 0, 1) = 8568
217232: lseek(5, 0, 0) = 0
217232: kread(5, "\0\001 ù\01B\01B I S O 8".., 4096) = 4096
217232: kread(5, "\017\0 1\0\0 T ü\018\0 I".., 4096) = 4096
217232: _getpid() = 217232
217232: lseek(5, 0, 1) = 8192
217232: lseek(5, 16143, 0) = 16143
217232: kread(5, " C l o c k i n i t c".., 4096) = 4096
217232: _getpid() = 217232
217232: open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC) = 6
217232: kioctl(6, 22528, 0x00000000, 0x00000000) Err#19 ENODEV
217232: kioctl(6, 22528, 0x00000000, 0x00000000) Err#19 ENODEV
217232: kwrite(6, " C l o c k i n i t c".., 59) = 59
217232: close(6) = 0
217232: send(3, 0x2FF21C94, 94, 0) = 94
217232: __loadx(0x04000000, 0x2FF22200, 0x00000800, 0x0000D0B2, 0x00000000) = 0x00000000
217232: kfcntl(1, F_GETFL, 0x00000001) = 0
217232: _exit(3)
I really can't figure out why it's having a problem with the kernel.