Click to See Complete Forum and Search --> : [SOLVED] lspci: where is it?


jeisma
10-23-2005, 03:19 AM
hi!

im trying to install vmware on a guest mdk10.1 host windows 2003.

when trying to run vmware-tools, the config asks for the location of "lspci". where is this file? i cant find one in my system.


thank you!

Gogeta_44
10-23-2005, 03:48 AM
lspci is a binary executable which lists all devices on the pci bus. Most likely the binary is at /sbin/lspci, and /sbin is only in your PATH if your logged in as the root user.
First, check and see if lspci exists:
ls /sbin|grep lspci

Next, if you are logged in as root, check your PATH to see if /sbin is listed:
echo $PATH

If the first command returns "lspci" then the location of the file is /sbin/lspci.

EDIT: If it's only asking for the location, you probably don't need to check the PATH varible if lspci exists in /sbin. It's getting too late here for me to be posting... ;)

jeisma
10-23-2005, 04:00 AM
hi!

cant find "lspci" file in my system. could it happen to have different name in mdk10.1?

thanks!

je_fro
10-23-2005, 04:56 AM
I'm sure you have it...
try

locate lspci
find / | grep lspci

if not, use urpmi to install pciutils.

jeisma
10-23-2005, 05:33 AM
hi!

pcutils did it.

thank you!

Gogeta_44
10-23-2005, 02:23 PM
Wow, I'm surpirsed mandrake didn't have that pre-installed. I would think pcutils would be a dependancy of a lot more than just vmware in this case.
heh