modules.pcimap file missing for the 2.6.26-2-686 kernel version

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/ 2.6.26-2-686

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.