OpenBoot 3.x Command Reference Manual

Appendix G Sun Ultra 250 UPA/PCI System

This appendix describes information that is different in this PCI-bus-based system than that in an Sbus-based Sun system.

Banner Command Output

The output of the banner command appears as follows, indicating that it is a PCI-based system.


ok banner
Sun (TM) Enterprise 250 UPA/PCI (UltraSPARC-II 296MHz), No Keyboard
OpenBoot 3.7, 128 MB memory installed, Serial #8941639.
Ethernet address 8:0:20:88:70:47, Host ID: 80887047.

Generic Names

Note that the output of the show-devs command shows some PCI- based nodes. PCI-based systems use generic names for devices. That is, the on-board network is named "network", and internal disks are named "diskn", with n representing the scsi target number for that disk, ("disk" with no number refers to "disk0"). Plug in PCI cards with their own FCode PROM may or may not be using generic names.

For details on generic names, see Recommended Practices available on the homepage for the Open Firmware Working Group at: http://playground.sun.com


ok show-devs
/SUNW,UltraSPARC-II@0,0
/mc@0,0
/rsc
/pci@1f,2000
/pci@1f,4000
/counter-timer@1f,1c00
/associations
/virtual-memory
/memory@0,0
/aliases
/options
/openprom
/chosen
/packages
/mc@0,0/bank@0,60000000
/mc@0,0/bank@0,40000000
/mc@0,0/bank@0,20000000
/mc@0,0/bank@0,0
/mc@0,0/bank@0,0/dimm@0,3
/mc@0,0/bank@0,0/dimm@0,2
/mc@0,0/bank@0,0/dimm@0,1
/mc@0,0/bank@0,0/dimm@0,0/pci@1f,4000/scsi@3,1 
/pci@1f,4000/scsi@3
/pci@1f,4000/network@1,1
/pci@1f,4000/ebus@1
/pci@1f,4000/scsi@3,1/tape
/pci@1f,4000/scsi@3,1/disk
/pci@1f,4000/scsi@3/tape
/pci@1f,4000/scsi@3/disk
/pci@1f,4000/ebus@1/SUNW,envctrltwo@14,600000
/pci@1f,4000/ebus@1/flashprom@10,0
/pci@1f,4000/ebus@1/eeprom@14,0
/pci@1f,4000/ebus@1/fdthree@14,3023f0
/pci@1f,4000/ebus@1/ecpp@14,3043bc
/pci@1f,4000/ebus@1/su@14,3062f8
/pci@1f,4000/ebus@1/su@14,3083f8
/pci@1f,4000/ebus@1/se@14,200000
/pci@1f,4000/ebus@1/se@14,400000
/pci@1f,4000/ebus@1/sc@14,500000
/pci@1f,4000/ebus@1/SUNW,pll@14,504000
/pci@1f,4000/ebus@1/power@14,724000
/pci@1f,4000/ebus@1/auxio@14,726000


/associations/slot2dev
/associations/slot2disk
/openprom/client-services
/packages/obdiag
/packages/disk-label
/packages/obp-tftp
/packages/deblocker
/packages/terminal-emulator

SCSI Internal Busses

For Ultra 250 systems, there are two internal SCSI busses. The device "scsi" refers to the internal SCSI I/O bus for internal disk.

The following shows the output of a devalias command on a Sun Ultra 250 UPA/PCI system.


ok  devalias
disk5                    /pci@1f,4000/scsi@3/disk@c,0
disk4                    /pci@1f,4000/scsi@3/disk@b,0
disk3                    /pci@1f,4000/scsi@3/disk@a,0
disk2                    /pci@1f,4000/scsi@3/disk@9,0
disk1                    /pci@1f,4000/scsi@3/disk@8,0
disk0                    /pci@1f,4000/scsi@3/disk@0,0
disk                     /pci@1f,4000/scsi@3/disk@0,0
scsi                     /pci@1f,4000/scsi@3
cdrom                    /pci@1f,4000/scsi@3/disk@6,0:f
tape                     /pci@1f,4000/scsi@3/tape@4,0
pcia                     /pci@1f,2000
pcib                     /pci@1f,4000
pci0                     /pci@1f,4000
flash                    /pci@1f,4000/ebus@1/flashprom@10,0
nvram                    /pci@1f,4000/ebus@1/eeprom@14,0
parallel                 /pci@1f,4000/ebus@1/ecpp@14,3043bc
net                      /pci@1f,4000/network@1,1
ebus                     /pci@1f,4000/ebus@1
i2c                      /pci@1f,4000/ebus@1/SUNW,envctrltwo
floppy                   /pci@1f,4000/ebus@1/fdthree
tty                      /pci@1f,4000/ebus@1/se@14,400000
ttya                     /pci@1f,4000/ebus@1/se@14,400000:a
ttyb                     /pci@1f,4000/ebus@1/se@14,400000:b
rscctl                   /pci@1f,4000/ebus@1/se@14,200000:sspctl
rsc                      /pci@1f,4000/ebus@1/se@14,200000:ssp
ttyc                     /pci@1f,4000/ebus@1/se@14,200000:ssp
ttyd                     /pci@1f,4000/ebus@1/se@14,200000:sspctl
keyboard!                /pci@1f,4000/ebus@1/su@14,3083f8:forcemode
keyboard                 /pci@1f,4000/ebus@1/su@14,3083f8
mouse                    /pci@1f,4000/ebus@1/su@14,3062f8
name                     aliases

.properties for a PCI Device

When you look at properties for a device node of a PCI device, you will see a few properties that are unique to PCI devices and a few properties that have a different format than that of a SBus device. For example, the output of .properties for a PCI device:


ok cd /pci@1f,4000/scsi@3
ok .properties
target6-scsi-options     00 00 05 f8 
target5-scsi-options     00 00 05 f8 
target4-scsi-options     00 00 05 f8 
target3-scsi-options     00 00 05 f8 
target2-scsi-options     00 00 05 f8 
target1-scsi-options     00 00 05 f8 
latency-timer            00000011 
assigned-addresses       81001810 00000000 00000400 00000000 00000100 
                         82001814 00000000 00010000 00000000 00000100 
                         82001818 00000000 00011000 00000000 00001000 
device_type              scsi-2
fru                      motherboard
clock-frequency          02625a00 
reg                      00001800 00000000 00000000 00000000 00000000 
                         01001810 00000000 00000000 00000000 00000100 
                         02001814 00000000 00000000 00000000 00000100 
                         02001818 00000000 00000000 00000000 00001000 
model                    Symbios,53C875
compatible               70 63 69 31 30 30 30 2c 66 00 67 6c 6d 00 70 63 
name                     scsi
devsel-speed             00000001 
class-code               00010000 
interrupts               00000020 
max-latency              00000040 
min-grant                00000011 
revision-id              00000014 
device-id                0000000f 
vendor-id                00001000

The following example shows generic names for devices under /pci@1f,4000/scsi@3:


ok ls
f008bc60 tape
f007a51c disk

.speed Command

The command .speed shows the speed for both processors and busses attached to the system, as follows:


ok .speed
CPU  Speed : 296.00MHz
UPA  Speed : 098.66MHz
PCI  Bus A at UPA node 1f: 66Mhz
PCI  Bus B at UPA node 1f: 33Mhz

Probing of Slots For PCI Busses

The Sun Ultra 250 UPA/PCI system has four PCI plug-in slots, distributed across a single PCI bus. Probing of slots for those busses is controlled by the following two NVRAM configuration variables:

Table G-1 NVRAM Configuration Variables

Variable Name 

Default Value 

Description 

pci0-probe-list

3 ,2, 4, 5 

Controls probe order of plug-in devices under pcio

pci-slot-skip-list

none 

Controls skipping of PCI plug-in slots 

pci0-probe-list specifies the device probe order on the "B" bus of the 1F PCI Controller. Device 3 is the motherboard 876 UltraSCSI bus (internal disks), while devices 2, 4, and 5 are open 33MHz 32-bit slots for plug-in cards.

pci-slot-skip-list is a list (0 to 3) of PCI slots that should not be probed. The values "0" to "3" correspond to the backpanel PCI slots, from bottom to top.

The Ultra 250 systems provide 4 PCI plug-in slots, numbered from 0 to 3, bottom-to-top (accessible and labeled from the back of the system).:

Table G-2 PCI Plug-in Slots

PCI Slot 

PCI Bus PCI Device 

Width 

 

Speed 

pci0

/pci@1f,2000/xxx@1

 32 bit

33 MHz 

pci0

 /pci@1f,4000/xxx@2 32 bit

33 MHz 

pci0

 /pci@1f,4000/xxx@4 32 bit

33 MHz  

 0pci0 /pci@1f,4000/xxx@5 32 bit

33MHz 

where the xxx will correspond to the particular PCI card plugged into that slot. For example, plugging an 875/glm SCSI controller card into slot 0 will yield /pci@1f,4000/scsi@5, while plugging an 876 dual-SCSI card into slot 3 will yield two separate "devices" /pci@1f,2000/scsi@1 and /pci@1f,2000/scsi@1,1.

Probe SCSI Command

The following is a sample output of the probe-scsi command showing the two internal SCSI busses.


ok probe-scsi
This command may hang the system if a Stop-A or halt command
has been executed.  Please type reset-all to reset the system 
before executing this command. 
Do you wish to continue? (y/n) y
Target 8 
  Unit 0   Disk     SEAGATE ST32171W SUN2.1G8254