Comment 44 for bug 43745

Revision history for this message
Steve Newcomb (srn-coolheads) wrote : Re: [Bug 43745] Re: Ubuntu corrupts real time clock on some dell laptops

Ben --

OK. I ran it twice, as shown below, on my new Dell OptiPlex GX620
Mini-Tower: Intel Pentium 4 Processor 650 with HT (3.4GHz, 2M, 800MHz
FSB). I'm running Dapper 2.6.15-26-386 #1 PREEMPT Thu Aug 3 02:52:00 UTC 2006 i686 GNU/Linux

As far as I can tell, the new information that -D reveals is that it
gave the same number of seconds since 1969 both times, even though it
says it '...got clock tick' after it says that the select() timed out.

root@manche:~# hwclock -D
hwclock from util-linux-2.12r
Using /dev/rtc interface to clock.
Last drift adjustment done at 1121000000 seconds after 1969
Last calibration done at 1121000000 seconds after 1969
Hardware clock is on UTC time
Assuming hardware clock is kept in UTC time.
Waiting for clock tick...
select() to /dev/rtc to wait for clock tick timed out
...got clock tick
root@manche:~# uname -a
Linux manche 2.6.15-26-386 #1 PREEMPT Thu Aug 3 02:52:00 UTC 2006 i686 GNU/Linux
root@manche:~# hwclock -D
hwclock from util-linux-2.12r
Using /dev/rtc interface to clock.
Last drift adjustment done at 1121000000 seconds after 1969
Last calibration done at 1121000000 seconds after 1969
Hardware clock is on UTC time
Assuming hardware clock is kept in UTC time.
Waiting for clock tick...
select() to /dev/rtc to wait for clock tick timed out
...got clock tick
root@manche:~#

I ran the above tests after I pulled the battery out of the motherboard,
waited a few hours, put it back in, and reset all the BIOS options and
rtc, just in case there was some sort of corruption there, as noted
in other bug reports. It didn't make any difference.

I'm glad you're upgrading the status of this bug to critical. I agree
that it's pretty serious. I can't keep the machine's rtc synchronized
with real time, which ultimately will make a variety of messes
(e.g. CVS).

Ben Collins <email address hidden> writes:

> The debian bug is not the same one as this. It describes a hang on Dell
> laptops in hwclock, which is worked around by using --directisa. Out
> problem isn't a hang.
>
> I'd be interested if someone could tell me the output of this command:
>
> sudo hwclock -D
>
> This should provide more informationa bout what is going on.
>
> ** Changed in: util-linux (Debian)
> Importance: Unknown => Untriaged
> Bugwatch: Debian Bug tracker #277298 => None
>
> ** Changed in: util-linux (Debian)
> Status: Unconfirmed => Rejected
>
> --
> Ubuntu corrupts real time clock on some dell laptops
> https://launchpad.net/bugs/43745
>
>
>

--

-- Steve

Steven R. Newcomb, Consultant
Coolheads Consulting

Co-editor, Topic Maps International Standard (ISO/IEC 13250)
Co-editor, draft Topic Maps -- Reference Model (ISO/IEC 13250-5)

<email address hidden>
http://www.coolheads.com

direct: +1 540 951 9773
main: +1 540 951 9774
fax: +1 540 951 9775

208 Highview Drive
Blacksburg, Virginia 24060 USA

(Confidential to all US government personnel to whom this private
letter is not addressed and who are reading it in the absence of a
specific search warrant: You are violating the law and you are
co-conspiring to subvert the Constitution that you are sworn to
defend. You can either refuse to commit this crime, or you can expect
to suffer criminal sanctions in the future, when the current
administration of the United States of America has been replaced by
one that respects the rule of law. I do not envy you for having to
make this difficult choice, but I urge you to make it wisely.)