* Date stamp problem
@ 1999-01-08 5:00 David S. Dandy
1999-01-09 5:00 ` Jacob Gladish
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: David S. Dandy @ 1999-01-08 5:00 UTC (permalink / raw)
Dear gurus,
I just installed Redhat 5.2/alpha. Everything seemed to go
smoothly.....
The problem is that the date stamp on MANY files is exactly 20 years in
the future --- Jan 8, 2019 or about such time.
I swear I did nothing wrong...... honest.
Just for kicks, I changed the date on the BIOS to year 1980,
reinstalled redhat, and walla.... the same files were date stamped with
year 2000.
Argh....
I had some date/stamp problems when I had Redhat 5.0, too. Hmmmmmmm.
Could it be a bad clock or something?
Help.
p.s. Please don't respond by direct email, since i'm using a colleague's
machine.
Thanks!
--Bill Wangard
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Date stamp problem 1999-01-08 5:00 Date stamp problem David S. Dandy @ 1999-01-09 5:00 ` Jacob Gladish 1999-01-11 5:00 ` GPBoer 1999-01-10 5:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated 1999-01-17 5:00 ` jmd 2 siblings, 1 reply; 6+ messages in thread From: Jacob Gladish @ 1999-01-09 5:00 UTC (permalink / raw) > The problem is that the date stamp on MANY files is exactly 20 years in > the future --- Jan 8, 2019 or about such time. > There is something in the FAQ about this. Check your /etc/sysconfig/clock file and make sure that it says something like ARC=true. This may fix your problem. http://www.dejanews.com/dnquery.xp?QRY=comp.os.linux.alpha+clock&DBS=2&maxhits=25&format=terse&showsort=score&ST=QS&LNG=ALL > > Just for kicks, I changed the date on the BIOS to year 1980, > reinstalled redhat, and walla.... the same files were date stamped with > year 2000. Alphas don't have a BIOS. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Date stamp problem 1999-01-09 5:00 ` Jacob Gladish @ 1999-01-11 5:00 ` GPBoer 0 siblings, 0 replies; 6+ messages in thread From: GPBoer @ 1999-01-11 5:00 UTC (permalink / raw) [-- Attachment #1: Type: text/plain, Size: 1032 bytes --] Jacob Gladish wrote: > > The problem is that the date stamp on MANY files is exactly 20 years in > > the future --- Jan 8, 2019 or about such time. > > > There is something in the FAQ about this. Check your > /etc/sysconfig/clock file and make sure that it says something like > ARC=true. This may fix your problem. > > http://www.dejanews.com/dnquery.xp?QRY=comp.os.linux.alpha+clock&DBS=2&maxhits=25&format=terse&showsort=score&ST=QS&LNG=ALL > > > > > Just for kicks, I changed the date on the BIOS to year 1980, > > reinstalled redhat, and walla.... the same files were date stamped with > > year 2000. > > Alphas don't have a BIOS. Just use 'tinmetool' in the Xwindows menu as set up by RedHat 5.1: start Xwindows by shell command: startx popup the desktop menu with Mouse Button 3 -> Administration -> timetool and all will be set for you (at least this happened on myaxpPCI33 board) completely automatically like a well behaved computer should do... Bert Boer -- Bert Boer EMAIL G.P.Boer@net.HCC.nl [-- Attachment #2: Type: text/html, Size: 1401 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Date stamp problem 1999-01-08 5:00 Date stamp problem David S. Dandy 1999-01-09 5:00 ` Jacob Gladish @ 1999-01-10 5:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated 1999-01-17 5:00 ` jmd 2 siblings, 0 replies; 6+ messages in thread From: His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated @ 1999-01-10 5:00 UTC (permalink / raw) >>>>> "DSD" == David S Dandy <dandy@engr.colostate.edu> writes: DSD> The problem is that the date stamp on MANY files is exactly DSD> 20 years in the future --- Jan 8, 2019 or about such time. DSD> I swear I did nothing wrong...... honest. This is a FAQ. Search DejaNews; I've mentioned this before. 2.0 kernels don't automatically detect the starting epoch. The year is stored in memory as an offset from this epoch. ARC counts years starting at 1980, so the actual year is stored as "19". On boot, 2.0 kernels assume the starting epoch is 1900 (i.e. you set the date from the SRM console), and if the offset is less than 69, will automatically add 100 to the date. So the kernel reads "19", thinks "1919", and adds 100 to get "2019". Editing /etc/sysconfig/clock after you install isn't going to fix anything, unless you re-install all the packages (which you can do with RPM's "--replacepkgs" option). You'll need to fool the kernel into getting the correct date when you go to install the system. Set the date to the year 2079 (which is the ARC epoch plus 99 years); the 2.0 kernel will decide it is 1999, which is correct. -- Rev. Dr. Xenophon Fenderson, the Carbon(d)ated, KSC, DEATH, SubGenius, mhm21x16 Pope, Patron Saint of All Things Plastic fnord, and Salted Litter of r.g.s.b "When I was a kid, I used to think that Dammit was God's last name, just like Christ is Jesus' last name." - Kimberly Chapman in rec.humor.oracle.d ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Date stamp problem 1999-01-08 5:00 Date stamp problem David S. Dandy 1999-01-09 5:00 ` Jacob Gladish 1999-01-10 5:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated @ 1999-01-17 5:00 ` jmd 1999-01-19 5:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated 2 siblings, 1 reply; 6+ messages in thread From: jmd @ 1999-01-17 5:00 UTC (permalink / raw) David S. Dandy wrote: > > Dear gurus, > > I just installed Redhat 5.2/alpha. Everything seemed to go > smoothly..... > > The problem is that the date stamp on MANY files is exactly 20 years in > the future --- Jan 8, 2019 or about such time. Will this be fixed in the next release? Is it a problem with HardHat (from Harddata) or Debian? BTW....any idea when the next RH release is scheduled for? jeff ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Date stamp problem 1999-01-17 5:00 ` jmd @ 1999-01-19 5:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated 0 siblings, 0 replies; 6+ messages in thread From: His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated @ 1999-01-19 5:00 UTC (permalink / raw) >>>>> "j" == jmd <jmd@infinet.com> writes: >> The problem is that the date stamp on MANY files is exactly 20 >> years in the future --- Jan 8, 2019 or about such time. j> Will this be fixed in the next release? Is it a problem with j> HardHat (from Harddata) or Debian? It is a problem with the Linux kernel. The real-time clock code in 2.0.3x doesn't detect the epoch correctly. The code was fixed in 2.1 somewheres. I've explained how to get around this problem before. A search in DejaNews should find the various postings. HTH -- Rev. Dr. Xenophon Fenderson, the Carbon(d)ated, KSC, DEATH, SubGenius, mhm21x16 Pope, Patron Saint of All Things Plastic fnord, and Salted Litter of r.g.s.b "When I was a kid, I used to think that Dammit was God's last name, just like Christ is Jesus' last name." - Kimberly Chapman in rec.humor.oracle.d ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-01-19 5:00 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1999-01-08 5:00 Date stamp problem David S. Dandy 1999-01-09 5:00 ` Jacob Gladish 1999-01-11 5:00 ` GPBoer 1999-01-10 5:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated 1999-01-17 5:00 ` jmd 1999-01-19 5:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox