- From: Kenneth Jacker <khj_at_be.cs.appstate.edu>
- Date: Sun, 04 Mar 2007 15:41:56 -0500
Config: Debian/etch; linux-2.6.17.14; rtai-3.4-cv
comedilib-0.7.22; comedi-CVS
I first loaded all required RTAI and COMEDI modules, and ran
'comedi_config' to associate a driver with /dev/comedi0.
I then did the following:
$ lsmod|head
Module Size Used by
==> ni_pcimio 41344 0
ni_tio 10048 1 ni_pcimio
... ...
$ sudo insmod diotest.ko
$ lsmod|head
Module Size Used by
diotest 2944 0
==> ni_pcimio 41344 1
ni_tio 10048 1 ni_pcimio
... ...
$ sudo rmmod diotest
$ lsmod|head
Module Size Used by
==> ni_pcimio 41344 1
ni_tio 10048 1 ni_pcimio
... ...
Notice the "Used by" counts for 'ni_pcimio'. The final one is
non-zero which prohibits my 'rmmod'ing it (unless the "-f" option is
included).
Shouldn't 'rmmod'ing the 'diotest' module reduce the ni_pcimio count
back to `0'?
Apparently, RTAI's 'rtai-load' script doesn't include the "-f" on
'rmmod' which prohibits 'rtai-load' from removing all the loaded modules.
I've attached the ".runinfo" file below ... maybe that'll help ...
Any ideas?
--
Prof Kenneth H Jacker khj_at_cs.appstate.edu
Computer Science Dept www.cs.appstate.edu/~khj
Appalachian State Univ
Boone, NC 28608 USA
Attachments
- text/plain attachment: .runinfo
Received on 2007-03-04Z20:41:56