Bug#432877: linux-image-2.6.21-2-686: adjtimex changes frequency-offset incorrectl\y

2008-12-14 Thread Moritz Muehlenhoff
forwarded 432877 http://bugzilla.kernel.org/show_bug.cgi?id=11370 thanks On Sun, Aug 05, 2007 at 10:32:36AM +0200, maximilian attems wrote: > good morning, > > On Sun, 05 Aug 2007, Martin Ziegler wrote: > > > Hi, > > > > 2.6.23-rc2 has the same behaviour. > > > > To set frequencies in multiples

Bug#432877: linux-image-2.6.21-2-686: adjtimex changes frequency-offset incorrectl\y

2007-08-05 Thread maximilian attems
good morning, On Sun, 05 Aug 2007, Martin Ziegler wrote: > Hi, > > 2.6.23-rc2 has the same behaviour. > > To set frequencies in multiples of 16 is good enough, but it could break > software which relied on different behaviour until kernel 2.6.18 ( or > on different behaviour on other machines.)

Bug#432877: linux-image-2.6.21-2-686: adjtimex changes frequency-offset incorrectl\y

2007-08-04 Thread Martin Ziegler
Hi, 2.6.23-rc2 has the same behaviour. To set frequencies in multiples of 16 is good enough, but it could break software which relied on different behaviour until kernel 2.6.18 ( or on different behaviour on other machines.) So I would consider it as a bug. Regards, Martin On Sat, 4 Aug 200

Bug#432877: linux-image-2.6.21-2-686: adjtimex changes frequency-offset incorrectl\y

2007-08-04 Thread maximilian attems
hello, On Sat, Aug 04, 2007 at 06:55:15PM +0200, Martin Ziegler wrote: > I tested adjtimex() more systemtically (on 2.6.22) and found > that only frequencies which are divisible > by 16 can be set. Other numbers are changed to the > next number below (in absolute value) which is divible by 16. ok

Bug#432877: linux-image-2.6.21-2-686: adjtimex changes frequency-offset incorrectl\y

2007-08-04 Thread Martin Ziegler
I tested adjtimex() more systemtically (on 2.6.22) and found that only frequencies which are divisible by 16 can be set. Other numbers are changed to the next number below (in absolute value) which is divible by 16. Regards, Martin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Bug#432877: linux-image-2.6.21-2-686: adjtimex changes frequency-offset incorrectl\y

2007-08-04 Thread maximilian attems
On Sat, Aug 04, 2007 at 12:49:10PM +0200, Martin Ziegler wrote: > Sorry, the bug is still there as before. > > Here is the content of /proc/version: Linux version 2.6.22-1-686 (Debian > 2.6.22-3) ([EMAIL PROTECTED]) (gcc version 4.1.3 20070718 (prerelease) > (Debian 4.1.2-14)) #1 SMP Sun Jul 29

Bug#432877: linux-image-2.6.21-2-686: adjtimex changes frequency-offset incorrectl\y

2007-08-04 Thread Martin Ziegler
Sorry, the bug is still there as before. Here is the content of /proc/version: Linux version 2.6.22-1-686 (Debian 2.6.22-3) ([EMAIL PROTECTED]) (gcc version 4.1.3 20070718 (prerelease) (Debian 4.1.2-14)) #1 SMP Sun Jul 29 14:37:42 UTC 2007 By the way: If I run the program as non--root, it rep

Bug#432877: linux-image-2.6.21-2-686: adjtimex changes frequency-offset incorrectl\y

2007-08-04 Thread maximilian attems
On Thu, 12 Jul 2007, [EMAIL PROTECTED] wrote: > The program > #include > #include > int main() > { > struct timex tx; > > /*get the clock parameters*/ > tx.modes=0; > adjtimex(&tx); > printf("old frequency: %ld\n",tx.freq); > > /*Change the frequence*/ > tx.freq=128350; > tx.mo

Bug#432877: linux-image-2.6.21-2-686: adjtimex changes frequency-offset incorrectl\y

2007-07-12 Thread ziegler
Package: linux-image-2.6.21-2-686 Version: 2.6.21-5 Severity: normal The program #include #include int main() { struct timex tx; /*get the clock parameters*/ tx.modes=0; adjtimex(&tx); printf("old frequency: %ld\n",tx.freq); /*Change the frequence*/ tx.freq=128350; tx.modes=ADJ