pncconf update

More
01 Feb 2012 22:32 #17325 by Zig
pncconf update was created by Zig
Where do I find update from pncconf alpha to the current version?
How do I update to the current version?

Please Log in or Create an account to join the conversation.

More
02 Feb 2012 01:11 #17327 by cmorley
Replied by cmorley on topic Re:pncconf update
linuxcnc version 2.5 and master have the latest version.
presently buildbot is the easiest way to get it:
look here:

buildbot.linuxcnc.org/

Please Log in or Create an account to join the conversation.

More
02 Feb 2012 22:29 - 02 Feb 2012 22:31 #17348 by Zig
Replied by Zig on topic Re:pncconf update
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 Feb 2012 22:31 by Zig.

Please Log in or Create an account to join the conversation.

More
03 Feb 2012 01:57 #17351 by cmorley
Replied by cmorley on topic Re:pncconf update
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

Please Log in or Create an account to join the conversation.

More
05 Feb 2012 07:47 #17416 by Zig
Replied by Zig on topic Re:pncconf update
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

Please Log in or Create an account to join the conversation.

More
05 Feb 2012 07:53 #17417 by Zig
Replied by Zig on topic Re:pncconf update
let me add the library file exists on both machines in the specified path.

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.173 seconds
Powered by Kunena Forum