From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Daniel Lungu Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: preposterous time in BIOS TOY clock Date: Wed, 04 Feb 2004 11:20:15 +0100 (W. Europe Standard Time) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1075889958 31215 80.91.224.253 (4 Feb 2004 10:19:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Feb 2004 10:19:18 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Feb 04 11:19:08 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AoK7f-0003lF-00 for ; Wed, 04 Feb 2004 11:19:08 +0100 Original-Received: (qmail 13759 invoked by uid 5); 4 Feb 2004 10:18:25 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 13744 invoked by uid 49493); 4 Feb 2004 10:18:24 -0000 Original-Received: from lungu@nagra.com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-4.7/5.0):. Processed in 1.511449 secs); 04 Feb 2004 10:18:24 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 4 Feb 2004 10:18:22 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HSK008EX1YLJT@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 04 Feb 2004 05:18:21 -0500 (EST) Original-Received: from hypup4.nagra.com (hypup4.nagra.com [212.249.41.203]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HSK00A5E1YI2E@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 04 Feb 2004 05:18:20 -0500 (EST) Original-Received: from hypup4.nagra.com (localhost [127.0.0.1]) by hypup4.nagra-kudelski.ch (Postfix) with ESMTP id 9EA257004E for ; Wed, 04 Feb 2004 11:12:31 +0100 (CET) Original-Received: from osiris.nagra-kudelski.ch (osiris [10.0.50.42]) by hypup4.nagra.com (Postfix) with ESMTP id 2D4847004B for ; Wed, 04 Feb 2004 11:12:29 +0100 (CET) Original-Received: from pc0197.nagra-kudelski.ch ([10.0.30.155]) by osiris.nagra-kudelski.ch with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id 1FFT9X7W; Wed, 04 Feb 2004 11:18:15 +0100 X-X-Sender: lungu@nvchemsg01.nagra-kudelski.ch Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:6342 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6342 QUESTION How could TOY preposterous time occur upon triple-booting? Tru64 V5.1A (dka0) : Tru64 V5.1A (dka100) : Tru64 V5.1A (dqb0) ACRONYMS TOY : Time of Year : part on the system's motherboard with battery backup INSIGHT FACTS + On older systems or a system having been powered off for quite a while (several days or more), the TOY clock battery may be dead. + The value in the TOY clock register is not stored in a common format between UNIX and OpenVMS and the console firmware. + TOY can get set with a good value during system startup. o A TOY backup value is saved in the disk label of the boot disk. o TOY can get set if running a network time service. + A bogus TOY time value would wind up with bad time stamps on files and things that depend on file time stamping not working at all correctly. ANSWER >>> boot dka0 <...> # make # shutdown -h now Jan 20 20:30:00 pmgrd[656]: PM daemon exiting on signal 15... syncing disks... done CPU 0: Halting... (transferring to monitor) >>> boot dka100 # ls -lR /mfs/mnt/etc/fdmns/ total 24 -r-------- 1 root system 0 Jan 20 20:40 .advfslock_fdmns -r-------- 1 root system 0 Jan 20 20:40 .advfslock_root_domain -r-------- 1 root system 0 Jan 20 20:40 .advfslock_usr1_domain -r-------- 1 root system 0 Jan 20 20:40 .advfslock_usr_domain drwxr-xr-x 2 root system 8192 Jan 20 40:10 root_domain drwxr-xr-x 2 root system 8192 Jan 20 40:10 usr1_domain drwxr-xr-x 2 root system 8192 Jan 20 40:10 usr_domain /mfs/mnt/etc/fdmns/root_domain: total 0 lrwxr-xr-x 1 root system 9 Jan 20 20:43 rz8a -> /dev/rz8a <...> # ls -l /dev/rz8* ls: No match. >>> boot dqb0 <...> Alpha boot: available memory from 0xd8a000 to 0xff3c000 Compaq Tru64 UNIX V5.1A (Rev. 1885); Tue Jan 20 20:59:15 CET 2004 physical memory = 256.00 megabytes. available memory = 241.69 megabytes. using 948 buffers containing 7.40 megabytes of memory Firmware revision: 5.9-4 PALcode: UNIX version 1.86-68 COMPAQ AlphaServer DS10 617 MHz <...> NetRAIN configured. panic (cpu 0): vfs_mountroot: cannot mount root syncing disks... done DUMP: Warning: no disk available for dump. DUMP: first crash dump failed: attempting memory dump... DUMP: compressing 25880KB into 223567KB memory... DUMP: Starting Address Ending Address Size(MB) DUMP: ------------------ ------------------ -------- DUMP: 0xfffffc000fd70000 - 0xfffffc000ff3bfef 1.7 (indicator) DUMP: Writing data. [1MB] DUMP: crash dump complete. halted CPU 0 halt code = 5 HALT instruction executed PC = fffffc000044fa70 >>> >>> boot dka0 <"TOY clock" story> Alpha boot: available memory from 0xee4000 to 0xff3c000 Compaq Tru64 UNIX V5.1A (Rev. 1885); Wed May 15 12:40:17 CEST 2002 <...> NetRAIN configured. i2c: Server Management Hardware Present WARNING: preposterous time in TOY clock -- CHECK AND RESET THE DATE!! vm_swap_init: swap is set to eager allocation mode Checking device naming: Passed. Checking local filesystems <...> Subsystem hwautoconfig was successfully configured. Jan 20 20:12:47 update: started Checking for Installation Tasks... Executing Installation Tasks... The system is coming up. Please wait... <...> Setting kernel timezone variable Setting the current time and date with ntpdate Wed Jan 21 11:37:27 CET 2004 Ntpdate succeeded. WORKAROUND Please note that Jan 20 20:12:47 above, might be the backup value saved in the disk label of the dka0 boot disk. The same sequence, now successful thanks to MAKEDEV rz8: >>> boot dka0 <...> # make >>> boot dka100 # cd /mfs/mnt/dev; ./MAKEDEV rz8 MAKEDEV: special file(s) for rz8: rz8a rrz8a rz8b rrz8b rz8c rrz8c rz8d rrz8d rz8e rrz8e rz8f rrz8f rz8g rrz8g rz8h rrz8h # ls -l rz8* brw------- 1 root system 8,16384 Feb 3 16:55 rz8a <...> >>> boot dqb0 >>> boot dka0 <...> # make THANKS TO Dr. Thomas P. Blinn Tom Ackenhusen FOTI Gergely Lucien HERCAUD SEE ALSO + "TOY clock" story Date: Wed, 21 Jan 2004 12:21:55 +0100 From: Daniel Lungu To: tru64-unix-managers@ornl.gov Subject: SUMMARY: TOY clock