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

Re: hwclock still not working



On Sun, Nov 08, 1998 at 11:28:17AM -0600, John Goerzen wrote:

> erwin:~# hwclock --systohc --utc
> hwclock is unable to get I/O port access.  I.e. iopl(3) returned nonzero return code -1.
> This is often because the program isn't running with superuser privilege, which it needs.

Argh, I hate hwclock :(

What does "strace hwclock --systohc --utc" say?  That usually helps to
identify the problem.  It would make much more sense if hwclock just printed
the system error code it code, rather than making something up.  In my
experience, the problem has _never_ been that I forgot to run it with
superuser privilege.

Have fun,

Avery


Reply to: