Re: [Emc-users] Error on startup Lcnc

2014-10-29 Thread Tomaz T .
I found out that it was entirely hardware problem, because after moving 
parallel pci card to the other pci slot, it finally started to work.



 A wild guess might be that the PPMC board is not powered up or not
 connected? There is a Pico diagnostic program you might try.

 http://pico-systems.com/codes/univpwmdiags.tgz
  
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Error on startup Lcnc

2014-10-29 Thread Jon Elson
On 10/29/2014 02:56 AM, Tomaz T. wrote:
 I found out that it was entirely hardware problem, because after moving 
 parallel pci card to the other pci slot, it finally started to work.


Hmmm, very strange!  Well, glad you got it to work!

Jon

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Error on startup Lcnc

2014-10-29 Thread Kirk Wallace
On 10/29/2014 09:36 AM, Jon Elson wrote:
 On 10/29/2014 02:56 AM, Tomaz T. wrote:
 I found out that it was entirely hardware problem, because after moving 
 parallel pci card to the other pci slot, it finally started to work.


 Hmmm, very strange!  Well, glad you got it to work!

 Jon

I think changing slots changes where PCI assigns where the card's base 
and extended address space?

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Error on startup Lcnc

2014-10-29 Thread Jon Elson
On 10/29/2014 11:52 AM, Kirk Wallace wrote:
 On 10/29/2014 09:36 AM, Jon Elson wrote:
 On 10/29/2014 02:56 AM, Tomaz T. wrote:
 I found out that it was entirely hardware problem, because after moving 
 parallel pci card to the other pci slot, it finally started to work.


 Hmmm, very strange!  Well, glad you got it to work!

 Jon
 I think changing slots changes where PCI assigns where the card's base
 and extended address space?

PCI does not assign addresses by slot #, but it does 
enumerate boards in the order
of the slots.  So, it is possible changing position will 
change the I/O address of the
slot.  Also, there are PCI slots with different power 
supplies and number of data
bits, so possibly one slot was not compatible with the 
parport board.

Jon

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Error on startup Lcnc

2014-10-28 Thread Tomaz T .
Anyone have ideas what could be wrong, and causing me this error on Lcnc 
startup:

Debug file information:
Can not find -sec APPLICATIONS -var DELAY -num 1 
insmod: error inserting 
'/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hal_ppmc.ko': -1 Operation not 
permitted
my5axis_load.hal:19: exit value: 1
my5axis_load.hal:19: insmod failed, returned -1
See the output of 'dmesg' for more information.
1614
  PID TTY  STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components
  
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Error on startup Lcnc

2014-10-28 Thread andy pugh
On 28 October 2014 08:43, Tomaz T. tomaz_...@hotmail.com wrote:
 See the output of 'dmesg' for more information.

What does dmesg say?


-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Error on startup Lcnc

2014-10-28 Thread Kirk Wallace
On 10/28/2014 01:43 AM, Tomaz T. wrote:
 Anyone have ideas what could be wrong, and causing me this error on Lcnc 
 startup:

 Debug file information:
 Can not find -sec APPLICATIONS -var DELAY -num 1
 insmod: error inserting 
 '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hal_ppmc.ko': -1 Operation 
 not permitted

... snip

A wild guess might be that the PPMC board is not powered up or not 
connected? There is a Pico diagnostic program you might try.

http://pico-systems.com/codes/univpwmdiags.tgz

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Error on startup Lcnc

2014-10-28 Thread Jon Elson
On 10/28/2014 03:43 AM, Tomaz T. wrote:
 Anyone have ideas what could be wrong, and causing me this error on Lcnc 
 startup:

 Debug file information:
 Can not find -sec APPLICATIONS -var DELAY -num 1
 insmod: error inserting 
 '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hal_ppmc.ko': -1 Operation 
 not permitted
 my5axis_load.hal:19: exit value: 1
 my5axis_load.hal:19: insmod failed, returned -1

Oh, my, there are so many things.  First, of course, you 
need to make sure the
driver can talk to the Pico Systems device(s).  Recent 
versions of LinuxCNC
send more info to the kernel log reporting what they sensed 
connected
to the parallel port.  So, do :

dmesg | grep PPMC

and it will pull only the lines from the ppmc driver out of 
the thousands
of lines in the dmesg file.

If no boards are found, then you need to try the diagnostic 
program to
see if communication can be established.  I don't know what 
Pico board
you have, so I can't direct you to the correct diag program. 
Finally,
you MUST use an IEEE-1284 cable.  Standard DB-25 cables will not
work, due to crosstalk.

Jon

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users