7i77 5i25 hm2_pci unloaded
24 Nov 2016 18:46 #83235
by andypugh
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.
Replied by andypugh on topic 7i77 5i25 hm2_pci unloaded
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 or Create an account to join the conversation.
24 Nov 2016 19:24 - 24 Nov 2016 19:26 #83236
by bkt
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
Replied by bkt on topic 7i77 5i25 hm2_pci unloaded
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
Last edit: 24 Nov 2016 19:26 by bkt.
Please Log in or Create an account to join the conversation.
24 Nov 2016 19:41 #83237
by andypugh
Replied by andypugh on topic 7i77 5i25 hm2_pci unloaded
I miss-typed:
. ./scripts/rip-environment
What does uname -a say?
Perhaps you need to select your new realtime kernel in the grub menu?
. ./scripts/rip-environment
What does uname -a say?
Perhaps you need to select your new realtime kernel in the grub menu?
Please Log in or Create an account to join the conversation.
24 Nov 2016 19:54 #83238
by andypugh
Replied by andypugh on topic 7i77 5i25 hm2_pci unloaded
Did you get the opportunity to see what the name of your new kernel is?
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"
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"
The following user(s) said Thank You: bkt
Please Log in or Create an account to join the conversation.
24 Nov 2016 21:54 - 24 Nov 2016 21:56 #83240
by bkt
Replied by bkt on topic 7i77 5i25 hm2_pci unloaded
Not worry i see the miss-type.....
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
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?
cd ~
sudo apt-get update
sudo apt-get install build-essential bin86 kernel-package libqt4-dev libncurses5
-dev pkg-config
mkdir rtlinux
cd rtlinux
wget ftp://ftp.kernel.org/pub/linux/kernel/v4.x/linux-4.4.27.tar.xz
wget www.kernel.org/pub/linux/kernel/projects....4.27-rt"x".patch.gz
tar -xpf linux-4.4.27.tar.xz
gunzip patch-4.4.27-rt5.patch.gz
cp patch-4.4.27-rt5.patch linux-4.4.27
cd linux-4.4.27
cat patch-4.4.27-rt5.patch | patch -p1
make xconfig
make
sudo make modules_install
sudo make install
after these:
> git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
> cd linuxcnc-dev/src
> ./autogen.sh
> ./configure --with-realtime=uspace
> make
> sudo make setuid
> source ../scripts/rip-environment
> runtests
Regards
Giorgio
Last edit: 24 Nov 2016 21:56 by bkt.
Please Log in or Create an account to join the conversation.
24 Nov 2016 21:59 #83241
by bkt
Replied by bkt on topic 7i77 5i25 hm2_pci unloaded
Pheraps latency test to 10000000ns is not possible..... sometings is broken....
At start of xconfig i remember not see ceckbox about 32bit only for 64bit..... and i not select it....
Regards
Giogio
At start of xconfig i remember not see ceckbox about 32bit only for 64bit..... and i not select it....
Regards
Giogio
Please Log in or Create an account to join the conversation.
24 Nov 2016 22:25 - 24 Nov 2016 22:36 #83244
by PCW
Replied by PCW on topic 7i77 5i25 hm2_pci unloaded
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)"
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)"
Last edit: 24 Nov 2016 22:36 by PCW.
The following user(s) said Thank You: bkt
Please Log in or Create an account to join the conversation.
25 Nov 2016 08:03 #83255
by bkt
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
Replied by bkt on topic 7i77 5i25 hm2_pci unloaded
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 or Create an account to join the conversation.
25 Nov 2016 12:11 #83264
by PCW
Replied by PCW on topic 7i77 5i25 hm2_pci unloaded
I have installed both, it depends on the Ubuntu 14.04 version
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"
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"
The following user(s) said Thank You: bkt
Please Log in or Create an account to join the conversation.
25 Nov 2016 12:23 #83266
by bkt
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??
timer frequency 1000Hz??
other specific option (I deselect all amd support option I've all cpu intel on my board) must select??
regards
giorgio
Replied by bkt on topic 7i77 5i25 hm2_pci unloaded
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??
timer frequency 1000Hz??
other specific option (I deselect all amd support option I've all cpu intel on my board) must select??
regards
giorgio
Please Log in or Create an account to join the conversation.
Time to create page: 0.138 seconds