Your message dated Wed, 26 Jul 2017 09:43:35 +0200
with message-id <[email protected]>
and subject line Re: util-linux: manual page incorrectly says that hwclock will 
use --directisa when nessecary
has caused the Debian Bug report #450686,
regarding util-linux: manual page incorrectly says that hwclock will use 
--directisa when nessecary
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
450686: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=450686
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: util-linux
Version: 2.13-10
Severity: normal

Due to a problem[1] with the kernel implementation of /dev/rtc on my
laptop, hwclock cannot set the time here: 

root@chianamo:~# hwclock 
select() to /dev/rtc to wait for clock tick timed out

However the --directisa option works:

root@chianamo:~# hwclock --directisa
Mon Nov  5 13:35:06 2007  -0.543591 seconds

The manual page for hwclock says about --directisa:

> This option tells hwclock to use explicit I/O instructions to access
> the Hardware Clock. Without this option, hwclock will try to use
> the /dev/rtc device (which it assumes to be driven by the rtc device
> driver). If it is unable to open the device (for read), it will use
> the explicit I/O instructions anyway.

Obviously this is not true in all cases, since hwclock cannot set the
time properly unless run with --directisa on my machine. Please fix
either the manual page or hwclock (preferably hwclock should use
directisa when /dev/rtc isn't available).

     1. http://bugzilla.kernel.org/show_bug.cgi?id=7014

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages util-linux depends on:
ii  libc6                   2.6.1-6          GNU C Library: Shared libraries
ii  libncurses5             5.6+20071013-1   Shared libraries for terminal hand
ii  libselinux1             2.0.15-2+b1      SELinux shared libraries
ii  libslang2               2.0.7-5          The S-Lang programming library - r
ii  libuuid1                1.40.2-1         universally unique id library
ii  lsb-base                3.1-24           Linux Standard Base 3.1 init scrip
ii  tzdata                  2007h-2          time zone and daylight-saving time
ii  zlib1g                  1:1.2.3.3.dfsg-7 compression library - runtime

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Version: 2.26.2-1

Hello!

The hwclock(8) manpage has since v2.26 contained the following text
which was introduced in commit 1afe0412e07cd20550cdd
"hwclock: update man-page for directisa change":

> As of v2.26 it will no longer automatically use directisa when
> the rtc driver is unavailable; this was causing an unsafe condition that
> could allow two processes to access the Hardware Clock at the same time.
> Direct hardware access from userspace should only be used for testing,
> troubleshooting, and as a last resort when all other methods fail. 

I'm thus closing this bug report, which I apparently missed doing earlier.

Regards,
Andreas Henriksson

--- End Message ---

Reply via email to