pncconf update

More
05 Feb 2012 07:57 #17419 by cmorley
Replied by cmorley on topic Re:pncconf update
Zig

I'm betting the updates added a new version of the kernel and now the realtime kernal is not loading when you start the computer.
That seems to be the error message.

Can you see the screen to select kernels on start up? I forget at the moment how o get it to show if you can't...

as for the read me could you explain more. The read me will tell you the pin numbers of the 5i20 but not the daughter boards.
though the readme and the dmesg should agree. can you post a copy of each?

Are you using sserial cards? the read me hasn't been updated to include them.

Thanks

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

More
05 Feb 2012 08:05 #17420 by cmorley
Replied by cmorley on topic Re:pncconf update
hmm now that I think of it pncconf will let you know if the kernel version is wrong if you try to test.
did you try any live tests in pncconf?

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

More
05 Feb 2012 08:20 #17421 by Zig
Replied by Zig on topic Re:pncconf update
Grub reports kernel 2.6.32-12-rtai

More complete error log is

Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/lib/tcltk/emc2
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.5.0-pre2-626-g402b6cd
Machine configuration directory is '/home/snare/emc2/configs/my_EMC_machine'
Machine configuration file is 'my_EMC_machine.ini'
INIFILE=/home/snare/emc2/configs/my_EMC_machine/my_EMC_machine.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
Shutting down and cleaning up EMC2...
Running HAL shutdown script
Killing task emcsvr, PID=1392
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/emc2/hm2_pci.ko': -1 No such device
my_EMC_machine.hal:9: exit value: 1
my_EMC_machine.hal:9: insmod failed, returned -1
See the output of 'dmesg' for more information.
1392
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 67.040186] I-pipe: Domain RTAI registered.
[ 67.040207] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 67.040213] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 67.040226] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 67.040232] PIPELINE layers:
[ 67.040239] f958ce20 9ac15d93 RTAI 200
[ 67.040245] c085cb20 0 Linux 100
[ 67.110126] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 67.110543] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 67.110556] RTAI[sched]: hard timer type/freq = APIC/6226850(Hz); default timing: periodic; linear timed lists.
[ 67.110564] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1594262000 hz.
[ 67.110569] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 67.110829] RTAI[usi]: enabled.
[ 67.348193] RTAI[math]: loaded.
[ 67.760163] hm2: loading Mesa HostMot2 driver version 0.15
[ 67.790290] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 68.767421] hm2: unloading
[ 68.949360] RTAI[math]: unloaded.
[ 69.130190] SCHED releases registered named ALIEN RTGLBH
[ 69.146234] RTAI[malloc]: unloaded.
[ 69.244047] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 69.254370] I-pipe: Domain RTAI unregistered.
[ 69.254392] RTAI[hal]: unmounted.


Old machine configurations generated under 2.4 do not run under 2.5

Can not get any other out put from EMC2 until the problem is resolved..


Am trying to revert to version 2.4.7
Need to get the machine running


The readme file shows All pins exported by 5I20 on P2,P3 and P4 5i20 headers.

The pin report when EMC2 starts and is made available through dmesg shows ONLY pins on P2 header.

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

More
05 Feb 2012 08:37 #17422 by cmorley
Replied by cmorley on topic Re:pncconf update
please post the hal file

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

More
05 Feb 2012 09:01 #17423 by cmorley
Replied by cmorley on topic Re:pncconf update
I'm sorry the transition has been so difficult - it usually isn't.
Sounds like a real problem as dmesg should always report all the pins of all the headers.

dmesg is not giving much info as to the problem either....

i wonder if this has something to do with renaming - I see alot of references to emc2 and most were changed to linuxcnc.

I'm sorry I am not sure what to recommend.
I have heard of no problems with buildnot linuxcnc.
Hopefully someone else will shed some light.

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

More
05 Feb 2012 09:35 #17424 by Zig
Replied by Zig on topic Re:pncconf update
Chris,

Thanks for your time and effort, all your time and effort.

For the time being I shall revert to 2.4.7.

I need to get the machine up and running for the morning.
We are fabricating printed circuitboards and are now suppoerting a local R&D facility fabricating boards with 3D rf structures including cavities within a multilayer structure.

Have been down for a few weeks with servo problems so now really need to get the gear up and running

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

Moderators: cmorley
Time to create page: 0.113 seconds
Powered by Kunena Forum