Sunday 25 July 2021

HP-UX 11i v1 (32-bit PA-RISC) on QEMU - System Information

HP 9000 Family

In the early 1980s Hewlett-Packard (HP) introduced the HP 9000 family (Wikipedia), the initial offerings were re-badges of existing workstation lines featuring machines based on the Motorola 68000 and HP FOCUS processors. In 1991 the HP 9000/700 series was introduced, based on HP's Precision Architecture RISC processor (HP-PA or PA-RISC) (Wikipedia). The earlier 32-bit PA-RISC 1.0 processors had appeared in HP's mainframe and server systems back in the mid-1980s, but this was the first appearance of PA-RISC in a workstation line, and used the improved PA-RISC 1.1 processors. This marked the final stage in the consolidation of HP's non-x86 computer lines on to a single processor architecture. In 1996 HP introduced its first systems using the 64-bit PA-RISC processors, including the HP Visualize C160 and C180 workstations (both model 9000/780).

HP-UX 11i CDE logon screen in QEMU

Other than some early systems, and some systems based on the acquired technologies from Apollo Computers (these could also run Apollo Domain/OS), the HP 9000 line shipped running versions of HP's UNIX operating system: HP-UX (Wikipedia). Initially based on AT&T UNIX System III, and later UNIX System V, HP-UX was a major commercial UNIX from the 1980s through the 2000s. The rise of the open source UNIX-like operating systems and the market reception of Itanium (IA-64) servers would ultimately see HP-UX relegated to a maintenance role, with the last release being HP-UX 11i v3 in 2007, the last update in 2020, and support ending on PA-RISC in 2021 and on IA-64 in 2025.

QEMU

Emulates a HP 9000/778/B160L , normally known as a HP Visualize B160L workstation (HP Visualize B132L, B160L, B180L PA-RISC Workstations - OpenPA.net).

Emulated system specification:

  • CPU: 1x PA-7300LC at 250 MHz (32-bit PA-RISC)
  • RAM: default 512 MiB, up to 3.0 GiB (hardware supported up to 1.5 GiB)
  • Disk controller(s): SCSI C895 Fast Wide LVD (Symbios Logic 53c895 chipset)
  • Network controller(s): Ethernet (DEC Tulip 21142/43)
  • Graphics: HPA208LC1280 aka. Artist.

Since the B160L is based on a 32-bit PA-RISC 1.1 processor, the latest version of HP-UX that can be used is HP-UX 11i v1 (see HP-UX Unix Operating System for PA-RISC - OpenPA.net), later versions only support 64-bit PA-RISC and Itanium systems.

QEMU Command

For the interested the QEMU command use to start the emulated machine is:

qemu-system-hppa \
    -m size=1024M \
    -drive if=scsi,bus=0,index=6,file=${hd_disk},format=raw \
    -net nic,model=tulip \
    -net "user,guestfwd=:10.0.2.1:22-cmd:netcat 127.0.0.1 22,hostfwd=::2222-:22" \
    -global artist.width=1024 -global artist.height=768 \
    -boot order=c \
    -name 'HP-UX on HP B160L'

This gives 1.0 GiB RAM, a DEC Tulip based ethernet card, and sets the graphic card to have 1024x768 output resolution. The port forwarding rules provide host/guest port mappings for using ssh.

System Information

So let's see what we can discover about the system and if we can identify that it is running on QEMU.

uname

Operating system name, release and version information.

> uname -a
HP-UX qemuhpux B.11.11 U 9000/778 2006243326 unlimited-user license

So "HP-UX" release "B.11.11", aka. 11i v1, version "U", on a "9000/778", aka. HP B160L, identified as "2006243326", with an "unlimited-user licence", and named "qemuhpux".

model

Report the system model:

# model
9000/778/B160L

As expected the emulated system reports itself as a HP B160L, aka. HP 9000/778/B160L, workstation.

swlist - System Patches

Also using the package manager (assuming the patches from the 2000s):

> /usr/sbin/swlist -l bundle | grep 200
  BUNDLE11i		B.11.11.0306.1 Required Patch Bundle for HP-UX 11i, June 2003
  FEATURE11-11		B.11.11.0209.5 Feature Enablement Patches for HP-UX 11i, Sept 2002 
  HWEnable11i		B.11.11.0509.430 Hardware Enablement Patches for HP-UX 11i v1, September 2005 
  OnlineDiag		B.11.11.16.09  HPUX 11.11 Support Tools Bundle, Sep 2005 

So the most recent patches on this system are from 2005.

To get a list of individual patches use:

# swlist -l product *,c=patch
# Initializing...
# Contacting target "qemuhpux.home"...
#
# Target:  qemuhpux.home:/
#

  PHCO_22958			1.0            set_parms      
  PHCO_23263			B.11.11.15     HP AutoRAID Manager cumulative patch 
  PHCO_24173			1.0            ups_mond(1M) cumulative patch 
  PHCO_25311			B.11.11.15     HP Array Manager/60 cumulative patch 
  PHCO_25831			1.0            SCSI Ultra160 driver Online Addition script 
  PHCO_26951			1.0            itemap support for FireGL graphics cards 
  PHCO_27100			1.0            HFS mkfs(1M) VxVM Rootability patch 
  PHCO_27101			1.0            mkboot(1M) VxVM Rootability patch 
  PHCO_27103			1.0            pre_init_rc enh for VxVM rootability 
  PHCO_27185			1.0            ioinitrc(1M) cumulative patch 
  PHCO_27758			1.0            gsp parser & DIMM labels 
  PHCO_28160			1.0            install fix for correct $PATH & rc.config.d 
  PHCO_28169			1.0            mksf(1M) cumulative patch 
  PHCO_28998			1.0            fbackup(1M),frecover(1M) cumulative patch 
  PHCO_29379			1.0            LVM commands cumulative patch 
  PHCO_30514			1.0            rad(1M) and hotplugd(1M) man page patch 
  PHCO_30598			1.0            cumulative SAM patch 
  PHCO_31878			1.0            nPar cmds cumulative patch,IOX,dual cpu 
  PHKL_23290			1.0            system_space.h header file patch 
  PHKL_23292			1.0            scsi_surface.h header file patch 
  PHKL_23293			1.0            assert.h header file patch 
  PHKL_23294			1.0            buf.h header file patch 
  PHKL_23295			1.0            debug.h header file patch 
  PHKL_23296			1.0            dnlc.h header file patch 
  PHKL_23297			1.0            io.h header file patch 
  PHKL_23298			1.0            ki_iface.h header file patch 
  PHKL_23299			1.0            pfdat.h header file patch 
  PHKL_23300			1.0            proc_debug.h header file patch 
  PHKL_23301			1.0            proc_iface.h header file patch 
  PHKL_23302			1.0            rw_lock.h header file patch 
  PHKL_23303			1.0            sem_alpha.h header file patch 
  PHKL_23304			1.0            sem_beta.h header file patch 
  PHKL_23305			1.0            sem_sync.h header file patch 
  PHKL_23306			1.0            sem_utl.h header file patch 
  PHKL_23307			1.0            spinlock.h header file patch 
  PHKL_23308			1.0            vas.h header file patch 
  PHKL_23309			1.0            vfd.h header file patch 
  PHKL_23310			1.0            vnode.h header file patch 
  PHKL_23311			1.0            inode.h header file patch 
  PHKL_23312			1.0            pci.h header file patch 
  PHKL_23314			1.0            spinlock.h header file patch 
  PHKL_23315			1.0            cpu.h header file patch 
  PHKL_23316			1.0            map.h header file patch 
  PHKL_23625			1.0            Fix initial clock sync for SD derivatives 
  PHKL_23666			1.0            SCSI IO Subsystem Cumulative Patch 
  PHKL_23810			1.0            Enable SCSI floppy for 64 bit computers 
  PHKL_23957			1.0            Boot panic (w/Fiber Ch. & Gig. Ethernet) fix 
  PHKL_24278			1.0            Softpower enablement for bladed servers 
  PHKL_25506			1.0            asyncio driver patch 
  PHKL_26269			1.0            Rock Ridge extension for ISO-9660 
  PHKL_26425			1.0            Cumulative DLKM module load/unload patch 
  PHKL_26743			1.0            LVM Cumulative Patch 
  PHKL_27096			1.0            VxVM,EMC,Psets&vPar,slpq1,earlyKRS 
  PHKL_27155			1.0            PA-8800 TLB optimization 
  PHKL_27177			1.0            VxVM boot support change for os loader 
  PHKL_27219			1.0            adjtime(2) support for cpu speeds over 1 GHz 
  PHKL_28025			1.0            Rock Ridge extension for ISO-9660 
  PHKL_28197			1.0            Cumulative USB Driver patch 
  PHKL_28569			1.0            INTRMIGR enabler, WSIO support patch 
  PHKL_28839			1.0            PA-8800 enablement, p2p_bcopy process hang 
  PHKL_29529			1.0            New audio h/w support + cumulative fixes 
  PHKL_29539			1.0            PDC_SCSI_PARMS,iCOD,vPars,IPMI,OLA/R 
  PHKL_29567			1.0            Doorbell Enablement in OLA/R subsystem. 
  PHKL_29651			1.0            HW enablement: AGP graphics card support 
  PHKL_29700			1.0            SD early dump,CDUMP,dump menu,dump messages 
  PHKL_30100			1.0            Psets,vPar,Xserver,T600 HPMC KRNG,early LPMC 
  PHKL_30105			1.0            remove mem module and LPMC syslog msgs 
  PHKL_30197			1.0            Psets, vPar, SLVM, Reboot Hangs, Serial Num 
  PHKL_30257			1.0            Fibre Channel Mass Storage Patch 
  PHKL_30446			1.0            Interrupt Migration EP 
  PHKL_30512			1.0            crash,vpars,timeout;SG TOC,nPar Config 
  PHKL_30992			1.0            MO 8k sector size;FIFO;Event Port;perf;shmem 
  PHKL_31227			1.0            PCI patch,boot-time HPMC,PCI-X,OLA/R,AGP 
  PHKL_31241			1.0            AGP, cumulative graphics, multicard 
  PHKL_32089			1.0            SCSI Ultra160 Cumulative Patch 
  PHKL_32090			1.0            SCSI IO Cumulative Patch 
  PHKL_32647			1.0            Extending Physical I/O Addressing 
  PHKL_33338			1.0            iCOD,vPars,IPMI,PDCnbcall,OLA/R AB,sx2000 
  PHKL_33339			1.0            I/O,vPar,CDUMP,IM perf,PCI-X perf,PCI-X 2.0 
  PHKL_33425			1.0            SCSI Tape (stape) cumulative 
  PHNE_23288			1.0            netmp.h socketvar.h unpcb.h header patch 
  PHNE_23289			1.0            mux4.h header file patch 
  PHNE_28799			1.0            100BT unified driver cumulative patch 
  PHNE_30463			1.0            Cumulative Mux and Pty Patch 
  PHNE_32396			1.0            LAN product cumulative patch 
  PHSS_22898			1.0            HP aC++ -AA runtime libraries (aCC A.03.30) 
  PHSS_25983			1.0            B1000/B2000/C3X00/J5X00/J6000/J7000 5.0 FW 
  PHSS_32939			B.11.11.29     Xserver cumulative patch 

Typically there will be a lot of these...

dmesg

System start-up message log (as root):

# dmesg

Jul 25 20:58
No BTLB entries found for processor 0
NOTICE: nfs3_link(): File system was registered at index 3.
NOTICE: autofs_link(): File system was registered at index 6.
NOTICE: cachefs_link(): File system was registered at index 7.
1 graph3
8 bc
8/0 GSCtoPCI
8/0/0/0 c720
8/0/0/0.2 tgt
8/0/0/0.2.0 sdisk
8/0/0/0.6 tgt
8/0/0/0.6.0 sdisk
8/0/0/0.7 tgt
8/0/0/0.7.0 sctl
8/0/1/0 btlan
8/0/63 asio0
8/16 bus_adapter
8/16/4 asio0
8/16/0 CentIf
8/16/7 ps2
48 processor
63 memory
btlan: Invalid connection type in SROM, using MII_AUTOSENSE as default.
btlan: Initializing 10/100BASE-TX card at 8/0/1/0....

    System Console is on the ITE
Logical volume 64, 0x3 configured as ROOT
Logical volume 64, 0x2 configured as SWAP
Logical volume 64, 0x2 configured as DUMP
    Swap device table:  (start & size given in 512-byte blocks)
        entry 0 - major is 64, minor is 0x2; start = 0, size = 4194304
    Dump device table:  (start & size given in 1-Kbyte blocks)
        entry 00000000 - major is 31, minor is 0x6000; start = 310112, size = 2097152
Starting the STREAMS daemons-phase 1
Create STCP device files
      $Revision: vmunix:    vw: -proj    selectors: CUPI80_BL2000_1108 -c 'Vw for CUPI80_BL2000_1108 build' -- cupi80_bl2000_1108 'CUPI80_BL2000_1108'  Wed Nov  8 19:05:38 PST 2000 $
Memory Information:
    physical page size = 4096 bytes, logical page size = 4096 bytes
    Physical: 1048576 Kbytes, lockable: 813644 Kbytes, available: 934848 Kbytes

These kernel messages also appear in the system log (/var/adm/syslog/syslog.log), along with additional messages from system services.

The system map looks to have the available devices in the expected locations in the tree, and the 1.0 GiB memory is reported.

ioscan

Scan and report I/O devices and hardware, kernel cached information can be displayed by using the -k option as a regular user.

# ioscan
H/W Path     Class                     Description
==================================================
             bc                        
1            graphics                  Graphics
8            bc                        Pseudo Bus Converter
8/0              ba                    GSCtoPCI Bridge
8/0/0/0                ext_bus         SCSI C895 Fast Wide LVD
8/0/0/0.2                 target       
8/0/0/0.2.0                  disk      QEMU    QEMU CD-ROM
8/0/0/0.6                 target       
8/0/0/0.6.0                  disk      QEMU    QEMU HARDDISK
8/0/0/0.7                 target       
8/0/0/0.7.0                  ctl       Initiator
8/0/1/0                lan             HP PCI 10/100Base-TX Core
8/0/63              tty                Built-in RS-232C
8/16             ba                    Core I/O Adapter
8/16/0              ext_bus            Built-in Parallel Interface
8/16/4              tty                Built-in RS-232C
8/16/7              ps2                Built-in Keyboard/Mouse
48           processor                 Processor
63           memory                    Memory

The -f option can be used when running as root to get more information about kernel drivers:

# ioscan -f
Class       I  H/W Path     Driver      S/W State   H/W Type     Description
=============================================================================
bc          0               root        CLAIMED     BUS_NEXUS    
graphics    0  1            graph3      CLAIMED     INTERFACE    Graphics
bc          1  8            bc          CLAIMED     BUS_NEXUS    Pseudo Bus Converter
ba          0  8/0          GSCtoPCI    CLAIMED     BUS_NEXUS    GSCtoPCI Bridge
ext_bus     0  8/0/0/0      c720        CLAIMED     INTERFACE    SCSI C895 Fast Wide LVD
target      0  8/0/0/0.2    tgt         CLAIMED     DEVICE       
disk        0  8/0/0/0.2.0  sdisk       CLAIMED     DEVICE       QEMU    QEMU CD-ROM
target      1  8/0/0/0.6    tgt         CLAIMED     DEVICE       
disk        1  8/0/0/0.6.0  sdisk       CLAIMED     DEVICE       QEMU    QEMU HARDDISK
target      2  8/0/0/0.7    tgt         CLAIMED     DEVICE       
ctl         0  8/0/0/0.7.0  sctl        CLAIMED     DEVICE       Initiator
lan         0  8/0/1/0      btlan       CLAIMED     INTERFACE    HP PCI 10/100Base-TX Core
tty         1  8/0/63       asio0       CLAIMED     INTERFACE    Built-in RS-232C
ba          1  8/16         bus_adapter CLAIMED     BUS_NEXUS    Core I/O Adapter
ext_bus     1  8/16/0       CentIf      CLAIMED     INTERFACE    Built-in Parallel Interface
tty         0  8/16/4       asio0       CLAIMED     INTERFACE    Built-in RS-232C
ps2         0  8/16/7       ps2         CLAIMED     INTERFACE    Built-in Keyboard/Mouse
processor   0  48           processor   CLAIMED     PROCESSOR    Processor
memory      0  63           memory      CLAIMED     MEMORY       Memory

The disk hardware shows the fingerprint of QEMU being the host environment.

print_manifest

Display a system manifest. Requires the Ignite package to be installed.

# /opt/ignite/bin/print_manifest


System Information

    Your Hewlett-Packard computer has software installed and 
    configured as follows.

    The system was created May 20, 2021, 17:24:40 EDT.
    It was created with Ignite-UX revision C.6.3.324.

-------------------------------------------------------------
NOTE: You should retain this information for future reference.
-------------------------------------------------------------


System Hardware

    Model:              9000/778/B160L    
    Main Memory:        1024 MB
    Processors:         1
    OS mode:            32 bit
    HW capability:      32 bit
    LAN hardware ID:    0x525400123456
    Software ID:        2006243326
    Keyboard Language:  PS2_DIN_UK_English_Euro

    Storage devices                  HW Path           Interface          
    QEMU QEMU CD-ROM                 8/0/0/0.2.0       SCSI C895 Fast Wide LVD 
    QEMU QEMU HARDDISK 12288 Mb      8/0/0/0.6.0       SCSI C895 Fast Wide LVD 

    I/O Interfaces 
    Class          H/W Path       Driver         Description             
    graphics       1              graph3         Graphics            
    ext_bus        8/0/0/0        c720           SCSI C895 Fast Wide LVD 
    lan            8/0/1/0        btlan          HP PCI 10/100Base-TX Core 
    tty            8/0/63         asio0          Built-in RS-232C    
    ext_bus        8/16/0         CentIf         Built-in Parallel Interface 
    tty            8/16/4         asio0          Built-in RS-232C    
    ps2            8/16/7         ps2            Built-in Keyboard/Mouse 


Installed Software

    Your system was installed with HP-UX version B.11.11.

    Your system has the following software products installed and 
    configured on the system disk drive(s).  

    Product          Revision          Description                             
    100BaseT-00      B.11.11.01        EISA 100BaseT;Supptd HW=A4308B;SW=J2780BA 
    100BaseT-01      B.11.11.01        HP-PB 100BaseT;Supptd HW=A3495A;SW=J2759BA 
    B6848BA          1.4.gm.46.9       Ximian GNOME 1.4 GTK+ Libraries for HP-UX 
    B8465BA          A.02.00.07        HP WBEM Services for HP-UX              
    B9073BA          B.11.11.07.01.00.00HP-UX iCOD (Instant Capacity)           
    B9788AA          1.3.1.16.00       Java2 1.3 SDK for HP-UX                 
    B9789AA          1.3.1.16.00       Java2 1.3 RTE for HP-UX                 
    BUNDLE11i        B.11.11.0306.1    Required Patch Bundle for HP-UX 11i, June 2003 
    Base-VXVM        B.03.50.5         Base VERITAS Volume Manager Bundle 3.5 for HP-UX 
    CDE-ChineseS     B.11.11.0412      Simplified Chinese CDE Environment      
    CDE-ChineseT     B.11.11.0412      Traditional Chinese CDE Environment     
    CDE-English      B.11.11.0412      English CDE Environment                 
    CDE-French       B.11.11.0412      French CDE Environment                  
    CDE-German       B.11.11.0412      German CDE Environment                  
    CDE-Italian      B.11.11.0412      Italian CDE Environment                 
    CDE-Japanese     B.11.11.0412      Japanese CDE Environment                
    CDE-Korean       B.11.11.0412      Korean CDE Environment                  
    CDE-Spanish      B.11.11.0412      Spanish CDE Environment                 
    CDE-Swedish      B.11.11.0412      Swedish CDE Environment                 
    FDDI-00          B.11.11.02        PCI FDDI;Supptd HW=A3739A/A3739B;SW=J3626AA 
    FEATURE11-11     B.11.11.0209.5    Feature Enablement Patches for HP-UX 11i, Sept 2002 
    FibrChanl-00     B.11.11.12        PCI/HSC FibreChannel;Supptd HW=A6684A,A6685A,A5158A,A6795A 
    GigEther-00      B.11.11.19        PCI/HSC GigEther;Supptd HW=A4926A/A4929A/A4924A/A4925A;SW=J1642AA 
    HPUXBase32       B.11.11           HP-UX 32-bit Base OS                    
    HPUXBaseAux      B.11.11.0509      HP-UX Base OS Auxiliary                 
    HWEnable11i      B.11.11.0509.430  Hardware Enablement Patches for HP-UX 11i v1, September 2005 
    ISEEPlatform     A.03.95.021       ISEE Platform                           
    J4269AA          B.04.00.02        LDAP-UX Integration                     
    Java15JDK        1.5.0.01.01       Java 1.5 JDK for HP-UX                  
    Java15JDKadd     1.5.0.01.01       Java 1.5 JDK -AA addon for HP-UX        
    Java15JRE        1.5.0.01.01       Java 1.5 JRE for HP-UX                  
    Java15JREadd     1.5.0.01.01       Java 1.5 JRE -AA addon for HP-UX        
    MOZILLA          1.7.8.00.00       Mozilla 1.78 for HP-UX                  
    MOZILLAsrc       1.7.8.00.00       Mozilla 1.78 Source distribution        
    NPar             B.11.11.01.04.01.01nPartition Provider - HP-UX             
    NParCmds         A.01.02           Enhanced NPartition Commands            
    OnlineDiag       B.11.11.16.09     HPUX 11.11 Support Tools Bundle, Sep 2005 
    OpenSSL          A.00.09.07e.012   Secure Network Communications Protocol  
    ParMgr           B.11.11.02.00.05.03Partition Manager - HP-UX               
    SysMgmtWeb       A.2.2.0.4         HP-UX Web Based System Management User Interfaces 
    T1455AA          1.3.1.16.00       Java2 1.3 Mozilla Plugin for HP-UX      
    T1456AA          1.4.2.09.02       Java2 1.4 SDK for HP-UX                 
    T1456AAaddon     1.4.2.09.02       Java2 1.4 SDK -AA addon for HP-UX       
    T1457AA          1.4.2.09.02       Java2 1.4 RTE for HP-UX                 
    T1457AAaddon     1.4.2.09.02       Java2 1.4 RTE -AA addon for HP-UX       
    T1458AA          1.4.2.09.02       Java2 1.4 Netscape Plugin for HP-UX     
    T1471AA          A.04.00.002       HP-UX Secure Shell                      
    hpuxwsApache     A.2.0.54.01       HP-UX Apache-based Web Server           
    hpuxwsTomcat     A.5.5.9.01        HP-UX Tomcat-based Servlet Engine       
    hpuxwsWebmin     A.1.070.04        HP-UX Webmin-based Admin                
    hpuxwsXml        A.2.00            HP-UX XML Web Server Tools              
    perl             D.5.8.3.B         Perl Programming Language               
    vparprovider     B.11.11.01.01     vPar Provider - HP-UX                   


LVM File System Configuration

    This system is configured with Logical Volume Manager (LVM) file systems.
    Refer to the File System layout section for information on the LVM layout.


JFS File System Configuration

    This system is configured with a Journaled File System (referred to  
    as either JFS or VXFS).  Refer to the File System layout section for
    information on JFS/VXFS file systems.


Disk layout

    LVM disk                   Device file        HW Addr      size   vol. grp
    QEMU QEMU HARDDISK         /dev/dsk/c0t6d0    8/0/0/0.6.0  12288  /dev/vg00


File System layout

    LVM Device file            mount point     size  fs type
    /dev/vg00:                                            
    /dev/vg00/lvol1            /stand          300   hfs  
    /dev/vg00/lvol2            swap            2048       
    /dev/vg00/lvol3            /               200   vxfs 
    /dev/vg00/lvol4            /tmp            200   vxfs 
    /dev/vg00/lvol5            /home           20    vxfs 
    /dev/vg00/lvol6            /opt            2432  vxfs 
    /dev/vg00/lvol7            /usr            2228  vxfs 
    /dev/vg00/lvol8            /var            2548  vxfs 
    /dev/vg00                  unallocated     2304       


Swap configuration

    type       size  priority  device/location
    dev        2048     1      /dev/vg00/lvol2


Kernel Configuration

    The following drivers or parameters are configured into your system's
    kernel.  After installing HP-UX, use the sam(1m) command to configure
    the following items into the kernel:
	default_disk_ir             1
	STRMSGSZ                65535
	nstrpty                    60
	maxswapchunks            1024


System Information

    The following parameters were set on the configured target:
	hostname:           qemuhpux.home
	IP address:         10.0.2.15
	subnet mask:        255.255.255.0
	gateway IP address: 10.0.2.2
	time zone:          GMT0BST
	DNS domain name:    home
	DNS IP address:     10.0.2.3
	DNS IP address:     192.168.1.254

Tons of information here, including the QEMU fingerprint on the disk drive hardware information.

cstm

The console version of the Support Tools Manager. Here a little script is used to log the reported information to a file:

> echo 'map selall info; wait infolog' | cstm > cstm_info.log

Then looking at the output:

> more cstm_info.log
Running Command File (/usr/sbin/stm/ui/config/.stmrc).

-- Information --
Support Tools Manager


Version A.49.10

Product Number B4708AA

(C) Copyright Hewlett Packard Co. 1995-2005
All Rights Reserved

Use of this program is subject to the licensing restrictions described
in "Help-->On Version".  HP shall not be liable for any damages resulting
from misuse or unauthorized use of this program.

cstm>map selall info; wait infolog
                                  qemuhpux.home

  Dev                                                 Last        Last Op      
  Num  Path                 Product                   Active Tool Status       
  ===  ==================== ========================= =========== =============
    1  1                    Graphics Interface (Artis Information Warning      
    2  8                    Bus Adapter (504)         Information Successful   
    3  8/0                  PCI Bus Adapter (680)     Information Successful   
    4  8/0/0/0              PCI SCSI Interface (10000 Information Successful   
    5  8/0/0/0.2.0          Optical Storage Device (Q Information Warning      
    6  8/0/0/0.6.0          SCSI Disk (QEMUQEMU)      Information Incomplete   
    7  8/0/1/0              Core PCI 100BT Interface  Information Successful   
    8  8/0/63               RS-232 Interface (220008a Information Successful   
    9  8/16                 Core I/O Adapter (3d)     Information Successful   
   10  8/16/0               Centronics Interface (3d) Information Successful   
   11  8/16/4               RS-232 Interface (3d)     Information Successful   
   12  8/16/7               Built-in Keyboard/Mouse ( Information Successful   
   13  48                   CPU (502)                 Information Successful   
   14  63                   MEMORY (67)               Information Successful   
-- Converting multiple raw log files to text. --
Preparing the Information Tool Log for each selected device...

.... qemuhpux.home  :  10.0.2.15 .... 

-- Information Tool Log for Graphics Interface on path 1 --

Log creation time: Fri May 21 13:07:08 2021

Hardware path: 1


Model: Not Available 

Product Number: Not Available 

Use the "graphinfo" command for more information.

=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=

-- Information Tool Log for Bus Adapter on path 8 --

Log creation time: Fri May 21 13:07:07 2021

Hardware path: 8


Product ID:                Bus Adapter
Hardware Path:             8
Module Type:               Bus Converter Port
Hardware Model:            0x504
Hardware Revision Number:  0
Software Revision Number:  0
Software Model Number:     0
Software Option:           0
Hard Physical Address:     0xffc00000
Slot Number:               0
IODC Revision:             0

=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=

-- Information Tool Log for PCI Bus Adapter on path 8/0 --

Log creation time: Fri May 21 13:07:07 2021

Hardware path: 8/0


Product ID:                PCI Bus Adapter
Hardware Path:             8/0
Module Type:               Foreign Bus Bridge 
Hardware Model:            0x680
Hardware Revision Number:  0x3
Software Revision Number:  0
Software Model Number:     0xa
Software Option:           0
Hard Physical Address:     0xfff80000
Slot Number:               0
IODC Revision:             0

=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=

-- Information Tool Log for PCI SCSI Interface on path 8/0/0/0 --

Log creation time: Fri May 21 13:07:12 2021

Hardware path: 8/0/0/0


Product ID:                PCI SCSI Interface
Device ID:                 0x0012      
Revision ID                0000        
Vendor ID:                 0x1000  ( Symbios Logic Inc.)
Class Code:                0x010000
  Base Class:              0x01 ( Mass Storage Controller. )
  Sub-Class/Interface:     00/00  ( SCSI bus controller )
Device Status:             0000        
Subsystem ID:              0x1000      

=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=

-- Information Tool Log for Optical Storage Device on path 8/0/0/0.2.0 --

Log creation time: Fri May 21 13:07:13 2021

Hardware path: 8/0/0/0.2.0


Product Id:       QEMU CD-ROM       Vendor:           QEMU    
Device Type:      Optical Storage Device  Firmware Rev:     2.5+
Device Qualifier: QEMUQEMU          Logical Unit:     0
Serial Number:    N/A
Capacity (M Byte):          N/A 
   Block Size:              N/A 
   Max Block Address:       N/A
Error Logs  
   Read Errors:              N/A    Buffer Overruns:        N/A    
   Read Reverse Errors:      N/A    Buffer Underruns:       N/A    
   Write Errors:             N/A    Non-Medium Errors:      N/A    
   Verify Errors:            N/A

=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=

-- Information Tool Log for SCSI Disk on path 8/0/0/0.6.0 --

Log creation time: Fri May 21 13:07:14 2021

Hardware path: 8/0/0/0.6.0


The selected device is not supported by this tool.
Inaccurate information could be displayed by the tool. 

Product Id:       QEMU HARDDISK     Vendor:           QEMU    
Device Type:      SCSI Disk         Firmware Rev:     2.5+ 
Device Qualifier: QEMUQEMU          Logical Unit:     0 
Serial Number:    N/A
Capacity (M Byte):          12288.00 
   Block Size:              512 
   Max Block Address:       25165823 
Error Logs  
   Total Retries:            N/A    Buffer Overruns:        N/A    
   Read Reverse Errors:      N/A    Buffer Underruns:       N/A    
   Write Errors:             N/A    Non-Medium Errors:      N/A    
   Verify Errors:            N/A

=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=

-- Information Tool Log for Core PCI 100BT Interface on path 8/0/1/0 --

Log creation time: Fri May 21 13:07:19 2021

Hardware path: 8/0/1/0


Product ID:                Core PCI 100BT Interface
Device ID:                 0x0019      
Revision ID                0000        
Vendor ID:                 0x1011  ( Digital Equipment Corporation )
Class Code:                0x020000
  Base Class:              0x02 ( Network Controller. )
  Sub-Class/Interface:     00/00  ( Ethernet controller )
Device Status:             0000        
Subsystem Vendor ID:       0x103c      
Subsystem ID:              0x104f      

=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=

-- Information Tool Log for RS-232 Interface on path 8/0/63 --

Log creation time: Fri May 21 13:07:19 2021

Hardware path: 8/0/63


Product ID:                RS-232 Interface
Hardware Path:             8/0/63
Module Type:               Foreign I/O Module
Hardware Model:            0x22
Hardware Revision Number:  0
Software Revision Number:  0
Software Model Number:     0x8c
Software Option:           0
Slot Number:               0
IODC Revision:             0

=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=

-- Information Tool Log for Core I/O Adapter on path 8/16 --

Log creation time: Fri May 21 13:07:21 2021

Hardware path: 8/16


Product ID:                Core I/O Adapter
Hardware Path:             8/16
Module Type:               Bus Adapter
Hardware Model:            0x3d
Hardware Revision Number:  0
Software Revision Number:  0
Software Model Number:     0x81
Software Option:           0
Hard Physical Address:     0xffd00000
Soft Physical Address:     0xffd0c000
Slot Number:               0
IODC Revision:             0

=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=

-- Information Tool Log for Centronics Interface on path 8/16/0 --

Log creation time: Fri May 21 13:07:22 2021

Hardware path: 8/16/0


Product ID:                Centronics Interface
Hardware Path:             8/16/0
Module Type:               Foreign I/O Module
Hardware Model:            0x3d
Hardware Revision Number:  0
Software Revision Number:  0
Software Model Number:     0x74
Software Option:           0
Hard Physical Address:     0xffd02000
Soft Physical Address:     0xffd01000
Slot Number:               0
IODC Revision:             0

=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=

-- Information Tool Log for RS-232 Interface on path 8/16/4 --

Log creation time: Fri May 21 13:07:25 2021

Hardware path: 8/16/4


Product ID:                RS-232 Interface
Hardware Path:             8/16/4
Module Type:               Foreign I/O Module
Hardware Model:            0x3d
Hardware Revision Number:  0
Software Revision Number:  0
Software Model Number:     0x8c
Software Option:           0
Hard Physical Address:     0xffd05000
Slot Number:               1
IODC Revision:             0x1

=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=

-- Information Tool Log for Built-in Keyboard/Mouse on path 8/16/7 --

Log creation time: Fri May 21 13:07:25 2021

Hardware path: 8/16/7


Product ID:                Built-in Keyboard/Mouse
Hardware Path:             8/16/7
Module Type:               Foreign I/O Module
Hardware Model:            0x3d
Hardware Revision Number:  0
Software Revision Number:  0
Software Model Number:     0x84
Software Option:           0
Hard Physical Address:     0xffd08000
Slot Number:               2
IODC Revision:             0

=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=

-- Information Tool Log for CPU on path 48 --

Log creation time: Fri May 21 13:07:29 2021

Hardware path: 48


Product ID:                CPU          Module Type:              0
Hardware Model:            0x502        Software Model:           0x4         
Hardware Revision:         0            Software Revision:        0           
Hardware ID:               0            Software ID:              2006243326  
Boot ID:                   0x2020202    Software Option:          0x81        
Processor Number:          0            Path:                     48          
Hard Physical Address:     0xfffb0000   Soft Physical Address:    0           
Slot Number:               12           Software Capability:      0x100000f0
PDC Firmware Revision:        0.8       IODC Revision:            0
Instruction Cache [Kbyte]: 0            Processor Speed:          N/A
Processor State:           Active
Data Cache        [Kbyte]: 0           
Instruction TLB   [entry]: 256          Processor Chip Revisions: 35
Data TLB Size     [entry]: 256          2nd Level Cache Size:[KB] N/A
Serial Number:             N/A         
Processor PIM Information: Not Supported by this computer system 


=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=-+-=

-- Information Tool Log for MEMORY on path 63 --

Log creation time: Fri May 21 13:07:29 2021

Hardware path: 63


Basic Memory Description

    Module Type: MEMORY
    Total Physical Memory     : 0 MB
    Total Configured Memory   : 0 MB
    Page Size: 4096 Bytes

    Memory interleaving is not supported on this machine.

Memory Board Inventory 
 
                  Total Phys  Configured  Disabled   
    Board         Size (MB)   Total (MB)  Total (MB) 
    ------------  ----------  ----------  ----------
                  ----------  ----------  ---------- 
   System Total:           0           0           0  

Memory Controller Inventory 
 
    Hard        Hardware  Hardware  Software  Software 
    Physical    Model     Revision  Model     Revision  Software  IODC 
    Address     Number    Number    Number    Number    Option    Revision 
    ----------  --------  --------  --------  --------  --------  --------
    0xfffbf000      0x67         0       0x9         0         0         0

Bank Inventory 
 
                                                                      Inter
    Log.  Phys                Size                                    leave
    Bank  Bank  Board         (MB)  Disabled?  SPA Range (Hex)        Group
    ----  ----  ------------  ----  ---------  ---------------------  -----

    Memory interleaving is not supported on this machine.

SPA - Page Map 
 
    SPA Range (Hex)        Corresponding Pages
    ---------------------  --------------------------

Memory Error Log Summary 

    The memory error log is empty.

Page Deallocation Table (PDT)

    This machine is not designed to have a Page Deallocation Table.
-- 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] #.

STM reports quite a bit of information on the devices, and again we see the QEMU fingerprint. The memory information looks a bit strange here, but the system is managing to see and use the memory.

Benchmark

So how does this machine perform?

BogoMips

The BogoMips (Wikipedia) pseudo-benchmark has a behavior where the score is related to the processor clock speed, and has an easily available collection of results from a range of systems (see BogoMips mini-Howto). Based on recorded results found online, the PA7300LC used in the B160L typically gives BogoMips results that are about equal to the processor clock speed (in MHz). So on a real HP Visualize B160L, which has a PA7300LC running at 160 Mhz, the expected BogoMips is around 160.

So what are the scores from the standalone BogoMips program:

Calibrating delay loop.. ok - 68.00 BogoMips
Calibrating delay loop.. ok - 58.00 BogoMips
Calibrating delay loop.. ok - 62.00 BogoMips
Calibrating delay loop.. ok - 62.00 BogoMips
Calibrating delay loop.. ok - 64.00 BogoMips

So taking the median as the score, that would be 62.00 BogoMips. Taking the upper figure into account, the processor clock speed equivalent looks to be approx. 70.0 MHz.

OpenSSL

The OpenSSL library of cryptographic methods provides a means to test the performance of the methods. Using this we can get a feel for the computational performance of a system, and comparisons with real hardware and other emulations can show how well a particular emulation performs. Since we are mainly interested in old hardware, we'll test using two of the older methods: MD5 and RSA.

First Message Digest 5 (MD5) (Wikipedia):

$ openssl speed md5 
Doing md5 for 3s on 16 size blocks: 62187 md5's in 2.72s
Doing md5 for 3s on 64 size blocks: 57001 md5's in 2.80s
Doing md5 for 3s on 256 size blocks: 47295 md5's in 2.58s
Doing md5 for 3s on 1024 size blocks: 40640 md5's in 2.82s
Doing md5 for 3s on 8192 size blocks: 13118 md5's in 2.71s
OpenSSL 0.9.7e 25 Oct 2004
built on: Tue Jan 25 15:26:40 IST 2005
options:bn(64,32) md2(int) rc4(ptr,int) des(ptr,risc1,16,long) aes(partial) blowfish(idx) 
compiler: cc +Z -DZLIB -DOPENSSL_THREADS -DDSO_DL -DOPENSSL_NO_KRB5 -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA +DA1.1 -Wl,+nodefaultrpath -DB_ENDIAN -DBN_DIV2W -DMD32_XARRAY -Ae +ESlit +O1 -z
available timing options: TIMES TIMEB HZ=100 [sysconf value]
timing function used: times
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
md5                365.81k     1302.88k     4692.84k    14757.22k    39654.12k

And then RSA (Rivest–Shamir–Adleman) (Wikipedia):

$ openssl speed rsa 
Doing 512 bit private rsa's for 10s: 40 512 bit private RSA's in 9.10s
Doing 512 bit public rsa's for 10s: 422 512 bit public RSA's in 9.06s
Doing 1024 bit private rsa's for 10s: 7 1024 bit private RSA's in 9.60s
Doing 1024 bit public rsa's for 10s: 123 1024 bit public RSA's in 9.10s
Doing 2048 bit private rsa's for 10s: 2 2048 bit private RSA's in 17.73s
Doing 2048 bit public rsa's for 10s: 34 2048 bit public RSA's in 9.12s
Doing 4096 bit private rsa's for 10s: 1 4096 bit private RSA's in 61.75s
Doing 4096 bit public rsa's for 10s: 9 4096 bit public RSA's in 8.68s
OpenSSL 0.9.7e 25 Oct 2004
built on: Tue Jan 25 15:26:40 IST 2005
options:bn(64,32) md2(int) rc4(ptr,int) des(ptr,risc1,16,long) aes(partial) blowfish(idx) 
compiler: cc +Z -DZLIB -DOPENSSL_THREADS -DDSO_DL -DOPENSSL_NO_KRB5 -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA +DA1.1 -Wl,+nodefaultrpath -DB_ENDIAN -DBN_DIV2W -DMD32_XARRAY -Ae +ESlit +O1 -z
available timing options: TIMES TIMEB HZ=100 [sysconf value]
timing function used: times
                  sign    verify    sign/s verify/s
rsa  512 bits   0.2275s   0.0215s      4.4     46.6
rsa 1024 bits   1.3714s   0.0740s      0.7     13.5
rsa 2048 bits   8.8650s   0.2682s      0.1      3.7
rsa 4096 bits  61.7500s   0.9644s      0.0      1.0

Extracting the relevant figures for comparisons (see OpenSSL Speed Results):

  • OpenSSL speed MD5 8,192 bytes: 39,654.12k
  • OpenSSL speed RSA 4,096 bytes sign/s: 0.0
  • OpenSSL speed RSA 4,096 bytes verify/s: 1.0

These provide a rough idea of computational workload performance for this particular machine.

Thoughts

The QEMU PA-RISC emulation can run HP-UX, and appears suitable for hobbyist usage. Single processor performance seems to be a little on the low side, but the emulated system does support the use of multiple processors which helps with multi-process or multi-threaded workloads.

Further Sources


No comments: