On Wed, Sep 12, 2001 at 06:25:58PM +0200, Gilad Benjamini wrote: > In some situations, when my module crashes, I am reaching > a deadlock: > rmmod claims that the module is not there > insmod claims that the module is already there > lsmod report that the module is deleted, and its size is 0. > > Reboot bails me out, but takes a long time :-) > Is there any command that can force the module out ? No, you basically fscked up the kernel's view on modules. Reboot is the only way to get rid of the module. Consider using user mode linux for developing modules. Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department of Electrical Engineering, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl WWW: http://www-ict.its.tudelft.nl/~erik/ - Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/