[Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-15 Thread Michael Haberler
Since interest was expressed in trying Mesanet PCI cards with the new builds: To verify that the usermode PCI driver stuff works actually it is _NOT_ necessary to install any of the new kernels (xenomai, rt-preempt); in fact this is possible with the RTAI kernel running, or some other kernel. Re

Re: [Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-15 Thread Anders Wallin
> make LDFLAGS="-ludev " > Testing on 12.04lts with 3.2.21-xenomai+ ( gcc 4.6.3 and ld 2.22) "make LDFLAGS="-ludev " does add -ludev to the linking command, but the order of libraries seems to be wrong for me. I can get the usermode-pci branch to compile by modifying emc2-dev/src/rtapi/Submakefil

Re: [Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-15 Thread Anders Wallin
> > also, the error-messages that follow seem to indicate I don't have the > separate deb-package installed that contains the BIT-files for the mesa > cards. > Can the mesa firmware deb-package for 10.04lts/rtai be installed on > 12.04lts/xenomai ? > with the hostmot2-firmware-3x20-1 deb package

Re: [Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-15 Thread Anders Wallin
with the hostmot2-firmware-3x20-1 deb package installed from > www.linuxcnc.org and trying 3x20-small.ini I now get > http://pastebin.ca/2293883 > browsing the code, the relevant error message seems to come from src/hal/drivers/mesa-hostmot2/hm2_pci.c where around line 446 it says " // N

Re: [Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-15 Thread Michael Haberler
Anders, Am 15.12.2012 um 20:49 schrieb Anders Wallin: >> make LDFLAGS="-ludev " >> > > Testing on 12.04lts with 3.2.21-xenomai+ ( gcc 4.6.3 and ld 2.22) > > "make LDFLAGS="-ludev " does add -ludev to the linking command, but the > order of libraries seems to be wrong for me. > I can get the u

Re: [Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-15 Thread Anders Wallin
> > also, the error-messages that follow seem to indicate I don't have the > > separate deb-package installed that contains the BIT-files for the mesa > > cards. > > Can the mesa firmware deb-package for 10.04lts/rtai be installed on > > 12.04lts/xenomai ? > > Gut feeling: yes, but I cant tell > I

Re: [Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-15 Thread Charles Steinkuehler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/15/2012 2:17 PM, Anders Wallin wrote: > with the hostmot2-firmware-3x20-1 deb package installed from >> www.linuxcnc.org and trying 3x20-small.ini I now get >> http://pastebin.ca/2293883 Thanks for the feedback. From your pastebin, it appears

Re: [Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-15 Thread Peter C. Wallace
On Sat, 15 Dec 2012, Anders Wallin wrote: > Date: Sat, 15 Dec 2012 22:17:09 +0200 > From: Anders Wallin > Reply-To: EMC developers > To: EMC developers > Subject: Re: [Emc-developers] trying out Mesanet PCI cards with userland > thread builds > > with the host

Re: [Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-15 Thread Peter C. Wallace
On Sat, 15 Dec 2012, Peter C. Wallace wrote: > Date: Sat, 15 Dec 2012 17:57:17 -0800 (PST) > From: Peter C. Wallace > Reply-To: EMC developers > To: EMC developers > Subject: Re: [Emc-developers] trying out Mesanet PCI cards with userland > thread builds > > On

Re: [Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-16 Thread Anders Wallin
> >> with the hostmot2-firmware-3x20-1 deb package installed from > >>> www.linuxcnc.org and trying 3x20-small.ini I now get > >>> http://pastebin.ca/2293883 > >>> > > > Also is it possible you have the 6I68 jumpered to auto load a EEPROM > config? > This might cause that error > On the 6i68, I ha

Re: [Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-16 Thread Charles Steinkuehler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/16/2012 2:09 PM, Anders Wallin wrote: with the hostmot2-firmware-3x20-1 deb package installed from > www.linuxcnc.org and trying 3x20-small.ini I now get > http://pastebin.ca/2293883 >> >> Also is it possible you have the 6I68 jump

Re: [Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-16 Thread Peter C. Wallace
On Sun, 16 Dec 2012, Anders Wallin wrote: > Date: Sun, 16 Dec 2012 22:09:02 +0200 > From: Anders Wallin > Reply-To: EMC developers > To: EMC developers > Subject: Re: [Emc-developers] trying out Mesanet PCI cards with userland > thread builds > >>>> with

Re: [Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-16 Thread Anders Wallin
> > Is this normal LinuxCNC or the Xenomai/ userland PCI code? > I am testing on Ubuntu 12.04LTS with the userland-pci branch from here http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/usermode-pci uname -a says: 3.2.21-xenomai+ #1 SMP PREEMPT Tue Oct 30 19:01:33 UTC 2012 i686 i686 i

Re: [Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-16 Thread Peter C. Wallace
On Sun, 16 Dec 2012, Anders Wallin wrote: > Date: Sun, 16 Dec 2012 23:00:13 +0200 > From: Anders Wallin > Reply-To: EMC developers > To: EMC developers > Subject: Re: [Emc-developers] trying out Mesanet PCI cards with userland > thread builds > >> >> Is th

Re: [Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-16 Thread Charles Steinkuehler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/16/2012 3:00 PM, Anders Wallin wrote: >> >> Is this normal LinuxCNC or the Xenomai/ userland PCI code? >> > > I am testing on Ubuntu 12.04LTS with the userland-pci branch from > here > http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/

Re: [Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-17 Thread Anders Wallin
- pull this branch: > http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/usermode-pci > > known-to-work configs are: 5i20.ini and 5i25.ini > I can preliminarily confirm that git checkout 9a20569656795474cb95a0177a517f7f11da05b7 (not the latest git commit, since it messes with the build

Re: [Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-17 Thread Charles Steinkuehler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/17/2012 3:22 PM, Anders Wallin wrote: > - pull this branch: >> http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/usermode-pci >> >> >> known-to-work configs are: 5i20.ini and 5i25.ini > > I can preliminarily confirm that git checko

Re: [Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-17 Thread Kent A. Reed
On 12/17/2012 6:21 PM, Charles Steinkuehler wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 12/17/2012 3:22 PM, Anders Wallin wrote: >> - pull this branch: >>> http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/usermode-pci >>> >>> >>> > known-to-work configs are: 5i20.i

Re: [Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-17 Thread John Morris
On 12/17/2012 05:21 PM, Charles Steinkuehler wrote: > So the tested hardware now includes the 5i25, 5i20, and 3x20, and all > should run under either xenomai or rt-preempt. Dang, I can barely resist going right now to order a Mesa card that I can't honestly justify buying just yet. Hmm, I might h

Re: [Emc-developers] trying out Mesanet PCI cards with userland thread builds

2012-12-18 Thread Charles Steinkuehler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/18/2012 12:51 AM, John Morris wrote: > Great work, Charles. I know you spent a lot of time, and I know > that the BB PRU stepper code is your real pet project that you > delayed for this, so you've done us all a huge favor. Thanks, John, but it