Re: Suggested Comedilib / RTAI / Kernel versions

Hi David, 

I attach some notes I made some months ago which may help,

  Best wishes

  Peter

 --------------------------------------------------------------------
| Prof. Peter J Gawthrop           | Tel: +44 141 330 4960/2528      |
| Centre for Systems and Control & | Fax: +44 141 330 4343           |
| Dept. of Mechanical Engineering  | Room: James Watt 653            |
| University of Glasgow            | Email: P.Gawthrop_at_eng.gla.ac.uk |
| GLASGOW G12 8QQ, Scotland, UK    | URL: www.mech.gla.ac.uk/~peterg |
 --------------------------------------------------------------------

from: David Carr <dc_at_dcarr.org>
Subject: Suggested Comedilib / RTAI / Kernel versions
Date: Fri, 16 Jan 2004 03:03:21 -0600

> I'm having some serious problems getting RTAI 3.0 to compile against 
> comedilib 0.7.67 ( I also tried CVS).  The RTAI compile fails when 
> compiling the comedi add-on.  I'm using gcc 3.2.3-r1 and glic 2.3.2-r3.  
> What versions of RTAI and comedilib are known to play nicely?  I've been 
> working on this all day.
> 
> Thanks for your time,
> David Carr
> 
> 
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
Some problems encountered when installing RTAI/RTLAB were solved as follows:
Peter Gawthrop Oct 1st 2003, October 2nd 2003.

1. Building patched kernel. (I used kernel 2.4.18 with RTAI 24.1.11
   a) Use gcc-2.95.4 (gcc-3.xx.xx fails with syntax errors)
   b) You need to compile your kernel with the following options disabled:
      i)  Symmetric multiprocessor
      ii) Local APIC Support on uniprocessor
      They are under "Processor Type and Features" 
    This prevents a nasty "APIC error" when insmoding rtai - 
    (https://mail.rtai.org/pipermail/rtai/2003-March/002955.html) 
   c) If changing kernel configuration options, do `make distclean' and
      `rm -rf /lib/modules/2.4.18-rtha15' before recompiling.
   d) Don't forget to include your ethernet card in the configuration.

2. Building RTAI 24.1.11 
   a) Enable UP
   b) Disable MUP and SMP
   c) Do ./setsched up after make and before make install
   d) The recommended 24.1.9 fails to compile - syntax errors.
   e) Use gcc-2.95.4 

3. Building RTLab (current CVS)
   a) Use g++-3.3 and gcc-3.3 (2.9 fails)

4. Building comedi/comedilib
   a) The latest versions do not work with my card (daqcard-1200) - so
      use  comedi-0.7.66 (NOT 67) and comedilib-0.7.20 (NOT 21).

   b) comedilib-0.7.20 is missing the etc dir containing the pcmcia
      startup stuff, so copy etc from comedilib-0.7.19 and thence copy 
      contents into /etc/pcmcia.

The relevant parts of /usr/src are:

  /usr/src:
  lrwxrwxrwx    1 root     src            22 Oct  2 11:31 comedi -> /usr/src/comedi-0.7.66
  drwxr-xr-x    9 peterg   peterg       4096 Oct  2 11:36 comedi-0.7.66
  -rw-------    1 root     src        603740 Oct  2 11:29 comedi-0.7.66.tgz
  lrwxrwxrwx    1 root     src            25 Oct  2 11:31 comedilib -> /usr/src/comedilib-0.7.20
  drwxrwxrwx   13 peterg   peterg       4096 Oct  2 11:37 comedilib-0.7.20
  -rw-------    1 root     src        453655 Oct  2 11:30 comedilib-0.7.20.tar.gz
  lrwxrwxrwx    1 root     src            27 Oct  1 11:02 linux -> /usr/src/linux-2.4.18-rthal
  drwxr-xr-x   14 573      573          4096 Oct  1 16:09 linux-2.4.18-rthal
  -rw-------    1 root     src      24161675 Sep 30 19:04 linux-2.4.18.tar.bz2
  lrwxrwxrwx    1 root     src            21 Oct  1 11:01 rtai -> /usr/src/rtai-24.1.11
  drwxr-xr-x   45 root     root         4096 Oct  1 17:20 rtai-24.1.11
  -rw-------    1 root     src       4425194 Oct  1 10:24 rtai-24.1.11.tgz
  drwxr-xr-x    8 root     src          8192 Oct  2 06:53 rtlab_exp_tk

Received on 2004-01-16Z14:29:48