Operating System - HP-UX
1833757 Members
3046 Online
110063 Solutions
New Discussion

how to find out how many PCI connected to the chassis?

 
SOLVED
Go to solution
Jeff.Z
Frequent Advisor

how to find out how many PCI connected to the chassis?


for example, we have a chassis, its hardware location is like this, cab0,bay0,chassis1 (0/0/1). so, how to tell how many PCI devices connected to this chassis? the only thing i can find thru rad is the chassis itself. Thanks.


=>rad -q|grep "0/0/1"
0-1-3-1 0/0/1/1 8 133 133 On Yes No Yes PCI-X PCI-X
0-1-3-6 0/0/14/1 112 266 266 On Yes No Yes PCI-X PCI-X
0-1-3-7 0/0/13/1 104 133 0 Off No N/A N/A PCI-X PCI
0-1-3-8 0/0/12/1 96 133 0 Off No N/A N/A PCI-X PCI
0-1-3-9 0/0/10/1 80 133 0 Off No N/A N/A PCI-X PCI


[Chassis]
Core Connected Par
Hardware Location Usage IO To Num
=================== ============ ==== ========== ===
cab0,bay0,chassis0 Absent - - -
cab0,bay0,chassis1 Active - cab0,cell2 0
cab0,bay0,chassis2 Absent - - -
cab0,bay0,chassis3 Active - cab0,cell3 0
cab0,bay1,chassis0 Absent - - -
cab0,bay1,chassis1 Active - cab0,cell1 0
cab0,bay1,chassis2 Absent - - -
cab0,bay1,chassis3 Active - cab0,cell0 0
21 REPLIES 21
Torsten.
Acclaimed Contributor

Re: how to find out how many PCI connected to the chassis?

The sixth column is the power state. If the power is on, this is a good indication for an installed card.

olrad -q
Driver(s)
Capable
Slot Path Bus Max Spd Pwr Occu Susp OLAR OLD Max Mode
Num Spd Mode
3 0/3/1 128 66 N/A On Yes No Yes N/A PCI-X PCI
4 0/3/2 128 66 N/A Off No N/A N/A N/A PCI-X PCI
5 0/4/1 160 66 66 On Yes No Yes N/A PCI-X PCI-X
6 0/4/2 160 66 66 Off No N/A N/A N/A PCI-X PCI-X
7 0/2/1 64 133 66 On Yes No Yes N/A PCI-X PCI
8 0/5/1 192 133 66 On Yes No Yes N/A PCI-X PCI

You can also check the olrad -q output against an ioscan.
If there is nothing below a LBA, there is no card installed.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jeff.Z
Frequent Advisor

Re: how to find out how many PCI connected to the chassis?

Torsten,

Thanks for your reply. from what i know, a chassis can connect to 6-PCI or 12-PCI card cage on a Superdome. In my case, the chassis 0/0/1 is powered on, and 2 SCSI interfaces connected to this chassis. I need to find out, whether 12 or 6 interfaces could connect to this chassis though.

=>ioscan -fn|grep "0/0/1"|more
ba 1 0/0/1 lba CLAIMED BUS_NEXUS Local PCI-X Bus
Adapter (785)
ext_bus 0 0/0/1/1/0 mpt CLAIMED INTERFACE SCSI Ultra320 A
6961-60011
target 0 0/0/1/1/0.0 tgt CLAIMED DEVICE
disk 0 0/0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GST31468
54LC
target 1 0/0/1/1/0.2 tgt CLAIMED DEVICE
disk 1 0/0/1/1/0.2.0 sdisk CLAIMED DEVICE HP 146 GST31468
54LC
target 2 0/0/1/1/0.4 tgt CLAIMED DEVICE
disk 2 0/0/1/1/0.4.0 sdisk CLAIMED DEVICE HP 146 GMAX3147
NC
target 3 0/0/1/1/0.6 tgt CLAIMED DEVICE
disk 3 0/0/1/1/0.6.0 sdisk CLAIMED DEVICE HP 146 GST31468
54LC
target 4 0/0/1/1/0.7 tgt CLAIMED DEVICE
ctl 0 0/0/1/1/0.7.0 sctl CLAIMED DEVICE Initiator
ext_bus 1 0/0/1/1/1 mpt CLAIMED INTERFACE SCSI Ultra320 A
6961-60011
target 5 0/0/1/1/1.1 tgt CLAIMED DEVICE
tape 0 0/0/1/1/1.1.0 stape CLAIMED DEVICE HP C7438A
target 6 0/0/1/1/1.3 tgt CLAIMED DEVICE
disk 4 0/0/1/1/1.3.0 sdisk CLAIMED DEVICE _NEC DVD_RW
ND-3550A
target 7 0/0/1/1/1.7 tgt CLAIMED DEVICE
ctl 1 0/0/1/1/1.7.0 sctl CLAIMED DEVICE Initiator
Sandman!
Honored Contributor

Re: how to find out how many PCI connected to the chassis?

That can be obtained from the output of ioscan. Simply run ioscan(1M) with the hardware path as the argument. That will give a heirarchial form of device tree report. You could also post the output here:

# ioscan -H 0/0/1
Jeff.Z
Frequent Advisor

Re: how to find out how many PCI connected to the chassis?


Sandman,

It's the same thing i posted on last thread. Only 2 SCSI adapters connected to the chassis. My question is how many interfaces can be connect to this chassis? e.g., if i want to connect 10 more PCI, could it be done? thanks.

=>ioscan -H 0/0/1|more
H/W Path Class Description
=====================================================
0/0/1 ba Local PCI-X Bus Adapter (785)
0/0/1/1/0 ext_bus SCSI Ultra320 A6961-60011
0/0/1/1/0.0 target
0/0/1/1/0.0.0 disk HP 146 GST3146854LC
0/0/1/1/0.2 target
0/0/1/1/0.2.0 disk HP 146 GST3146854LC
0/0/1/1/0.4 target
0/0/1/1/0.4.0 disk HP 146 GMAX3147NC
0/0/1/1/0.6 target
0/0/1/1/0.6.0 disk HP 146 GST3146854LC
0/0/1/1/0.7 target
0/0/1/1/0.7.0 ctl Initiator
0/0/1/1/1 ext_bus SCSI Ultra320 A6961-60011
0/0/1/1/1.1 target
0/0/1/1/1.1.0 tape HP C7438A
0/0/1/1/1.3 target
0/0/1/1/1.3.0 disk _NEC DVD_RW ND-3550A
0/0/1/1/1.7 target
0/0/1/1/1.7.0 ctl Initiator
Torsten.
Acclaimed Contributor

Re: how to find out how many PCI connected to the chassis?

We are talking about a superdome?

There was never a 6 slot chassis.

From the ioscan you sent: there is only 1 card (dual port) installed.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sandman!
Honored Contributor

Re: how to find out how many PCI connected to the chassis?

From the ioscan(1M) output it looks like there is only one PCI turbo card installed on your system.
Sandman!
Honored Contributor

Re: how to find out how many PCI connected to the chassis?

Didn't read your post thoroughly. What kind of server (make and model) is this? That information would help in resolving this issue.
Torsten.
Acclaimed Contributor

Re: how to find out how many PCI connected to the chassis?

You always give a little less information.

I would suggest to run

olrad -q
ioscan -fndlb

and check down the lba pathes with
ioscan -fnH ...

If there is nothing below the lba, there is no card.

From your first "olrad" command I would assume there is another card in
0-1-3-6 0/0/14/1


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jeff.Z
Frequent Advisor

Re: how to find out how many PCI connected to the chassis?

Torsten,

You're right, only 1 dual port card installed. So, 12 interfaces can be connect to this chassis on the Superdome, correct?

Thanks,
Jeff
Jeff.Z
Frequent Advisor

Re: how to find out how many PCI connected to the chassis?

Guys,

sorry for the less of information. The server is a 9000/800/SD32B. I just want to know how many PCI cards can be connected to the chassis 0/0/1 and how many are connected for now. From what Torsten said, this chassis can support 12 cards and has 1 dual ports SCSI connected currently.


Thanks for all your help.

Jeff
Torsten.
Acclaimed Contributor

Re: how to find out how many PCI connected to the chassis?

Yes, but depending on the model and config 1 slot may require a core I/O card.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: how to find out how many PCI connected to the chassis?

I don't know how many cards are there, because you always post small parts from the output.

There is definitely a card in slot 1.

I assume there is at least another card in slot 6.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: how to find out how many PCI connected to the chassis?

"...connected to the chassis 0/0/1..."

Be careful!
Don't mix up!

From your small output of olrad:

0-1-3-1 0/0/1/1 8 133 133 On Yes No Yes PCI-X PCI-X


"0-1-3-1"
This is the slot location in the box.

"0/0/1"
This is the hardware path from cell 0 to slot 1 in the connected IO chassis (only 1 slot !).

"0/0/14"
Is another slot in the same chassis (slot 6).

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jeff.Z
Frequent Advisor

Re: how to find out how many PCI connected to the chassis?

Torsten,

Here comes the complete "rad", "parstatus -I" and the "ioscan -fn" output. What is the hardware address for this chassis??? cab0,bay0,chassis1 Active - cab0,cell2 0
Thanks a bunch.



=>parstatus -I


[Chassis]
Core Connected Par
Hardware Location Usage IO To Num
=================== ============ ==== ========== ===
cab0,bay0,chassis0 Absent - - -
cab0,bay0,chassis1 Active - cab0,cell2 0
cab0,bay0,chassis2 Absent - - -
cab0,bay0,chassis3 Active - cab0,cell3 0
cab0,bay1,chassis0 Absent - - -
cab0,bay1,chassis1 Active - cab0,cell1 0
cab0,bay1,chassis2 Absent - - -
cab0,bay1,chassis3 Active - cab0,cell0 0


=> rad -q
Driver(s)
Slot Path Bus Max Spd Pwr Occu Susp Capable Max Mode
Num Spd Mode
0-0-1-0 2/0/0 0 133 0 Off No N/A N/A PCI-X PCI
0-0-1-1 2/0/1/1 8 133 133 On Yes No Yes PCI-X PCI-X
0-0-1-2 2/0/2/1 16 133 133 On Yes No Yes PCI-X PCI-X
0-0-1-3 2/0/4/1 32 133 0 Off No N/A N/A PCI-X PCI
0-0-1-4 2/0/5/1 40 133 0 Off No N/A N/A PCI-X PCI
0-0-1-5 2/0/6/1 48 266 266 On Yes No Yes PCI-X PCI-X
0-0-1-6 2/0/14/1 112 266 266 On Yes No Yes PCI-X PCI-X
0-0-1-7 2/0/13/1 104 133 0 Off No N/A N/A PCI-X PCI
0-0-1-8 2/0/12/1 96 133 0 Off No N/A N/A PCI-X PCI
0-0-1-9 2/0/10/1 80 133 0 Off No N/A N/A PCI-X PCI
0-0-1-10 2/0/9/1 72 133 0 Off No N/A N/A PCI-X PCI
0-0-1-11 2/0/8/1 64 133 0 Off No N/A N/A PCI-X PCI
0-0-3-0 3/0/0 0 133 0 Off No N/A N/A PCI-X PCI
0-0-3-1 3/0/1/1 8 133 0 Off No N/A N/A PCI-X PCI
0-0-3-2 3/0/2/1 16 133 133 On Yes No Yes PCI-X PCI-X
0-0-3-3 3/0/4/1 32 133 0 Off No N/A N/A PCI-X PCI
0-0-3-4 3/0/5/1 40 133 0 Off No N/A N/A PCI-X PCI
0-0-3-5 3/0/6/1 48 266 266 On Yes No Yes PCI-X PCI-X
0-0-3-6 3/0/14/1 112 266 266 On Yes No Yes PCI-X PCI-X
0-0-3-7 3/0/13/1 104 133 0 Off No N/A N/A PCI-X PCI
0-0-3-8 3/0/12/1 96 133 0 Off No N/A N/A PCI-X PCI
0-0-3-9 3/0/10/1 80 133 0 Off No N/A N/A PCI-X PCI
0-0-3-10 3/0/9/1 72 133 0 Off No N/A N/A PCI-X PCI
0-0-3-11 3/0/8/1 64 133 0 Off No N/A N/A PCI-X PCI
0-1-1-0 1/0/0 0 133 0 Off No N/A N/A PCI-X PCI
0-1-1-1 1/0/1/1 8 133 0 Off No N/A N/A PCI-X PCI
0-1-1-2 1/0/2/1 16 133 133 On Yes No Yes PCI-X PCI-X
0-1-1-3 1/0/4/1 32 133 0 Off No N/A N/A PCI-X PCI
0-1-1-4 1/0/5/1 40 133 0 Off No N/A N/A PCI-X PCI
0-1-1-5 1/0/6/1 48 266 266 On Yes No Yes PCI-X PCI-X
0-1-1-6 1/0/14/1 112 266 266 On Yes No Yes PCI-X PCI-X
0-1-1-7 1/0/13/1 104 133 0 Off No N/A N/A PCI-X PCI
0-1-1-8 1/0/12/1 96 133 0 Off No N/A N/A PCI-X PCI
0-1-1-9 1/0/10/1 80 133 0 Off No N/A N/A PCI-X PCI
0-1-1-10 1/0/9/1 72 133 0 Off No N/A N/A PCI-X PCI
0-1-1-11 1/0/8/1 64 133 0 Off No N/A N/A PCI-X PCI
0-1-3-0 0/0/0 0 133 0 Off No N/A N/A PCI-X PCI
0-1-3-1 0/0/1/1 8 133 133 On Yes No Yes PCI-X PCI-X
0-1-3-2 0/0/2/1 16 133 133 On Yes No Yes PCI-X PCI-X
0-1-3-3 0/0/4/1 32 133 0 Off No N/A N/A PCI-X PCI
0-1-3-4 0/0/5/1 40 133 0 Off No N/A N/A PCI-X PCI
0-1-3-5 0/0/6/1 48 266 266 On Yes No Yes PCI-X PCI-X
0-1-3-6 0/0/14/1 112 266 266 On Yes No Yes PCI-X PCI-X
0-1-3-7 0/0/13/1 104 133 0 Off No N/A N/A PCI-X PCI
0-1-3-8 0/0/12/1 96 133 0 Off No N/A N/A PCI-X PCI
0-1-3-9 0/0/10/1 80 133 0 Off No N/A N/A PCI-X PCI
0-1-3-10 0/0/9/1 72 133 133 On Yes No Yes PCI-X PCI-X
0-1-3-11 0/0/8/1 64 133 0 Off No N/A N/A PCI-X PCI
Torsten.
Acclaimed Contributor
Solution

Re: how to find out how many PCI connected to the chassis?

That's better now!

Have a look at the IO chassis connected to cell 0:

0-1-3-0 0/0/0 0 133 0 Off No N/A N/A PCI-X PCI
0-1-3-1 0/0/1/1 8 133 133 On Yes No Yes PCI-X PCI-X
0-1-3-2 0/0/2/1 16 133 133 On Yes No Yes PCI-X PCI-X
0-1-3-3 0/0/4/1 32 133 0 Off No N/A N/A PCI-X PCI
0-1-3-4 0/0/5/1 40 133 0 Off No N/A N/A PCI-X PCI
0-1-3-5 0/0/6/1 48 266 266 On Yes No Yes PCI-X PCI-X
0-1-3-6 0/0/14/1 112 266 266 On Yes No Yes PCI-X PCI-X
0-1-3-7 0/0/13/1 104 133 0 Off No N/A N/A PCI-X PCI
0-1-3-8 0/0/12/1 96 133 0 Off No N/A N/A PCI-X PCI
0-1-3-9 0/0/10/1 80 133 0 Off No N/A N/A PCI-X PCI
0-1-3-10 0/0/9/1 72 133 133 On Yes No Yes PCI-X PCI-X
0-1-3-11 0/0/8/1 64 133 0 Off No N/A N/A PCI-X PCI

These slots are powered "ON":

0-1-3-1 0/0/1/1
0-1-3-2 0/0/2/1
0-1-3-5 0/0/6/1
0-1-3-6 0/0/14/1
0-1-3-10 0/0/9/1

Now look at a slot powered OFF:

0-1-3-3 0/0/4/1

ioscan gives:

ba 4 0/0/4 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (785)

That's it - no more 0/0/4 ... pathes - slot is empty!

Now back to the powered slots:

slot 1:
0/0/1
Dual SCSI card (SCSI Ultra320 A6961)

slot 2:
0/0/2
4 port LAN

slot 5:
0/0/6
4GB FC card (AB379)

slot 6:
0/0/14
4GB FC card (AB379)

slot 10:
0/0/9
dual port LAN (A7012)



How many slots are free here???

Now guess!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jeff.Z
Frequent Advisor

Re: how to find out how many PCI connected to the chassis?



Torsten, got it, mixed 0-1-3-1 with 0/1/3!!! thanks for sharing with the knowlege.


cab0,bay0,chassis1 Active - cab0,cell2 0

hardware address is 0-0-1, now we have 12 devices connected to it

0-0-1-0 2/0/0 0 133 0 Off No N/A N/A PCI-X PCI
0-0-1-1 2/0/1/1 8 133 133 On Yes No Yes PCI-X PCI-X
0-0-1-2 2/0/2/1 16 133 133 On Yes No Yes PCI-X PCI-X
0-0-1-3 2/0/4/1 32 133 0 Off No N/A N/A PCI-X PCI
0-0-1-4 2/0/5/1 40 133 0 Off No N/A N/A PCI-X PCI
0-0-1-5 2/0/6/1 48 266 266 On Yes No Yes PCI-X PCI-X
0-0-1-6 2/0/14/1 112 266 266 On Yes No Yes PCI-X PCI-X
0-0-1-7 2/0/13/1 104 133 0 Off No N/A N/A PCI-X PCI
0-0-1-8 2/0/12/1 96 133 0 Off No N/A N/A PCI-X PCI
0-0-1-9 2/0/10/1 80 133 0 Off No N/A N/A PCI-X PCI
0-0-1-10 2/0/9/1 72 133 0 Off No N/A N/A PCI-X PCI
0-0-1-11 2/0/8/1 64 133 0 Off No N/A N/A PCI-X PCI
Jeff.Z
Frequent Advisor

Re: how to find out how many PCI connected to the chassis?

totally understand now. in your example, 5 slots are in use, 7 are free. :D
Torsten.
Acclaimed Contributor

Re: how to find out how many PCI connected to the chassis?

Posted before read?

The notation is

Location 0-1-3-1
Hardware path 0/0/1/1

Location is
Cabinet#-Bay#-Chassis#-Slot#

Cabinet = 0
Bay = 1 (back)
Chassis = 3 (right)
slot = 1

for hardware path 0/0/1 in this case.

Now go to the cabinet, open the rear door and take a look at the right Chassis.
You will find your dual port SCSI card there in slot 1.


Clear now?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jeff.Z
Frequent Advisor

Re: how to find out how many PCI connected to the chassis?

Crystal clear, thank you.
Jeff.Z
Frequent Advisor

Re: how to find out how many PCI connected to the chassis?

All clear, thanks.
Torsten.
Acclaimed Contributor

Re: how to find out how many PCI connected to the chassis?

As you learned now, understanding this is important and will help you.


But now you can go also the easy way:

Log on to the system management homepage, if installed:

http://your_server:2301

Once logged on and re-directed, go to

https://your_server:2381/parmgr

From here you can really *see* all this information.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!