Here is more print about error 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/aram/linuxcnc/configs/hm2-servo' Machine configuration file is '5i20.ini' INIFILE=/home/aram/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=4062 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 Input/output error hm2-servo.hal:46: exit value: 1 hm2-servo.hal:46: insmod failed, returned -1 See the output of 'dmesg' for more information. 4062 PID TTY STAT TIME COMMAND Stopping realtime threads Unloading hal components Kernel message information: [11379.970543] I-pipe: Domain RTAI registered. [11379.970553] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03. [11379.970557] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) . [11379.970617] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0). [11379.970621] PIPELINE layers: [11379.970626] f8d4fe20 9ac15d93 RTAI 200 [11379.970631] c085cb20 0 Linux 100 [11379.991635] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>. [11379.992067] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes. [11379.992077] RTAI[sched]: hard timer type/freq = APIC/12468630(Hz); default timing: periodic; linear timed lists. [11379.992083] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 3591232000 hz. [11379.992087] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns. [11379.992201] RTAI[usi]: enabled. [11380.050262] RTAI[math]: loaded. [11380.121583] hm2: loading Mesa HostMot2 driver version 0.15 [11380.124985] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7 [11380.125031] hm2_pci: discovered 5i20 at 0000:04:00.0 [11380.125103] hm2_5i20.0: firmware: requesting hm2/5i20/SVST8_4.BIT [11380.127460] hm2_5i20.0: FPGA did not reset: /INIT = 1, DONE = 1 [11380.127470] hm2/hm2_5i20.0: failed to reset fpga, aborting hm2_register [11380.127478] hm2_5i20.0: board fails HM2 registration [11380.127497] hm2_pci: probe of 0000:04:00.0 failed with error -5 [11380.416813] hm2: unloading [11380.459006] RTAI[math]: unloaded. [11380.484796] SCHED releases registered named ALIEN RTGLBH [11380.516978] RTAI[malloc]: unloaded. [11380.616018] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0). [11380.619168] I-pipe: Domain RTAI unregistered. [11380.619240] RTAI[hal]: unmounted. On Thu, May 22, 2014 at 10:58 AM, a k <pccncmach...@gmail.com> wrote: > hi > this is error that i got when i start in terminals > > To run a command as administrator (user "root"), use "sudo <command>". > > See "man sudo_root" for details. > > > > aram@aram-desktop:~$ linuxcnc > > LINUXCNC - 2.5.0 > > Machine configuration directory is '/home/aram/linuxcnc/configs/hm2-servo' > > Machine configuration file is '5i20.ini' > > Starting LinuxCNC... > > insmod: error inserting > '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hm2_pci.ko': -1 > Input/output error > > hm2-servo.hal:46: exit value: 1 > > hm2-servo.hal:46: insmod failed, returned -1 > > See the output of 'dmesg' for more information. > > Shutting down and cleaning up LinuxCNC... > > Cleanup done > > LinuxCNC terminated with an error. You can find more information in the > log: > > /home/aram/linuxcnc_debug.txt > > and > > /home/aram/linuxcnc_print.txt > > as well as in the output of the shell command 'dmesg' and in the terminal > > aram@aram-desktop:~$ > > > > > > > > > > > > On Thu, May 22, 2014 at 2:45 AM, andy pugh <bodge...@gmail.com> wrote: > >> On 22 May 2014 09:18, a k <pccncmach...@gmail.com> wrote: >> >> > when i try to start emc2 it show error >> >> What error does it show? I almost guarantee that the error states that >> the hal_m5i20 component can not be found. >> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?UPDATING#Withdrawn_drivers >> >> If the error is something else then nobody can help unless you say >> what the error message is. >> >> -- >> atp >> If you can't fix it, you don't own it. >> http://www.ifixit.com/Manifesto >> >> >> ------------------------------------------------------------------------------ >> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE >> Instantly run your Selenium tests across 300+ browser/OS combos. >> Get unparalleled scalability from the best Selenium testing platform >> available >> Simple to use. Nothing to install. Get started now for free." >> http://p.sf.net/sfu/SauceLabs >> _______________________________________________ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > > ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users