Real-time linux kernel
#14
(03-10-2016, 05:01 AM)umiddelb Wrote:
(03-09-2016, 01:44 AM)Artyom Wrote: @umiddelb
Hi again Uli!

Try to recompile the kernel with these options:

...
# RCU Subsystem
(OK) CONFIG_TREE_PREEMPT_RCU=y
(OK) CONFIG_PREEMPT_RCU=y

...
# Kernel Features
(OK) CONFIG_PREEMPT=y
(OK) CONFIG_PREEMPT_RT_BASE=y
(Not present) CONFIG_HAVE_PREEMPT_LAZY=y
(Not present) CONFIG_PREEMPT_LAZY=y
.....
(Not present) CONFIG_PREEMPT_RT_FULL=y
(OK) CONFIG_PREEMPT_COUNT=y
(ARMv7 only, 3.12+ only)CONFIG_HZ_FIXED=0
(MIPS only) CONFIG_HZ_100=y
(ARMv7 only) CONFIG_SCHED_HRTICK=y

# Timers subsystem
(ARMv7 only) CONFIG_HIGH_RES_TIMERS=y 1

# Debug Lockups and Hangs
(OK) CONFIG_TIMER_STATS=y
(OK) CONFIG_DEBUG_PREEMPT=y

# RCU Debugging
(OK) CONFIG_TREE_PREEMPT_RCU=y
(OK) CONFIG_PREEMPT_RCU=y

If the kernel build a successful, try to make the tests.
Hi Artyom,

the green coloured settings are already enabled, the red coloured settings cannot be enabled due to different reasons:
- they depend on a certain architecture or minimal kernel version
- they depend on additional patches being applied first

Cheers
Uli
You use "make menuconfig" when configuring your kernel? I find some info about (as i undestand minimal kernel configuration):
--------------------------------------------------------------------------------------------
Required parameters for configuring realtime kernel?
Kernel 2.6.x:
CONFIG_PREEMPT=y
CONFIG_PREEMPT_RT=y
Kernel 3.x:
CONFIG_PREEMPT=y
CONFIG_PREEMPT_RT_BASE=y
CONFIG_PREEMPT_RT_FULL=y
Optional parameters for configuring realtime kernel, but they affect realtime performance?
CONFIG_HIGH_RES_TIMERS=y
------------------------------------------------------------------------------------------------------------------
More you can find here: https://rt.wiki.kernel.org/index.php/Fre...nel_3.x:_2

As I undestand CONFIG_PREEMPT_RT_FULL must present in our kernel...

(03-10-2016, 05:24 AM)Artyom Wrote:
(03-10-2016, 05:01 AM)umiddelb Wrote:
(03-09-2016, 01:44 AM)Artyom Wrote: @umiddelb
Hi again Uli!

Try to recompile the kernel with these options:

...
# RCU Subsystem
(OK) CONFIG_TREE_PREEMPT_RCU=y
(OK) CONFIG_PREEMPT_RCU=y

...
# Kernel Features
(OK) CONFIG_PREEMPT=y
(OK) CONFIG_PREEMPT_RT_BASE=y
(Not present) CONFIG_HAVE_PREEMPT_LAZY=y
(Not present) CONFIG_PREEMPT_LAZY=y
.....
(Not present) CONFIG_PREEMPT_RT_FULL=y
(OK) CONFIG_PREEMPT_COUNT=y
(ARMv7 only, 3.12+ only)CONFIG_HZ_FIXED=0
(MIPS only) CONFIG_HZ_100=y
(ARMv7 only) CONFIG_SCHED_HRTICK=y

# Timers subsystem
(ARMv7 only) CONFIG_HIGH_RES_TIMERS=y 1

# Debug Lockups and Hangs
(OK) CONFIG_TIMER_STATS=y
(OK) CONFIG_DEBUG_PREEMPT=y

# RCU Debugging
(OK) CONFIG_TREE_PREEMPT_RCU=y
(OK) CONFIG_PREEMPT_RCU=y

If the kernel build a successful, try to make the tests.
Hi Artyom,

the green coloured settings are already enabled, the red coloured settings cannot be enabled due to different reasons:
- they depend on a certain architecture or minimal kernel version
- they depend on additional patches being applied first

Cheers
Uli
You use "make menuconfig" when configuring your kernel? I find some info about (as i undestand minimal kernel configuration):
--------------------------------------------------------------------------------------------
Required parameters for configuring realtime kernel?
Kernel 2.6.x:
CONFIG_PREEMPT=y
CONFIG_PREEMPT_RT=y
Kernel 3.x:
CONFIG_PREEMPT=y
CONFIG_PREEMPT_RT_BASE=y
CONFIG_PREEMPT_RT_FULL=y
Optional parameters for configuring realtime kernel, but they affect realtime performance?
CONFIG_HIGH_RES_TIMERS=y
------------------------------------------------------------------------------------------------------------------
More you can find here: https://rt.wiki.kernel.org/index.php/Fre...nel_3.x:_2

As I undestand CONFIG_PREEMPT_RT_FULL must present in our kernel...

Uli, try to find this in "menuconfig": Preemption Model --> Fully Preemptible Kernel (RT)


Messages In This Thread
Real-time linux kernel - by Artyom - 03-02-2016, 09:54 PM
RE: Real-time linux kernel - by Artyom - 03-06-2016, 02:23 AM
RE: Real-time linux kernel - by umiddelb - 03-06-2016, 03:28 PM
RE: Real-time linux kernel - by Artyom - 03-07-2016, 12:47 AM
RE: Real-time linux kernel - by umiddelb - 03-07-2016, 01:48 AM
RE: Real-time linux kernel - by Artyom - 03-07-2016, 02:07 AM
RE: Real-time linux kernel - by Artyom - 03-07-2016, 03:29 AM
RE: Real-time linux kernel - by umiddelb - 03-07-2016, 04:16 AM
RE: Real-time linux kernel - by Artyom - 03-07-2016, 05:29 AM
RE: Real-time linux kernel - by umiddelb - 03-07-2016, 11:24 AM
RE: Real-time linux kernel - by Artyom - 03-08-2016, 10:18 AM
RE: Real-time linux kernel - by Artyom - 03-09-2016, 01:44 AM
RE: Real-time linux kernel - by umiddelb - 03-10-2016, 05:01 AM
RE: Real-time linux kernel - by Artyom - 03-10-2016, 05:24 AM
RE: Real-time linux kernel - by umiddelb - 03-10-2016, 06:31 AM
RE: Real-time linux kernel - by Artyom - 03-10-2016, 07:03 AM
RE: Real-time linux kernel - by umiddelb - 03-10-2016, 02:04 PM
RE: Real-time linux kernel - by Artyom - 03-10-2016, 10:43 PM
RE: Real-time linux kernel - by Artyom - 03-12-2016, 02:43 AM
RE: Real-time linux kernel - by Artyom - 03-28-2016, 08:54 AM
RE: Real-time linux kernel - by umiddelb - 04-14-2016, 04:03 PM
RE: Real-time linux kernel - by Artyom - 04-17-2016, 11:23 PM
RE: Real-time linux kernel - by umiddelb - 05-08-2016, 02:47 PM
RE: Real-time linux kernel - by Artyom - 04-05-2016, 10:57 PM
RE: Real-time linux kernel - by tllim - 04-06-2016, 04:52 PM
RE: Real-time linux kernel - by Artyom - 04-07-2016, 12:03 AM
RE: Real-time linux kernel - by tllim - 04-07-2016, 11:17 AM
RE: Real-time linux kernel - by Artyom - 04-07-2016, 11:49 PM
RE: Real-time linux kernel - by Artyom - 05-09-2016, 03:21 AM
RE: Real-time linux kernel - by Artyom - 05-29-2016, 02:35 AM
RE: Real-time linux kernel - by umiddelb - 06-09-2016, 12:22 AM
RE: Real-time linux kernel - by Artyom - 06-09-2016, 02:08 AM
RE: Real-time linux kernel - by Artyom - 06-09-2016, 07:49 AM
RE: Real-time linux kernel - by tllim - 06-09-2016, 07:30 PM
RE: Real-time linux kernel - by Artyom - 06-09-2016, 09:36 PM
RE: Real-time linux kernel - by umiddelb - 02-08-2017, 02:33 AM
RE: Real-time linux kernel - by tllim - 02-12-2017, 10:11 PM
RE: Real-time linux kernel - by schooner - 02-20-2017, 06:39 AM
RE: Real-time linux kernel - by Learnincurve - 02-08-2017, 03:06 AM
RE: Real-time linux kernel - by umiddelb - 02-08-2017, 03:41 AM
RE: Real-time linux kernel - by Learnincurve - 02-09-2017, 01:02 AM
RE: Real-time linux kernel - by umiddelb - 02-20-2017, 02:44 PM
RE: Real-time linux kernel - by schooner - 02-21-2017, 05:16 AM
RE: Real-time linux kernel - by schooner - 02-21-2017, 08:45 AM
RE: Real-time linux kernel - by dikov - 03-07-2017, 11:49 PM
RE: Real-time linux kernel - by zzwpine - 09-11-2018, 01:08 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  NEMS Linux 1.5 Released for A64/A64+, A64-LTS/SOPine, Rock64, RockPro64 (NAGIOS) Baldnerd 4 10,259 03-28-2020, 06:20 PM
Last Post: ty1911
  PineA64+: Audio in 5.0 Kernel puzzles 6 10,273 11-13-2019, 09:41 AM
Last Post: roel
  Howto run Linux with resolution other than 1080p longsleep 28 71,673 06-13-2019, 01:53 AM
Last Post: Nilda
  NEMS Linux for Pine A64 (+) Luke 1 5,590 05-09-2019, 05:42 PM
Last Post: pineadmin
  Pine Board using linux stuck during boot sequence ktaragorn 4 9,252 03-30-2019, 06:48 AM
Last Post: ktaragorn
  Gentoo Linux test image xalius 23 52,731 01-28-2019, 11:05 PM
Last Post: necrose99
  Rockpro64 NFS root mount (kernel 4.20) - ethernet help? tenspd137 0 3,221 12-06-2018, 01:14 AM
Last Post: tenspd137
  NVMe and new kernel bjbb17 0 2,904 09-25-2018, 03:39 PM
Last Post: bjbb17
  DKMS on kernel 3.10.107-pine64 obrienmd 5 9,703 06-21-2018, 05:45 PM
Last Post: evilbunny
  linux distribution hazerty 3 6,834 04-01-2018, 02:48 PM
Last Post: dkryder

Forum Jump:


Users browsing this thread: 4 Guest(s)