View previous topic :: View next topic |
Author |
Message |
Joseph K. Guru
Joined: 07 Jun 2006 Posts: 436 Location: Sydney, Australia
|
Posted: Tue Jul 19, 2011 5:45 am Post subject: module auto-reload on crash? |
|
|
Is it possible to configure the kernel to automatically reload a module when it crashes? Is this a ridiculous feature to want? I can imagine problems such as modules that crash continuously, but for my wireless network driver that only crashes occasionally, it would be a dream if it just automatically reloaded. Interested to hear people's thoughts, cheers. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23062
|
Posted: Wed Jul 20, 2011 3:07 am Post subject: |
|
|
What do you mean by crash? You could mean that the hardware/firmware has entered a state that the kernel must issue a hard reset to restore functionality. This could be a useful feature to have in the kernel, assuming that the bad state is a hardware bug that the kernel cannot anticipate and avoid. You could mean that the kernel reports an oops in your wireless driver. This would be a bug in the module which should be fixed, not bypassed via an auto-reload. You could mean that the kernel itself panics, which would prevent reloading since there would be nothing left to perform the reload. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|