Article View: comp.os.linux.development.system
Article #33Re: A whacky DATE bug in Linux - PLEASE HELP!
From: Erik Rossen
Date: Fri, 18 Sep 1998 00:00
Date: Fri, 18 Sep 1998 00:00
38 lines
2788 bytes
2788 bytes
Ron House wrote: > I am having trouble with my DOS partitions. I upgraded from Red Hat 4 to > RedHat 5.1 and since then all the datestamps on files in DOS partitions > are 10 hours ahead of their true time when checked from within Linux. As > I am in Queensland Australia (10 hours ahead of GMT) this is obviously a > time zone problem. But I have checked: > > Win95 says: Timezone Brisbane (GMT+10) > Linux says: Australia/Queensland > /etc/sysconfig/clock says UTC is false > Both systems agree on the current time. I was getting some stuff like this when I switched from Slackware 3.0 (with the 2.0.0 kernel) to Slackware 3.3 (with the 2.0.30 kernel), except that I am in Switzerland and the time difference was 2 hours instead of 10. The problem was with the RTC (Real Time Clock) module that didn't work with my box (a 486DX4). Look for an error message on booting up (or in /var/adm/syslog) that looks something like: modprobe: Can't locate module char-major-10-135 Errors messages involving /dev/rtc might be significant too. If I remember correctly, the trick was to have Linux look at the CMOS clock everytime it booted by including the following line in /etc/rc.d/rc.S : /sbin/clock -s If you don't have error messages like this, it is probably another problem. All of this is from vague memory since my notes are a bit sketchy. I suggest you try to find the thread on Dejanews. Good luck and let me know if this info was any help. Erik Rossen rossen@planet.ch
Technical Details
Message-ID:
<360287B0.2F17C581@planet.ch>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3601D4F7.247C8BC2@usq.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5392,12de531511895886 X-Google-Attributes: gidf5392,public X-Google-Thread: 10c696,12de531511895886 X-Google-Attributes: gid10c696,public X-Google-Thread: f9382,12de531511895886 X-Google-Attributes: gidf9382,public X-Google-Thread: 100c5f,12de531511895886 X-Google-Attributes: gid100c5f,public X-Google-Thread: faa64,12de531511895886 X-Google-Attributes: gidfaa64,public X-Google-Thread: 102983,12de531511895886 X-Google-Attributes: gid102983,public X-Google-Thread: ff9be,12de531511895886 X-Google-Attributes: gidff9be,public X-Google-Thread: f9b51,12de531511895886 X-Google-Attributes: gidf9b51,public From: Erik Rossen <rossen@planet.ch> Subject: Re: A whacky DATE bug in Linux - PLEASE HELP! Date: 1998/09/18 Message-ID: <360287B0.2F17C581@planet.ch> X-Deja-AN: 392449358 Content-Transfer-Encoding: 7bit References: <3601D4F7.247C8BC2@usq.edu.au> To: Ron House <house@usq.edu.au> Content-Type: text/plain; charset=us-ascii Organization: News Server of Sunrise Communications AG Mime-Version: 1.0 Newsgroups: comp.os.linux.development.system,,comp.os.linux.development.apps,comp.os.linux.setup,,alt.linux,alt.os.linux,comp.os.linux,comp.os.linux.questions,aus.computers.linux