Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
module auto-reload on crash?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Joseph K.
Guru
Guru


Joined: 07 Jun 2006
Posts: 436
Location: Sydney, Australia

PostPosted: Tue Jul 19, 2011 5:45 am    Post subject: module auto-reload on crash? Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23062

PostPosted: Wed Jul 20, 2011 3:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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