Determining the exact card on a PCI slot

  • Follow


How do I figure out the exact model and manufacturer of a PCI card in a specific slot ?

e.g.:
I have what I __think__ are 2 PCI-SCSI host bus adapters on PCI slots 1 and 2 of a Sun Fire 280R.
These slots are usually empty. Hence, these 2 PCI cards were added-in after the fact.

I now need to attach 2 x StorEdge 3310s disk arrays to these 2 x PCI-SCSI host bus adapters, and according to the manuals,
I have to modify either /kernel/drv/glm.conf or /kernel/drv/qus.conf ( depending on the HBA )
for the logical drivers in the array to be "seen" by Solaris.

Problem is, I'm not sure what these 2 cards are __exactly__.

When you're in the ok prompt, and you type "show-devs", how do you identify which PCI device is in which PCI slot ?

I am currently assuming that those 2 cards are QLogic PCI-SCSI adapters, based on


/pci@8,600000/pci@1/scsi@5
/pci@8,600000/pci@1/scsi@4
/pci@8,600000/pci@1/scsi@5/st
/pci@8,600000/pci@1/scsi@5/sd
/pci@8,600000/pci@1/scsi@4/st
/pci@8,600000/pci@1/scsi@4/sd

/pci@8,700000/pci@2/scsi@5
/pci@8,700000/pci@2/scsi@4
/pci@8,700000/pci@2/scsi@5/st
/pci@8,700000/pci@2/scsi@5/sd
/pci@8,700000/pci@2/scsi@4/st
/pci@8,700000/pci@2/scsi@4/sd


Is the # after pci@8,700000/pci@ ... is that the PCI slot ?


{0} ok dev /pci@8,600000/pci@1/scsi@5
{0} ok .properties
assigned-addresses       81012810 00000000 00001100 00000000 00000100
                          82012814 00000000 00202000 00000000 00002000
                          82012830 00000000 00240000 00000000 00020000
model                    QLGC,ISP10160
scsi-initiator-id        00 00 00 07
alternate-reg            00000000 00000000 00000000 00000000 00000000
                          02012814 00000000 00000000 00000000 00000100
                          01012810 00000000 00000000 00000000 00000100
reg                      00012800 00000000 00000000 00000000 00000000
                          01012810 00000000 00000000 00000000 00000100
                          02012814 00000000 00000000 00000000 00001000
                          02012830 00000000 00000000 00000000 00010000
power-consumption        00000000 00000000
                          00895440 00895440
version                  1.0.6
compatible               70 63 69 31 30 37 37 2c 31 30 31 36 00 70 63 69
manufacturer             QLGC
device_type              scsi
name                     scsi



.... but I am not confident that I got it right.


It also appears when u run prtconf -p -v, but I couldn't figure out where it says which PCI slot it is in:

             Node 0xf00960b4
                 assigned-addresses:  81012010.00000000.00001000.00000000.00000100.82012014.00000000.00200000.00000000.00002000.82012030.00000
000.00220000.00000000.00020000
                 model:  'QLGC,ISP10160'
                 scsi-initiator-id:  00000007
                 alternate-reg:  00000000.00000000.00000000.00000000.00000000.02012014.00000000.00000000.00000000.00000100.01012010.00000000.0
0000000.00000000.00000100
                 reg:  00012000.00000000.00000000.00000000.00000000.01012010.00000000.00000000.00000000.00000100.02012014.00000000.00000000.00
000000.00001000.02012030.00000000.00000000.00000000.00010000
                 power-consumption:  00000000.00000000.00895440.00895440
                 version: '1.0.6'
                 compatible: 'pci1077,1016' + 'pciclass,010000'
                 manufacturer:  'QLGC'
                 device_type:  'scsi'
                 name:  'scsi'
                 flash-part:  'am29lv101b'
                 flashable:  '0001-01'
                 fcode-rom-offset:  00000000
                 66mhz-capable:
                 fast-back-to-back:
                 devsel-speed:  00000001
                 class-code:  00010000
                 interrupts:  00000001
                 latency-timer:  00000040
                 cache-line-size:  00000010
                 max-latency:  00000000
                 min-grant:  00000000
                 subsystem-id:  0000ffff
                 subsystem-vendor-id:  0000ffff
                 revision-id:  00000002
                 device-id:  00001016
                 vendor-id:  00001077

                 Node 0xf00a2400
                     device_type:  'block'
                     name:  'sd'

                 Node 0xf00a2edc
                     device_type:  'byte'
                     name:  'st'

             Node 0xf00a3b14
                 assigned-addresses:  81012810.00000000.00001100.00000000.00000100.82012814.00000000.00202000.00000000.00002000.82012830.00000
000.00240000.00000000.00020000
                 model:  'QLGC,ISP10160'
                 scsi-initiator-id:  00000007
                 alternate-reg:  00000000.00000000.00000000.00000000.00000000.02012814.00000000.00000000.00000000.00000100.01012810.00000000.0
0000000.00000000.00000100
                 reg:  00012800.00000000.00000000.00000000.00000000.01012810.00000000.00000000.00000000.00000100.02012814.00000000.00000000.00
000000.00001000.02012830.00000000.00000000.00000000.00010000
                 power-consumption:  00000000.00000000.00895440.00895440
                 version: '1.0.6'
                 compatible: 'pci1077,1016' + 'pciclass,010000'
                 manufacturer:  'QLGC'
                 device_type:  'scsi'
                 name:  'scsi'
                 flash-part:  'am29lv101b'
                 flashable:  '0001-01'
                 fcode-rom-offset:  00000000
                 66mhz-capable:
                 fast-back-to-back:
                 devsel-speed:  00000001
                 class-code:  00010000
                 interrupts:  00000001
                 latency-timer:  00000040
                 cache-line-size:  00000010
                 max-latency:  00000000
                 min-grant:  00000000
                 subsystem-id:  0000ffff
                 subsystem-vendor-id:  0000ffff
                 revision-id:  00000002
                 device-id:  00001016
                 vendor-id:  00001077

                 Node 0xf00afe60
                     device_type:  'block'
                     name:  'sd'

                 Node 0xf00b093c
                     device_type:  'byte'
                     name:  'st'




How can I match what is physically on PCI slots 1 and 2 to what is in sysdef, prtconf, or show-devs output ?



0
Reply averageuser 6/15/2004 7:32:55 AM

Hmmmm ... More intriguing now. That card ( model:  'QLGC,ISP10160' ) lead me to here:

	http://docs.sun.com/db/doc/816-5177/6mbbc4g8l?a=view

referenced only on Solaris10 and not on Solaris8.
I dont have a qus driver in /kernel/drv/sparcv9



0
Reply averageuser 6/15/2004 7:46:40 AM


averageuser <nospam@nospam.org> wrote:
> How do I figure out the exact model and manufacturer of a PCI card in a specific slot ?

Try "prtdiag" - it tells you which PCI card is located in which PCI slot.

> model                    QLGC,ISP10160

I guess you have Ultra 3 SCSI controllers (qus), as I have two of them
in my V880 and they show up as QLGC,ISP10160 in prtdiag output, too.

mp.
-- 
Systems Administrator | Institute for Software Science | Univ. of Vienna
0
Reply Martin 6/15/2004 8:06:46 AM

averageuser wrote:
> 
> How do I figure out the exact model and manufacturer of a PCI card in a 
> specific slot ?
> e.g.:
> I have what I __think__ are 2 PCI-SCSI host bus adapters on PCI slots 1 
> and 2 of a Sun Fire 280R.
> These slots are usually empty. Hence, these 2 PCI cards were added-in 
> after the fact.
> I now need to attach 2 x StorEdge 3310s disk arrays to these 2 x 
> PCI-SCSI host bus adapters, and according to the manuals,
> I have to modify either /kernel/drv/glm.conf or /kernel/drv/qus.conf ( 
> depending on the HBA )
> for the logical drivers in the array to be "seen" by Solaris.
> Problem is, I'm not sure what these 2 cards are __exactly__.
....
> How can I match what is physically on PCI slots 1 and 2 to what is in 
> sysdef, prtconf, or show-devs output ?



/usr/platform/sun4u/sbin/prtdiag -v

eg

System Configuration:  Sun Microsystems  sun4u Sun Ultra 60 UPA/PCI (2 X 
UltraSPARC-II 360MHz)
System clock frequency: 120 MHz
Memory size: 1664 Megabytes

========================= CPUs =========================

                     Run   Ecache   CPU    CPU
Brd  CPU   Module   MHz     MB    Impl.   Mask
---  ---  -------  -----  ------  ------  ----
  0     0     0      360     4.0   US-II    9.0
  0     2     2      360     4.0   US-II    9.0


========================= IO Cards =========================

      Bus   Freq
Brd  Type  MHz   Slot        Name                          Model
---  ----  ----  ----------  ---------------------------- 
--------------------
  0   PCI    33     On-Board  network-SUNW,hme 

  0   PCI    33     On-Board  scsi-glm/disk (block) 
Symbios,53C875
  0   PCI    33     On-Board  scsi-glm/disk (block) 
Symbios,53C875
  0   PCI    33        PCI 2  scsi-glm/disk (block) 
Symbios,53C875
  0   PCI    33        PCI 2  scsi-glm/disk (block) 
Symbios,53C875
  0   PCI    66      PCI66 1  SUNW,qlc-pci1077,2200.1077.4+ 

  0   UPA   120           29  FFB, Double Buffered 
SUNW,501-4788
  0   UPA   120           30  FFB, Double Buffered 
SUNW,501-4788

No failures found in System
===========================

========================= HW Revisions =========================

ASIC Revisions:
---------------
PCI: pci Rev 4
PCI: pci Rev 4
Cheerio: ebus Rev 1

System PROM revisions:
----------------------
   OBP 3.31.0 2001/07/25 20:31   POST 2.0.3 2000/07/31 15:28




mcbofh
0
Reply McBofh 6/15/2004 11:23:48 AM

averageuser <nospam@nospam.org> wrote:
> 
> Hmmmm ... More intriguing now. That card ( model:  'QLGC,ISP10160' ) lead me to here:
> 
>        http://docs.sun.com/db/doc/816-5177/6mbbc4g8l?a=view
> 
> referenced only on Solaris10 and not on Solaris8.
> I dont have a qus driver in /kernel/drv/sparcv9

That would be because it's a "qus" driver, and the qus driver will not be
included in any version of Solaris before 10.

For Solaris 8 and 9 you need to download the qus drivers from
http://www.sun.com/downloads

But basically, yes, you have a QUS card, which means it's probably the
one at
http://sunsolve.sun.com/handbook_pub/Devices/SCSI/SCSI_Dual_Ultra3_PCI.html
which does support the SE3310's.

  Scott
0
Reply Scott 6/15/2004 1:36:35 PM

Martin Paul wrote:

> averageuser <nospam@nospam.org> wrote:
> 
>>How do I figure out the exact model and manufacturer of a PCI card in a specific slot ?
> 
> 
> Try "prtdiag" - it tells you which PCI card is located in which PCI slot.
> 

Okay. That helps one side of the equation.

But if you are given the following on startup ( or seen via dmesg ):

	Jun 16 12:01:11 syddb280r scsi: WARNING: /pci@8,700000/pci@2/scsi@4 (qus0):
	Jun 16 12:01:11 syddb280r scsi: WARNING: /pci@8,600000/pci@1/scsi@4 (qus2):

.... how do you relate that to the actual PCI slot ( I have more than one of these QLogic cards ).



0
Reply averageuser 6/16/2004 2:44:59 AM

averageuser <nospam@nospam.org> wrote:
>>>How do I figure out the exact model and manufacturer of a PCI card in a specific slot ?
>> 
>> Try "prtdiag" - it tells you which PCI card is located in which PCI slot.
>> 

> Okay. That helps one side of the equation.

> But if you are given the following on startup ( or seen via dmesg ):

> 	Jun 16 12:01:11 syddb280r scsi: WARNING: /pci@8,700000/pci@2/scsi@4 (qus0):
> 	Jun 16 12:01:11 syddb280r scsi: WARNING: /pci@8,600000/pci@1/scsi@4 (qus2):

> ... how do you relate that to the actual PCI slot ( I have more than one of these QLogic cards ).

Best is to check the Sun Handbook for the 280R.

http://sunsolve.sun.com/handbook_pub/Systems/SunFire280R/component.system_board.html

You can check all the parts there, but I'll bet they're all similar.
Here's one of them...

http://sunsolve.sun.com/handbook_pub/Devices/System_Board/SYSBD_SunBlade_1000.html

Which has this table...

      PCI Slot Numbering
     SLOT BUS DEVICE TREE 
      4    B  pci@8,700000/*@1,* 
      3    B  pci@8,700000/*@2,* 
      2    B  pci@8,700000/*@3,* 
      1    A  pci@8,600000/*@1,* 
    
     PCI Bus A shares the address/data bus with the FC-AL device. PCI
     Bus B shares the address/data bus with on-board Audio, Ethernet,
     Flash, Floppy, IEEE 1394, Parallel, SCSI, Serial, and USB devices.

So your first one is slot 3, and the other is slot 1

-- 
Darren Dunham                                           ddunham@taos.com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >
0
Reply Darren 6/16/2004 5:20:37 AM

Darren Dunham wrote:
> averageuser <nospam@nospam.org> wrote:
>>But if you are given the following on startup ( or seen via dmesg ):
> 
> 
>>	Jun 16 12:01:11 syddb280r scsi: WARNING: /pci@8,700000/pci@2/scsi@4 (qus0):
>>	Jun 16 12:01:11 syddb280r scsi: WARNING: /pci@8,600000/pci@1/scsi@4 (qus2):
> 
>>... how do you relate that to the actual PCI slot ( I have more than one of these QLogic cards ).
> 
> 
> Best is to check the Sun Handbook for the 280R.
> 
> http://sunsolve.sun.com/handbook_pub/Systems/SunFire280R/component.system_board.html
> 
> You can check all the parts there, but I'll bet they're all similar.
> Here's one of them...
> 
> http://sunsolve.sun.com/handbook_pub/Devices/System_Board/SYSBD_SunBlade_1000.html
> 

< ... snip ... >

> So your first one is slot 3, and the other is slot 1
> 


Ah! Thanks. Now I know where I'll look next time.

0
Reply averageuser 6/16/2004 5:35:27 AM

7 Replies
1227 Views

(page loaded in 0.123 seconds)

Similiar Articles:













7/24/2012 12:21:38 AM


Reply: