Hi all. I just upgraded my server from 4.7-Stable to 5.0-Release by a full install. Now I hit a problem with the date.. the time goes much faster than normal.. maybe twice as normal... this morning I found the following kernel log in /var/log/messages May 26 17:23:58 jupiter kernel: Timecounter "i8254" frequency 1193182 Hz May 26 17:23:58 jupiter kernel: Timecounter "TSC" frequency 451024462 Hz May 26 17:23:58 jupiter kernel: Timecounter "ACPI-safe" frequency 3579545 Hz May 26 17:23:58 jupiter kernel: Timecounters tick every 10.000 msec that was about 17 hours ago.. now date reports: -bash-2.05b# date Wed May 28 03:18:18 CEST 2003 What's wrong? How can I fix it? Please send replies also to my box, as I'm not on the list. Thank you. -- Roberto Nunnari -software engineer- mailto:nunnari@die.supsi.ch Scuola Universitaria Professionale della Svizzera Italiana Dipartimento di Informatica e Elettronica http://www.die.supsi.ch SUPSI-DIE Via Cantonale tel: +41-91-6108561 6928 Manno """ fax: +41-91-6108570 Switzerland (o o) =======================oOO==(_)==OOo========================
the command: # sysctl kern.timecounter.hardware="i8254" fixes the timing error.. what do you think? Should I put it in sysctl.conf? Best regards. Roberto Nunnari wrote:> Hi all. > > I just upgraded my server from 4.7-Stable to 5.0-Release by a full > install. > > Now I hit a problem with the date.. the time goes much faster > than normal.. maybe twice as normal... > > this morning I found the following kernel log in /var/log/messages > > May 26 17:23:58 jupiter kernel: Timecounter "i8254" frequency 1193182 Hz > May 26 17:23:58 jupiter kernel: Timecounter "TSC" frequency 451024462 Hz > May 26 17:23:58 jupiter kernel: Timecounter "ACPI-safe" frequency > 3579545 Hz > May 26 17:23:58 jupiter kernel: Timecounters tick every 10.000 msec > > that was about 17 hours ago.. now date reports: > -bash-2.05b# date > Wed May 28 03:18:18 CEST 2003 > > What's wrong? How can I fix it? > > Please send replies also to my box, as I'm not on the list. > > Thank you.-- Roberto Nunnari -software engineer- mailto:nunnari@die.supsi.ch Scuola Universitaria Professionale della Svizzera Italiana Dipartimento di Informatica e Elettronica http://www.die.supsi.ch SUPSI-DIE Via Cantonale tel: +41-91-6108561 6928 Manno """ fax: +41-91-6108570 Switzerland (o o) =======================oOO==(_)==OOo========================
[moved from -stable to -current] Roberto Nunnari <nunnari@die.supsi.ch> writes:> I just upgraded my server from 4.7-Stable to 5.0-Release by a full > install.You shouldn't have. At the very least, you should have waited for 5.1 (which is only a week away now).> Now I hit a problem with the date.. the time goes much faster > than normal.. maybe twice as normal...You have a broken ACPI timer (Asus motherboard with Aladdin chipset?). The simplest solution is to disable the ACPI timer in loader.conf: debug.acpi.disable="timer" Alternatively, you can leave the ACPI timer in but use the kern.timecounter.hardware sysctl to select the TSC or i8254 timer instead (the TSC has less overhead but doesn't always work on SMP systems) DES -- Dag-Erling Smorgrav - des@ofug.org