From owner-freebsd-questions Sat Jan 1 10:54:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by hub.freebsd.org (Postfix) with ESMTP id 959C714C21 for ; Sat, 1 Jan 2000 10:54:31 -0800 (PST) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.0) with SMTP id FAA25808; Sun, 2 Jan 2000 05:54:09 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 2 Jan 2000 05:54:09 +1100 (EST) From: Ian Smith Reply-To: Ian Smith To: questions@freebsd.org Subject: non-y2k Award BIOS workaround? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm so embarrassed .. after checking a dozen boxes lately and finding none that a date command in 2000 wouldn't permanently fix, I shutdown our 2.2.6 server from near 76 days uptime at 23:57 NYE, just to check .. .. and it's got a dreaded Award BIOS 4.50G, that won't keep years with 2-digit portions less than 94 ! Award want around AU$120 to 'upgrade' their broken $15 EPROM - for little more I'll buy it a new Super7 m/bd. Meanwhile - trying to cut an awfully long new years' day saga short: Each boot comes up with year 1994(-99). /var/run/* are 1/1/1194, cron quits running 5-minutely MRTG and ipfw snapshot logging after one error. Rmserver goes berserk and eats 75%+ CPU. Logs are screwed. Not pretty. Having found that 'date -v00y' fixed year to 2000 without messing with day/month/time, correctly displaying the system date during boot, went hunting in /etc/rc, first adding '/bin/date -v00y' up top - which works, but seems to not update the CMOS, as 'adjkerntz -i' below retrieves 1994 again, before adjusting the local time offset (needed for log analysis). Another 'date -v00y' below the later 'adjkerntz -i' doesn't work either, though running date once a terminal is available in multiuser, does (?), but too late not to have to then kill and restart cron and rmserver .. I need to have the date set right before cron and various servers started by rc.network and local, start. Wall time, Aust EST (summer). Does anyone know where I should (or whether I can?) add a date or other command in /etc/rc that would do any good for this workaround - while we get our planned new K6-2 replacement box built and up to 3.3-STABLE .. Happy new year :) Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message