-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Jim,

Am Sa den  2. Feb 2008 um  4:41 schrieb James R. Van Zandt:
> That is one step closer to the answer.  What are the permissions on
> /dev/rtc?  They should look like this:
> 
>   crw-rw---- 1 root floppy 10, 135 Mar 14  2002 /dev/rtc

crw-rw---- 1 root audio 10, 135 2008-02-01 08:25 /dev/rtc

However, I am doingthe installation as root. ;)

> Also, I'd appreciate if you would run
> 
>   strace -o /tmp/log /sbin/adjtimex --adjust --verbose

~> strace -o /tmp/bla /sbin/adjtimex --adjust --verbose
opened /dev/rtc for reading
/dev/rtc doesn't allow user access to update interrupts
 - using busy wait instead
read() from /dev/rtc to wait for clock tick failed: Input/output error

~> tail -40 /tmp/bla 
read(3, 0xbff18d7b, 1)                  = -1 EIO (Input/output error)
lseek(3, 112, SEEK_SET)                 = -1 ESPIPE (Illegal seek)
write(3, "\212", 1)                     = -1 EBADF (Bad file descriptor)
lseek(3, 113, SEEK_SET)                 = -1 ESPIPE (Illegal seek)
read(3, 0xbff18d7b, 1)                  = -1 EIO (Input/output error)
lseek(3, 112, SEEK_SET)                 = -1 ESPIPE (Illegal seek)
write(3, "\212", 1)                     = -1 EBADF (Bad file descriptor)
lseek(3, 113, SEEK_SET)                 = -1 ESPIPE (Illegal seek)
read(3, 0xbff18d7b, 1)                  = -1 EIO (Input/output error)
lseek(3, 112, SEEK_SET)                 = -1 ESPIPE (Illegal seek)
write(3, "\212", 1)                     = -1 EBADF (Bad file descriptor)
lseek(3, 113, SEEK_SET)                 = -1 ESPIPE (Illegal seek)
read(3, 0xbff18d7b, 1)                  = -1 EIO (Input/output error)
lseek(3, 112, SEEK_SET)                 = -1 ESPIPE (Illegal seek)
write(3, "\212", 1)                     = -1 EBADF (Bad file descriptor)
lseek(3, 113, SEEK_SET)                 = -1 ESPIPE (Illegal seek)
read(3, 0xbff18d7b, 1)                  = -1 EIO (Input/output error)
lseek(3, 112, SEEK_SET)                 = -1 ESPIPE (Illegal seek)
write(3, "\212", 1)                     = -1 EBADF (Bad file descriptor)
lseek(3, 113, SEEK_SET)                 = -1 ESPIPE (Illegal seek)
read(3, 0xbff18d7b, 1)                  = -1 EIO (Input/output error)
lseek(3, 112, SEEK_SET)                 = -1 ESPIPE (Illegal seek)
write(3, "\212", 1)                     = -1 EBADF (Bad file descriptor)
lseek(3, 113, SEEK_SET)                 = -1 ESPIPE (Illegal seek)
read(3, 0xbff18d7b, 1)                  = -1 EIO (Input/output error)
lseek(3, 112, SEEK_SET)                 = -1 ESPIPE (Illegal seek)
write(3, "\212", 1)                     = -1 EBADF (Bad file descriptor)
lseek(3, 113, SEEK_SET)                 = -1 ESPIPE (Illegal seek)
read(3, 0xbff18d7b, 1)                  = -1 EIO (Input/output error)
read(3, 0xbff18e18, 4)                  = -1 EIO (Input/output error)
gettimeofday({1201957121, 239440}, NULL) = 0
dup(2)                                  = 4
fcntl64(4, F_GETFL)                     = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat64(4, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7ee0000
_llseek(4, 0, 0xbff18808, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
write(4, "read() from /dev/rtc to wait for"..., 71) = 71
close(4)                                = 0
munmap(0xb7ee0000, 4096)                = 0
exit_group(1)                           = ?

Note, there are about 265MB of the sequence:
lseek(3, 112, SEEK_SET)                 = -1 ESPIPE (Illegal seek)
write(3, "\212", 1)                     = -1 EBADF (Bad file descriptor)
lseek(3, 113, SEEK_SET)                 = -1 ESPIPE (Illegal seek)
read(3, 0xbff18d7b, 1)                  = -1 EIO (Input/output error)

Regards
   Klaus
- -- 
Klaus Ethgen                            http://www.ethgen.de/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <[EMAIL PROTECTED]>
Fingerprint: D7 67 71 C4 99 A6 D4 FE  EA 40 30 57 3C 88 26 2B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBR6Rp35+OKpjRpO3lAQIMZwf/SITjYyNwHJ9Jhhic7KbWlsf+FH1c2bjy
IATnfY4PmZ8C+AGR7w9OaokIw2zUBINHiHN+QozNFEmGTKj/DoE1GQYaak7re3Lb
eWZQBSr15Nx2vh9IRL5BRdEQDpDdYWYSC0v6rFSqsrG8/E0zPeCQZm8T2FcHURGA
T30hZDyM4L6p5rQcyuXcvCJsWMPB5rbS51W5hLknF6cr/MnlpHZtDtSQQT88bWDD
NWmncQf4q/dRG9DOX8DLbMtEE2eDvrfRa3cMIQx6T7YI1yKlWvk4unNVvxPwjnlW
wLWu2PAaCmHPHmLdUoQlpQA+lguoYUDXmk+DlI9ttFibIxL7lReEaw==
=UAsE
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to