NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Getting LinuxCNC Installing LinuxCNC 10.04 live cd no Realtime

Welcome, Guest
Username: Password: Remember me

TOPIC: 10.04 live cd no Realtime

Re:10.04 live cd no Realtime 08 Nov 2010 16:13 #5170

  • markey1979
  • markey1979's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Yea, I had this error too after a fresh install of 10.04 with emc 2.4.3.

Not knowing this was ok, I changed the memlock to soft 10240 and hard 10240. After that it seemed to work, but then I got a new error:

"insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/rtai_hal.ko':
> -1 Operation not permitted"

It ended up being wrong syntax in grub. I fixed it with this answer:

www.mailinglistarchive.com/html/emc-user...010-09/msg00127.html

Now emc starts , but I cannot configure my home brewed stepper controller. Tonight I get the joy of trying to figure out whether its my computer, my configurations, or my controller.
The administrator has disabled public write access.

Re:10.04 live cd no Realtime 18 Dez 2010 00:22 #6129

  • Vlad
  • Vlad's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
У меня была похожая ошибка (ERROR RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT AVIAILABLE/ENABLED)
решил проблему на Intel P3 включением в BIOS -> APIC -> ENABLE.
на AtlonXP1900+ изменением загрузчика: sudo gedit /etc/default/grub -> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" замена на-> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash lapic"
потом: update-grub
Всё заработало! Ура
Last Edit: 18 Dez 2010 00:24 by Vlad.
The administrator has disabled public write access.

Re:10.04 live cd no Realtime 24 Mär 2011 14:45 #8057

  • tgholford
  • tgholford's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
I installed ubuntu 10.04 and EMC 2.4 upgrade from a Sherline distribution disk and I am experiencing the "Realtime system did not load" problem.

I read the discussion on this thread, and my head hurts.

WIkipedia says that APIC / LAPIC is known to be buggy:

en.wikipedia.org/wiki/LAPIC

"There are a number of known bugs in implementations of APIC systems,. . ."

"Defective BIOSes may not set up interrupt routing properly, or provide incorrect ACPI tables and Intel Multiprocessor Specification tables. Finally, the APIC can also be a cause of system failure when the operating system does not support it properly. On older operating systems, people often had to disable the I/O and local APICs...."

I am pretty much of a novice Linux, EMC, CNC user and this looks like a quagmire to me.

What would be the simplest fix to this problem?

A. Apply fixes? What fixes?
B. Use an ealier Linux EMC configuration? Which one?
C. Give up.

I would appreciate any wisdom.
The administrator has disabled public write access.

Re:10.04 live cd no Realtime 25 Mär 2011 01:00 #8061

  • step4linux
  • step4linux's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 157
  • Karma: 5
tgholford wrote:
I installed ubuntu 10.04 and EMC 2.4 upgrade from a Sherline distribution disk and I am experiencing the "Realtime system did not load" problem.

What would be the simplest fix to this problem?

apply the lapic patch to grub. If it works, ok.
If not, try ubuntu 8.04 or another PC.

Gerd
The administrator has disabled public write access.

Re:10.04 live cd no Realtime 25 Mär 2011 21:39 #8097

  • tgholford
  • tgholford's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
HALLELIEUIAH!!! :laugh:

It works! It works! :silly:

The "lapic" fix worked!!

The first time I tried it, I forgot to do the "sudo update-grub" command. But once I did that, EMC2 fired up as advertised.

Thanks to those posters who spent their sweat and hours to research this problem and share their experiences. :kiss:
The administrator has disabled public write access.

Re:10.04 live cd no Realtime 22 Sep 2011 10:55 #13365

  • kate
  • kate's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Karma: 2
I had this same problem, it did not start real time

apply the lapic patch to grub. If it works, ok.
If not, try ubuntu 8.04 or another PC.

I first tried lapic patch to grub, unsuccessfully, it did not help at all.
Option to get some other new, ugly desktop PC for my shop was out of question and
because i had small pretty VIA based compact PC just for this purpose.
Also about all new PC comes without printer port.

I did not feel that that going back to history and 8.04 is right choice and I did not feel
that I am out of luck least with Linux.

After little investigation i found out that problem is that my VIA board does not support LAPIC at all
and if it is not supported by kernel I need to compile kernel without LAPIC support to run Rtai

I just used apt-get source to get kernel source and dpkg-buildpackage, it took over two days with
via to compile kernels because i forget to switch extra flavors out. Then i did it again, just for rtai flavor
but build process always forced LAPIC on. Little more analysis and i found that LAPIC config option is
depending on SMP support, so disable LAPIC you need to disable SMP, or in case you have single core
you don't have LAPIC. After i got kernel compiled, i needed to compile RTAI and EMC 2 packages but is was just
easy dpkg-buildpackage for them all works and now my VIA with 10.04. drives steppers without problems.

Short guide to solution, sorry, this is not step by step, you need to know howto build ubuntu kernels

- IF you have single core without LAPIC support then grub patch does not work
- apt-get source kernel, rtai and ec2
- config rtai flavor disabling SMP and LAPIC
- compile kernel with dpkg-buildpackage
- install kernel and reboot
- dpkg-buildpackage for rtai and emc2
- install rtai and emc2 debian packages.
- It should work

I hope that for future releases of EMC2, there should be ready made kernel, rtai and emc2 for uniprocessor


Kate
The administrator has disabled public write access.
Time to create page: 1.268 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.