modules.pcimap file can be found in the following directory :
/lib/modules/$(uname -r)/
This file is used to find the corresponding module for a PCI device
providing the model id through a 'grep' command :
Here, the model id is 0900 :
grep 0900 /lib/modules/2.6.26-2-686/modules.pcimap |more
The result consists of many matching lines. Only one is the good one.
You have to issue a new 'grep' command with the vendor id :
Here, the vendor id is 1039 :
grep 0900 /lib/modules/2.6.26-2-686/modules.pcimap |grep 1039
And the result is :
sis900 0x00001039 0x00000900 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0
If you want to have more infos about this module :
modinfo sis900
To create or to re-create this modules.pcimap file, issue the command below :
depmod -a -m -F /boot/System.map-2.6.26-2-686 2.6.26-2-686
Like this:
Like Loading...