Re: [PARPORT] Unloading crashed modules


sbertin@mindspring.com
Sun, 23 Jan 2000 18:51:55 -0500 (EST)


On 24 Jan, Timothy Gene Llewellynn wrote:
> I'm currently testing a new driver/module with linux, and during some
> tests it crashes the driver. Currently I have to restart the computer
> to reload the module. Is there anyway to unload the crashed module
> without restarting? If I try rmmod <module>, it complains that the
> driver is being used.

Sounds like a good incentive to fix your code ;) Seriously though, you
can probably get what you want if you comment out any MOD_INC_USE_COUNT
and MOD_DEC_USE_COUNT lines in your driver.

Scott J. Bertin
sbertin@mindspring.com

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Sun 23 Jan 2000 - 18:58:51 EST