Re: How to unload a buggy LKM without rebooting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 17, 2002 at 11:10:03AM -0700, KONG, Gangfeng wrote:

> I am debugging a kernel module. Any error in it is easy to make
> the module unloadable ( complaining: Device or resource busy).
> Is there anyway to unload a sick LKM without rebooting?

Give your module a different name whne you load it again

But note it's a bad idea - it's easy for a silly mistake to break the
system quite seriously

john

-- 
"Be advised. Your bedroom may quietly detach from the house while you sleep."
	- Sarah Bee
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux