Re: Re: modprobe comedi

Bonjour Said,

I have recently installed RTAI 3.5 and comedi CVS (checked out 20070514)
using the RTAI-Lab tutorial on a Slackware 11.0 system. Also with kernel
2.6.17. So it is possible. 
Could you send the output of 'lsmod' , 'cat /proc/comedi' and
'cat /proc/rtai/*' to the list?

This is my output of 'lsmod':
rtai_comedi             4608  0 
ni_pcimio              52992  0 
8255                    4992  1 ni_pcimio
ni_tio                 16640  1 ni_pcimio
mite                    8964  2 ni_pcimio,ni_tio
comedi_fc               2944  1 ni_pcimio
kcomedilib             13184  1 rtai_comedi
comedi                 36256  6
ni_pcimio,8255,ni_tio,mite,comedi_fc,kcomedilib
rtai_shm                9472  1 rtai_comedi
rtai_sem               17792  1 rtai_comedi
rtai_fifos             27852  0 
rtai_lxrt              83352  6
rtai_comedi,ni_pcimio,kcomedilib,rtai_shm,rtai_sem,rtai_fifos
rtai_hal               34000  11
rtai_comedi,ni_pcimio,ni_tio,mite,comedi_fc,kcomedilib,comedi,rtai_shm,rtai_sem,rtai_fifos,rtai_lxrt


'cat /proc/rtai/*' results in:
lennart_at_rubidium02:~$ cat /proc/rtai/*
RTAI Real Time fifos status.

Maximum number of FIFOS 64.

fifo No  Open Cnt  Buff Size  handler  malloc type Name
---------------------------------------------------------

** RTAI/x86:


** Real-time IRQs used by RTAI: none

** RTAI extension traps: 

    SYSREQ=0xf6

** RTAI SYSREQs in use: #1 #2 #3 


RTAI LXRT Information.

    MAX_SLOTS = 150

                                         Linux_Owner         Parent PID
Slot Name   ID         Type   RT_Handle    Pointer   Tsk_PID   MEM_Sz
USG Cnt
-------------------------------------------------------------------------------
 190 RTGLBF 0x9ac6d9e5 SHMEM  0xdfc7a000 0x00000000        0    2097152
1

RTAI LXRT Real Time Task Scheduler.

    Calibrated CPU Frequency: 1534121000 Hz
    Calibrated interrupt to scheduler latency: 2688 ns
    Calibrated oneshot timer setup_to_firing time: 2010 ns

Number of RT CPUs in system: 1

Real time kthreads in resorvoir (cpu/#): (0/6)

Number of forced hard/soft/hard transitions: traps 0, syscalls 0

Priority  Period(ns)  FPU  Sig  State  CPU  Task  HD/SF  PID  RT_TASK *
TIME
------------------------------------------------------------------------------
TIMED

READY


This is what I get from 'cat /proc/comedi':
lennart_at_rubidium02:~$ cat /proc/comedi 
comedi version 0.7.73
format string: "%2d: %-20s %-20s %
4d",i,driver_name,board_name,n_subdevices
 0: ni_pcimio            pci-6024e              13
ni_pcimio:
 ni_pcimio
8255:
 8255




Lennart.

On Thu, 2007-05-31 at 18:21 +0200, said bounaceur wrote:
> Hi I use a kernel 2.6.17, rtai-3.5, comedilib-0.7.22, comedi-0.7.73
> yes i load other modules and i followe the RTAI-Lab tutorial to compile and install comedi and RTAI
> 
> 
> > Hi Said,
> > 
> > Did you use the CVS versions of comedi and comedilib? 
> > What other modules have you loaded (did you load the RTAI modules)?
> > Have you followed the RTAI-Lab tutorial to compile and install comedi
> > and RTAI? Which Linux distribution are you using?
> > 
> > 
> > Good luck,
> > 
> > Lennart.
> > 
> > On Thu, 2007-05-31 at 16:05 +0200, said bounaceur wrote:
> > > Hi
> > > I have a kernel 2.6.17, rtai-3.5, comedilib-0.7.22, comedi-0.7.73
> > > When i do modprobe comedi Ihave this message Thank you for your Help ;-)
> > > 
> > > Erreur de segmentation
> > > me-thebe:/usr/local/src/comedi#
> > > Message from syslogd_at_me-thebe at Thu May 31 15:47:41 2007 ...
> > > me-thebe kernel: CPU: 0
> > > 
> > > Message from syslogd_at_me-thebe at Thu May 31 15:47:41 2007 ...
> > > me-thebe kernel: EIP is at vsnprintf+0x7a/0x49c
> > > 
> > > Message from syslogd_at_me-thebe at Thu May 31 15:47:41 2007 ...
> > > me-thebe kernel: Oops: 0000 [#1]
> > > 
> > > Message from syslogd_at_me-thebe at Thu May 31 15:47:41 2007 ...
> > > me-thebe kernel: eax: 00000000 ebx: d01fc0fc ecx: 000000d0 edx: dffbf4c0
> > > 
> > > Message from syslogd_at_me-thebe at Thu May 31 15:47:41 2007 ...
> > > me-thebe kernel: esi: c9833f6c edi: d01fcc80 ebp: c9832000 esp: c9833f14
> > > 
> > > Message from syslogd_at_me-thebe at Thu May 31 15:47:41 2007 ...
> > > me-thebe kernel: ds: 007b es: 007b ss: 0068
> > > 
> > > Message from syslogd_at_me-thebe at Thu May 31 15:47:41 2007 ...
> > > me-thebe kernel: Process modprobe (pid: 3543, threadinfo=c9832000 task=c772f030)
> > > Message from syslogd_at_me-thebe at Thu May 31 15:47:41 2007 ...
> > > me-thebe kernel: Stack: ffffffff 00000000 00000000 d01fc10f d01fc080 fffffff4 d01fcc80 c9832000
> > > 
> > > Message from syslogd_at_me-thebe at Thu May 31 15:47:41 2007 ...
> > > me-thebe kernel: c02204ef d01fc0fc 00000014 00000000 c9833f6c 00000001 08059488 c844cd80
> > > 
> > > Message from syslogd_at_me-thebe at Thu May 31 15:47:41 2007 ...
> > > me-thebe kernel: e087f124 d01fcc80 00000000 00000000 06200000 00000000 e0ad3864 00000000
> > > 
> > > Message from syslogd_at_me-thebe at Thu May 31 15:47:41 2007 ...
> > > me-thebe kernel: Call Trace:
> > > 
> > > Message from syslogd_at_me-thebe at Thu May 31 15:47:41 2007 ...
> > > me-thebe kernel: <c02204ef> class_device_create+0x70/0x8e <e087f124> comedi_init+0x124/0x139 [comedi]
> > > 
> > > Message from syslogd_at_me-thebe at Thu May 31 15:47:41 2007 ...
> > > me-thebe kernel: <c011b932> blocking_notifier_call_chain+0x20/0x37 <c01262cd> sys_init_module+0x82/0x145
> > > 
> > > Message from syslogd_at_me-thebe at Thu May 31 15:47:41 2007 ...
> > > me-thebe kernel: <c01262dc> sys_init_module+0x91/0x145 <c010239e> sysenter_past_esp+0x63/0x67
> > > 
> > > Message from syslogd_at_me-thebe at Thu May 31 15:47:41 2007 ...
> > > me-thebe kernel: Code: 24 24 8b 44 24 28 8d 44 03 ff 89 44 24 0c 89 d8 48 39 44 24 0c 73 10 c7 44 24 0c ff ff ff ff 89 da f7 da 89 54 24 28 8b 44 24 2c <80> 38 00 0f 84 f2 03 00 00 8b 44 24 2c 0f b6 00 3c 25 74 11 3b
> > > 
> > > Message from syslogd_at_me-thebe at Thu May 31 15:47:41 2007 ...
> > > me-thebe kernel: EIP: [<c01f4c71>] vsnprintf+0x7a/0x49c SS:ESP 0068:c9833f14 
> > > 
> > > _______________________________________________
> > > comedi mailing list
> > > comedi_at_comedi.org
> > > https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
> > -- 
> > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> > L.C. Karssen
> > Department of Physics and Astronomy
> > Faculty of Science
> > Utrecht University
> > Princetonplein 1
> > 3584 CC  Utrecht
> > The Netherlands
> > 
> > tel.: +31 (0)30-253-2208
> > fax.: +31 (0)30-253-7468
> > e-mail: L.C.Karssen_at_phys.uu.nl
> > www: http://www1.phys.uu.nl/wwwaoud
> > -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
> > 
-- 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
L.C. Karssen
Debye Institute
Dept. of Physics & Astronomy
Utrecht University
Princetonplein 1
3584 CC  Utrecht
The Netherlands

tel.: +31 (0)30-253-2208
e-mail: L.C.Karssen_at_phys.uu.nl
www: http://www1.phys.uu.nl/wwwaoud
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-

Received on 2007-05-31Z18:13:09