From: SourceForge.net <no...@so...> - 2007-09-02 20:54:11
|
Bugs item #1780633, was opened at 2007-08-24 00:24 Message generated for change (Comment added) made by henryn You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=622063&aid=1780633&group_id=98788 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: v0.7.x (release) Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Clock drift every 5 seconds Initial Comment: Hello, I installed both coLinux 0.6.4 and 0.7.1 and the Debian 4.0 image from sourceforge. The problem remains: Every 5 seconds, the system clock is increased by 8 hours, 35 minutes and 45 seconds. Example: debian:~# while sleep 1; do date; done Sat Aug 25 10:44:38 CEST 2007 Sat Aug 25 10:44:39 CEST 2007 Sat Aug 25 10:44:40 CEST 2007 Sat Aug 25 10:44:41 CEST 2007 Sat Aug 25 19:20:26 CEST 2007 Sat Aug 25 19:20:27 CEST 2007 Sat Aug 25 19:20:28 CEST 2007 Sat Aug 25 19:20:29 CEST 2007 Sat Aug 25 19:20:30 CEST 2007 Sun Aug 26 03:56:27 CEST 2007 Sun Aug 26 03:56:28 CEST 2007 Sun Aug 26 03:56:30 CEST 2007 Sun Aug 26 03:56:31 CEST 2007 Sun Aug 26 03:56:32 CEST 2007 Sun Aug 26 12:32:17 CEST 2007 Sun Aug 26 12:32:18 CEST 2007 Sun Aug 26 12:32:19 CEST 2007 Sun Aug 26 12:32:20 CEST 2007 Sun Aug 26 12:32:21 CEST 2007 Sun Aug 26 21:07:54 CEST 2007 Sun Aug 26 21:08:19 CEST 2007 [...] debian:~# uname -a Linux debian 2.6.12-co-0.7.1 #1 Sun Dec 31 20:25:16 UTC 2006 i686 GNU/Linux The host is an AMD Athlon 64 3200+ system with 1 GB RAM, SATA harddisk and Windows XP Home SP2. ---------------------------------------------------------------------- >Comment By: Henry N. (henryn) Date: 2007-09-02 22:54 Message: Logged In: YES user_id=579204 Originator: NO Reinstalling windows would not help, I'm afraid. coLinux time base use an windows software timer for the HZ value (100ms). This should work in all cases. You can running native linux. Ok. Please compaire the kernel bootmessages (dmesg). Have the native kernel any special hacks for this cpu? Compair also the /proc/cpuinfo. Any difference with the TSC? Please enable colinux-debug after boot, for 10 seconds, than stop it with CTRL-C and view into the file. coLinux would print, if detect some problems. colinux-debug-daemon.exe -d -p -s prints=31,misc=31 -f debug.xml Hope you will see and problems. Have you tried to go into runlevel S ("init s" after boot). Can you check any other time recources? wath does /proc/uptime? The same as you see on "top". PS: German is no problem. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2007-08-26 22:35 Message: Logged In: NO Hallo, thanks for your hints. Unfortunately, they did not help. :-( I have now tried daemons-0.8.0-20070810.zip together with vmlinux-2.6.22-co-0.8.0-20070808.zip . Same problem. On another machine (Celeron, 512 MB, SATA HD) with Windows XP Professional SP2, the same coLinux+kernel combination works without problems. The file /etc/adjtime containes "0.0 0 0.0". There is no process under the linux system which could change the time. I have stopped all processes, and also tried the kernel parameter "init=/bin/bash", but the time drift remains. I can hardly believe that the host CPU is broken, because native Linux runs fine on the system. Maybe the Windows XP should be reinstalled... Btw, the technical details of the PC are listed here: http://www.heise.de/ct/hintergrund/meldung/45580 The page is in German, but the table at the end should be readable without German language skills. ---------------------------------------------------------------------- Comment By: Henry N. (henryn) Date: 2007-08-24 12:45 Message: Logged In: YES user_id=579204 Originator: NO All kernels before 2.6.22 have the same source code for time (coLinux 0.7.1 and before). Perhaps the 2.6.22 solved it? The code for timer is completely new there. But, I'm afraid, it is some in the configuration or with the host cpu. Please check that /etc/adjtime has "0 0 0" in the first line. >From coLinux no such process is known to change the time all 5 seconds. Has you a process, what does such? Try to start colinux in the lowest runlevel "init s" or "init 1". Than, check the time warp again. PS: Please use the tested snapshot http://www.colinux.org/snapshots/, not the autobuilds. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2007-08-24 07:42 Message: Logged In: NO Those versions are both horribly out of date. If you're interested in using colinux, you really should subscribe to the mailing list at https://lists.sourceforge.net/lists/listinfo/colinux-devel (about 5 messages per week). That's where the new releases are available. The latest version is this one: http://sourceforge.net/mailarchive/forum.php?thread_name=20070810085406.4E919112C6A%40HNE-LX.terminal&forum_name=colinux-devel ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=622063&aid=1780633&group_id=98788 |