12.07.2015 Views

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

152CHAPTER 6Analyzing HardwareListing DevicesPCI and USB devices can be probed for information such as an identification number,chipset revision number, and amount of on-board memory. This information can then beused to properly configure the driver and settings used for the device.This section discusses the lspci utility for listing PCI devices and the lsusb command forprobing USB devices for information.Listing PCI DevicesMany devices such as network and video cards are attached to the PCI bus. It is importantthat the operating system load the correct driver for each device so that the proper devicesettings are configured. For example, if your server contains a Gigabit network cardconnected to a Gigabit network switch, you can use a few simple <strong>Linux</strong> utilities to verifyand, if necessary, change the transfer rate of the NIC.To list all the PCI buses on the system and all the devices attached to them, use the lspciutility from the pciutils package. Install this package via <strong>Red</strong> <strong>Hat</strong> Network if necessary asdescribed in Chapter 3, “Operating System Updates.”If run with no command-line options, the output includes one line per PCI device withbasic information such as the vendor and product name as shown in Listing 6.1.LISTING 6.1Sample lspci Output00:00.0 Host bridge: Intel Corporation 82975X Memory Controller Hub00:01.0 PCI bridge: Intel Corporation 82975X PCI Express Root Port00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High DefinitionAudio Controller (rev 01)00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI ExpressPort 1 (rev 01)00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI ExpressPort 5 (rev 01)00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI ExpressPort 6 (rev 01)00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCIController (rev 01)00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)00:1f.0 ISA bridge: Intel Corporation 82801GH (ICH7DH) LPC Interface Bridge (rev➥01)00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev➥01)00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!