All of lore.kernel.org
 help / color / mirror / Atom feed
* + ocotea-board-ntpd-complains-that-the-frequency-error-exceeds-the-tolerance.patch added to -mm tree
@ 2007-03-16 10:52 akpm
  2007-03-16 14:14 ` Kumar Gala
  0 siblings, 1 reply; 5+ messages in thread
From: akpm @ 2007-03-16 10:52 UTC (permalink / raw)
  To: mm-commits; +Cc: bart.vanassche, benh, galak, paulus


The patch titled
     Ocotea board: ntpd complains that the frequency error exceeds the tolerance
has been added to the -mm tree.  Its filename is
     ocotea-board-ntpd-complains-that-the-frequency-error-exceeds-the-tolerance.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Ocotea board: ntpd complains that the frequency error exceeds the tolerance
From: Bart Van Assche <bart.vanassche@gmail.com>

Lifted from http://bugzilla.kernel.org/show_bug.cgi?id=8182

Steps to reproduce:
- Boot an Ocotea board with the mainline 2.6.20.1 kernel.
- Create an /etc/ntp.conf file with at least one NTP server and iburst mode set.
- Issue the command "ntpd -g".
- Wait about two minutes.
- Verify ntpd's status via "ntpq -pn" and by looking in /var/log/ntp.

Patch that fixes this problem:

Cc: Kumar Gala <galak@gate.crashing.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/ppc/platforms/4xx/ocotea.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/ppc/platforms/4xx/ocotea.c~ocotea-board-ntpd-complains-that-the-frequency-error-exceeds-the-tolerance arch/ppc/platforms/4xx/ocotea.c
--- a/arch/ppc/platforms/4xx/ocotea.c~ocotea-board-ntpd-complains-that-the-frequency-error-exceeds-the-tolerance
+++ a/arch/ppc/platforms/4xx/ocotea.c
@@ -289,7 +289,7 @@ ocotea_setup_arch(void)
 	 * from FPGA, because it can be changed by on-board switches
 	 * --ebs
 	 */
-	ibm440gx_get_clocks(&clocks, 33333333, 6 * 1843200);
+	ibm440gx_get_clocks(&clocks, 33300000, 6 * 1843200);
 	ocp_sys_info.opb_bus_freq = clocks.opb;
 
 	/* Setup TODC access */
_

Patches currently in -mm which might be from bart.vanassche@gmail.com are

ocotea-board-ntpd-complains-that-the-frequency-error-exceeds-the-tolerance.patch

^ permalink raw reply	[flat|nested] 5+ messages in thread
* + ocotea-board-ntpd-complains-that-the-frequency-error-exceeds-the-tolerance.patch added to -mm tree
@ 2007-03-16  2:55 akpm
  0 siblings, 0 replies; 5+ messages in thread
From: akpm @ 2007-03-16  2:55 UTC (permalink / raw)
  To: mm-commits; +Cc: galak, benh, paulus


The patch titled
     Ocotea board: ntpd complains that the frequency error exceeds the tolerance
has been added to the -mm tree.  Its filename is
     ocotea-board-ntpd-complains-that-the-frequency-error-exceeds-the-tolerance.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Ocotea board: ntpd complains that the frequency error exceeds the tolerance


Lifted from http://bugzilla.kernel.org/show_bug.cgi?id=8182

Steps to reproduce:
- Boot an Ocotea board with the mainline 2.6.20.1 kernel.
- Create an /etc/ntp.conf file with at least one NTP server and iburst mode set.
- Issue the command "ntpd -g".
- Wait about two minutes.
- Verify ntpd's status via "ntpq -pn" and by looking in /var/log/ntp.

Patch that fixes this problem:

Cc: Kumar Gala <galak@gate.crashing.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/ppc/platforms/4xx/ocotea.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/ppc/platforms/4xx/ocotea.c~ocotea-board-ntpd-complains-that-the-frequency-error-exceeds-the-tolerance arch/ppc/platforms/4xx/ocotea.c
--- a/arch/ppc/platforms/4xx/ocotea.c~ocotea-board-ntpd-complains-that-the-frequency-error-exceeds-the-tolerance
+++ a/arch/ppc/platforms/4xx/ocotea.c
@@ -289,7 +289,7 @@ ocotea_setup_arch(void)
 	 * from FPGA, because it can be changed by on-board switches
 	 * --ebs
 	 */
-	ibm440gx_get_clocks(&clocks, 33333333, 6 * 1843200);
+	ibm440gx_get_clocks(&clocks, 33300000, 6 * 1843200);
 	ocp_sys_info.opb_bus_freq = clocks.opb;
 
 	/* Setup TODC access */
_

Patches currently in -mm which might be from galak@gate.crashing.org are

ocotea-board-ntpd-complains-that-the-frequency-error-exceeds-the-tolerance.patch

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-03-16 14:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-16 10:52 + ocotea-board-ntpd-complains-that-the-frequency-error-exceeds-the-tolerance.patch added to -mm tree akpm
2007-03-16 14:14 ` Kumar Gala
2007-03-16 14:34   ` Bart Van Assche
2007-03-16 14:40     ` Stefan Roese
  -- strict thread matches above, loose matches on Subject: below --
2007-03-16  2:55 akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.