fresh install and error report upfront !!

More
16 Oct 2011 07:24 #13943 by alexr
hi andy or bigjohn

well this is the 6th time i have installed emc2 with issues.... heres the error report.

Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.5
EMC2 - 2.4.6
Machine configuration directory is '/home/alex/emc2/configs/fireballb90'
Machine configuration file is 'fireballb90.ini'
INIFILE=/home/alex/emc2/configs/fireballb90/fireballb90.ini
PARAMETER_FILE=emc.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=halui
DISPLAY=axis
NML_FILE=
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Starting HAL User Interface program: halui
Starting EMC2 TASK program: milltask
Starting EMC2 DISPLAY program: axis
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=25870
Killing task milltask, PID=25944
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 179 ()
Serial number of failed request: 2757
Current serial number in output stream: 2761
25870
PID TTY STAT TIME COMMAND
25944
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[32826.435642] I-pipe: Domain RTAI registered.
[32826.435648] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[32826.435650] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[32826.435747] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[32826.435749] PIPELINE layers:
[32826.435752] fb0bce20 9ac15d93 RTAI 200
[32826.435754] c085cb20 0 Linux 100
[32826.452416] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[32826.452842] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[32826.452848] RTAI[sched]: hard timer type/freq = APIC/16623930(Hz); default timing: periodic; linear timed lists.
[32826.452851] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2394349000 hz.
[32826.452853] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[32826.452940] RTAI[usi]: enabled.
[32826.479627] RTAI[math]: loaded.
[32826.542849] config string '0x378 out '
[32829.702285] RTAI[math]: unloaded.
[32829.717456] SCHED releases registered named ALIEN RTGLBH
[32829.780272] RTAI[malloc]: unloaded.
[32829.880008] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[32829.882960] I-pipe: Domain RTAI unregistered.
[32829.883064] RTAI[hal]: unmounted

my machine in this case is as follows

Intel q6600 quadcore
4gig ram
Asus FX5500 GFX card
Asus motherboard
2x sata2 seagate 250gb hdd

fresh livecd install

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

More
16 Oct 2011 14:35 #13950 by BigJohnT
You might look at isocpu for your quad core, I think I tried once on a quad core and gave up and installed winblows on that one. If this is a graphics or opengl issue try and change the GUI to a non-opengl GUI like Mini or TkEMC.

EMC and real time kernels don't need or like high horsepower multi-core fire breathing monsters... a lowly D525 works very well.

John

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

More
17 Oct 2011 07:36 #13964 by ArcEye
Hi

Starting EMC2 DISPLAY program: axis
Shutting down and cleaning up EMC2...
.............
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 154 (GLX)


What happens when you select another GUI that does not use OpenGL, tkmini and the like and start EMC?

Do you get warnings or have any problems running glxgears from a terminal?

regards

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

More
17 Oct 2011 08:06 #13967 by alexr
glxgears works

i am not sure where your leading with this!?

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

More
17 Oct 2011 08:20 #13969 by alexr
I found the solution to this problem.

its a well documented case of X11 / X server in "auto" mode selecting to high of a refresh rate.

easily fixed in recovery mode "low graphics mode" from grub boot

TERMINAL>
sudo nautilus,
head off to X11 folder in ECT subdirectory in the window that pops up.
cut and past configuration files and backup configuration files into a new folder (just in case).
goto system>administration>hardware_drivers and select a different and hopefully working driver.
reset and repeat if DOES NOT WORK or
reset and tweak working driver to "preffered settings" BUT this time with lower refresh rate eg. 70hz

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

More
17 Oct 2011 08:21 - 17 Oct 2011 08:23 #13970 by ArcEye
Hi

The shut down appears to have occurred only after axis was started and there is what appears to be an X server error related to GLX.

Axis is heavily dependent upon OpenGL (miniGL) for its display rendering,
I was suggesting trying to run a GUI that does not use that library and see if it works.

The problem is outlined here wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Tro...oftware_based_OpenGL


NOW SEE YOU HAVE FOUND ANOTHER X SERVER RELATED PROBLEM AND SOLVED IT

regards
Last edit: 17 Oct 2011 08:23 by ArcEye.

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

More
17 Oct 2011 08:22 #13971 by alexr
ISOCPU?! im all eyes and ears

care to share a URL?

by the way found the solution hopefully it posted, your right it was a graphics driver issue

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

More
17 Oct 2011 13:24 #13985 by andypugh
alexr wrote:

care to share a URL?


It's ISOLCPUS and it basically reserves one CPU core for the exclusive use of the realtime system.
wiki.linuxcnc.org/emcinfo.pl?The_Isolcpu..._Parameter_And_GRUB2

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

Time to create page: 0.087 seconds
Powered by Kunena Forum