Geode GX1 + RT-Preempt + ACPI
Hi,
I have this same problem
(http://www.mail-archive.com/[email protected]/msg00333.html).
Someone can give me some suggestions?
Ciao,
Alessio
Quoted 4 lines · Alessio Igor Bogani
I have this same problem
(http://www.mail-archive.com/[email protected]/msg00333.html).Someone can give me some suggestions?
First of all, running a realtime OS on such a machine is no good idea, as it is full of system management software that steals you the CPU.
Try to run your kernel with "clocksource=pit" as this hardware has no usefull other timer with interrupt capability.
Hope it helps
Juergen
Signature · 5 lines
Dipl.-Ing. Juergen Beisert | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Vertretung Sued/Muenchen, Germany Phone: +49-5121-206917-7 | Fax: +49-5121-206917-9
Hi Juergen,
Quoted 8 lines · Juergen Beisert
Quoted 4 lines · Alessio Igor Bogani
I have this same problem
(http://www.mail-archive.com/[email protected]/msg00333.html).Someone can give me some suggestions?
First of all, running a realtime OS on such a machine is no good idea, as it is full of system management software that steals you the CPU.
What do you mean by "system management software"? The only software running on my gx1 hardware is my linux system with kernel 2.6.18 using rt preempt patch and compiled for x86.
Quoted 2 lines
Try to run your kernel with "clocksource=pit" as this hardware has no usefull other timer with interrupt capability.
I tried this for rt-preempt patched kernels > 2.6.18 (where acpi is needed for the highres timer) but still no hard realtime capability.
--peter
Hi Peter,
On Tue, 2007-05-15 at 13:26 +0200, Peter Feuerer wrote:
[...]
Quoted 6 lines
Quoted 2 lines
First of all, running a realtime OS on such a machine is no good idea, as it is full of system management software that steals you the CPU.
What do you mean by "system management software"? The only software running on my gx1 hardware is my linux system with kernel 2.6.18 using rt preempt patch and compiled for x86.
This type of software is implemented into BIOS.
[...]
Quoted 2 lines
I tried this for rt-preempt patched kernels > 2.6.18 (where acpi is needed for the highres timer) but still no hard realtime capability.
I'm trying 2.6.21-rt1 and it _seems_ works (not tested yet).
Ciao,
Alessio
Hi Alessio,
Quoted 4 lines · Alessio Igor Bogani
Hi Peter,
On Tue, 2007-05-15 at 13:26 +0200, Peter Feuerer wrote:
[...]
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
First of all, running a realtime OS on such a machine is no good idea, as it is full of system management software that steals you the CPU.
What do you mean by "system management software"? The only software running on my gx1 hardware is my linux system with kernel 2.6.18 using rt preempt patch and compiled for x86.
This type of software is implemented into BIOS.
I see. Thanks for this information, that's realy annoying!
Quoted 5 lines
[...]
Quoted 2 lines
I tried this for rt-preempt patched kernels > 2.6.18 (where acpi is needed for the highres timer) but still no hard realtime capability.
I'm trying 2.6.21-rt1 and it _seems_ works (not tested yet).
The kernel itself was booting up, and running fine, but cyclictest and my little square wave example
(http://rt.wiki.kernel.org/index.php/Squarewave-example) were not able to achieve stable timings.
--peter
Quoted 12 lines · Peter Feuerer
Hi Alessio,
Quoted 9 lines · Alessio Igor Bogani
Hi Peter,
On Tue, 2007-05-15 at 13:26 +0200, Peter Feuerer wrote:
[...]Quoted 4 lines
Quoted 3 lines
First of all, running a realtime OS on such a machine is no good idea, as it is full of system management software that steals you the CPU.
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
What do you mean by "system management software"? The only software running on my gx1 hardware is my linux system with kernel 2.6.18 using rt preempt patch and compiled for x86.
This type of software is implemented into BIOS.
I see. Thanks for this information, that's realy annoying!
No, it makes this x86 system compatible to standard pc. Try to run any time critical software and scroll your text console screen (it must be a text console, no graphical one). You will get very nice results.... (side note: Text mode is completely emulated in SMM)
Quoted 11 lines
Quoted 6 lines
[...]
Quoted 2 lines
I tried this for rt-preempt patched kernels > 2.6.18 (where acpi is needed for the highres timer) but still no hard realtime capability.
I'm trying 2.6.21-rt1 and it _seems_ works (not tested yet).
The kernel itself was booting up, and running fine, but cyclictest and my little square wave example
(http://rt.wiki.kernel.org/index.php/Squarewave-example) were not able to achieve stable timings.
Once again. On this piece of hardware there is no other useful timer as the PIT.
Juergen
Signature · 5 lines
Dipl.-Ing. Juergen Beisert | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Vertretung Sued/Muenchen, Germany Phone: +49-5121-206917-7 | Fax: +49-5121-206917-9
Hi,
On Tue, 2007-05-15 at 20:08 +0200, Juergen Beisert wrote:
[...]
Quoted 9 lines
Quoted 6 lines
Quoted 1 line
I'm trying 2.6.21-rt1 and it _seems_ works (not tested yet).
The kernel itself was booting up, and running fine, but cyclictest and my little square wave example
(http://rt.wiki.kernel.org/index.php/Squarewave-example) were not able to achieve stable timings.Once again. On this piece of hardware there is no other useful timer as the PIT.
Cyclictest tell me this:
"WARNING: High resolution timers not available"
also if i add "clocksource=pit" in the kernel command line! :-(
Ciao,
Alessio
Quoted 9 lines · Alessio Igor Bogani
On Tue, 2007-05-15 at 20:08 +0200, Juergen Beisert wrote:
[...]Quoted 7 lines
Quoted 6 lines
Quoted 1 line
I'm trying 2.6.21-rt1 and it _seems_ works (not tested yet).
The kernel itself was booting up, and running fine, but cyclictest and my little square wave example
(http://rt.wiki.kernel.org/index.php/Squarewave-example) were not able to achieve stable timings.
Quoted 8 lines
Quoted 2 lines
Once again. On this piece of hardware there is no other useful timer as the PIT.
Cyclictest tell me this:
"WARNING: High resolution timers not available"
also if i add "clocksource=pit" in the kernel command line! :-(
Looks like it didn't switch to highres mode. You can check this by looking into /proc/timer_list.
Robert
Signature · 5 lines
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hannoversche Str. 2, 31134 Hildesheim, Germany
Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9Quoted 11 lines · Robert Schwebel
Quoted 8 lines
Quoted 2 lines
Once again. On this piece of hardware there is no other useful timer as the PIT.
Cyclictest tell me this:
"WARNING: High resolution timers not available"
also if i add "clocksource=pit" in the kernel command line! :-(
Looks like it didn't switch to highres mode. You can check this by looking into
/proc/timer_list.
It can _NOT_ switch into highres mode on a machine, where the only clock source is the PIT.
Highres / dyntick mode requires a reliable continuous counting clock source to keep track of time.
PIT is not continuous. We can use PIT as clock source only when PIT is in periodic mode, but it is slow and unreliable.
If we would switch to highres/dyntick with PIT we would lose track of time completely, because we would try to read the time from the device which we use to program the next event interrupt.
There is no way to solve this on systems, which have only a PIT.
tglx