Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

3 votes
1 answers
3820 views
RTOS in a virtual machine
Are there any opensource/free Unix like RTOS that can run a virtual machine like QNX Neutrino RTOS (http://www.qnx.com/products/evaluation/eval-target.html)?
Are there any opensource/free Unix like RTOS that can run a virtual machine like QNX Neutrino RTOS (http://www.qnx.com/products/evaluation/eval-target.html) ?
ARG (2151 rep)
Oct 8, 2015, 10:05 AM • Last activity: Aug 1, 2025, 04:58 PM
2 votes
1 answers
250 views
eBPF in real-time systems
I've a question about real-time systems, in particular in LynxOS (LynxOS-178). I would need information on the compatibility and presence of eBPF in these systems. Can anyone help me? I haven't found any documentation online, but I would like to have this information to be able to evaluate which pro...
I've a question about real-time systems, in particular in LynxOS (LynxOS-178). I would need information on the compatibility and presence of eBPF in these systems. Can anyone help me? I haven't found any documentation online, but I would like to have this information to be able to evaluate which product is best to use to achieve my purpose.
Serena Schenone (21 rep)
Apr 30, 2024, 11:16 AM • Last activity: May 1, 2024, 08:13 AM
0 votes
1 answers
49 views
QNX resource manager full duplex or half duplex
I am using a resource manager to read the data from the communication channel and send it to the application. I have doubt, is the QNX resource manager half duplex or full duplex? Can simultaneous read/write work with QNX resource manager?
I am using a resource manager to read the data from the communication channel and send it to the application. I have doubt, is the QNX resource manager half duplex or full duplex? Can simultaneous read/write work with QNX resource manager?
sagar (3 rep)
May 24, 2023, 10:56 AM • Last activity: May 24, 2023, 12:07 PM
0 votes
1 answers
38 views
What does Unison OS do with deferenced null pointers, index out of bounds access (not writing), and usage of unintialized variables?
I'm trying to determine if a particular given C language source code run on [Unison OS](https://rowebots.com/unison-rtos/) that I have could conceivably lead to a crash, and through what vectors. There are sections of the code that will on occasion attempt to dereference null pointers, access, but n...
I'm trying to determine if a particular given C language source code run on [Unison OS](https://rowebots.com/unison-rtos/) that I have could conceivably lead to a crash, and through what vectors. There are sections of the code that will on occasion attempt to dereference null pointers, access, but not write to, array indices out of bounds, and use possibly uninitialized variables. The behavior is undefined and thus unpredictable in C, but according to other discussions I've read, the operating system and/or CPU will have a default behavior in these kinds of situations. I don't own the code in question and I'm not trying to fix it. I just want to understand on a high level if there's a reasonable possibility of any of these (and which) leading to the program crashing.
jaredad7 (294 rep)
Jul 26, 2021, 08:40 PM • Last activity: Aug 3, 2021, 12:22 AM
2 votes
3 answers
3057 views
Is there an open source POSIX PSE51 compliant RTOS?
IEEE Std 1003.13-2003 defines a set of POSIX profiles for real-time systems. PSE51 is one of these profiles. I'm studying about PSE51 and I think it would be very helpful if I had access to an implementation of an RTOS compliant with this profile. Looking at some code always makes things clearer tha...
IEEE Std 1003.13-2003 defines a set of POSIX profiles for real-time systems. PSE51 is one of these profiles. I'm studying about PSE51 and I think it would be very helpful if I had access to an implementation of an RTOS compliant with this profile. Looking at some code always makes things clearer than reading requirements and specifications. I already did a research but just found proprietary implementations. Is there an open source implementation of an RTOS compliant with PSE51 or any other of the real-time profiles?
user281406
Mar 19, 2018, 02:21 AM • Last activity: Nov 1, 2020, 01:04 AM
14 votes
5 answers
32353 views
Which Scheduling algorithm is used in Linux?
Recently in an interview I was asked about the Scheduling algorithm used by Linux Operating system. What is the algorithm used any why? Also, what algorithm is used in in real-time operating systems and why?
Recently in an interview I was asked about the Scheduling algorithm used by Linux Operating system. What is the algorithm used any why? Also, what algorithm is used in in real-time operating systems and why?
rShetty (366 rep)
Sep 5, 2011, 04:03 PM • Last activity: Jan 15, 2020, 11:12 AM
-1 votes
1 answers
3378 views
Running make -j$(nproc) or make modules -j$(nproc)
I am following [this]. To run make -j$(nproc) make modules -j$(nproc) I know that make is running [jobs] **Are the jobs supposed to run for hours?** (I got impatient and interrupted.) make -j$(nproc) [this]: https://github.com/UNIBO-GRABLab/cable_robot/wiki/Installation [jobs]: https://linux.die.net...
I am following [this]. To run make -j$(nproc) make modules -j$(nproc) I know that make is running [jobs] **Are the jobs supposed to run for hours?** (I got impatient and interrupted.) make -j$(nproc)
S_whynot (11 rep)
Nov 9, 2018, 10:36 AM • Last activity: Nov 9, 2018, 10:45 AM
1 votes
0 answers
365 views
Error in build while installing RTAI in Ubuntu 18.04
I am trying to install RTAI 5.0.1 on Ubuntu 18.04 LTS in Linux Kernel 4.1.18. I was following [this] tutorial. But unfortunately I am stuck in this part make -j `getconf _NPROCESSORS_ONLN` deb-pkg LOCALVERSION=-rtai The error is: make: *** No rule to make target 'deb-pkg'. Stop. What should be the t...
I am trying to install RTAI 5.0.1 on Ubuntu 18.04 LTS in Linux Kernel 4.1.18. I was following [this] tutorial. But unfortunately I am stuck in this part make -j getconf _NPROCESSORS_ONLN deb-pkg LOCALVERSION=-rtai The error is: make: *** No rule to make target 'deb-pkg'. Stop. What should be the target?
S_whynot (11 rep)
Oct 15, 2018, 08:43 PM • Last activity: Oct 18, 2018, 08:52 PM
-2 votes
1 answers
224 views
Do I need to learn a RTOS first or can I directly go for embedded Linux?
If I wanted to learn deeply and build a embedded Linux Operating systems would i benefit from knowing about RTOS or can I straight away go for embedded Linux.
If I wanted to learn deeply and build a embedded Linux Operating systems would i benefit from knowing about RTOS or can I straight away go for embedded Linux.
Rohit Gujarathi (1 rep)
Apr 21, 2017, 08:42 AM • Last activity: Apr 21, 2017, 01:42 PM
0 votes
1 answers
240 views
How to set thread priority in RTLinux?
How to set thread priority in RTLinux? Also, what is the range of priority levels; which is highest priority and which is lowest?
How to set thread priority in RTLinux? Also, what is the range of priority levels; which is highest priority and which is lowest?
amit kr (1 rep)
Dec 7, 2015, 04:57 PM • Last activity: Dec 7, 2015, 05:25 PM
1 votes
1 answers
1194 views
How to set up RTLinux on x64 laptop to behave realtime?
I have to set up RTLinux and run a real-time ST language interpreter. The official RTLinux has been abandoned and its official download site does not work. I decided to use community RT_PREEMPT patch. How to configure it to achieve the most accurate timing? I'm currently using Debian Wheezy on NP-R5...
I have to set up RTLinux and run a real-time ST language interpreter. The official RTLinux has been abandoned and its official download site does not work. I decided to use community RT_PREEMPT patch. How to configure it to achieve the most accurate timing? I'm currently using Debian Wheezy on NP-R540-JS01PL notebook. I downloaded 3.18.9 kernel and 3.18.9-rt5 patch. I copied /boot/.config to source directory as mentioned on Wiki and changed preemt mode to fully preemtive kernel. Which other options do I need to change? Will I get accurate results when I just replace old Debian kernel with the patched kernel? Notice that I'm running full Debian Wheezy with XFCE desktop environment. Another option is to create a separate Linux distro only with patched kernel and basic command-line tools. How about drivers and kernel modules? My CPU has virtualization support. If I set up RTLinux on VirtualBox on Win7 or Debian Squeezy, will virtualized RTLinux still behave realtime? Note that ST language interpreter will communicate with another application or service that will load ST code into the machine, read/write memory, blink LEDs, set time, parameters, etc.
Politechniczny (111 rep)
Mar 25, 2015, 10:43 AM • Last activity: Oct 8, 2015, 09:33 AM
5 votes
2 answers
7467 views
Compiling FreeRTOS on ubuntu
How could I compile the [FreeRTOS Source Code](http://www.freertos.org/a00104.html?1) and run it (possibly on qemu) on Ubuntu 11.04?
How could I compile the [FreeRTOS Source Code](http://www.freertos.org/a00104.html?1) and run it (possibly on qemu) on Ubuntu 11.04?
Coder404 (895 rep)
May 15, 2012, 10:22 PM • Last activity: Jun 11, 2013, 07:48 AM
15 votes
2 answers
11188 views
Advantages of using a RTOS such as QNX or VxWorks instead of Linux?
When developing a solution that requires a real-time operating system, what advantages would an operating system such an QNX or VxWorks have over Linux? Or to put it another way, since these operating system are designed specifically for real-time, embedded use - as opposed to Linux which is a more...
When developing a solution that requires a real-time operating system, what advantages would an operating system such an QNX or VxWorks have over Linux? Or to put it another way, since these operating system are designed specifically for real-time, embedded use - as opposed to Linux which is a more general system that can be tailored to real-time use - when would you *need* to use one of these operating systems instead of Linux?
Justin Ethier (17146 rep)
Mar 1, 2011, 06:13 PM • Last activity: Mar 1, 2011, 08:16 PM
Showing page 1 of 13 total questions