NEWS
2.6 Live+Install image
There are no translations available.

Announcing a new Live+Install DVD image for installing LinuxCNC 2.6 on Debian Wheezy. Instructions here.

 
LinuxCNC 2.6.3 is released
There are no translations available.

Several bugs fixed, see the change log.

 
LinuxCNC 2.6.2 Released
There are no translations available.

Bug fix see the change log.

 

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: pncconf update

pncconf update 01 Fév 2012 14:32 #17325

  • Zig
  • Zig's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 139
  • Karma: 1
Where do I find update from pncconf alpha to the current version?
How do I update to the current version?
The administrator has disabled public write access.

Re:pncconf update 01 Fév 2012 17:11 #17327

  • cmorley
  • cmorley's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1903
  • Thank you received: 102
  • Karma: 96
linuxcnc version 2.5 and master have the latest version.
presently buildbot is the easiest way to get it:
look here:

buildbot.linuxcnc.org/
The administrator has disabled public write access.

Re:pncconf update 02 Fév 2012 14:29 #17348

  • Zig
  • Zig's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 139
  • Karma: 1
Cris,

Thank You for the pointer.
I have updated my software and attempted to run pncconf using a previous configuration created by alpha version.

pncconf complained so I went about generating a new config set-up with new version.

I noticed during generation process that the old values were already available within the new set-up.

At the end of the process when it came to saving i got an error report which said:

"...
PNCconf encountered an error. The following information may be useful in troubleshooting:

Traceback (most recent call last):
File "/usr/bin/pncconf", line 7986, in on_complete_finish
p = 'mesa%dc%dpin%d' % (boardnum, connector, pin)
TypeError: %d format: a number is required, not unicode

..."

EDIT: above was done on a machine which did not have the mesa card plugged in. May be that's the reason for error message.





Don't know if I broke the application or this is a known issue.

Do I need to report this to someone and who and where?
Last Edit: 02 Fév 2012 14:31 by Zig.
The administrator has disabled public write access.

Re:pncconf update 02 Fév 2012 17:57 #17351

  • cmorley
  • cmorley's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1903
  • Thank you received: 102
  • Karma: 96
yes this is a known but forgotten problem.
the data from the original pncconf config you loaded is not completely reset with out reloading Pncconf.
This can be an advantage if you want to re-use a lot of custom HAL signal names from another program.
as long as you don't load a program that is too old.

unfortunately the internal representation of the firmware is different from old PNCconf to new.
and it doesn't catch the error if you don't reload PNCconf.

Bottom line is build your new config from scratch and you should be good.
You don't need a mesa card installed but of course you can't test if you don't.

And you just reported it - I maintain PNCconf.

Chris M
The administrator has disabled public write access.

Re:pncconf update 04 Fév 2012 23:47 #17416

  • Zig
  • Zig's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 139
  • Karma: 1
Chris,

some more problems with EMC2beta2.5

Downloaded and installed the beta version.
Played around with pncconf
Noticed the content of read me file in emc configuration folderand content of dmesg listing do not agree on muber and type of pins on the 5I20 card configuration.

Today wired up controls on my machine and tried to run emc2. No Joy ...

The software worked OK yesterday on two machines; one I use and abuse, the other is dedicated to driving the machine only.

BOTH machines played up today...independently and both give me the same error.

I had updated the machines yesterday and today ( usual security updates that come through automagically.



error message



Debug file information:
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/emc2/hm2_pci.ko': -1 No such device
my_EMC_machine.hal:9: exit value: 1
my_EMC_machine.hal:9: insmod failed, returned -1


dmesg yields the following


snare@snare:~$ dmesg
[ 7614.688330] I-pipe: Domain RTAI registered.
[ 7614.688353] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 7614.688359] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 7614.688373] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 7614.688378] PIPELINE layers:
[ 7614.688386] f9a14e20 9ac15d93 RTAI 200
[ 7614.688392] c085cb20 0 Linux 100
[ 7614.748519] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 7614.748870] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 7614.748882] RTAI[sched]: hard timer type/freq = APIC/6226890(Hz); default timing: periodic; linear timed lists.
[ 7614.748890] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1594275000 hz.
[ 7614.748895] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 7614.749147] RTAI[usi]: enabled.
[ 7614.984248] RTAI[math]: loaded.
[ 7615.181582] hm2: loading Mesa HostMot2 driver version 0.15
[ 7615.192560] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 7616.002947] hm2: unloading
[ 7616.138261] RTAI[math]: unloaded.
[ 7616.322258] SCHED releases registered named ALIEN RTGLBH
[ 7616.338317] RTAI[malloc]: unloaded.
[ 7616.436061] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 7616.445914] I-pipe: Domain RTAI unregistered.
[ 7616.445938] RTAI[hal]: unmounted.
snare@snare:~$


Any help in resolving would be greatly appreciated
The administrator has disabled public write access.

Re:pncconf update 04 Fév 2012 23:53 #17417

  • Zig
  • Zig's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 139
  • Karma: 1
let me add the library file exists on both machines in the specified path.
The administrator has disabled public write access.

Re:pncconf update 04 Fév 2012 23:57 #17419

  • cmorley
  • cmorley's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1903
  • Thank you received: 102
  • Karma: 96
Zig

I'm betting the updates added a new version of the kernel and now the realtime kernal is not loading when you start the computer.
That seems to be the error message.

Can you see the screen to select kernels on start up? I forget at the moment how o get it to show if you can't...

as for the read me could you explain more. The read me will tell you the pin numbers of the 5i20 but not the daughter boards.
though the readme and the dmesg should agree. can you post a copy of each?

Are you using sserial cards? the read me hasn't been updated to include them.

Thanks
The administrator has disabled public write access.

Re:pncconf update 05 Fév 2012 00:05 #17420

  • cmorley
  • cmorley's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1903
  • Thank you received: 102
  • Karma: 96
hmm now that I think of it pncconf will let you know if the kernel version is wrong if you try to test.
did you try any live tests in pncconf?
The administrator has disabled public write access.

Re:pncconf update 05 Fév 2012 00:20 #17421

  • Zig
  • Zig's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 139
  • Karma: 1
Grub reports kernel 2.6.32-12-rtai

More complete error log is

Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/lib/tcltk/emc2
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.5
EMC2 - 2.5.0-pre2-626-g402b6cd
Machine configuration directory is '/home/snare/emc2/configs/my_EMC_machine'
Machine configuration file is 'my_EMC_machine.ini'
INIFILE=/home/snare/emc2/configs/my_EMC_machine/my_EMC_machine.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=1392
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.32-122-rtai/modules/emc2/hm2_pci.ko': -1 No such device
my_EMC_machine.hal:9: exit value: 1
my_EMC_machine.hal:9: insmod failed, returned -1
See the output of 'dmesg' for more information.
1392
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 67.040186] I-pipe: Domain RTAI registered.
[ 67.040207] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 67.040213] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 67.040226] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 67.040232] PIPELINE layers:
[ 67.040239] f958ce20 9ac15d93 RTAI 200
[ 67.040245] c085cb20 0 Linux 100
[ 67.110126] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 67.110543] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 67.110556] RTAI[sched]: hard timer type/freq = APIC/6226850(Hz); default timing: periodic; linear timed lists.
[ 67.110564] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1594262000 hz.
[ 67.110569] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 67.110829] RTAI[usi]: enabled.
[ 67.348193] RTAI[math]: loaded.
[ 67.760163] hm2: loading Mesa HostMot2 driver version 0.15
[ 67.790290] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 68.767421] hm2: unloading
[ 68.949360] RTAI[math]: unloaded.
[ 69.130190] SCHED releases registered named ALIEN RTGLBH
[ 69.146234] RTAI[malloc]: unloaded.
[ 69.244047] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 69.254370] I-pipe: Domain RTAI unregistered.
[ 69.254392] RTAI[hal]: unmounted.


Old machine configurations generated under 2.4 do not run under 2.5

Can not get any other out put from EMC2 until the problem is resolved..


Am trying to revert to version 2.4.7
Need to get the machine running


The readme file shows All pins exported by 5I20 on P2,P3 and P4 5i20 headers.

The pin report when EMC2 starts and is made available through dmesg shows ONLY pins on P2 header.
The administrator has disabled public write access.

Re:pncconf update 05 Fév 2012 00:37 #17422

  • cmorley
  • cmorley's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1903
  • Thank you received: 102
  • Karma: 96
please post the hal file
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: cmorley
Time to create page: 0.702 seconds
Powered by Kunena Forum
© 2014 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.