- Posts: 19306
- Thank you received: 0
7i77 5i25 hm2_pci unloaded
k-1 wrote:
andypugh wrote: You want the "uspace" version for a preempt-rt kernel.
I have use the step write before ... so now I've linuxcnc - 2.8.0 pre1 ... the same that I use in JA9
That is probably correct. "uspace" is the name for the versions of LinuxCNC from the buildbot that are compiled with
--with-realtime=uspace
Which is what you did.
Please Log in to join the conversation.
andypugh wrote: That should all work.
It might be that when you run LinuxCNC you are running the old, installed version, not the new one you just compiled.
If you open a terminal window
cd linuxcnc-dev
, ,/scripts/rip-environment
linuxcnc
You should see
> LINUXCNC - 2.8.0~pre1
Yes I compile with uspace option ...
this is that I do and obtain ... the ubuntu 14.04 is a fresh install (yesterday night ...)..
But If try to run:
cd linuxcnc-dev
, ,/scripts/rip-environment
linuxcnc
and try to run latency test for example the response is:
> LINUXCNC - 2.8.0~pre1
> NOTE: Using POSIX non-realtime ..... the latency is 3.000.000 and more ... orrible ...
@PCW I can use somethings more recent of 4.1.5 or is your ultimate test??
Regards
Giorgio
Please Log in to join the conversation.
. ./scripts/rip-environment
What does uname -a say?
Perhaps you need to select your new realtime kernel in the grub menu?
Please Log in to join the conversation.
There is a not-very-clever test here:
github.com/LinuxCNC/linuxcnc/blob/9799ec...uspace_common.h#L329
Unless the kernel version (uname -a) actually contains "PREEMPT RT" then the system will use "POSIX non-realtime"
Please Log in to join the conversation.
Grub see new rt kernel ubuntu 14 as default......
Normally use uname -r tomorrow try.... yesterday my last post is at 2.0 am..... actually is 11pm....
These step is all right?
these step i rigth?? Ubuntu 14.04 32bit is right?
Regards
Giorgio
Please Log in to join the conversation.
At start of xconfig i remember not see ceckbox about 32bit only for 64bit..... and i not select it....
Regards
Giogio
Please Log in to join the conversation.
1. Is the 32 or 64 bit kernel option
( This must match your base OS. Ubuntu 14.04 is available in both 32 and 64 bit versions so this depends on which version you downloaded and installed )
2. Is the real time option, this is selected in the "processor types and features" section under the
"Preemption model" You must select "Fully Preemptable Kernel (RT)"
Please Log in to join the conversation.
andypugh wrote: I miss-typed:
. ./scripts/rip-environment
What does uname -a say?
Perhaps you need to select your new realtime kernel in the grub menu?
uname -a.....Linux k1 4.4.27-rt37 #1 SMP Thu Nov 24 00:36:21 CET 2016 i686 i686 i686 GNU/Linux
so I have make some error in xconfig......
@PCW please te latest kernel that you have install??? i386 or amd64???
regards
Giorgio
Please Log in to join the conversation.
As I said before, Ubuntu 14.04 is available in both 32 and 64 bit versions
when you build a kernel, it needs to match your OS
You can check if your OS is 32 or 64 bit by clicking "System-Settings" and then "Details"
Please Log in to join the conversation.
PCW wrote: When you run xconfig its required that you select at least 2 items:
1. Is the 32 or 64 bit kernel option
( This must match your base OS. Ubuntu 14.04 is available in both 32 and 64 bit versions so this depends on which version you downloaded and installed )
2. Is the real time option, this is selected in the "processor types and features" section under the
"Preemption model" You must select "Fully Preemptable Kernel (RT)"
At these time try a new installation ubu14.04 kernel 4.1.5 as PCW old post I'm over xconfig .... I select now 64bit (but in xconfig this these time is automatic selected) and fully preemptable kernel...
my processor is Intel® Core™ i3-4160 CPU @ 3.60GHz × 4... so I select generic x86_64
and some other choice??
Attachment not found
timer frequency 1000Hz??
Attachment not found
other specific option (I deselect all amd support option I've all cpu intel on my board) must select??
regards
giorgio
Please Log in to join the conversation.
