Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to make changes to a buggy driver on Linux (mint). Is it possible to make and test the changes without rebooting every time?

share|improve this question
    
What driver is it? The real key is if the module is actually a (un)loadable module. If it's compiled in to your kernel, there still may be a way as I think I saw a somewhat recent new kernel feature for handing off control to another kernel while running (though that sounds crazy). Hennes has a good reply below. –  Doc Jan 24 '13 at 20:08
    
I actually used kernel modules when I was writing a Firewire driver for the Linux kernel (Not the one in the kernel, just one used only in Natlab). One thing I learned the hard way: Keep your backups (code) on another host than the host you are testing on. (in indsight: that should have been obvious). –  Hennes Jan 24 '13 at 20:17
add comment

1 Answer

If you put your changes in a module rather than inside a monolithic kernel then you can load and unload the module.

See:

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.