From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,7597fa1907b1c7af,start X-Google-Attributes: gid111c93,public From: Neoklis Subject: Format of time/date in cmos clock?? Date: 2000/10/24 Message-ID: #1/1 X-Deja-AN: 685162615 X-Sender: root@UP1000.home Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: 24 Oct 2000 12:19:12 -0300, lim-c53s02-l055.spidernet.net MIME-Version: 1.0 Reply-To: Neoklis XPident: Unknown Newsgroups: comp.os.linux.alpha Hi! I would like to learn in what format the cmos clock holds the time: Is it in seconds since the epoch or in month/day/year hour/mins etc? The problem I have is trying to dual-boot my UP1000 with FreeBSD and Alpha Linux installed on separate disks, with FreeBSD booted directly by SRM and Linux by loading AlphaBIOS from a floppy, since I still have SuSE 6.3 which was installed under the original AlphaBIOS firm- ware. When I boot into FreeBSD, it seems to set the date to July 17, which is the release date of FreeBSD 4.1, after a warning at boot time about preposterous clock chip date. When I boot into Linux, I find the year shifted to 2080, while the date seems to stay the same. I presume that FreeBSD alters the cmos clock at boot time but I don't know how. Another point is, can I read/set the cmos clock from the SRM console and how? This might help resolve this problem, I hope! Thanks in advance! -- Regards Neoklis Kyriazis