Dear Tomasz,

I allocated one shared memory within both the user space and kernel
modules to pass some user command to kernel using RT Linux. The problem
now is that after I "rmmod" my kernel module, I wish to "rmmod mbuff"
also, but I could not, the info of "lsmod" is as follows after I removed
my kernel module:
------------------------
Module                  Size  Used by
mbuff                   4092   2
rtl_fifo                5876   0
rtl_posixio             6732   0  [rtl_fifo]
rtl_sched               4480   0  [iobs1 rtl_posixio]
rtl_time                4096   0  [iobs1 rtl_sched]
------------------

When I "rmmod mbuff", it tells me that:
mbuff: Device or resource busy  .

But who is using it now? Most worse, when I try to insmod my module
kernel again, the computer will freeze.  I am puzzled with this.

My kernel version is :
Linux version 2.2.13-RTL2.0 (root@ryh) (gcc version egcs-2.91.66
19990314/Linux (egcs-1.1.2 release))

The MBuff version is:
mbuff: kernel shared memory driver v0.6.1
mbuff: (C) Tomasz Motylewski et al., GPL
mbuff: registered as MISC device minor 254

Thank you for your kind assistance.

Kind regards,
Yuhong


-- [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/rtlinux/

Reply via email to