View previous topic :: View next topic |
Author |
Message |
franziale n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Jan 2006 Posts: 5
|
Posted: Fri Jan 20, 2006 5:06 pm Post subject: error when i try to compile the kernel |
|
|
why when i try to re-compile the kernel i've this error message:
make[2]:Warning:Clock skew detected. Your buold may be incomplete! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
erikm l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 08 Feb 2005 Posts: 634
|
Posted: Fri Jan 20, 2006 5:11 pm Post subject: |
|
|
This means your system clock isn't running at correct speed, so that mtimes of files appear to be ordered incorrectly, which can be a very serious problem on a system compiled from source.
The simplest way to verify the problem is to do a whilst measuring time with your watch, for instance. The difference will most likely be significant (as in a sleep 60 taking 30 seconds). Post back when you've verified the problem, we'll try to solve it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
franziale n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Jan 2006 Posts: 5
|
Posted: Fri Jan 20, 2006 5:19 pm Post subject: problem solved |
|
|
I've solved the problem using "hwclock --systohc" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
erikm l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 08 Feb 2005 Posts: 634
|
Posted: Fri Jan 20, 2006 5:23 pm Post subject: |
|
|
If you indeed have clock skew, syncing the hardware clock to the system clock will not solve the problem. Check your system clock speed using my suggestion above. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
XenoTerraCide Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/20669934541e32c233eb9f.gif)
Joined: 18 Jan 2004 Posts: 1418 Location: MI, USA
|
Posted: Fri Jan 20, 2006 7:57 pm Post subject: |
|
|
I had this problem. there was a bios flash from my manufacturer that fixed it. you may want to check and see if there is one from the manufacture of your computer or if you built it. the motherboard. (note: you may have to install windows to run this flash. I did) _________________ I don't hang out here anymore, try asking on http://unix.stackexchange.com/ if you want my help. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
obsrv Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/69718096948dd5dd7345ff.png)
Joined: 19 Aug 2005 Posts: 167 Location: Panevėžys, Lithuania
|
Posted: Fri Jan 20, 2006 8:35 pm Post subject: |
|
|
I have the same problem now. But I had no problems last 3 years. I checked system clocks speed with "sleep 60" and it's ok. What should I do? I can't change the date also with date tool. After /etc/init.d/clock restart, the date is wrong again. Help ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
erikm l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 08 Feb 2005 Posts: 634
|
Posted: Sat Jan 21, 2006 9:35 am Post subject: |
|
|
obsrv wrote: | I have the same problem now. But I had no problems last 3 years. I checked system clocks speed with "sleep 60" and it's ok. What should I do? I can't change the date also with date tool. After /etc/init.d/clock restart, the date is wrong again. Help ![Smile :)](images/smiles/icon_smile.gif) |
Did you set up NTP? What about the timezone symlink? Do you use the hardware clock for reference, and if so, does it run on local or UTC time? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jimi... Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1028784159446637ceb7104.gif)
Joined: 06 Aug 2005 Posts: 136 Location: IoM
|
Posted: Fri Jun 02, 2006 11:17 pm Post subject: |
|
|
I'm getting this problem also. I've just timed it using the method previously suggested and it seems to be in sync.
What gives? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
XenoTerraCide Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/20669934541e32c233eb9f.gif)
Joined: 18 Jan 2004 Posts: 1418 Location: MI, USA
|
Posted: Sat Jun 03, 2006 2:40 am Post subject: |
|
|
most clocks aren't... perfect and have very very minor creep. but if they have more than normal creep which shouldn't be more than probably a second (if not less) a day, then ntp is an imperfect solution. check to make sure you have Code: | CLOCK_SYSTOHC="yes"
| in /etc/conf.d/clock that will have your hardware clock set to the displayed time on shutdown. if your clock is still off when you do restarts check the CMOS battery it may be failing. _________________ I don't hang out here anymore, try asking on http://unix.stackexchange.com/ if you want my help. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jimi... Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1028784159446637ceb7104.gif)
Joined: 06 Aug 2005 Posts: 136 Location: IoM
|
Posted: Sat Jun 03, 2006 4:23 pm Post subject: |
|
|
XenoTerraCide wrote: | most clocks aren't... perfect and have very very minor creep. but if they have more than normal creep which shouldn't be more than probably a second (if not less) a day, then ntp is an imperfect solution. check to make sure you have Code: | CLOCK_SYSTOHC="yes"
| in /etc/conf.d/clock that will have your hardware clock set to the displayed time on shutdown. if your clock is still off when you do restarts check the CMOS battery it may be failing. |
It was set to no in /etc/conf.d/clock so I set it to yes and rebooted but I'm still getting clock skew. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
XenoTerraCide Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/20669934541e32c233eb9f.gif)
Joined: 18 Jan 2004 Posts: 1418 Location: MI, USA
|
Posted: Sat Jun 03, 2006 5:48 pm Post subject: |
|
|
are you using any kind of cpu throttling? PC or Laptop? _________________ I don't hang out here anymore, try asking on http://unix.stackexchange.com/ if you want my help. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jimi... Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1028784159446637ceb7104.gif)
Joined: 06 Aug 2005 Posts: 136 Location: IoM
|
Posted: Sat Jun 03, 2006 6:02 pm Post subject: |
|
|
No, but I am running Gentoo through VMWare if that makes any difference. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
XenoTerraCide Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/20669934541e32c233eb9f.gif)
Joined: 18 Jan 2004 Posts: 1418 Location: MI, USA
|
Posted: Sat Jun 03, 2006 6:04 pm Post subject: |
|
|
I'm not sure if it would... and systhoc doesn't help creep that much. _________________ I don't hang out here anymore, try asking on http://unix.stackexchange.com/ if you want my help. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|