Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-21-2005, 02:00 PM
|
#1
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
How can I check PCI slots remotely?
How can I check how many PCI slots are used/free on a remote server to which I have no physical access?
|
|
|
02-21-2005, 02:02 PM
|
#2
|
Senior Member
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109
Rep:
|
|
|
|
02-21-2005, 02:11 PM
|
#3
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
Original Poster
|
Quote:
Originally posted by MezzyMeat
Maby you mean
|
But how do I interpret the Total/Free/Used PCI slots from lspci's output?
Code:
root@shakira:/home/win32sux# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 620 Host (rev 02)
00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev b1)
00:01.1 Class ff00: Silicon Integrated Systems [SiS] ACPI
00:01.2 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB Controller (rev 11)
00:02.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual PCI-to-PCI bridge (AGP)
00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] SiS530 3D PCI/AGP (rev 2a)
Last edited by win32sux; 02-21-2005 at 03:13 PM.
|
|
|
02-22-2005, 05:36 AM
|
#4
|
Senior Member
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109
Rep:
|
I don't know that one but maby the man for lspci would give you a hint? If not, try to google for it or something. google.com/linux is great if you google for Linux-related stuff. 
|
|
|
02-22-2005, 10:19 AM
|
#5
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
Original Poster
|
okay... i'll read the manual for lspci to see what i find...
as for googling, i always make sure i google (and search LQ) before opening a new thread...
|
|
|
02-23-2005, 03:39 PM
|
#6
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
Original Poster
|
well, i went through the lspci manual and didn't have any luck (maybe i'm just retarded)...
i still haven't figured-out how to see the Total/Free/Used PCI slots remotely...
here's the verbose output on the machine which's PCI slots i'm trying to analyze:
Code:
root@shakira:/home/win32sux# lspci -v
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 620 Host (rev 02)
Flags: bus master, medium devsel, latency 32
Memory at e0000000 (32-bit, non-prefetchable) [size=64M]
Capabilities: [c0] AGP version 2.0
00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0) (prog-if 80 [Master])
Flags: bus master, fast devsel, latency 16, IRQ 14
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at 4000 [size=16]
00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev b1)
Flags: bus master, medium devsel, latency 0
00:01.1 Class ff00: Silicon Integrated Systems [SiS] ACPI
Flags: medium devsel
00:01.2 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB Controller (rev 11) (prog-if 10 [OHCI])
Flags: bus master, medium devsel, latency 64, IRQ 12
Memory at e4900000 (32-bit, non-prefetchable) [size=4K]
00:02.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual PCI-to-PCI bridge (AGP) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: e4800000-e48fffff
Prefetchable memory behind bridge: e4000000-e47fffff
00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at e000 [size=256]
Memory at e4901000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at e400 [size=256]
Memory at e4902000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] SiS530 3D PCI/AGP (rev 2a) (prog-if 00 [VGA])
Subsystem: Silicon Integrated Systems [SiS]: Unknown device 0001
Flags: bus master, 66Mhz, medium devsel, latency 64
Memory at e4000000 (32-bit, prefetchable) [size=8M]
Memory at e4800000 (32-bit, non-prefetchable) [size=64K]
I/O ports at d000 [size=128]
Capabilities: [40] Power Management version 1
Capabilities: [50] AGP version 1.0
does anyone know how to determine the Total/Free/Used PCI slots from this output??
or perhaps i can determine this info with some other command(s)??
Last edited by win32sux; 02-26-2005 at 07:16 PM.
|
|
|
02-26-2005, 07:17 PM
|
#7
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
Original Poster
|
BUMP
|
|
|
03-04-2005, 03:07 PM
|
#8
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
Original Poster
|
BUMP
|
|
|
03-04-2005, 03:26 PM
|
#9
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
you know... there are *subtle* ways to bump a thread.. detailing what you've foind since your last post etc...
there's never goign to be a direct reliable way to relate the internal layout of pci busses compared to the physical layout, and per system it will change again in different ways.
Code:
root@shakira:/home/win32sux# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 620 Host (rev 02)
00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev b1)
00:01.1 Class ff00: Silicon Integrated Systems [SiS] ACPI
00:01.2 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB Controller (rev 11)
00:02.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual PCI-to-PCI bridge (AGP)
00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] SiS530 3D PCI/AGP (rev 2a)
ok, so.... 01:00 is the agp slot, as it's on it's own bus (and contains a video card... always a giveaway!)
i would then assume that your pci slots are 00:09 and 00:0b, so at least all values inclusive will also be slots. and the rest is onboard stuff, with the integrated peripherals on bus 00, slot 01.
|
|
|
03-04-2005, 06:19 PM
|
#10
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
Original Poster
|
Quote:
Originally posted by acid_kewpie
you know... there are *subtle* ways to bump a thread.. detailing what you've foind since your last post etc...
|
you're right... i should really know better by now... sorry about that, acid_kewpie... =(
Quote:
there's never goign to be a direct reliable way to relate the internal layout of pci busses compared to the physical layout, and per system it will change again in different ways.
ok, so.... 01:00 is the agp slot, as it's on it's own bus (and contains a video card... always a giveaway!)
i would then assume that your pci slots are 00:09 and 00:0b, so at least all values inclusive will also be slots. and the rest is onboard stuff, with the integrated peripherals on bus 00, slot 01.
|
thanks for the info... i really appreciate it... =)
|
|
|
03-05-2005, 07:24 AM
|
#11
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
Original Poster
|
okay, so i now know that there are exactly TWO pci slots being used (each one with a realtek network card)...
given this, i could determine the amount of free pci slots by subtracting two from the total amount of slots...
i can determine the total amount of slots by looking at the board's specs on a website...
so i can solve my problem if i can find a way to (remotely) determine the motherboard brand and/or model number...
does anyone know how to (remotely) determine a motherboard's brand and/or model number??
i'm gonna google about this, but any input you could share with me would be greatly appreciated...
Last edited by win32sux; 03-05-2005 at 07:28 AM.
|
|
|
03-05-2005, 07:53 AM
|
#12
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
Original Poster
|
okay, i've found this:
http://ezix.sourceforge.net/software/lshw.html
looks like it might be what i need... i'm gonna try it tonight... i haven't read the documentation yet, but the output examples look really cool...
=)
|
|
|
02-19-2011, 12:27 PM
|
#13
|
LQ Newbie
Registered: Feb 2011
Posts: 19
Rep:
|
lshw doesn't tell us free/open expansion slots unfortunately. I've got an Intel DG43NB board in my server. It has 3xPCI, 2xPCI-e 1x, 1xPCI-e 16x, 1xPCI-e 1x. The 3xPCI are currently occupied, but none of the PCI-e expansion slots are occupied.
Code:
fermulator@fermmy-server:~$ sudo lshw | grep -B2 -A10 Express
*-pci:0
description: PCI bridge
product: 82801JI (ICH10 Family) PCI Express Port 1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport-driver
*-pci:1
description: PCI bridge
product: 82801JI (ICH10 Family) PCI Express Port 4
vendor: Intel Corporation
physical id: 1c.3
bus info: pci@0000:00:1c.3
version: 00
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport-driver
Code:
fermulator@fermmy-server:~$ sudo lspci -v | grep -i -A10 pci
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1 (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [90] Subsystem: Intel Corporation Unknown device 0023
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)
00:1c.3 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 4 (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: d0600000-d06fffff
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [90] Subsystem: Intel Corporation Unknown device 0023
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)
--
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=32
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: d0500000-d05fffff
Prefetchable memory behind bridge: 0000000080000000-00000000800fffff
Capabilities: [50] Subsystem: Intel Corporation Unknown device 0023
In answer to your question of how to acquire the Motherboard version model number, check this:
Code:
fermulator@fermmy-server:~$ sudo dmidecode -t baseboard
# dmidecode 2.9
SMBIOS 2.4 present.
Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: Intel Corporation
Product Name: DG43NB
Version: AAE34877-402
Serial Number: U********** (starred out)
Asset Tag: To be filled by O.E.M.
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: To be filled by O.E.M.
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0
I am also interested to know how one can determine if there are open expansion slots remotely.
|
|
|
02-19-2011, 12:32 PM
|
#14
|
LQ Newbie
Registered: Feb 2011
Posts: 19
Rep:
|
Oh Wow: dmidecode for the win!
Quote:
fermulator@fermmy-server:~$ sudo dmidecode -t 9 | grep -E "DMI type"\|Usage\|Type
Handle 0x0020, DMI type 9, 13 bytes
Type: x16 PCI Express
Current Usage: Available
Handle 0x0021, DMI type 9, 13 bytes
Type: x1 PCI Express
Current Usage: Available
Handle 0x0022, DMI type 9, 13 bytes
Type: x1 PCI Express
Current Usage: Available
Handle 0x0023, DMI type 9, 13 bytes
Type: x1 PCI Express
Current Usage: Available
Handle 0x0024, DMI type 9, 13 bytes
Type: 32-bit PCI
Current Usage: In Use
Handle 0x0025, DMI type 9, 13 bytes
Type: 32-bit PCI
Current Usage: In Use
Handle 0x0026, DMI type 9, 13 bytes
Type: 32-bit PCI
Current Usage: In Use
|
If you're happy with this answer, please mark this thread as SOLVED.
|
|
|
All times are GMT -5. The time now is 07:34 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|