1834483 Members
3558 Online
110067 Solutions
New Discussion

howto determine bus type

 
SOLVED
Go to solution
Andrew Beal
Frequent Advisor

howto determine bus type

Hi,

Is there any command to tell you what type of bus architecture you have e.g HP/PB, HSC, or PCI??

I have 3 N-Class servers i need to find these details out for, running hp-ux 11.0

Thanks in advance,

Andrew
9 REPLIES 9
twang
Honored Contributor

Re: howto determine bus type

Hi

# ioscan -fn

Should help and give you what you require.
Michael Tully
Honored Contributor

Re: howto determine bus type

ioscan should work, but I was thinking of an alternative that quite a lot of times ioscan won't tell you about hardware.

Not sure if this will work, but try:

echo "selclass type adapter qualifier bus;info;wait;infolog" | cstm

There is a list I created a while back but never tested them all. (I'm not near a system either)
Anyone for a Mutiny ?
Tim Adamson_1
Honored Contributor

Re: howto determine bus type

Hi,

Use ioscan -fnk. That should return the information you require pretty quickly.


Cheers!
Yesterday is history, tomorrow is a mystery, today is a gift. That's why it's called the present.
Johnny Damtoft
Regular Advisor

Re: howto determine bus type

Hi,


ioscan -fnk , gives you the information, but shows you the device path also.

ioscan -fk , excludes the device path.

/ Johnny
Joaquin Gil de Vergara
Respected Contributor
Solution

Re: howto determine bus type

N Class (rp 74xx) only uses PCI buses....

EISA, HSC, and HPPB was used in older models (K, D, etc...)

With ioscan viewing used, drivers and description you can view this

svuxmad:/home/root# model
9000/813/D230
svuxmad:/home/root# ioscan -kfnCext_bus
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
ext_bus 0 8/4 c720 CLAIMED INTERFACE GSC add-on Fast/Wide SCSI
Interface
ext_bus 2 8/16/0 CentIf CLAIMED INTERFACE Built-in Parallel Interfa
ce
/dev/c2t0d0_lp
ext_bus 1 8/16/5 c720 CLAIMED INTERFACE Built-in SCSI
svuxmad:/home/root#

svux006:/# model
9000/800/L1000-44
svux006:/# ioscan -kfnCext_bus
Class I H/W Path Driver S/W State H/W Type Description
=================================================================
ext_bus 0 0/0/1/0 c720 CLAIMED INTERFACE SCSI C896 Fast Wide LVD
ext_bus 1 0/0/1/1 c720 CLAIMED INTERFACE SCSI C896 Ultra Wide Single
-Ended
ext_bus 2 0/0/2/0 c720 CLAIMED INTERFACE SCSI C87x Ultra Wide Single
-Ended
ext_bus 3 0/0/2/1 c720 CLAIMED INTERFACE SCSI C87x Ultra Wide Single
-Ended
ext_bus 4 0/4/0/0 c720 CLAIMED INTERFACE SCSI C895 Ultra2 Wide LVD
ext_bus 5 0/7/0/0 c720 CLAIMED INTERFACE SCSI C895 Ultra2 Wide LVD
svux006:/#



Teach is the best way to learn
Joaquin Gil de Vergara
Respected Contributor

Re: howto determine bus type

perhaps thus is more clear...

regards

svux006:/# ioscan -kfCba
Class I H/W Path Driver S/W State H/W Type Description
============================================================
ba 0 0/0 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 1 0/1 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 2 0/2 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 3 0/3 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 4 0/4 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 5 0/5 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 6 0/6 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 7 0/7 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
svux006:/# model
9000/800/L1000-44
svux006:/#


sdmadr2:/home/root# ioscan -kfCba
Class I H/W Path Driver S/W State H/W Type Description
============================================================
ba 0 0/0 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 1 0/1 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 2 0/2 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 3 0/4 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 4 0/5 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 5 0/8 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 6 0/10 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 7 0/12 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 8 1/0 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 9 1/2 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 10 1/4 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 11 1/8 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 12 1/10 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 13 1/12 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
sdmadr2:/home/root# model
9000/800/N4000-55
sdmadr2:/home/root#


svuxmad:/home/root# ioscan -kfnCba
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
ba 0 8/16 bus_adapter CLAIMED BUS_NEXUS Core I/O Adapter
ba 1 8/20 bus_adapter CLAIMED BUS_NEXUS Core I/O Adapter
ba 2 8/20/5 eisa CLAIMED BUS_NEXUS EISA Bus Adapter
svuxmad:/home/root# model
9000/813/D230
svuxmad:/home/root#



svux001:/root>ioscan -kfCba
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
ba 0 8/8 GSCtoPCI CLAIMED BUS_NEXUS GSCtoPCI Bridge
ba 1 8/16 bus_adapter CLAIMED BUS_NEXUS Core I/O Adapter
ba 2 8/20 bus_adapter CLAIMED BUS_NEXUS Core I/O Adapter
ba 3 8/20/5 eisa CLAIMED BUS_NEXUS EISA Bus Adapter
svux001:/root>model
9000/800/R390
svux001:/root>





Teach is the best way to learn
Andrew Beal
Frequent Advisor

Re: howto determine bus type

thanks all for your responses,

Joaquin, you information was verry helpful, and gave me everything I required.

Thanks again all,

Andrew

Steven E. Protter
Exalted Contributor

Re: howto determine bus type

Output from Michael's command.

Hardware path: 8/20/5


Product ID: EISA Adapter
Hardware Path: 8/20/5
Module Type: Bus Adapter
Hardware Model: 0x31
Hardware Revision Number: 0
Software Revision Number: 0
Software Model Number: 0x90
Software Option: 0
Hard Physical Address: 0xfc000000
Soft Physical Address: 0xffc88000
Slot Number: 0
IODC Revision: 0
-- Information Tool Log for each selected device --
View - To View the file.
Print - To Print the file.
SaveAs - To Save the file.
Enter Done, Help, Print, SaveAs, or View: [Done] #.

Pretty slick.
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Andrew Beal
Frequent Advisor

Re: howto determine bus type

OH yeah,

that is a nice one too ;) but, this maybe a silly question... how do I get the firmware revision of the bus type??

thanks again,

andrew