OpenBoot 3.x Command Reference Manual

Appendix H Sun Ultra 450 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 Ultra 450 (3 X UltraSPARC-II 248MHz), Keyboard Present
OpenBoot 3.5,  256 MB memory installed, Serial #8525185
Ethernet address 8:0:20:82:a5:81, Host ID: 80821581

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/1275


ok show-devs
/pci@6,2000
/pci@6,4000
/pci@4,2000
/pci@4,4000
/SUNW,ffb@1d,0
/SUNW,UltraSPARC-II@1,0
/mc@0,0
/pci@1f,2000
/pci@1f,4000
/counter-timer@1f,1c00
/associations
/virtual-memory
/memory@0,0
/aliases
/options
/openprom
/chosen
/packages
/pci@6,4000/scsi@4,1
/pci@6,4000/scsi@4
/pci@6,4000/scsi@3,1
/pci@6,4000/scsi@3
/pci@6,4000/scsi@4,1/tape     
/pci@6,4000/scsi@4,1/disk
/pci@6,4000/scsi@4/tape
/pci@6,4000/scsi@4/disk
/pci@6,4000/scsi@3,1/tape
/pci@6,4000/scsi@3,1/disk
/pci@6,4000/scsi@3/tape
/pci@6,4000/scsi@3/disk
/mc@0,0/bank@0,c0000000
/mc@0,0/bank@0,80000000
/mc@0,0/bank@0,40000000
/mc@0,0/bank@0,0
/mc@0,0/bank@0,40000000/dimm@0,3
/mc@0,0/bank@0,40000000/dimm@0,2
/mc@0,0/bank@0,40000000/dimm@0,1
/mc@0,0/bank@0,40000000/dimm@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@2
/pci@1f,4000/scsi@3
/pci@1f,4000/network@1,1
/pci@1f,4000/ebus@1           
/pci@1f,4000/scsi@2/tape
/pci@1f,4000/scsi@2/disk
/pci@1f,4000/scsi@3/tape
/pci@1f,4000/scsi@3/disk
/pci@1f,4000/ebus@1/SUNW,CS4231@14,200000
/pci@1f,4000/ebus@1/SUNW,envctrl@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,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/slot2led
/associations/slot2disk
/openprom/client-services
/packages/obdiag
/packages/disk-label          
/packages/obp-tftp
/packages/deblocker
/packages/terminal-emulator

SCSI Internal Busses

For Ultra 450 systems, there are two internal SCSI busses. The device "scsi" refers to the internal SCSI I/O bus for internal disks, while device "scsix" refers to the removeable-media and external (connector on back panel) internal SCSI bus.

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


ok
 devalias
screen                   /SUNW,ffb@1d,0
disk                     /pci@1f,4000/scsi@3/disk@0,0
disk0                    /pci@1f,4000/scsi@3/disk@0,0
disk1                    /pci@1f,4000/scsi@3/disk@1,0
disk2                    /pci@1f,4000/scsi@3/disk@2,0
disk3                    /pci@1f,4000/scsi@3/disk@3,0
scsi                     /pci@1f,4000/scsi@3
diskx0                   /pci@1f,4000/scsi@2/disk@0,
diskx1                   /pci@1f,4000/scsi@2/disk@1,0
diskx2                   /pci@1f,4000/scsi@2/disk@2,0
diskx3                   /pci@1f,4000/scsi@2/disk@3,0
cdrom                    /pci@1f,4000/scsi@2/disk@6,0:f
tape                     /pci@1f,4000/scsi@2/tape@4,0
scsix                    /pci@1f,4000/scsi@2
pci                      /pci@1f,4000
pcia                     /pci@1f,2000
pcib                     /pci@1f,4000
pci0                     /pci@1f,4000
pci1                     /pci@1f,2000
pci2                     /pci@4,4000
pci3                     /pci@4,2000
pci4                     /pci@6,4000
pci5                     /pci@6,2000
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,envctrl
floppy                   /pci@1f,4000/ebus@1/fdthree
tty                      /pci@1f,4000/ebus@1/se
ttyb                     /pci@1f,4000/ebus@1/se:b
ttya                     /pci@1f,4000/ebus@1/se:a
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

.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
interrupts           00000020 
assigned-addresses   81001810 00000000 00000400 00000000 00000100 
                     82001814 00000000 00010000 00000000 00000100 
                     82001818 00000000 00011000 00000000 00001000 
device_type          scsi-2
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           glm
name                 scsi
devsel-speed         00000001 
class-code           00010000 
max-latency          00000040 
min-grant            00000011 
revision-id          00000003 
device-id            0000000f 
vendor-id            00001000 

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


ok ls
f00809d8 tape
f007ecdc disk

.speed Command

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


ok .speed
CPU  Speed : 248.00MHz
UPA  Speed : 082.66MHz
PCI  Bus A at UPA node 1f: 66Mhz
PCI  Bus B at UPA node 1f: 33Mhz
PCI  Bus A at UPA node  6: 66Mhz
PCI  Bus B at UPA node  6: 33Mhz
PCI  Bus A at UPA node  4: 66Mhz
PCI  Bus B at UPA node  4: 33Mhz

Probing of Slots For PCI Busses

The Sun Ultra 450 UPA/PCI system has ten PCI plug-in slots, distributed across six PCI busses, called pci0 to pci5; probing of slots for those busses is controlled by the following two NVRAM configuration variables:

Table H-1 NVRAM Configuration Variables

Variable Name 

Default Value 

Description 

pcio-probe-list

3 ,2, 4 

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 875 UltraSCSI bus (internal disks), device 2 is the motherboard 875 for removeable media and backpanel external connections (two motherboard 875 chips), while device 4 is an open 33MHz 32-bit slot for plug-in cards.

The remaining 5 PCI busses (pci1 to pci5) probe device slots in ascending numerical order, which order cannot be changed.

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

The Ultra 450 systems provide 10 PCI plug-in slots, numbered from 1 to 10, bottom-to-top (accessible and labeled from the back of the system). The 10 PCI slots correspond to the six PCI busses as follows:

Table H-2

PCI Slot 

PCI Bus  

PCI Device 

Width 

Speed 

10 

pci0

/pci@1f,4000/xxx@4

32 Bit 

33 MHz 

pci2

/pci@4,4000/xxx@2

32 Bit 

33 MHz 

8  

pci2

/pci@4,4000/xxx@3

32 Bit 

33 MHz  

pci2

/pci@4,4000/xxx@4

64 Bit 

33MHz 

pci3

/pci@4,2000/xxx@1

64 Bit 

66MHz 

pci1

/pci@1f,2000/xxx@1

64Bit 

66MHz 

pci5

/pci@6,2000/xxx@1

64 Bit 

66MHz 

pci4

/pci@6,4000/xxx@2

64 Bit 

33MHz 

pci4

/pci@6,4000/xxx@3

64 Bit 

33MHz 

pci4

/pci@6,4000/xxx@4

64 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 8 will yield/pci@4,4000/scsi@3,while plugging an 876 dual-SCSI card into slot 5 will yield two separate "devices" /pci@1f,2000/scsi@1 and /pci@1f,2000/scsi@1,1. Inserting a PCI-to-PCI card (such as used for a PCI bus expansion box, or as used on some multi-function PCI cards like the Sun Swift PCI card) into slot 4 will yield a device name /pci@6,2000/pci@1, and will subsequently have further devices created "underneath" this node, such as /pci@6,2000/pci@1/SUNW,hme@0,1.

Some of these slots are unavailable if certain graphics options are plugged-in. For example, installing the second FFB graphics card will occupy the physical space of PCI slots 10, 9, and 8. Other graphics options may use up the space occupied by PCI slots 10 to 4.

Probe SCSI Command

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


ok probe-scsi
Primary UltraSCSI bus:
Target 0 
  Unit 0   Disk     SEAGATE ST34371W SUN4.2G8254
Target 1 
  Unit 0   Disk     SEAGATE ST34371W SUN4.2G8254
Target 2 
  Unit 0   Disk     SEAGATE ST34371W SUN4.2G8254
Target 3 
  Unit 0   Disk     SEAGATE ST34371W SUN4.2G8254

Removeable-Media/External SCSI bus:
Target 3 
  Unit 0   Removable Tape     ARCHIVE VIPER 150  21531-004    SUN-04.00.0
Target 4 
  Unit 0   Removable Tape     EXABYTE EXB-8500SMBANXH10458
Target 5 
  Unit 0   Removable Tape     EXABYTE EXB-8200        263H                    
Target 6 
  Unit 0   Removable Read Only device    TOSHIBA XM-5401TASUN4XCD3485