10.04 live cd no Realtime

More
14 Sep 2010 20:23 #4205 by andypugh
I forwarded your query to the mailing list:


" It's not APIC, but LAPIC (Local APIC) that's the troublesome thingie.
There are some (older?) BIOS'es that apparently don't enable it by default,
so the user has to enable lapic at boot time (kernel param).

There have been quite a few messages how to fix this.
But here it goes again:

in /etc/default/grub, change

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash lapic"

and then run update-grub and reboot

This only works if your system _does_ have an LAPIC.
If you get the error message:
[ 0.080250] Local APIC not detected. Using dummy APIC emulation.
then you are out of luck, and you need a non-SMP RTAI install (hardy 8.04
for example).

Regards,
Alex "

So it looks like you need to recompile with the right version of RTAI etc.
Try these instructions:
neo-technical.wikispaces.com/emc2-ubuntu

Please Log in or Create an account to join the conversation.

More
15 Sep 2010 01:27 #4209 by Andy123
It looks like I am on the same unlucky boat - same errors and I am getting
Local APIC not detected. Using dummy APIC emulation.
Going back to old setup with 8.04 :( - at least I saved harddrive

I have newer PC that works with 10.04 just fine but old setup was much more convinient
I hope developers will fix this in a near future...

Please Log in or Create an account to join the conversation.

More
18 Sep 2010 15:27 #4243 by Andy123
Just want to see if someone may have another solution :(
It is been almost 4 days and I guess there is no soultion.
I hope one of developers can give us an update...

Please Log in or Create an account to join the conversation.

More
18 Sep 2010 22:48 #4246 by BigJohnT
You might try cross posting this to the mailing list to get a wider exposure.

John

Please Log in or Create an account to join the conversation.

More
09 Nov 2010 00:13 #5170 by markey1979
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.

Please Log in or Create an account to join the conversation.

More
18 Dec 2010 08:22 - 18 Dec 2010 08:24 #6129 by Vlad
Replied by Vlad on topic Re:10.04 live cd no Realtime
У меня была похожая ошибка (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 Dec 2010 08:24 by Vlad.

Please Log in or Create an account to join the conversation.

More
24 Mar 2011 21:45 #8057 by tgholford
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.

Please Log in or Create an account to join the conversation.

More
25 Mar 2011 08:00 #8061 by step4linux
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

Please Log in or Create an account to join the conversation.

More
26 Mar 2011 04:39 #8097 by tgholford
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:

Please Log in or Create an account to join the conversation.

More
22 Sep 2011 17:55 #13365 by kate
Replied by kate on topic Re:10.04 live cd no Realtime
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

Please Log in or Create an account to join the conversation.

Time to create page: 0.209 seconds
Powered by Kunena Forum