You are not logged in.
I occasionally like to load an alternative kernel for testing purposes. The problem is that each kernel requires custom modules for my nvidia graphics card and for VMware.
It's such a hassle to have to rebuild those two sets of modules every time I want to load the other kernel. Is there not a way to keep the custom modules on hand, then select one set or the other when I choose a particular kernel? I don't suppose grub can be made to load particular kernel modules, can it? Or could I possible control this in my rc.conf MODULES section, perhaps by having alternate rc.conf files that could somehow be associated with the two different kernels?
Or could I even go further and somehow have Kernel A select nvidia-module-A and vmware-modules-A, while Kernel B would select nvidia-module-B and vmware-modules-B?
Thanks.
Offline
Err, just build the module packages for different kernels with different names, then you'll have nvidia.ko and whatever the vmware module is called in two /lib/modules/$_kernver dirs.
Or am I missing something?
Last edited by lucke (2008-08-10 21:17:30)
Offline
This is a purely packaging related problem really. It's entirely possible to keep various versions of a kernel and its modules there if you install them manually, or otherwise prevent pacman from removing them. As long as the kernels have different version strings you can have as many as you like, and all the modules will be kept in seperate dirs under /lib/modules. For nvidia, you'll need to have the modules all at the same version so you don't have to keep switching nvidia-utils.
Offline
Maybe the problem has been that my two alternate kernels often aren't from the same version, e.g., 2.6.25.x vs. 2.6.27. All I know is that, when I switch kernels, I always have to reinstall the nvidia driver (which I do manually using the nvidia installer) and also build fresh kernel modules for VMware.
I guess I'm the one who's missing something here. I'll examine the file locations and see if I can work through the problem.
Last edited by dhave (2008-08-10 22:19:21)
Offline