Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › lspci produces no output
New Posts  All Forums:Forum Nav:

lspci produces no output

post #1 of 7
Thread Starter 
Hi all,

Interesting issue on one of my servers, lspci produces no output (literally nothing), even with -vvvv

There is nothing wrong with the server itself, the network card works as do all other pci devices, but I would expect to see some output.

It's a VM but that shouldn't matter, there should still be something listed there (be it emulated hardware or that of the underlying host [VT-d])

Details:

OS: Ubuntu Server 12.04.4
Kernel: 3.13.6
Platform: 64 bit virtual machine (with xentools installed) on a Xen 6 host.

procfs supported in kernel yes
pciutils installed yes

Looked around on the internet, not much info, and what little there is... Very stale.

Any help appreciated.
    
CPUMotherboardGraphicsGraphics
Intel Core i7 860 Asus P7P55D-E Pro MSI GTX560 Ti TwinFrozr II MSI GTX560 Ti TwinFrozr II 
RAMHard DriveHard DriveHard Drive
Corsair 8GB DDR3 OCZ Vertex 3 Western Digital Caviar Black Western Digital Caviar Green 
Hard DriveOptical DriveCoolingOS
Samsung 840 Pro Lite-On 24x DVD-RW CoolerMaster V8 Windows 8.1 Professional 
OSMonitorMonitorMonitor
Debian 7.1 Samsung S22B350H Samsung S22B350H Samsung S22B350H 
KeyboardPowerCaseMouse
Ducky Shine II Corsair HX850 CoolerMaster Storm Enforcer Logitech M500 
Mouse PadAudio
Razer Goliathus Microsoft LifeChat LX 3000 
  hide details  
Reply
    
CPUMotherboardGraphicsGraphics
Intel Core i7 860 Asus P7P55D-E Pro MSI GTX560 Ti TwinFrozr II MSI GTX560 Ti TwinFrozr II 
RAMHard DriveHard DriveHard Drive
Corsair 8GB DDR3 OCZ Vertex 3 Western Digital Caviar Black Western Digital Caviar Green 
Hard DriveOptical DriveCoolingOS
Samsung 840 Pro Lite-On 24x DVD-RW CoolerMaster V8 Windows 8.1 Professional 
OSMonitorMonitorMonitor
Debian 7.1 Samsung S22B350H Samsung S22B350H Samsung S22B350H 
KeyboardPowerCaseMouse
Ducky Shine II Corsair HX850 CoolerMaster Storm Enforcer Logitech M500 
Mouse PadAudio
Razer Goliathus Microsoft LifeChat LX 3000 
  hide details  
Reply
post #2 of 7
Hvae you passed any PCI devices through to the xen VM?
Escobar
(9 items)
 
Supercomputer ^_^
(13 items)
 
 
CPUMotherboardGraphicsRAM
1055T M4A88T-D EVO USB3 ATI 6850 4 GB 
Optical DriveOSMonitorKeyboard
DVD RW Windows 8 Pro lp1900 + 2 X 15 inch dell Microsoft Comfort Curve 
PowerCase
600watt thermaltake antec 200 
  hide details  
Reply
Escobar
(9 items)
 
Supercomputer ^_^
(13 items)
 
 
CPUMotherboardGraphicsRAM
1055T M4A88T-D EVO USB3 ATI 6850 4 GB 
Optical DriveOSMonitorKeyboard
DVD RW Windows 8 Pro lp1900 + 2 X 15 inch dell Microsoft Comfort Curve 
PowerCase
600watt thermaltake antec 200 
  hide details  
Reply
post #3 of 7
I have a Ubuntu 12.04 VM running on Xen and lspci does not produce any output. On Hyper-V it does for some things, so Xen does things a little bit differently (well, with Linux VMs anyway: on Xen they can be fully paravirtualized) - but it all comes down to whether devices are emulated or paravirtualized.

For example, neither Hyper-V nor Xen display network interfaces in lspci output. Hyper-V will display it as a PCI device if you use a legacy network adapter, but paravirtualized devices are not shown by lspci in either Xen or Hyper-V. On a Linux VM running on Xen in full paravirtualization mode, you get nothing because not a single device is emulated (aside from any devices you've passed through).

Now the reason that lspci shows nothing for paravirtualized devices like network controllers in Xen and Hyper-V is because they do not use the PCI bus to communicate as would a virtual emulated or physical NIC would on a physical machine.

In Hyper-V for example, the paravirtualized devices know they are being virtualized and communicate over what is called the VMBus, which is a virtual bus similar to what the physical PCI bus does, but instead of being an emulated hardware device where instructions need to be replicated, and cycles wasted up in user space, its all done in software and the VMBus is a bunch of memory buffers (put simply) that all runs in kernel space (both in guest and host). I would only imagine Xen would work similar.
Ol' Sandy
(28 items)
 
"Zeus"
(12 items)
 
Elite Preview
(6 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1230v3 Gigabyte GA-Z97X-UD5H-BK MSI Gaming GTX 980 Kingston 32GB (4x8) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Samsung EVO 1TB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 8 Pro 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2713HM Topre Realforce 87UB | Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Logitech G700 XTRAC Ripper XXL 
AudioAudioAudioAudio
Beyerdynamic DT-770 Pro 250ohm Schiit Bifrost DAC Schiit Asgard 2 HiVi Swan M50W 2.1 
CPUMotherboardRAMHard Drive
Intel Xeon E5-2620 Super Micro X9SRL-F-B 128GB 1333MHz LSI 9271-8i 
OSPowerCase
VMware ESXi 5.5 SeaSonic SS-400FL2 Fractal Define R3 
CPUMotherboardGraphicsRAM
Intel Core i5-3437U HP EliteBook Folio 9470m  Intel HD Graphics 4000  16GB DDR3 SDRAM 
Hard DriveOS
256GB SSD Windows 10 Insider Preview 
  hide details  
Reply
Ol' Sandy
(28 items)
 
"Zeus"
(12 items)
 
Elite Preview
(6 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1230v3 Gigabyte GA-Z97X-UD5H-BK MSI Gaming GTX 980 Kingston 32GB (4x8) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Samsung EVO 1TB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 8 Pro 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2713HM Topre Realforce 87UB | Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Logitech G700 XTRAC Ripper XXL 
AudioAudioAudioAudio
Beyerdynamic DT-770 Pro 250ohm Schiit Bifrost DAC Schiit Asgard 2 HiVi Swan M50W 2.1 
CPUMotherboardRAMHard Drive
Intel Xeon E5-2620 Super Micro X9SRL-F-B 128GB 1333MHz LSI 9271-8i 
OSPowerCase
VMware ESXi 5.5 SeaSonic SS-400FL2 Fractal Define R3 
CPUMotherboardGraphicsRAM
Intel Core i5-3437U HP EliteBook Folio 9470m  Intel HD Graphics 4000  16GB DDR3 SDRAM 
Hard DriveOS
256GB SSD Windows 10 Insider Preview 
  hide details  
Reply
post #4 of 7
Hi,
Did you resolve this? I have the same problem, Ubuntu 14.04 running on a small box under the stairs which I administer remotely. As you say, information is scarce
post #5 of 7
is it a VM? Whats the envroment? (ps new threads get more attention wink.gif! Wlecome to OCN ^_^!)
Escobar
(9 items)
 
Supercomputer ^_^
(13 items)
 
 
CPUMotherboardGraphicsRAM
1055T M4A88T-D EVO USB3 ATI 6850 4 GB 
Optical DriveOSMonitorKeyboard
DVD RW Windows 8 Pro lp1900 + 2 X 15 inch dell Microsoft Comfort Curve 
PowerCase
600watt thermaltake antec 200 
  hide details  
Reply
Escobar
(9 items)
 
Supercomputer ^_^
(13 items)
 
 
CPUMotherboardGraphicsRAM
1055T M4A88T-D EVO USB3 ATI 6850 4 GB 
Optical DriveOSMonitorKeyboard
DVD RW Windows 8 Pro lp1900 + 2 X 15 inch dell Microsoft Comfort Curve 
PowerCase
600watt thermaltake antec 200 
  hide details  
Reply
post #6 of 7
In that case, glade to see you are paying attention. My first steps in remote administration essentially following http://www.havetheknowhow.com/ after the penny dropped regarding Virtual systems. Simple install of Ubuntu server 14.04 set up SSH and LTSP and stuff then thought I'd have a go at remote driver install for Nvidia card and then checked the install with lspci -vnn | grep -i VGA -A 12 . One dead terminal, same with any variation of lspci, hence the question. Would have been handy if I had used lspci for an initial scan before loading the drivers, next time. Anyway a degrading LVM RAID Array is becoming unmanageable so a full install and new HDDs beckons with the drivers first on the list. Any thoughts on the use of lspci or are our conditions of use too different??
post #7 of 7
If its a Virtual System you wont "see" anything smile.gif, for example the output for my virtulised home firewall
Code:
[root@localhost ~]# lspci

00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) (rev 03)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 01)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:08.0 VGA compatible controller: Microsoft Corporation Hyper-V virtual VGA


The only things in there are the network bridges, and the fake hyperv vga smile.gif, unless you have passed the card to the VM you wont see it at all (this is a ballache to get working orrectly though, never sucseesed myself). The reason is lspci gices you information of attached periphals to the PCI Bus, Vms usually have very little attached so usually no output at all.

If its a physical system it may be a bawked install, try
cat /proc/cpuinfo

This will tell you if its detecitng the CPU correctly, if that isnt you best route is a reinstall! Also the open source drivers are quite good nowadays, they wont do 3d, but they will do movie playback smile.gif usually installing the divers is more hassle then worth, if you really really want the drivers never installl from source its usualy much easier to get them from a third party such as rpm forge smile.gif (sorry i dnt know who maintains the buntu side of things! Im a Redhat RPM guy smile.gif ) it will make updating them 1000000000X easier!


little side things : if your making a htpc you may want to go with a desktop version o ubuntu / fedora rather than server ^,^ servers more aimed at network services such as NFS,SSH,Email serv and such smile.gif
Escobar
(9 items)
 
Supercomputer ^_^
(13 items)
 
 
CPUMotherboardGraphicsRAM
1055T M4A88T-D EVO USB3 ATI 6850 4 GB 
Optical DriveOSMonitorKeyboard
DVD RW Windows 8 Pro lp1900 + 2 X 15 inch dell Microsoft Comfort Curve 
PowerCase
600watt thermaltake antec 200 
  hide details  
Reply
Escobar
(9 items)
 
Supercomputer ^_^
(13 items)
 
 
CPUMotherboardGraphicsRAM
1055T M4A88T-D EVO USB3 ATI 6850 4 GB 
Optical DriveOSMonitorKeyboard
DVD RW Windows 8 Pro lp1900 + 2 X 15 inch dell Microsoft Comfort Curve 
PowerCase
600watt thermaltake antec 200 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › lspci produces no output