Date: Sun, 2 Jan 2000 05:54:09 +1100 (EST) From: Ian Smith <smithi@nimnet.asn.au> To: questions@freebsd.org Subject: non-y2k Award BIOS workaround? Message-ID: <Pine.BSF.3.96.1000102040832.22835B-100000@gaia.nimnet.asn.au>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1000102040832.22835B-100000>