Janet,

I am not an expert but the first thing that came to mind was the I/O port permissions. 
 It has been a while since I have worked with my I/O routines.  Therefore, I don't 
remember if this situation exists in the kernel as well as user space.  But I recall 
having to get permission from Linux to be able to access the I/O ports.  There is an 
easy way of allocating all (available?) ports and then there is the more correct way 
of allocating only the ports you are using.  Could it be possible that the two modules 
are colliding on the I/O ports.

Another thought would be if these cards have memory on them then the two modules might 
be colliding on memory mapped I/O.

Maybe this will get the cogs turning in the right direction.  Sometimes just talking 
things out will spawn ideas.

regards,

Rich

-----Original Message-----
From: Estabridis, Janet P [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 09, 2001 5:00 PM
To: '[EMAIL PROTECTED]'
Subject: [rtl] Multiple module insertion problem


Hi,

I am running kernel 2.2.14 rtl v2.3.  I am doing my final integration of my
modules and a weird thing is happening. 

1.  Someone else developed routines (drivers that initialize and control a
card in the system).  He tested this with his own real-time module and
everything worked fine.

2.  I have developed routines (drivers that initialize and control other
cards in the system) and have a rt-module that calls these other modules (a
30 Hz periodic task) and it has been running, minus his module, just fine.  

I want to be able to call his module routines, but first I try to insert his
module before I insert my rt-task module and the system crashes.  But, if I
insert my rt-task module before I insert his module my rt-task runs fine and
I can insert and remove his module with no problem.  

What would cause something like this ?  If I can't insert this module, then
I can't use his routines and I'm stuck.

I can insert this module after I am up and running, so is there a way that I
can insert this module in my rt-task when I need it ?  

Where do I need to look?  The module I am inserting is basically functions
to initialize a card, read data from it and handle it's interrupt.  

Thanks in advance --
Janet Estabridis

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to