sm-sorcery AT lists.ibiblio.org
Subject: Discussion of Sorcery related topics
List archive
Re: [SM-Sorcery]Re: [SM-Grimoire]Auto rebuilding dependent spells
- From: "Chris Brien" <christopher_brien AT hotmail.com>
- To: jon-sven AT frisurf.no, josebernardo1 AT yahoo.com
- Cc: dufflebunk AT dufflebunk.homeip.net, sm-sorcery AT lists.ibiblio.org
- Subject: Re: [SM-Sorcery]Re: [SM-Grimoire]Auto rebuilding dependent spells
- Date: Tue, 06 Aug 2002 10:35:33 +0100
From: Jon Svendsen <jon-sven AT frisurf.no>
On Tue, 2002-08-06 at 11:05, Jose Bernardo Silva wrote:
> When you mentioned alsa-driver, I remembered which
> action I thought was missing - a "rebuild me after
> reboot after spell B was cast" trigger. Alsa-driver,
> and other kernel module spells should really only be
> rebuilt after one has booted into the new kernel. I
> have no ideas on how to go to implement this, but
> possibly someone has... :-)
Yay! And when this trigger is invoked, it could output the following
message:
Your computer needs to be restarted for this installation to finish.
Restart your computer now? [y]
Yay too! Linux is finally on a par with Windows, with needing to reboot after installation of any driver! No more can Microsofties say installing software for Linux is difficult!
Seriously, though, no. A kernel module just has to be built for the correct kernel. Unfortunately most makefiles look at the running kernel, rather than the target one. The correct way - to actually look at the kernel headers being compiled against (!) - is almost never done. The NVIDIA_kernel spell has been fixed to now do this correctly. Just make sure you don't actually load the module for a wrong kernel version, which can be prevented by having it install in the correct place (/lib/modules/<kernel version>/).
If, however, you're rebuilding the same kernel with the same compiler and the same .config, you don't have to reboot to use the rebuilt module.
Chris
aka zero_the_hero
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
-
[SM-Sorcery]Re: [SM-Grimoire]Auto rebuilding dependent spells,
Dufflebunk, 08/05/2002
-
Re: [SM-Sorcery]Re: [SM-Grimoire]Auto rebuilding dependent spells,
Nicholas K. Jennings, 08/06/2002
-
Re: [SM-Sorcery]Re: [SM-Grimoire]Auto rebuilding dependent spells,
Dufflebunk, 08/06/2002
-
Re: [SM-Sorcery]Re: [SM-Grimoire]Auto rebuilding dependent spells,
Dufflebunk, 08/06/2002
-
Re: [SM-Sorcery]Re: [SM-Grimoire]Auto rebuilding dependent spells,
Jose Bernardo Silva, 08/06/2002
- Re: [SM-Sorcery]Re: [SM-Grimoire]Auto rebuilding dependent spells, Jon Svendsen, 08/06/2002
-
Re: [SM-Sorcery]Re: [SM-Grimoire]Auto rebuilding dependent spells,
Jose Bernardo Silva, 08/06/2002
-
Re: [SM-Sorcery]Re: [SM-Grimoire]Auto rebuilding dependent spells,
Dufflebunk, 08/06/2002
-
Re: [SM-Sorcery]Re: [SM-Grimoire]Auto rebuilding dependent spells,
Dufflebunk, 08/06/2002
- Re: [SM-Sorcery]Re: [SM-Grimoire]Auto rebuilding dependent spells, Nicholas K. Jennings, 08/06/2002
- Re: [SM-Sorcery]Re: [SM-Grimoire]Auto rebuilding dependent spells, Nicholas K. Jennings, 08/06/2002
- <Possible follow-up(s)>
- Re: [SM-Sorcery]Re: [SM-Grimoire]Auto rebuilding dependent spells, Chris Brien, 08/06/2002
-
Re: [SM-Sorcery]Re: [SM-Grimoire]Auto rebuilding dependent spells,
Nicholas K. Jennings, 08/06/2002
Archive powered by MHonArc 2.6.24.