unknown symbols using rtai_serial
Michael Feid
mfeid at whengenibk.de
Thu Dec 16 11:41:07 CET 2004
Hi,
> Michael Feid wrote:
> > Hi everybody,
> > (...)
> > I want to use the serial port for data-transfer and communication.
Therefore
> > I included the modules
> > and the routines to clear the buffer of the RS-232. The compiler
translates
> > the program with some warnings, but w.o. errormessage.
> > insmod of the module fails, since there are some unkown symbols:
> >
> > ourmod: Unknown symbol rt_spread
> > ourmod: Unknown symbol rt_spopen
> > ourmod: Unknown symbol rt_spwrite
>
> Could you try the patch given by Philippe in the following mail and tell
> us if changes anything for you ?
>
> https://mail.rtai.org/pipermail/rtai/2004-December/009465.html
>
> Regards.
>
> --
>
>
> Gilles Chanteperdrix.
At first, sorry, this was my mistakte not having looked, whether rtai_serial
is loaded.
the problem I have, concerns only the rtai-serial, not my application module
(to this point of time :-)).
I could patch "serial.c" after removing my former modifications. To specify
my problem more:
The module rtai_serial.ko.cannot be loaded, therfore I could not load my
application-module.
As consequence of my module-loading routines, my computer hangs up.
I proceed as follows:
setserial -g /dev/ttyS*
shows my serial ports, everything is ok,
I insert the module for rtai,scheduler,fifo,shm,semaphore, everything is
well,
When I insert the module rtai_serial.ko I got the message:
-1 Permission denied
This is the dmesg-report:
Adeos: Domain RTAI registered.
RTAI[hal]: 3.1 mounted over Adeos 2.6r6/x86.
RTAI[hal]: compiled with gcc version 3.3.3 (SuSE Linux).
RTAI[malloc]: loaded (global heap size=131072 bytes).
RTAI[sched_up]: loaded.
RTAI[sched_up]: fpu=yes, timer=periodic.
RTAI[sched_up]: standard tick=1000 hz, CPU freq=1193180 hz.
RTAI[sched_up]: timer setup=1676 ns, resched latency=2514 ns.
***** WARNING: GLOBAL HEAP NEITHER SHARABLE NOR USABLE FROM USER SPACE (use
the vmalloc option for RTAI malloc) *****
TTY_INDX: 0, PORT: 3f8, IRQ 4.
TTY_INDX: 1, PORT: 2f8, IRQ 3.
# OF PORTS: 2, BUFFER SIZE: 512.
14 is a wrong index module for lxrt.
comedi: version 0.7.69 - David Schleef <ds at schleef.org>
rt_pend_tq: RT bottom half scheduler initialized OK
Available NI device IDs:
comedi0: ni_pcimio:no device found
Available NI device IDs:
...
And after typing
setserial -g /dev/ttyS*
my computer hangs up. I cannot explain the errormsg
Permission denied
In the dmsg-report is the following line:
14 is a wrong index module for lxrt
What does it mean?
With regards
Michael Feid
Ingenieurbüro Hengen
Barthelsmühlring 26
76870 Kandel-Minderslachen
Germany
Tel: ++49 7275 985332
Fax: ++49 7275 913338
http://www.whengenibk.de
More information about the Rtai
mailing list