Messages in this thread | | | From | Stefan Fischer <> | Subject | Bug in 2.1.130 Modulesupport? | Date | Tue, 1 Dec 1998 16:04:50 +0100 (MET) |
| |
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/
| |