* Problems enabling NTP on ELDK
@ 2007-09-05 11:29 Johan Borkhuis
2007-09-05 18:48 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Johan Borkhuis @ 2007-09-05 11:29 UTC (permalink / raw)
To: linuxppc-embedded
Hello,
I tried enabling NTP on my embedded machine (using ELDK 4.1, ppc_85xx,
kernel version 2.6.14 with Xenomai 2.3.2). After I did that I noticed
that ksoftirqd/0 suddenly took almost all processor time (> 95%). What
is causing this? Is there a way around this, or is this something that
does not cause any problems?
Kind regards,
Johan Borkhuis
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems enabling NTP on ELDK
2007-09-05 11:29 Problems enabling NTP on ELDK Johan Borkhuis
@ 2007-09-05 18:48 ` Wolfgang Denk
2007-09-06 7:43 ` Johan Borkhuis
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2007-09-05 18:48 UTC (permalink / raw)
To: Johan Borkhuis; +Cc: linuxppc-embedded
In message <46DE9322.7080901@dutchspace.nl> you wrote:
>
> I tried enabling NTP on my embedded machine (using ELDK 4.1, ppc_85xx,
> kernel version 2.6.14 with Xenomai 2.3.2). After I did that I noticed
> that ksoftirqd/0 suddenly took almost all processor time (> 95%). What
> is causing this? Is there a way around this, or is this something that
> does not cause any problems?
You probably have some poroblems in your kernel port - check the RTC
driver and related modules like I2C etc. Of course this depends on
the NTP configuration you use, but the only kernel interaction I can
think of that could cause this is if you interact with the RTC. [I
guess that normal network traffic is working fine on your board.]
BTW: ELDK 4.1 comes with a 2.6.19.2 kernel - is there a special
reason that you use such an obsoletel kernel tree?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Bankers do it with interest (penalty for early withdrawal).
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems enabling NTP on ELDK
2007-09-05 18:48 ` Wolfgang Denk
@ 2007-09-06 7:43 ` Johan Borkhuis
0 siblings, 0 replies; 3+ messages in thread
From: Johan Borkhuis @ 2007-09-06 7:43 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: linuxppc-embedded
Wolfgang Denk wrote:
> In message <46DE9322.7080901@dutchspace.nl> you wrote:
>
>> I tried enabling NTP on my embedded machine (using ELDK 4.1, ppc_85xx,
>> kernel version 2.6.14 with Xenomai 2.3.2). After I did that I noticed
>> that ksoftirqd/0 suddenly took almost all processor time (> 95%). What
>> is causing this? Is there a way around this, or is this something that
>> does not cause any problems?
>>
>
> You probably have some poroblems in your kernel port - check the RTC
> driver and related modules like I2C etc. Of course this depends on
> the NTP configuration you use, but the only kernel interaction I can
> think of that could cause this is if you interact with the RTC. [I
> guess that normal network traffic is working fine on your board.]
>
All other functions are working fine: no problem with network or other
PCI devices.
I disabled all RTC and I2C devices, and the problem disappeared. After
enabling all items one by one the cause of the problem seems to be the
DS1375 RTC: after I enable this and start NTPD ksoftirqd goes wild
again. I do not see any other special activity: no extra interrupts in
/proc/interrupts, and also no other RTC related errors or messages. Also
OpenPIC does not show any extra interrupts.
Is there a way to find out what interrupt is causing ksoftirqd to be
triggered?
> BTW: ELDK 4.1 comes with a 2.6.19.2 kernel - is there a special
> reason that you use such an obsoletel kernel tree?
>
I am using an MVME3100 board together with Xenomai. This board has
support for version 2.6.14-ppc and 2.6.20-ppc, while Xenomai/Adeos is
supported on 2.6.14 and 2.6.19. I did not yet find time to backport the
support to 2.6.19.
Kind regards,
Johan Borkhuis
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-09-06 7:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-05 11:29 Problems enabling NTP on ELDK Johan Borkhuis
2007-09-05 18:48 ` Wolfgang Denk
2007-09-06 7:43 ` Johan Borkhuis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).