Ubuntu to Debian
Please Log in or Create an account to join the conversation.
That didn't work either so here's a cut and paste:
Please Log in or Create an account to join the conversation.
This is the problem
Error: could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/hm2_pci.ko: Unknown symbol in module
Hurco_MD3.hal:9: exit value: 1
Normally this would indicate the module was compiled on a different kernel, with different libs etc, but insmod is notorious for giving misleading errors
and that should definately not be the case if you are using a stock binary.hybrid.iso install without added files.
Unfortunately the bit of dmesg that would tell us what the symbol was, is missing.
From a terminal do dmesg > dmesg.txt and attach the resultant file dmesg.txt
Also attach your hal and ini files.
It is possible it is the setup string for the 5i25 that is giving the error
Just on the offchance that your copy of hm2_pci.ko is corrupted, attached is a copy from my installation
regards
Please Log in or Create an account to join the conversation.
Thanks for the reply. I won't be able to get back to the machine for a day or two, but will then do what you suggest. I did use a stock binary. hybrid.iso. Also, is there some special trick to adding an attachment? Thanks.
Please Log in or Create an account to join the conversation.
ArcEye,
Thanks for the reply. I won't be able to get back to the machine for a day or two, but will then do what you suggest. I did use a stock binary. hybrid.iso. Also, is there some special trick to adding an attachment? Thanks.
Attachments need to have an allowable extension like .txt .zip etc.
linuxcnc.org/index.php/english/forum/29-...nts/342-posting-tips
JT
Please Log in or Create an account to join the conversation.
ArcEye, here are the files. I loades Debian on a new hard drive and copied the config files. By going back to the old drive, all works well. It's still running version 2.5. Since the dmesg.txt file indicates that the problem is with the 5i20 board, I didn't change the hm2_pci.ko file. Thanks
Please Log in or Create an account to join the conversation.
Quite simple by the look of it, you have transferred the configs, but have not installed the firmware.
From .hal file
loadrt hostmot2
loadrt hm2_pci config="firmware=hm2/5i20/SV12_2X7I48.BIT num_encoders=6 num_pwmgens=6 num_3pwmgens=0 num_stepgens=0 "
From dmesg
[ 87.593684] hm2: loading Mesa HostMot2 driver version 0.15
[ 87.601320] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 87.601405] hm2_pci: discovered 5i20 at 0000:05:00.0
[ 87.607686] hm2/hm2_5i20.0: firmware hm2/5i20/SV12_2X7I48.BIT not found
[ 87.607697] hm2/hm2_5i20.0: install the package containing the firmware.
[ 87.607707] hm2_5i20.0: board fails HM2 registration
[ 87.607774] hm2_pci: probe of 0000:05:00.0 failed with error -2
[ 88.324943] hm2: unloading
[ 88.456414] RTAI[math]: unloaded.
Install that and hopefully all will be well.
regards
Please Log in or Create an account to join the conversation.
I don't remember how I installed the firmware to begin with, but I figured I'd find it on the old drive and go from there. I did a search of the file system for "hm2/5i20/SV12_2X7I48.BIT" and got a "no files found". Could you point me in the right direction? Thanks
Please Log in or Create an account to join the conversation.
Firmware should be hardware specific and not kernel specific, so you should be able to just copy it over
On your old system, copy the whole of /lib/firmware/hm2 to the same location on your new system
regards
Please Log in or Create an account to join the conversation.
use sudo to copy them to /lib/firmware/hm2/5i20/
Please Log in or Create an account to join the conversation.