Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Julien BLACHE <jblache@debian.org>
To: debian-mips@lists.debian.org
Cc: linux-mips@linux-mips.org
Subject: IP22 RTC bug on 64bit 2.6 kernels ?
Date: Sun, 09 Jul 2006 00:02:12 +0200	[thread overview]
Message-ID: <87fyhbhi1n.fsf@frigate.technologeek.org> (raw)

Hi,

For some time now, my IP22 was booting in a "back to the future" mode,
somewhere between 1983 and 1987 (usually, 1985). Interestingly enough,
only the year comes out wrong, everything else is perfectly OK.

This is not the RTC chip at fault, as everything else stored in the
NVRAM is OK too. I was prepared to order a new RTC chip, until...

Until I remembered that it all started with the new 64bit 2.6 kernels
built by Martin Michlmayr in Debian. Indeed, rebooting into a 32bit
2.4.27 the problem goes away.

Using the 2.6 kernel (2.6.17), hwclock -w/hwclock -r will not give the
same year twice in a row, which is quite fun and unexpected. I
couldn't find a logic of some kind in the values read from the RTC;
the year went as far as 1972 and as close as 2007 :)

So, it looks like there is a bug in this area with (at least) 64bit
2.6 kernels. Is there any known bug ? Anything I can do to help track
the problem down ?

Thanks,

JB.

-- 
 Julien BLACHE - Debian & GNU/Linux Developer - <jblache@debian.org> 
 
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 

             reply	other threads:[~2006-07-08 22:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-08 22:02 Julien BLACHE [this message]
2006-07-08 22:21 ` IP22 RTC bug on 64bit 2.6 kernels ? Julien BLACHE

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fyhbhi1n.fsf@frigate.technologeek.org \
    --to=jblache@debian.org \
    --cc=debian-mips@lists.debian.org \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox