10.04 live cd no Realtime
" 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.
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.
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.
John
Please Log in or Create an account to join the conversation.
- markey1979
- Offline
- New Member
- Posts: 1
- Thank you received: 0
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.
решил проблему на 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
Всё заработало! Ура
Please Log in or Create an account to join the conversation.
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.
- step4linux
- Offline
- Elite Member
- Posts: 163
- Thank you received: 5
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.
It works! It works!
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.
Please Log in or Create an account to join the conversation.
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.