Thanks, that info will help. I got this when i opened up LCNC Print file information: RUN_IN_PLACE=no LINUXCNC_DIR= LINUXCNC_BIN_DIR=/usr/bin LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc LINUXCNC_SCRIPT_DIR= LINUXCNC_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/linuxcnc LINUXCNC_CONFIG_DIR= LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs INIVAR=inivar HALCMD=halcmd LINUXCNC_EMCSH=/usr/bin/wish8.5 LINUXCNC - 2.5.0 Machine configuration directory is '/home/joe/linuxcnc/configs/hm2-servo' Machine configuration file is '5i20.ini' INIFILE=/home/joe/linuxcnc/configs/hm2-servo/5i20.ini PARAMETER_FILE=hm2-servo.var TASK=milltask HALUI= DISPLAY=axis Starting LinuxCNC... Starting LinuxCNC server program: linuxcncsvr Loading Real Time OS, RTAPI, and HAL_LIB modules Starting LinuxCNC IO program: io Shutting down and cleaning up LinuxCNC... Killing task linuxcncsvr, PID=1434 Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments Cleanup done
Debug file information: Can not find -sec MOT -var MOT -num 1 Can not find -sec IO -var IO -num 1 Can not find -sec LINUXCNC -var NML_FILE -num 1 Can not find -sec EMC -var NML_FILE -num 1 insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hm2_pci.ko': -1 Invalid parameters hm2-servo.hal:46: exit value: 1 hm2-servo.hal:46: insmod failed, returned -1 See the output of 'dmesg' for more information. 1434 PID TTY STAT TIME COMMAND Stopping realtime threads Unloading hal components Kernel message information: [ 644.637893] I-pipe: Domain RTAI registered. [ 644.637905] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03. [ 644.637909] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) . [ 644.637919] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0). [ 644.637923] PIPELINE layers: [ 644.637927] f950ce20 9ac15d93 RTAI 200 [ 644.637931] c085cb20 0 Linux 100 [ 644.685977] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>. [ 644.686172] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes. [ 644.686180] RTAI[sched]: hard timer type/freq = APIC/8332998(Hz); default timing: periodic; linear timed lists. [ 644.686185] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2400186000 hz. [ 644.686188] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns. [ 644.686353] RTAI[usi]: enabled. [ 644.820520] RTAI[math]: loaded. [ 645.067157] hm2: loading Mesa HostMot2 driver version 0.15 [ 645.073916] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7 [ 645.073966] hm2_pci: discovered 5i20 at 0000:02:02.0 [ 645.074071] hm2_5i20.0: firmware: requesting hm2/5i20/SVST8_4.BIT [ 645.257094] hm2/hm2_5i20.0: invalid cookie, got 0xFFFFFFFF, expected 0x55AACAFE [ 645.257102] hm2/hm2_5i20.0: FPGA failed to initialize, or unexpected firmware? [ 645.257108] hm2_5i20.0: board fails HM2 registration [ 645.263438] hm2_pci: probe of 0000:02:02.0 failed with error -22 [ 645.926905] hm2: unloading [ 646.047748] RTAI[math]: unloaded. [ 646.143633] SCHED releases registered named ALIEN RTGLBH [ 646.158023] RTAI[malloc]: unloaded. [ 646.256019] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0). [ 646.261280] I-pipe: Domain RTAI unregistered. [ 646.261296] RTAI[hal]: unmounted. Then I entered "dmesg" and got; [ 644.686185] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2400186000 hz. [ 644.686188] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns. [ 644.686353] RTAI[usi]: enabled. [ 644.820520] RTAI[math]: loaded. [ 645.067157] hm2: loading Mesa HostMot2 driver version 0.15 [ 645.073916] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7 [ 645.073966] hm2_pci: discovered 5i20 at 0000:02:02.0 [ 645.074071] hm2_5i20.0: firmware: requesting hm2/5i20/SVST8_4.BIT [ 645.257094] hm2/hm2_5i20.0: invalid cookie, got 0xFFFFFFFF, expected 0x55AACAFE [ 645.257102] hm2/hm2_5i20.0: FPGA failed to initialize, or unexpected firmware? [ 645.257108] hm2_5i20.0: board fails HM2 registration [ 645.263438] hm2_pci: probe of 0000:02:02.0 failed with error -22 [ 645.926905] hm2: unloading [ 646.047748] RTAI[math]: unloaded. [ 646.143633] SCHED releases registered named ALIEN RTGLBH [ 646.158023] RTAI[malloc]: unloaded. [ 646.256019] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0). [ 646.261280] I-pipe: Domain RTAI unregistered. [ 646.261296] RTAI[hal]: unmounted. joe@joe-desktop:~$ On Wed, Apr 15, 2015 at 6:30 AM, John Thornton <[email protected]> wrote: > My CHNC uses the same cards and the notes and wiring diagrams I made for > it may help. > > http://gnipsel.com/shop/hardinge/hardinge.xhtml > > How to get a list of the hal pins: > > http://gnipsel.com/linuxcnc/configs/pins.html > > JT > > On 4/14/2015 7:32 PM, Joe H wrote: > > I'm having problems getting started with 5i20 7i33 7i77. I began this > > project a couple of years ago and was delayed for various reasons. I > have a > > mid 80's Mill with brushed servos that run. Nothing has been done to the > > wiring of it yet. I want to get it running with Linux CNC. I am going to > > ask some questions that I'm sure will show my ignorance. I have Ubuntu > > 10.04 with Linux CNC installed on a P-4 that shows good latency. The > 5i20 > > is in the PCI bus, the 7i33 and 7i37 are plugged in I believe the correct > > way. I have used the wizzard to configure for 5i20 and 3 axis servo to > the > > best of my abilitiy. I believe that the card is recognized (lights up > red, > > then goes out when I start Linux CNC). Should i get pin-out info by > > typing "dmesg > hm2.txt" in terminal? I believe I it showed up once > > yesterday but haven't been able to get it today. "dmesg" does show > > information, but no pin out.I could use a pointer in the correct > > direction. I've been reading the manual but I am stuck. > > > ------------------------------------------------------------------------------ > > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > > Develop your own process in accordance with the BPMN 2 standard > > Learn Process modeling best practices with Bonita BPM through live > exercises > > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > > _______________________________________________ > > Emc-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
