PDA

View Full Version : How to look for open slots in Sun Boxes


revzalot
07-18-2008, 11:59 PM
I've been given an assignment to look for open (PCI) slots in our huge array of Sun boxes. Any insights appreciated.

roundkat
07-19-2008, 05:54 PM
Try prtdiag and prtconf to get an overview of your system.
Both in /usr/sbin

--both work on SPARC and x86 architecture...

Note:
-- prtdiag only works in the global zone..
-- prtconf works in both global and non-global zone..

There is a probe-pci command that is only available in Open Boot PROM, SPARC only of course.. :)
link (http://www.softpanorama.org/Solaris/Startup_and_shutdown/open_boot.shtml)

prtconf from my x86 box

asus# prtconf
System Configuration: Sun Microsystems i86pc
Memory size: 1023 Megabytes
System Peripherals (Software Nodes):i86pc
scsi_vhci, instance #0
isa, instance #0
i8042, instance #0
keyboard, instance #0
asy, instance #0
asy, instance #1
fdc, instance #0
fd, instance #0
lp, instance #0
motherboard (driver not attached)
pci, instance #0
pci1043,80f2, instance #0
pci8086,2571, instance #0
display, instance #0
pci1002,3 (driver not attached)
pci1043,80a6, instance #0
pci1043,80a6, instance #1
mouse, instance #0
pci1043,80a6, instance #2
pci1043,80a6, instance #3
pci1043,80a6, instance #0
pci8086,244e, instance #1
pci10ec,8169, instance #0
pci8086,24d0 (driver not attached)
pci-ide, instance #0
ide, instance #0
cmdk, instance #0
ide, instance #1
sd, instance #0
pci1043,80a6 (driver not attached)
pci1043,80f3, instance #0
iscsi, instance #0
pseudo, instance #0
options, instance #0
agpgart, instance #0
xsvc, instance #0
objmgr, instance #0
used-resources (driver not attached)
cpus, instance #0
cpu (driver not attached)
cpu (driver not attached)


prtdiag from my x86 box
asus# prtdiag
System Configuration: To Be Filled By O.E.M. To Be Filled By O.E.M.
BIOS Configuration: American Megatrends Inc. 1019.005 10/14/2004

==== Processor Sockets ====================================

Version Location Tag
-------------------------------- --------------------------
Intel(R) Pentium(R) 4 CPU 2.80GHz CPU 1

==== Memory Device Sockets ================================

Type Status Set Device Locator Bank Locator
------- ------ --- ------------------- --------------------
SDRAM in use 0 DIMM0 BANK0
SDRAM in use 0 DIMM1 BANK1
SDRAM in use 0 DIMM2 BANK2
SDRAM in use 0 DIMM3 BANK3

==== On-Board Devices =====================================
3COM 3C940

==== Upgradeable Slots ====================================

ID Status Type Description
--- --------- ---------------- ----------------------------
0 in use AGP 8X AGP
1 available PCI PCI1
2 available PCI PCI2
3 in use PCI PCI3
4 available PCI PCI4
5 available PCI PCI5


rk