Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* UP2000 clock getting set to the year 2048
@ 2000-01-19  5:00 Rob Riches
  2000-01-20  5:00 ` Tony Hammitt
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Rob Riches @ 2000-01-19  5:00 UTC (permalink / raw)


I built a new kernel built for my new UP2000 system (in order to
be able to load modules without name differences between
"2.2.13-0.9" and "2.2.13-0.9BOOT" and unresolved symbols), but
whenever I boot the new kernel, the system time-of-day clock
jumps ahead to the year 2048.  All other fields appear to be
okay.

On the off chance it's related, if I use the SRM "sound" command
(with no arguments or switches) to play "The Yellow Rose of
Texas", then if I immediately boot the vendor-supplied generic.gz
kernel (haven't tried it with the new kernel), the speaker turns
on to a low buzz during OS boot and says on until I halt the OS
and reboot.

Any suggestions?

Rob Riches
rob@ichips.intel.com

(disclaimer:  I do not speak for my employer, but then you knew that.)

(The Alpha system is for personal, home use, not connected in any
way with my employer.)



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: UP2000 clock getting set to the year 2048
  2000-01-19  5:00 UP2000 clock getting set to the year 2048 Rob Riches
  2000-01-20  5:00 ` Tony Hammitt
@ 2000-01-20  5:00 ` Hal Murray
  2000-01-20  5:00   ` Greg Lindahl
  2000-01-20  5:00 ` Thomas W.
  2 siblings, 1 reply; 6+ messages in thread
From: Hal Murray @ 2000-01-20  5:00 UTC (permalink / raw)



> whenever I boot the new kernel, the system time-of-day clock
> jumps ahead to the year 2048. 

I've seen the reverse problem with Tru64 on Miatas.  I don't know
the whole story.  I assume it's a mixup between the console
firmware and the OS that got out of sync on the Y2K fixups.

In /etc/sysconfig/clock there is an ARC=true|false option.
You might see if that is set wrong.  (sysconfig.txt says
it's a 42 year offset so that doesn't sound right.)

If you aren't occasionally running other OSes, you can just
set it correctly from Linux and let the console think the clock
is off in the reverse direction.

I'm surprised this isn't in a FAQ/HOWTO yet, but I haven't seen
it in one.

-- 
These are my opinions, not necessarily my employers.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: UP2000 clock getting set to the year 2048
  2000-01-20  5:00 ` Hal Murray
@ 2000-01-20  5:00   ` Greg Lindahl
  0 siblings, 0 replies; 6+ messages in thread
From: Greg Lindahl @ 2000-01-20  5:00 UTC (permalink / raw)


murray@pa.dec.com (Hal Murray) writes:

> I'm surprised this isn't in a FAQ/HOWTO yet, but I haven't seen
> it in one.

It is in the FAQ, and has been for ages.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: UP2000 clock getting set to the year 2048
  2000-01-19  5:00 UP2000 clock getting set to the year 2048 Rob Riches
@ 2000-01-20  5:00 ` Tony Hammitt
  2000-01-20  5:00 ` Hal Murray
  2000-01-20  5:00 ` Thomas W.
  2 siblings, 0 replies; 6+ messages in thread
From: Tony Hammitt @ 2000-01-20  5:00 UTC (permalink / raw)


Rob Riches wrote:
> 
> I built a new kernel built for my new UP2000 system (in order to
> be able to load modules without name differences between
> "2.2.13-0.9" and "2.2.13-0.9BOOT" and unresolved symbols), but
> whenever I boot the new kernel, the system time-of-day clock
> jumps ahead to the year 2048.  All other fields appear to be
> okay.
> 
> On the off chance it's related, if I use the SRM "sound" command
> (with no arguments or switches) to play "The Yellow Rose of
> Texas", then if I immediately boot the vendor-supplied generic.gz
> kernel (haven't tried it with the new kernel), the speaker turns
> on to a low buzz during OS boot and says on until I halt the OS
> and reboot.
> 
> Any suggestions?
> 
> Rob Riches
> rob@ichips.intel.com
> 
> (disclaimer:  I do not speak for my employer, but then you knew that.)
> 
> (The Alpha system is for personal, home use, not connected in any
> way with my employer.)

My LX164's did something similar for a while.  Later (>5.0) versions of
RedHat didn't have the problem.

In any case, try messing with the values in /etc/sysconfig/clock
or changing some options in /etc/rc.c/rc.sysinit that affect the
/sbin/clock program, which is what sets the clock based on the
values in CMOS.

The speaker support is pretty bad for AlphaLinux, I'm not surprised
you're having weird problems.  I'd suggest _not_ playing a sound
before booting =-] (Dr., it hurts whe I go like this...  Then don't
do that!)

Anyways, best of luck.

Regards,

Tony



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: UP2000 clock getting set to the year 2048
  2000-01-19  5:00 UP2000 clock getting set to the year 2048 Rob Riches
  2000-01-20  5:00 ` Tony Hammitt
  2000-01-20  5:00 ` Hal Murray
@ 2000-01-20  5:00 ` Thomas W.
  2000-01-21  5:00   ` Martin Sinot
  2 siblings, 1 reply; 6+ messages in thread
From: Thomas W. @ 2000-01-20  5:00 UTC (permalink / raw)


Rob Riches <rob@ichips.intel.com> wrote:
> I built a new kernel built for my new UP2000 system (in order to
> be able to load modules without name differences between
> "2.2.13-0.9" and "2.2.13-0.9BOOT" and unresolved symbols), but
> whenever I boot the new kernel, the system time-of-day clock
> jumps ahead to the year 2048.  All other fields appear to be
> okay.

Make sure to compile a new kernel with enhanced realtime clock support
( CONFIG_RTC in section character drivers ). The problem should go
away. Unfortunately, I cannot remember why, but I stumbled into it on
various Alphas ( including UP2000 )quit some time ago - this solved iti
for me. Besides CONFIG_RTC gives you the ability to use 'hwclock' ( see
clock(8) ) which you can use to set the RTC time/date from a running
Linux.
Also, you might want to try 2.2.14 - it fixes a lot of stuff relevant 
to the UP2000.

<JOKE>
Does your System in combination with your Email address give us an
idea of upcoming architectural changes in future Pentium designs ?
</JOKE>

Sorry, I just *couldn't* resist that one - no offense intended 8-)


> On the off chance it's related, if I use the SRM "sound" command
> (with no arguments or switches) to play "The Yellow Rose of
> Texas", then if I immediately boot the vendor-supplied generic.gz
> kernel (haven't tried it with the new kernel), the speaker turns
> on to a low buzz during OS boot and says on until I halt the OS
> and reboot.

Well.... This is bizarre. I haven't even discovered SRM's sound abilities.
You bet I'll delve into that....


> Any suggestions?

Hope this helps....

> Rob Riches
> rob@ichips.intel.com

> (disclaimer:  I do not speak for my employer, but then you knew that.)

> (The Alpha system is for personal, home use, not connected in any
> way with my employer.)

The same applies to my UP2000 - it's a *real fun* machine for home use 8-)

Sincerely,
Kirk



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: UP2000 clock getting set to the year 2048
  2000-01-20  5:00 ` Thomas W.
@ 2000-01-21  5:00   ` Martin Sinot
  0 siblings, 0 replies; 6+ messages in thread
From: Martin Sinot @ 2000-01-21  5:00 UTC (permalink / raw)



Thomas W. <kirk@colinet.de> wrote in message news:FoLzpF.254@colinet.de...
> Rob Riches <rob@ichips.intel.com> wrote:
> > I built a new kernel built for my new UP2000 system (in order to
> > be able to load modules without name differences between
> > "2.2.13-0.9" and "2.2.13-0.9BOOT" and unresolved symbols), but
> > whenever I boot the new kernel, the system time-of-day clock
> > jumps ahead to the year 2048.  All other fields appear to be
> > okay.
>
> Make sure to compile a new kernel with enhanced realtime clock support
> ( CONFIG_RTC in section character drivers ). The problem should go
> away.

Had the same problem on my SX164. The problem seemed unrelated
to the kernel version, but went away when compiling in the enhanced
realtime clock support. Didn't try 2.2.14 yet, though - had some
trouble downloading it.


--
Martin Sinot
Nijmegen, Netherlands
martin@spase.nl





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-01-21  5:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-19  5:00 UP2000 clock getting set to the year 2048 Rob Riches
2000-01-20  5:00 ` Tony Hammitt
2000-01-20  5:00 ` Hal Murray
2000-01-20  5:00   ` Greg Lindahl
2000-01-20  5:00 ` Thomas W.
2000-01-21  5:00   ` Martin Sinot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox