Mesa 7i43. Error loading configuration.

More
10 Jul 2010 02:51 #3313 by DavidB
Hello everyone,

I am using EMC2 v2.4.2 and I am setting up the configuration for my controller using PNCCONF. I am using a Mesa 7i43 card. EMC2 loads and configures the card fine when using the sample 7i43-small configuration that comes with EMC2. However, when I try to use my configuration from PNCCONF I receive an error.

Can you take a look and let me know if you see the error? I have listed the error log below.

Thank you!

David

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.24-16-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.4
EMC2 - 2.4.2
Machine configuration directory is '/home/capncom/emc2/configs/Accu-Mill'
Machine configuration file is 'Accu-Mill.ini'
INIFILE=/home/capncom/emc2/configs/Accu-Mill/Accu-Mill.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=5005
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.24-16-rtai/modules/emc2/hm2_7i43.ko': -1 Unknown symbol in module
Accu-Mill.hal:9: exit value: 1
Accu-Mill.hal:9: insmod failed, returned -1
See the output of 'dmesg' for more information.
5005
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 74.984080] I-pipe: Domain RTAI registered.
[ 74.984088] RTAI[hal]: <3.6.1> mounted over IPIPE-NOTHREADS 2.0-04.
[ 74.984091] RTAI[hal]: compiled with gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3).
[ 74.984095] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 74.984098] PIPELINE layers:
[ 74.984100] e0b5c000 9ac15d93 RTAI 200
[ 74.984102] c0383180 0 Linux 100
[ 75.032810] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 75.033068] RTAI[sched]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 75.033074] RTAI[sched]: hard timer type/freq = 8254-PIT/1193180(Hz); default timing: periodic; linear timed lists.
[ 75.033077] RTAI[sched]: Linux timer freq = 250 (Hz), CPU freq = 1994846000 hz.
[ 75.033080] RTAI[sched]: timer setup = 2010 ns, resched latency = 2688 ns.
[ 75.113116] RTAI[math]: loaded.
[ 75.132081] rtapi: no version for "nano2count" found: kernel tainted.
[ 75.380961] hm2: loading Mesa HostMot2 driver version 0.15
[ 75.392156] hm2_7i43: loading HostMot2 Mesa 7i43 driver version 0.3
[ 75.477757] hm2/hm2_7i43.0: firmware hm2/7i43/SV8.BIT not found
[ 75.477763] hm2/hm2_7i43.0: install the package containing the firmware.
[ 75.477769] hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide ON) not found!
[ 75.908083] hm2: unloading
[ 75.993597] RTAI[math]: unloaded.
[ 76.040685] SCHED releases registered named ALIEN RTGLBH
[ 76.055851] RTAI[malloc]: unloaded.
[ 76.155630] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 76.158762] I-pipe: Domain RTAI unregistered.
[ 76.158771] RTAI[hal]: unmounted.

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

More
10 Jul 2010 04:20 #3314 by PCW
>>>>>>> [ 75.477757] hm2/hm2_7i43.0: firmware hm2/7i43/SV8.BIT not found

Wrong filename?

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

More
10 Jul 2010 11:32 #3318 by BigJohnT
My guess is :

[ 75.477763] hm2/hm2_7i43.0: install the package containing the firmware.


wiki.linuxcnc.org/cgi-bin/emcinfo.pl?UpdatingTo2.4

John

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

More
10 Jul 2010 13:43 #3320 by DavidB
Thanks guys.

I thought I might have the wrong file name. I am new to Linux and EMC2 so I thought I needed to change the file name in the .ini file. It occurred to me this morning to change the file name in the .hal file. It is now working.

Thanks!

David

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

More
11 Jul 2010 00:06 #3324 by cmorley
What did you change the file name to?
As you discovered pncconf uses the firmware name in the HAL file instead of the INI

Maybe I should remove the reference in the INI? it is for info only. Mind you it says that too :)

Glad you got it working
please remember Pncconf is in testing (we call it alpha) phase.
Any other problems please let us know.

Chris M

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

More
11 Jul 2010 03:50 #3325 by DavidB
Hi Chris,

I used the file name that was used in the sample .ini for 7i43s. It is SVST4_4S.bit.

I don't think you need to lose the reference in the .ini. It says plainly that it is only for reference. Being a newbie, I thought this was a mistake so I removed the "#". Of course, it still did not work.

This morning I realized that another file must be calling for the firmware so I thought the .hal file was the next obvious choice. I had a huge smile on my face when I realized that was the answer.

Anyway, the program is great. My fear in using EMC2 was my utter lack of knowledge and experience when it comes to using Linux. However, this program makes it a breeze. Or, at least as much of a breeze as one can expect when designing motion control.

As a side question, where are these firmware files stored?

Thanks!

David

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

More
11 Jul 2010 05:38 #3326 by cmorley
Yes I found the problem too. forgot the board had big and small versions.
it will be fixed in the next bug fix release. Thanks for finding it.
The actual firmware is found at:
/lib/firmware/hm2
then look in the folder for your board (yours is 7i43)
in there you find a link that points to the file 7i43-2/SVST4_4.bit (in your case)
I'm glad you found Pncconf helpful.

Cheers Chris M

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

More
01 Feb 2011 01:43 - 01 Feb 2011 01:44 #6908 by andradela
Hello Looking for answers in the forum i found your post, now I have the same problem, what did you do to fix that problem, I'm beginner in linux, and I don't know for where starts.
Some peoples said you need to edit the firmware,wrong file name, but the gedit can't open this file, can you help me I thanks a lot.
Last edit: 01 Feb 2011 01:44 by andradela.

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

More
01 Feb 2011 11:47 #6912 by andypugh
It is probably better to edit the INI file to point to the correct firmware. (I assume that the filename is in the INI file, it might be in the HAL file, depending on how pncconf works).
Both the ini file and the hal file will be in emc2/configs/ in a directory with the same name as that which you chose for the configuration. These are human-readable and hand-editable files.

Have a look in /lib/firmware/hm2/7i43 to see what firmwares you have.
If you don't have any, then that is the problem. in that case
sudo apt-get install emc2-firmware
should help.

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

More
01 Feb 2011 11:50 #6914 by andradela
There are has 3 archives 7i43, 7i43-2, 7i43-4, my card is 400k.

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

Moderators: PCWjmelson
Time to create page: 0.189 seconds
Powered by Kunena Forum