Well... problem solved! I will set this bug as invalid. :)
The spread spectrum and/or that dynamic overclock technology was to blame. 

** Changed in: adjtimex (Ubuntu)
       Status: New => Invalid

** Description changed:

+ Update:
+ Please read comments #11 and #12 below:
+ https://bugs.launchpad.net/ubuntu/+source/adjtimex/+bug/553237/comments/11
+ https://bugs.launchpad.net/ubuntu/+source/adjtimex/+bug/553237/comments/12
+ 
  Binary package hint: adjtimex
  Package version: 1.28-1
  
  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:       Ubuntu
  Description:  Ubuntu lucid (development branch)
  Release:      10.04
  Codename:     lucid
  
  
  Bug report exists for debian too: 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557949
  
  I have the same problem on Ubuntu 10.04 (lucid, still under testing).
  This error makes this package unusable.
  
  It looks like that "Correctly apply +-500 ppm sanity check" applied for 
version 1.28 is causing problems.
  Also, bug #559882 ( http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559882 ) 
seems to be a duplicate of this one.
  
  I have the same problem:
  
  $ sudo aptitude install adjtimex
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Reading extended state information
  Initializing package states... Done
  The following NEW packages will be installed:
    adjtimex
  0 packages upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
  Need to get 0B/58.2kB of archives. After unpacking 176kB will be used.
  Writing extended state information... Done
  Preconfiguring packages ...
  Selecting previously deselected package adjtimex.
  (Reading database ... 167625 files and directories currently installed.)
  Unpacking adjtimex (from .../adjtimex_1.28-1_amd64.deb) ...
  Processing triggers for man-db ...
  Processing triggers for ureadahead ...
  Setting up adjtimex (1.28-1) ...
  update-rc.d: warning: adjtimex start runlevel arguments (S) do not match LSB 
Default-Start values (2 3 4 5)
  update-rc.d: warning: adjtimex stop runlevel arguments (none) do not match 
LSB Default-Stop values (0 1 6)
  Regulating system clock...done.
  Comparing clocks (this will take 70 sec)...done.
  awk: BEGIN{print ((to-10000)*100 + override)./65536.)*.0864}
  awk:                                        ^ syntax error
  awk: BEGIN{print ((to-10000)*100 + override)./65536.)*.0864}
  awk:                                          ^ unterminated regexp
  awk: cmd. line:1: BEGIN{print ((to-10000)*100 + override)./65536.)*.0864}
  awk: cmd. line:1:                                                        ^ 
unexpected newline or end of string
  Adjusting system time by  sec/day to agree with CMOS clock...done.
  
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Reading extended state information
  Initializing package states... Done
  Writing extended state information... Done
  
  $ sudo adjtimex --adjust
                                        --- current ---   -- suggested --
  cmos time     system-cmos  error_ppm   tick      freq    tick      freq
  1270121506    -124.142183
  1270121516    -123.957160    18502.3  10000         0
  1270121526    -123.772238    18492.2  10000         0    9815    511312
  1270121536    -123.571375    20086.3  10000         0    9799    897037
  1270121546    -123.386457    18491.8  10000         0    9815    537875
  
  ERROR: required correction is greater than plus/minus 500 parts
  per million, quitting (use --force-adjust to override).
  
  $ sudo adjtimex --adjust --force-adjust
                                        --- current ---   -- suggested --
  cmos time     system-cmos  error_ppm   tick      freq    tick      freq
  1270121703    -120.372324
  1270121713    -120.187284    18504.0  10000         0
  1270121723    -119.986438    20084.6  10000         0    9799   1009537
  1270121733    -119.801500    18493.8  10000         0    9815    406625
  1270121743    -119.596560    20494.0  10000         0    9795    392687
  
  WARNING: required correction is greater than plus/minus 500 parts
  per million, but adjusting anyway per your request.
  1270121753    -119.627563    -3100.3   9795    392687    9826    412337
  1270121763    -119.639954    -1239.1   9795    392687    9807   2955737
  1270121773    -119.652301    -1234.7   9795    392687    9807   2666674
  
  WARNING: required correction is greater than plus/minus 500 parts
  per million, but adjusting anyway per your request.

-- 
awk errors and invalid /etc/default/adjtimex
https://bugs.launchpad.net/bugs/553237
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to