LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   What happened to the modules.xxxmap files? (https://www.linuxquestions.org/questions/linux-kernel-70/what-happened-to-the-modules-xxxmap-files-4175452436/)

intellimetrix 03-02-2013 05:25 PM

What happened to the modules.xxxmap files?
 
I just started using Fedora 17 with the 3.3.4 kernel and, much to my surprise, there are no files in /lib/modules/<kernel_version> of the form modules.xxxmap, ie, modules.pcimap, modules.usbmap, etc. What happened? How is the link between devices and drivers being done these days?

Thanks, Doug

PTrenholme 03-02-2013 11:03 PM

The role of udev has been expanded, and the newer kernels have more drivers "built-in," so fewer *.ko files are needed.

Look at, for example, /usr/lib/udev/rules.d/60-persistent-input.rules to see what udev now does with PCI and USB devices.

intellimetrix 03-03-2013 04:32 PM

So are you saying that depmod (OK, kmod) now writes udev rules files instead of the map files?

PTrenholme 03-03-2013 09:22 PM

I'm not sure about kmod, but, generally speaking, things like kmod, on Fedora, should generate the appropriate systemd scripts to get their mods installed. (My old laptop has a nVidia graphics chip that's so old that the nouveau driver "barfed" and, IIRC, when I installed the propitiatory driver from RPMFusion [which also barfed, but nv + nomodeset works] that's what the RPMFusion installation script did.)


All times are GMT -5. The time now is 10:45 PM.