Re: 2.6 modules search path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim Fenn wrote:
On Tue, Jun 29, 2004 at 07:31:41PM +0200, Hannes Mayer wrote:

Hi Tim, try this:
rename the stock modules and then run
# /sbin/depmod -a



I had thought of that, and tried it.  The resulting modules.dep file
contains (for the cx8800 module, for example):

/lib/modules/2.6.6-1.435/v4l2/cx8800.ko: \
/lib/modules/2.6.6-1.435/kernel/drivers/media/video/cx88/cx88xx_old.ko \
/lib/modules/2.6.6-1.435/kernel/drivers/i2c/algos/i2c-algo-bit.ko \
/lib/modules/2.6.6-1.435/kernel/drivers/media/video/v4l1-compat_old.ko \
/lib/modules/2.6.6-1.435/kernel/drivers/media/video/v4l2-common_old.ko \
/lib/modules/2.6.6-1.435/kernel/drivers/media/video/videodev.ko \
/lib/modules/2.6.6-1.435/v4l2/cx88xx.ko \
/lib/modules/2.6.6-1.435/kernel/drivers/media/video/video-buf_old.ko \
/lib/modules/2.6.6-1.435/kernel/drivers/i2c/i2c-core.ko \
/lib/modules/2.6.6-1.435/kernel/drivers/media/video/btcx-risc_old.ko

which looks like its still trying to use some of the stock modules (I
suffixed all the stock modules with _old.ko).  Is this correct/safe?

Well, certainly not the best method, but IMO it's ok. Since you just renamed the modules, they are still found, but AFAIK not used. If you do modprobe cx88xx it should insert the module found in /lib/modules/2.6.6-1.435/v4l2/

Cheers,
Hannes.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]
  Powered by Linux