Re: [LAU] OpenMoko FreeRunner and Real Time Kernel

From: Rui Nuno Capela <rncbc@email-addr-hidden>
Date: Wed Jul 16 2008 - 10:14:57 EEST

On Tue, July 15, 2008 20:02, Ken Restivo wrote:
> On Mon, Jul 14, 2008 at 11:48:18PM +0100, Rui Nuno Capela wrote:
>
>> Florian Schmidt wrote:
>>
>>> Hi Ken,
>>>
>>>
>>> On Monday 14 July 2008, Ken Restivo wrote:
>>>
>>>> Linux version 2.6.21-rt1-1 (root@email-addr-hidden) (gcc version 4.1.2 20061115
>>>>
>>> ^^^^^The version string shows it though :)
>>>
>>>
>>>> (prerelease) (Debian 4.1.1-21)) #1 SMP PREEMPT Thu May 3 00:41:41
>>>> PDT 2007
>>>>
>>>>
>>>>
>>>> No "RT" there, but I definitely know it is an RT kernel, because I
>>>> patched it myself.
>>>
>>
>> i'm afraid you're betting on the wrong horse :)
>>
>> you could have patched it alright (no doubt about that) and also set
>> EXTRAVERSION with the "-rt1-1" suffix, but, unless you've set
>> CONFIG_PREEMPT_RT=y you're not running a full-preeept RT kernel, that's
>> for sure.
>>
>> afaict, when one talks about a RT linux kernel, he/she's meaning that
>> CONFIG_PREEMPT_RT=y and then, trust me, the "RT" will appear in the
>> `uname -a` line output.
>>
>>
>
> On my laptop, CONFIG_PREEMPT_RT is set, but no "RT" appears in the uname
> -a line.
>

strange.

> It's definitely a RT kernel. I've been running it for a year now.
>

dunno when that "RT" got in the uname -a line, but one other way for you
to check that your kernel is _actually_ a full real-time preempt kernel is
for seeing the existence of the irq service handler threads like this (as
root)

  ps -ef | grep -i IRQ

check that out, not that it makes a difference other than a point

-- 
rncbc aka Rui Nuno Capela
rncbc@email-addr-hidden
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Wed Jul 16 12:15:03 2008

This archive was generated by hypermail 2.1.8 : Wed Jul 16 2008 - 12:15:03 EEST