Re: [rtl] Many .O files to one loadable .O module with GCC?

2000-06-06 Thread David Schleef

On Tue, Jun 06, 2000 at 06:12:01PM -0500, Sheldon Hoffman wrote:
> 
> 
> We are using Red Hat 6.1 on a pentium 233 Mhz with
> Linux version 2.2.14-rtl2.2 (gcc version egcs-2.91.66
> 19990314/Linux (egcs-1.1.2 release)) #4 Sat May 20 08:52:04 CDT 2000
> 
> We are hoping to build a single loadable (INSMOD module compatible)
> object module for RTLinux.  The project consists of many (> 50) .C
> files and associated .H files.
> 
> We plan to use MAKE to compile each .C + .H file separately to a .O
> file then build the final .O loadable module from all the individual
> .O files.
> 
> We can't figure out how to get GCC to accept a number of .O files
> and create a single .O file that can be loaded into RTLinux with INSMOD.
> 
> Can anyone suggest how we can build a single .O loadable module from
> many .O files that were individually compiled using GCC?
> 


ld -r -o big.o small1.o small2.o

It is important, however, to make sure that small1.o and small2.o
are compiled with the correct flags and that the .c files include
the correct header files.  Looking at the output of 'make modules'
while compiling a kernel and watching the details really helps.
The sound drivers are especially useful.



dave...

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




Re: [rtl] Many .O files to one loadable .O module with GCC?

2000-06-06 Thread JunHyeok Heo


Why don't you peek the Rules.make of kernel source package ?
You can use 'ld' to make a single loadable object from many 'o' files.
Let me give you an example.
If you are trying to build a module named 'mymodule.o' 
with 'object1.o', 'object2.o', and 'object3.o' then
the following command can be used.

ld  -r -o module.o object1.o object2.o object3.o 

Bye.

- Original Message - 
From: "Sheldon Hoffman" <[EMAIL PROTECTED]>
To: "rtlinux" <[EMAIL PROTECTED]>
Sent: Wednesday, June 07, 2000 8:12 AM
Subject: [rtl] Many .O files to one loadable .O module with GCC?


> 
> 
> We are using Red Hat 6.1 on a pentium 233 Mhz with
> Linux version 2.2.14-rtl2.2 (gcc version egcs-2.91.66
> 19990314/Linux (egcs-1.1.2 release)) #4 Sat May 20 08:52:04 CDT 2000
> 
> We are hoping to build a single loadable (INSMOD module compatible)
> object module for RTLinux.  The project consists of many (> 50) .C
> files and associated .H files.
> 
> We plan to use MAKE to compile each .C + .H file separately to a .O
> file then build the final .O loadable module from all the individual
> .O files.
> 
> We can't figure out how to get GCC to accept a number of .O files
> and create a single .O file that can be loaded into RTLinux with INSMOD.
> 
> Can anyone suggest how we can build a single .O loadable module from
> many .O files that were individually compiled using GCC?
> 
> ___
> Shel Hoffman
> St. Louis, MO 63132 USA
> (314) 993-6132 voice
> (314) 993-3316 fax
> [EMAIL PROTECTED]
> 
> 
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl " | mail [EMAIL PROTECTED]
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
> 
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl " | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/




[rtl] Many .O files to one loadable .O module with GCC?

2000-06-06 Thread Sheldon Hoffman



We are using Red Hat 6.1 on a pentium 233 Mhz with
Linux version 2.2.14-rtl2.2 (gcc version egcs-2.91.66
19990314/Linux (egcs-1.1.2 release)) #4 Sat May 20 08:52:04 CDT 2000

We are hoping to build a single loadable (INSMOD module compatible)
object module for RTLinux.  The project consists of many (> 50) .C
files and associated .H files.

We plan to use MAKE to compile each .C + .H file separately to a .O
file then build the final .O loadable module from all the individual
.O files.

We can't figure out how to get GCC to accept a number of .O files
and create a single .O file that can be loaded into RTLinux with INSMOD.

Can anyone suggest how we can build a single .O loadable module from
many .O files that were individually compiled using GCC?

___
Shel Hoffman
St. Louis, MO 63132 USA
(314) 993-6132 voice
(314) 993-3316 fax
[EMAIL PROTECTED]


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




Re: [rtl] Threads or Tasks?

2000-06-06 Thread Bernhard Kuhn

WORM wrote:

> I´ve been wondering during the last days, which are the differents
> between using threads and using tasks. Sorry for bothering you, but I
> can´t find the answer to this.

The definition for both expression may vary, depending
in which "computing-world" you are living in :-)

So i will try this:

In general, a "task" can be any kind of computing job
(even an interrupt service routine), but with Linux,
"task" usualy means "(user-space-)process". Every process has
it´s own address-space and other processes can´t access
the data except when using shared memory.

Threads can (or with RTL do) run in the same address-space,
sharing data.


> Besides, i would like to know the pros and cons of using each other.

Processes are protected against each other, but this causes some
overhead when switching tasks since the MMU has to be reconfigured
and the TLB may has to be updated.

With RTL, "real time tasks" have more in common with "threads"
than with "processes" since they run in the same address space.
(as like "kernel-threads" a running in the same address space
as the kernel itself).

Comments?

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




[rtl] Threads or Tasks?

2000-06-06 Thread WORM

Hi all

As you´d  realized, i´m a newbie rtlinux user.

I´ve been wondering during the last days, which are the differents
between using threads and using tasks. Sorry for bothering you, but I
can´t find the answer to this.
Besides, i would like to know the pros and cons of using each other.

Thanks, Worm



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




Re: [rtl] Real time devices

2000-06-06 Thread Dr. Chuck Hall


i also have had good experiences with rtd. their support and help was good. tho,
reef sounds like the reason most of my suggestions/comments were "..already 
incorporated in the next batch."

i have written "drivers" for their dm6804 timer counter/digital io card, using
info from rubini's "writing device drivers" (o'reilly) with no problems. i'm using
2.0.36rtl1.2. the reason for the quotes is that they are hard written for testing
and our application, rather than for everything in general... they were also my first
attempt at drivers... in a couple of weeks i'll be finishing them up and changing
them for a rtd dm6430 a2d card. 

the only problem that i've had with pc104 was a gps card that came only with dos 
executables and the full documentation include oriental symbols of some type
i took awhile of reverse engineering to get it to work with linux

count me in,
chuck

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




[rtl] Real time devices

2000-06-06 Thread Reef Morse

I talked to Bill rogus at RTD and he said that they didn't directly support
Linux or Comedi at this time although they do have a guy there who is
willing to work with us.

So, is anyone interested in developing a driver for this line of cards?
Pretty straight-forward, I'd think.  I'm game.

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




[rtl] A/D boards

2000-06-06 Thread Reef Morse

I've had very good luck with Real Time Devices board (ISA, PC104).  Over a
period of 10 years and hundreds of shipped systems, I've had one failure in
the field, ever (that I know of).

They can be reached at 814 234-8087.  Their stuff isn't the cheapest, but
it's the best I've seen for reliability.  Their support is terrific as well
(my feed-back has had them alter the configuration of some of their boards
in the past).

I don't know about rtl support, but I'll look into that and get back to the
list on that.  In the meantime, if someone wants to develop a driver, I'd
be glad to participate in that.

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




Re: [rtl] RTAI-v1.3 tulip conflict

2000-06-06 Thread Mark

I don't know if it as at all related, but I had some problems with my
sound and 3Dfx drivers after installing RTL (Both modules). I recompiled
the modules AFTER installing RTL and they started working.

Mark

In message , William Montgomery <[EMAIL PROTECTED]>
writes
>
>I am having a problem with rtai-1.3 conflicting with the tulip network
>driver.  The CPU is a dual PIII 700MHz with 128M RAM, the kernel is 2.2.15.
>The network is fine after boot up - I can ping, rlogin, nfs and others.
>As soon as I do ldmod (loading basic rtai modules) the network stops
>responding.  This seems to be related to SMP only, I have a CPU from the
>same manufacturer with same chipsets but single processor which works
>fine with rtai-1.3.  I am including dmesg output below:
>
>[..]
>PPP line discipline registered.
>PPP BSD Compression module registered
>tulip.c:v0.91g-ppc 7/16/99 [EMAIL PROTECTED]
>eth0: Digital DS21143 Tulip rev 65 at 0xec00, 00:10:6F:02:1F:4E, IRQ 19.
>eth0:  EEPROM default media type Autosense.
>eth0:  Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block.
>eth0:  Index #1 - Media 10baseT-FD (#4) described by a 21142 Serial PHY (2) 
>block.
>eth0:  Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4) block.
>eth0:  Index #3 - Media 100baseTx-FD (#5) described by a 21143 SYM PHY (4) 
>block.
>eth0: Using user-specified media 10baseT(forced).
>
>=
>Network is working fine...
>./ldmod
>=
>
> RT memory manager v0.2 Loaded. 
>
>
>* STARTING THE REAL TIME SCHEDULER WITH NO LINUX *
>* FP SUPPORT AND READY FOR A PERIODIC TIMER *
>***<> LINUX TICK AT 120 (HZ) <>***
>***<> CALIBRATED CPU FREQUENCY 698803742 (HZ) <>***
>***<> CALIBRATED APIC_INTERRUPT-TO-SCHEDULER LATENCY 3001 (ns) <>***
>***<> CALIBRATED ONE SHOT APIC SETUP TIME 499 (ns) <>***
>
>
>* RTAI NEWLY MOUNTED (MOUNT COUNT 1) **
>
>eth0: 21140 transmit timed out, status f06980c5, SIA 52ca 0001 fff8 
>8ffd0008, resetting...
>eth0: 21140 transmit timed out, status f06980c7, SIA 52ca 0001 fff8 
>8ffd0008, resetting...
>eth0: 21140 transmit timed out, status f06980c7, SIA 52ca 0001 fff8 
>8ffd0008, resetting...
>
>=
>Network is now broken.
>
>Anybody have ideas?
>
>I have also tried Donald Becker's latest tulip driver v0.92 with same
>results.  The tulip driver is compiled as a kernel module.
>I can recover the network by doing:
>  ifconfig eth0 down
>  rmmod tulip
>  remod
>  insmod tulip
>  /etc/rc.d/rc.inet1
>
>Suggestions welcome.
>
>William Montgomery
>
>-- [rtl] ---
>To unsubscribe:
>echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
>echo "unsubscribe rtl " | mail [EMAIL PROTECTED]
>---
>For more information on Real-Time Linux see:
>http://www.rtlinux.org/rtlinux/
>

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




[rtl] PCI7300A

2000-06-06 Thread Miklos Emri


Has anybody information about PCI7300A card using under Linux?

Thanks
Miklos 

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




Re: [rtl] off topic

2000-06-06 Thread Paul Koning

> "Alexander" == Alexander Lichius <[EMAIL PROTECTED]> writes:

 Alexander> Hi i have a question not really regarding rtlinux in
 Alexander> special. we have to communicate with our a/d adaptor which
 Alexander> is realtime capable on its own. the problem is that the
 Alexander> task which is installed directly on the adaptors cpu was
 Alexander> compiled under DOS/WINDOWS. The task running on the pc
 Alexander> (now under linux) was compiled with egcs - which has a
 Alexander> 4-byte alignment in contrast to the 1-byte alignment from
 Alexander> DOS compilers

You need __attribute__ ((packed)) on your structures.  Look in the
info file, under "C extensions", "Variable attributes".

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




[rtl] RTAI-v1.3 tulip conflict

2000-06-06 Thread William Montgomery


I am having a problem with rtai-1.3 conflicting with the tulip network
driver.  The CPU is a dual PIII 700MHz with 128M RAM, the kernel is 2.2.15.
The network is fine after boot up - I can ping, rlogin, nfs and others.
As soon as I do ldmod (loading basic rtai modules) the network stops
responding.  This seems to be related to SMP only, I have a CPU from the
same manufacturer with same chipsets but single processor which works
fine with rtai-1.3.  I am including dmesg output below:

[..]
PPP line discipline registered.
PPP BSD Compression module registered
tulip.c:v0.91g-ppc 7/16/99 [EMAIL PROTECTED]
eth0: Digital DS21143 Tulip rev 65 at 0xec00, 00:10:6F:02:1F:4E, IRQ 19.
eth0:  EEPROM default media type Autosense.
eth0:  Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block.
eth0:  Index #1 - Media 10baseT-FD (#4) described by a 21142 Serial PHY (2) block.
eth0:  Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4) block.
eth0:  Index #3 - Media 100baseTx-FD (#5) described by a 21143 SYM PHY (4) block.
eth0: Using user-specified media 10baseT(forced).

=
Network is working fine...
./ldmod
=

 RT memory manager v0.2 Loaded. 


* STARTING THE REAL TIME SCHEDULER WITH NO LINUX *
* FP SUPPORT AND READY FOR A PERIODIC TIMER *
***<> LINUX TICK AT 120 (HZ) <>***
***<> CALIBRATED CPU FREQUENCY 698803742 (HZ) <>***
***<> CALIBRATED APIC_INTERRUPT-TO-SCHEDULER LATENCY 3001 (ns) <>***
***<> CALIBRATED ONE SHOT APIC SETUP TIME 499 (ns) <>***


* RTAI NEWLY MOUNTED (MOUNT COUNT 1) **

eth0: 21140 transmit timed out, status f06980c5, SIA 52ca 0001 fff8 
8ffd0008, resetting...
eth0: 21140 transmit timed out, status f06980c7, SIA 52ca 0001 fff8 
8ffd0008, resetting...
eth0: 21140 transmit timed out, status f06980c7, SIA 52ca 0001 fff8 
8ffd0008, resetting...

=
Network is now broken.

Anybody have ideas?

I have also tried Donald Becker's latest tulip driver v0.92 with same
results.  The tulip driver is compiled as a kernel module.
I can recover the network by doing:
  ifconfig eth0 down
  rmmod tulip
  remod
  insmod tulip
  /etc/rc.d/rc.inet1

Suggestions welcome.

William Montgomery

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




[rtl] RTLinux and Red Hat EDK kernel

2000-06-06 Thread Heinicke, Eric

Has anyone had any experience using the kernel supplied with the Red Hat EDK
product in conjunction with RTLinux?

Thank You.
 
Eric O. Heinicke   [EMAIL PROTECTED]
BAE SYSTEMS Voice:631.262.8644 
   Fax:  631.262.8657
   One Hazeltine Way, MS 1-78
   Greenlawn, NY 11740-1606

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




[rtl] Stack size problem

2000-06-06 Thread Zaimin Zhong

Hi all,

Sorry, I have tried to find solution from the mail archive, but my effort
failed!

My program crashed quite unpredictably. I wonder it is the stack size that
causes the problem. Questions:
1) What are the common stack consideration and limitation by using RTLinux;
2) How to change the stack size of a thread. Can I use
thread_attr_setstacksize().

Best regard!
James



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




Re: [rtl] loading RTAI-modules

2000-06-06 Thread Stuart Hughes

Steffen Hildebrandt wrote:
> 
> Hello,
> 
> I use RTAI-1.2 and a Linux-kernel 2.2.14 and i will try to load the
> RTAI-modules as user xxx. I havn't compiled in the kernel-module loader.
> Whats the procedure to load the RTAI-modules as user xxx and not as user
> root?
> Can I set the group-rights of insmod and rmmod to use it as user xxx?

Hi Steffen,

You can change the permissions (chmod 4755 ) for insmod, rmmod,
modprobe.  This is not a good idea as it is considered as opening a
whole in your system's security.

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




Re: [rtl] loading RTAI-modules

2000-06-06 Thread Jürgen Appel

> Whats the procedure to load the RTAI-modules as user xxx and not as user
> root?
Use sudo:

NAME
   sudo - execute a command as the superuser
[...]
DESCRIPTION
   sudo allows a permitted user to execute a command as the
   superuser (real and effective uid and gid are set to 0 and
   root's group as set in the passwd file respectively). 
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl " | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/




Re: [rtl] loading RTAI-modules

2000-06-06 Thread Steffen Hildebrandt

Thanks Tomasz,

I tryed it, but there is a error message: 
create_module(...) : operation permitted.

I think Create_module(...) is a kernel-functionand there is only
permission for the kernel-module loader or root to execute
create_module(...).

---

Steffen


Tomasz Motylewski wrote:
 
> Make some new group e.g. modadmin.
> 
> Make insmod and rmmod user root group modadmin execute (x) only for owner and
> group. SUID bit set. add selected users to modadmin group.
> 
> chown root.modadmin insmod
> chmod 4750 insmod
> 
> OR use sudo.
> 
> --
> Tomek

-- 

Steffen Hildebrandt

GESKO GmbH Dresden
Tiergartenstrasse 50
01219 Dresden
Germany

mailto:[EMAIL PROTECTED]

Tel.: +49 351 43639312
Fax : +49 351 43639318

e-mail (Pivat) : 
mailto:[EMAIL PROTECTED]
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl " | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/




Re: [rtl] off topic

2000-06-06 Thread Gilles Courcoux

> "Alexander" == Alexander Lichius <[EMAIL PROTECTED]> writes:
Alexander> Hi 

Alexander>   i have a question not really regarding rtlinux in
Alexander>   special. we have to communicate with our a/d adaptor
Alexander>   which is realtime capable on its own. the problem is that
Alexander>   the task which is installed directly on the adaptors cpu
Alexander>   was compiled under DOS/WINDOWS. The task running on the
Alexander>   pc (now under linux) was compiled with egcs - which has a
Alexander>   4-byte alignment in contrast to the 1-byte alignment from
Alexander>   DOS compilers. so all our structures are different in
Alexander>   size and we only transfer bullshit to and from the a/d
Alexander>   adaptor.  does anybody know the command line switch or
Alexander>   pragma to change the default alignment of gnu cc or
Alexander>   egcs??

Try using the following declarative construct for every involved
struct:
   __attribute__ ((packed))

Test program (prints '8' without the attribute, '5' with it):

struct s {
unsigned int i;
char c;
unsigned int j;
} __attribute__ ((packed)) a;
 
main()
{
printf("offset = %d\n", ((unsigned int) &a.j) - ((unsigned int) &a));
}

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




Re: [rtl] Re: PC104 A/D boards

2000-06-06 Thread Vasili Goutas



Andrew Romanenko wrote:

> Hello!
>
> On Mon, 5 Jun 2000, David Schleef wrote:
>
> > On Mon, Jun 05, 2000 at 03:55:04PM +0200, Vasili Goutas wrote:
> > > I'm looking for a PC104 A/D board supported by comedi with following
> > > properties
> > > 4 analog input,
> > > 4 analog output decoupled,
> > > 4 digital input,
> > > 4 digital output decoupled,
> > > hardware timer.
> > >
> > > It could also be two boards with these properties in sum.
> > > If you know such a board, please send me an email ?
> > >
> >
> > ComputerBoards (www.computerboards.com) makes several PC104
> > boards that are supposed to be identical to their ISA
> > counterparts.
>
> Just wanted to share my experience with ComputerBoards -
> while I have no complaint about their boards as such
> (I worked with the CIO- series and had no problem), the manuals can
> be way too outdated. For example, I bought a CIO-PDISO16 one year ago
> and had to figure out the pin-out by myself because what they
> had in the manual had nothing to do with reality and their tech support
> told me to stand by for a new manual. Just a warning, you know.
>
> Andrew

Nice to know.
Vasili

>
>
>
> ___
> comedi mailing list
> [EMAIL PROTECTED]
> http://stm.lbl.gov/cgi-bin/mailman/listinfo/comedi

--
--

  SensoLogic GmbHvoice: +49 40 529567-40

  Dipl. Ing. technische Informatik
  Vasili Goutasfax: +49 40 529567-99

  - Software Developer - internet: www.sensologic.de

  Hummelsbütteler Steindamm 78a
  22851 Norderstedt, Germany   Software + Sensor Systems

  e-mail:   [EMAIL PROTECTED]
  internet: http://www.sensologic.de/
--


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




[rtl] loading RTAI-modules

2000-06-06 Thread Steffen Hildebrandt

Hello,

I use RTAI-1.2 and a Linux-kernel 2.2.14 and i will try to load the
RTAI-modules as user xxx. I havn't compiled in the kernel-module loader.
Whats the procedure to load the RTAI-modules as user xxx and not as user
root?
Can I set the group-rights of insmod and rmmod to use it as user xxx?

Thanks!

With regards
Steffen

-- 

Steffen Hildebrandt

GESKO GmbH Dresden
Tiergartenstrasse 50
01219 Dresden
Germany

mailto:[EMAIL PROTECTED]

Tel.: +49 351 43639312
Fax : +49 351 43639318

e-mail (Pivat) : 
mailto:[EMAIL PROTECTED]
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl " | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/




Re: [rtl] Re: PC104 A/D boards

2000-06-06 Thread Andrew Romanenko

Hello!


On Mon, 5 Jun 2000, David Schleef wrote:

> On Mon, Jun 05, 2000 at 03:55:04PM +0200, Vasili Goutas wrote:
> > I'm looking for a PC104 A/D board supported by comedi with following
> > properties
> > 4 analog input,
> > 4 analog output decoupled,
> > 4 digital input,
> > 4 digital output decoupled,
> > hardware timer.
> > 
> > It could also be two boards with these properties in sum.
> > If you know such a board, please send me an email ?
> > 
> 
> ComputerBoards (www.computerboards.com) makes several PC104
> boards that are supposed to be identical to their ISA
> counterparts.  

Just wanted to share my experience with ComputerBoards -
while I have no complaint about their boards as such
(I worked with the CIO- series and had no problem), the manuals can 
be way too outdated. For example, I bought a CIO-PDISO16 one year ago
and had to figure out the pin-out by myself because what they
had in the manual had nothing to do with reality and their tech support
told me to stand by for a new manual. Just a warning, you know.

Andrew
 

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




Re: [rtl] SEMAPHORE MODULE DON´T COMPILE

2000-06-06 Thread kissg


> 2) Can I implement a semaphore in a simple way? Have you got an idea?

My (restricted but totally V2 conform) semaphore implementation:
ftp://gatling.aszi.sztaki.hu/pub/rtlinux/sem.tgz

> 
> 3) I´m trying to compile the semaphore module that comes with the
> rtlinux distribution.
> I´ve done make and ...
> I´ve lot of errors, that´s imposible to put it all in the message.
> Can anybody tell me if have experience in compiling/using this module??

V1 API have to be enabled in include/rtl_conf.h
and rtl_compat module have to be loaded before rt_ipc.o


regards

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




Re: [rtl] Log rtl_printf calls?

2000-06-06 Thread kissg


> are the outputs made by rtl_printf written to a logfile somewhere? I

'dmesg' lists them.

> cannot find them in the usual places but I would need them to do a post
> mortem analyze of my system after a crash...

I use serial console with a terminal emulator program logging
all traffic. This works quite well.

Regards

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




[rtl] off topic

2000-06-06 Thread Alexander Lichius

Hi 

  i have a question not really regarding rtlinux in special. we have
  to communicate with our a/d adaptor which is realtime capable on
  its own. the problem is that the task which is installed directly on
  the adaptors cpu was compiled under DOS/WINDOWS. The task running on
  the pc (now under linux) was compiled with egcs - which has a
  4-byte alignment in contrast to the 1-byte alignment from DOS
  compilers. so all our structures are different in size and we only
  transfer bullshit to and from the a/d adaptor.
  does anybody know the command line switch or pragma to change the
  default alignment of gnu cc or egcs??

CU
 Alexander  mailto:[EMAIL PROTECTED]


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