On Sat, 17 Mar 2012, Viesturs L?cis wrote: > Date: Sat, 17 Mar 2012 10:55:23 -0400 > From: "[UTF-8] Viesturs L?cis" <[email protected]> > Reply-To: "Enhanced Machine Controller (EMC)" > <[email protected]> > To: "Enhanced Machine Controller (EMC)" <[email protected]> > Subject: Re: [Emc-users] Smart-serial and 7i43 > > 2012/3/10 Peter C. Wallace <[email protected]>: >> >> Looks like at least 2 problems, one is that the firmware and driver are >> different versions (that firmware is fairly ancient) and the second problame >> is that the config line syntax has changed (this should be fixable with man >> hostmot2) > > John Murphy sent me a firmware file that is working for him and in INI > file the CONFIG line is this: > CONFIG="firmware=hm2/7i43-4/BOSSV.BIT num_encoders=1 sserial_port_0=00" > > What am I missing as I get this error at LinuxCNC startup? > The fact that it complains about not being able to find nml_file makes > me think that something needs to be updated, but what exactly? > Could it be that Hostmot2 driver in LinuxCNC is outdated?
No I think its some other version issue (nml has nothin to do with hm2) > > Viesturs > > > Here is complete error message: > > 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-pre2-916-g280b0ea > Machine configuration directory is '/home/viesturs/linuxcnc/configs/hm2-servo' > Machine configuration file is '7i43-big.ini' > INIFILE=/home/viesturs/linuxcnc/configs/hm2-servo/7i43-big.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=2440 > 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_7i43.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. > 2440 > PID TTY STAT TIME COMMAND > Stopping realtime threads > Unloading hal components > > Kernel message information: > [ 595.108459] I-pipe: Domain RTAI registered. > [ 595.108470] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03. > [ 595.108473] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu > 4.4.3-4ubuntu5) . > [ 595.108479] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE > (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0). > [ 595.108481] PIPELINE layers: > [ 595.108485] fbc53e20 9ac15d93 RTAI 200 > [ 595.108488] c085cb20 0 Linux 100 > [ 595.136200] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>. > [ 595.136404] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with > RTAI OWN KTASKs>, kstacks pool size = 524288 bytes. > [ 595.136409] RTAI[sched]: hard timer type/freq = APIC/12557105(Hz); > default timing: periodic; linear timed lists. > [ 595.136413] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq > = 1808451000 hz. > [ 595.136416] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns. > [ 595.136550] RTAI[usi]: enabled. > [ 595.238850] RTAI[math]: loaded. > [ 595.341395] hm2: loading Mesa HostMot2 driver version 0.15 > [ 595.350735] hm2_7i43: loading HostMot2 Mesa 7i43 driver version 0.3 > [ 595.354947] hm2_7i43.0: firmware: requesting hm2/7i43-4/BOSSV.BIT > [ 595.830428] hm2/hm2_7i43.0: inconsistent Module Descriptor for > Smart Serial Interface, not loading driver > [ 595.830437] hm2/hm2_7i43.0: Version = 0, expected 0 > [ 595.830442] hm2/hm2_7i43.0: NumRegisters = 5, expected 6 > [ 595.830447] hm2/hm2_7i43.0: InstanceStride = 0x00000004, > expected 0x00000040 > [ 595.830451] hm2/hm2_7i43.0: MultipleRegisters = 0x0000001F, > expected 0x0000003C > [ 595.830456] hm2/hm2_7i43.0: inconsistent Module Descriptor! > [ 595.830460] hm2/hm2_7i43.0: failed to parse Module Descriptor 5 > [ 595.830471] hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, > epp_wide ON) not found! > [ 596.325306] hm2: unloading > [ 596.382915] RTAI[math]: unloaded. > [ 596.449225] SCHED releases registered named ALIEN RTGLBH > [ 596.464583] RTAI[malloc]: unloaded. > [ 596.564043] RTAI[sched]: unloaded (forced hard/soft/hard > transitions: traps 0, syscalls 0). > [ 596.573316] I-pipe: Domain RTAI unregistered. > [ 596.573329] RTAI[hal]: unmounted. > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your (")_(") signature to help him gain world domination. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
