lkml.org 
[lkml]   [1998]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectBug in 2.1.130 Modulesupport?
Date
Hi,
I'm porting a driver for a transputer link adapter (B004 for
INMOS-Transputer) to Kernels >=2.1.130. as a module.
Now the problem is, that the use-counter gets confused, when calling
commands with system(...) with an opened device /dev/link.
after the call the Counter displayed with lsmod is decreased by 2.
Without calling system(....) the counter is after closing the device
at the value 0 and the module is removable.
Calling system produces the value -2 which makes the module unremoveble.

Perhaps someone has an idea....

Stefan


---------------------------------------------------------------------------
Stefan Fischer,
Institut fuer Angewandte Physik, Universitaet Heidelberg
Albert-Ueberle-Str. 3-5 phone: x49(0)6221-549391
69120 Heidelberg, Germany email: stefan.fischer@urz.uni-heidelberg.de
---------------------------------------------------------------------------



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.025 / U:1.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site