- Posts: 152
- Thank you received: 0
ubuntu 14.04.1 linuxcnc help
0.934582] I-pipe: head domain Xenomai registered.
[ 0.934585] Xenomai: hal/i386 started.
[ 0.934803] Xenomai: scheduling class idle registered.
[ 0.934804] Xenomai: scheduling class rt registered.
[ 0.935024] Xenomai: real-time nucleus v2.6.3 (Lies and Truths) loaded.
[ 0.935024] Xenomai: debug mode enabled.
[ 0.935056] Xenomai: starting native API services.
[ 0.935057] Xenomai: starting POSIX services.
[ 0.935066] Xenomai: starting RTDM services.
Attached file is the whole file dmesg
I will still check desktop when I get home,(but it will be late Central time) is this the info you are looking for
Tim
Please Log in to join the conversation.
Tim
Please Log in to join the conversation.
/var/log/dmesg shows:
[ 0.448038] I-pipe: head domain Xenomai registered.
[ 0.448075] Xenomai: hal/i386 started.
[ 0.448094] Xenomai: scheduling class idle registered.
[ 0.448096] Xenomai: scheduling class rt registered.
[ 0.448914] Xenomai: real-time nucleus v2.6.3 (Lies and Truths) loaded.
[ 0.448916] Xenomai: debug mode enabled.
[ 0.449101] Xenomai: SMI-enabled chipset found
[ 0.449110] Xenomai: SMI workaround enabled
[ 0.449136] Xenomai: starting native API services.
[ 0.449138] Xenomai: starting POSIX services.
[ 0.449163] Xenomai: starting RTDM services.
Latency is high I enable kernel boot parameter xeno_hal.smi=1 which lowered it some
As last post attached file is the whole file dmesg
Tim
Please Log in to join the conversation.
tjmarch wrote: Still at work had some time forgot had VM on my laptop. So I compiled LCNC on Linuxmint 17.2 with Xenomai kernel. File /var/log/dmesg shows:
[ 0.935057] Xenomai: starting POSIX services.
[ 0.935066] Xenomai: starting RTDM services.
I will still check desktop when I get home,(but it will be late Central time) is this the info you are looking for
Did you start LinuxCNC? There is no sign of any LinuxCNC logging to the kernel log, but I don't know if it does with uspace.
If you start LinuxCNC from the command-line then there may be some useful info.
My guess is that "uspace" on a Xenomai system doesn't actually find Xenomai, and defualts to POSIX non-realtime threads. (ie, close to what used to be called "sim"). But I would like to be wrong.
Please Log in to join the conversation.
Started LCNC SIM from terminal terminal output is:
tim@tim-barn:~/linuxcnc_source$ cd ~;. /home/`whoami`/linuxcnc_source/scripts/rip-environment;cd /home/`whoami`/linuxcnc_source
tim@tim-barn:~/linuxcnc_source$ linuxcnc
LINUXCNC - 2.7.2
Machine configuration directory is '/home/tim/linuxcnc_source/configs/sim/axis'
Machine configuration file is 'axis.ini'
Starting LinuxCNC...
Found file(lib): /home/tim/linuxcnc_source/lib/hallib/core_sim.hal
Note: Using POSIX non-realtime
Found file(lib): /home/tim/linuxcnc_source/lib/hallib/sim_spindle_encoder.hal
Found file(lib): /home/tim/linuxcnc_source/lib/hallib/axis_manualtoolchange.hal
Found file(lib): /home/tim/linuxcnc_source/lib/hallib/simulated_home.hal
Found file(REL): ./check_constraints.hal
task: main loop took 0.010002 seconds
task: main loop took 0.011695 seconds
task: main loop took 0.012012 seconds
task: main loop took 0.010902 seconds
task: main loop took 0.010387 seconds
task: main loop took 0.010028 seconds
task: main loop took 0.035761 seconds
task: main loop took 0.089628 seconds
task: main loop took 0.034395 seconds
task: main loop took 0.015404 seconds
Also attached new dmesg file with LCNC running
Tim
Please Log in to join the conversation.
tjmarch wrote: Note: Using POSIX non-realtime
I think this means that it runs in "sim" mode (ie no realtime) on a Xenomai kernel, ie exactly like on a standard kernel without PREEMPT RT or RTAI.
Please Log in to join the conversation.
Attachment not found
Attachment not found
Attachment not found
Andy
If you noticed I said I started LCNC in SIM mode. I can not test on real machine yet mine is not complete. Machine it self is in Michigan where I live. I have all electronic in Kansas City with me. I am working here.
Attached are a few photos of my work
Tim
Please Log in to join the conversation.
tjmarch wrote: If you noticed I said I started LCNC in SIM mode
There is a certain amount of confusion here due to terminological inexactitude.
There are "sim" configs supplied with LinuxCNC. These have HAL simulations of things like home switches.
There also used to be dedicated "simulator" builds of LinuxCNC, intended to be used on machines without realtime kernels.
(for example; wiki.linuxcnc.org/cgi-bin/wiki.pl?LinuxCNC_Pure_Simulator )
With the development of "uspace" there is now no need for a "pure simulator" build, and you can run a "uspace" build on any kernel and it will work. It may even be able to drive hardware, but probably not well.
Your dmesg output shows that the system is running a Xenomai kernel. I think that the "POSIX non-realtime" message implies that LinuxCNC has not found the Xenomai kernel, or does not know how to interact with it.
The Machinekit project is the result of a team doing an awful lot of work to make LinuxCNC run on Xenomai, and then having that work rejected by the release manager. I rather wish that hadn't happened.
Please Log in to join the conversation.
I made similar script file for Machinekit and posted on Machinekit google group but withdrew post because Machinekit will not build on Ubuntu based distro Ubuntu or Mint anymore, I do not like Debian prefer Mint. From what I gather from reading there is no plans to correct this problem. Plus over there they are really stuck on BBB not much said about PC based machine control. I do not want to use BBB, stepper driver for cape have limited current capabilities. That is why I am now focused on LCNC.
Tim
Please Log in to join the conversation.
- Razor_keen
- Topic Author
- Offline
- Premium Member
-
- Posts: 114
- Thank you received: 0
although, with an older kernel some ubuntu functions like app armor may not work. This was the problem i ran into using kernels from kernel.org.
also, the weird thing is, that when i run xconfig, it changes the settings in the stock config as well. it seems like that shouldnt happen.
Please Log in to join the conversation.
